unable to remove failed disk

Description

Tired to do this from the web Ui.

Error: Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 137, in call_method
result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self,
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1191, in _call
return await methodobj(*prepared_call.args)
File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 973, in nf
return await f(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/pool.py", line 1051, in offline
await self.middleware.call('disk.swaps_remove_disks', [disk])
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1233, in call
return await self._call(
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1191, in _call
return await methodobj(*prepared_call.args)
File "/usr/local/lib/python3.8/site-packages/middlewared/service.py", line 42, in l_fn
return await fn(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 972, in nf
args, kwargs = clean_and_validate_args(args, kwargs)
File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 930, in clean_and_validate_args
value = attr.clean(args[args_index + i])
File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 470, in clean
raise Error(self.name, 'Item#{0} is not valid per list types: {1}'.format(index, found))
middlewared.schema.Error: [disks] Item#0 is not valid per list types: [disk] null not allowed

Version 12 beta 2.1

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

William WarrenSeptember 15, 2020 at 2:06 PM

 The machine affected has been slicked and reinstalled with 11.3u4.x for now.  My backup machine(which is merely a replication target for he bigger one) is working fine.  on my primary machine I got tired of fighting the middleware. It honestly seemed to be deteriorating. i nuked the entire box..and went back to 11.3u4.x. My backup target machine is running the beta..and it's fine...so i'll test it with rc1..the primary is staying put on 11.3x for a while at this point.  You can close this ticket please.

Bonnie FollweilerSeptember 15, 2020 at 12:30 PM

Thank you for the report .  Can you please provide a debug by navigating to System -> Advanced, click save debug, and upload attachment to this ticket?

Cannot Reproduce

Details

Assignee

Reporter

Labels

Impact

High

Fix versions

Affects versions

Priority

More fields

Katalon Platform

Created September 15, 2020 at 1:55 AM
Updated July 1, 2022 at 4:55 PM
Resolved September 15, 2020 at 2:23 PM