Project

General

Profile

Bug #47415

Updated by William Grzybowski over 2 years ago

<pre>
AttributeError: 'NoneType' object has no attribute 'lstrip'
File "middlewared/main.py", line 155, in call_method
result = await self.middleware.call_method(self, message)
File "middlewared/main.py", line 1033, in call_method
return await self._call(message['method'], serviceobj, methodobj, params, app=app, io_thread=False)
File "middlewared/main.py", line 973, in _call
return await methodobj(*args)
File "middlewared/schema.py", line 664, in nf
return await f(*args, **kwargs)
File "plugins/vm.py", line 694, in stop_by_pool
disk = disk.lstrip('/mnt/').split('/')[0]
</pre>

https://sentry.ixsystems.com/ixsystems/freenas-middleware/issues/15570/

**Acceptance Criteria**
Have a VM running and detach the Volume/pool.

Back