Offline pool can not be removed from the UI

Description

After a big migration, I accidentally removed drives from a pool without doing an export. Thus, the pool is now shown as offline on the UI. I want to get rid of it by "Export/Disconnect", but I get the error: [ENOENT] None: PoolDataset S8TB does not exist

Traceback:

Error: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/job.py", line 409, in run await self.future File "/usr/lib/python3/dist-packages/middlewared/job.py", line 445, in __run_body rv = await self.method(*([self] + args)) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1269, in nf return await func(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1137, in nf res = await f(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/plugins/pool.py", line 1606, in export root_ds = await self.middleware.call('pool.dataset.get_instance', pool['name']) File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1324, in call return await self._call( File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1281, in _call return await methodobj(*prepared_call.args) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1269, in nf return await func(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/service.py", line 955, in get_instance return await self._get_instance(id, options) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1269, in nf return await func(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/service.py", line 968, in _get_instance raise InstanceNotFound(f'{self._config.verbose_name} {id} does not exist') middlewared.service_exception.InstanceNotFound: [ENOENT] None: PoolDataset S8TB does not exist

Version: TrueNAS-SCALE-22.02-RC.2

Might be related to https://jira.ixsystems.com/browse/NAS-108586

Problem/Justification

None

Impact

None

Activity

Show:

Bonnie Follweiler January 10, 2022 at 8:04 PM

Thank you .
This ticket is now in our queue to review. An engineering representative will update with any further questions or details in the near future.

blaco - Marcel Henrich January 10, 2022 at 2:59 PM

Hi , this is the current debug file of my machine. Thanks for having a look in to the issue.

Bonnie Follweiler January 10, 2022 at 2:40 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.

blaco - Marcel Henrich January 9, 2022 at 5:01 PM
Edited

Duplicate

Details

Assignee

Reporter

Labels

Fix versions

Affects versions

Priority

More fields

Katalon Platform

Created January 9, 2022 at 5:00 PM
Updated July 6, 2022 at 8:57 PM
Resolved January 17, 2022 at 6:59 PM