Upgrade From CORE 12.0-U8 to SCALE 22.02 RELEASE Fails - freenas-boot/grub Dataset Exists

Description

Issue documented originally in the forumes here .

Failed during post install tasks

Error: Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/middlewared/job.py", line 367, in run
await self.future
File "/usr/local/lib/python3.9/site-packages/middlewared/job.py", line 403, in __run_body
rv = await self.method(*([self] + args))
File "/usr/local/lib/python3.9/site-packages/middlewared/schema.py", line 975, in nf
return await f(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/update.py", line 389, in file
await self.middleware.call('update.install_manual_impl', job, destfile, dest_extracted)
File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1256, in call
return await self._call(
File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1224, in _call
return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args)
File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1128, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/update_/install_freebsd.py", line 53, in install_manual_impl
return self._install_scale(job, path)
File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/update_/install_freebsd.py", line 73, in _install_scale
return self.middleware.call_sync(
File "/usr/local/lib/python3.9/site-packages/middlewared/main.py", line 1283, in call_sync
return methodobj(*prepared_call.args)
File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/update_/install.py", line 69, in install_scale
raise CallError(error)
middlewared.service_exception.CallError: [EFAULT] Command ['zfs', 'create', '-o', 'mountpoint=legacy', 'freenas-boot/grub'] failed with exit code 1: cannot create 'freenas-boot/grub': dataset already exists

System is sitting at the error ... will not do anything else.

Problem/Justification

None

Impact

None

Activity

Show:

Bug Clerk 
March 4, 2022 at 1:12 PM

Bug Clerk 
March 4, 2022 at 12:43 PM

Scott Lindstrom 
March 1, 2022 at 12:13 AM

I am still running CORE .... I "closed" the error and the system is still running CORE.  Attached is the CORE Debug ...

Bonnie Follweiler 
February 28, 2022 at 8:09 PM

Thank you for the report, .

Can you please attach a debug file to the "Private Attachments" section of this ticket? To generate a debug file on TrueNAS SCALE, log in to the TrueNAS web interface, go to System Settings > Advanced, then click SAVE DEBUG and wait for the file to download to your local system.

Complete

Details

Assignee

Reporter

Labels

Time remaining

0m

Components

Affects versions

Priority

Katalon Platform

Created February 28, 2022 at 7:47 PM
Updated July 6, 2022 at 9:02 PM
Resolved March 4, 2022 at 2:40 PM