This is related to another bug: https://bugs.launchpad.net/cinder/+bug/1398588/
If one attempts to resize a server with volume attachment information that is inaccurate / contradicts Cinder's data (eg it thinks a volume is attached that is not), it results in the server going into an unrecoverable ERROR state:
Fault
Message
'NoneType' object has no attribute 'get'
Code
500
Details
File "/opt/stack/nova/nova/compute/manager.py", line 314, in decorated_function return function(self, context, *args, **kwargs) File "/opt/stack/nova/nova/compute/manager.py", line 3900, in finish_resize self._set_instance_error_state(context, instance) File "/opt/stack/nova/nova/openstack/common/excutils.py", line 82, in __exit__ six.reraise(self.type_, self.value, self.tb) File "/opt/stack/nova/nova/compute/manager.py", line 3888, in finish_resize disk_info, image) File "/opt/stack/nova/nova/compute/manager.py", line 3856, in _finish_resize old_instance_type, sys_meta) File "/opt/stack/nova/nova/openstack/common/excutils.py", line 82, in __exit__ six.reraise(self.type_, self.value, self.tb) File "/opt/stack/nova/nova/compute/manager.py", line 3851, in _finish_resize block_device_info, power_on) File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 5988, in finish_migration write_to_disk=True) File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 4152, in _get_guest_xml context) File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 3932, in _get_guest_config flavor): File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 3483, in _get_guest_storage_config cfg = self._connect_volume(connection_info, info) File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 1321, in _connect_volume driver_type = connection_info.get('driver_volume_type')
Full traceback from cpu logs: rpc.dispatcher Traceback (most recent call last): rpc.dispatcher File "/usr/local/ lib/python2. 7/dist- packages/ oslo/messaging/ rpc/dispatcher. py", line 134, in _dispatch_and_reply rpc.dispatcher incoming.message)) rpc.dispatcher File "/usr/local/ lib/python2. 7/dist- packages/ oslo/messaging/ rpc/dispatcher. py", line 177, in _dispatch rpc.dispatcher return self._do_ dispatch( endpoint, method, ctxt, args) rpc.dispatcher File "/usr/local/ lib/python2. 7/dist- packages/ oslo/messaging/ rpc/dispatcher. py", line 123, in _do_dispatch rpc.dispatcher result = getattr(endpoint, method)(ctxt, **new_args) rpc.dispatcher File "/opt/stack/ nova/nova/ exception. py", line 88, in wrapped rpc.dispatcher payload) rpc.dispatcher File "/opt/stack/ nova/nova/ openstack/ common/ excutils. py", line 82, in __exit__ rpc.dispatcher six.reraise( self.type_ , self.value, self.tb) rpc.dispatcher File "/opt/stack/ nova/nova/ exception. py", line 71, in wrapped rpc.dispatcher return f(self, context, *args, **kw) rpc.dispatcher File "/opt/stack/ nova/nova/ compute/ manager. py", line 298, in decorated_function rpc.dispatcher pass rpc.dispatcher File "/opt/stack/ nova/nova/ openstack/ common/ excutils. py", line 82, in __exit__ rpc.dispatcher six.reraise( self.type_ , self.value, self.tb) rpc.dispatcher File "/opt/stack/ nova/nova/ compute/ manager. py", line 284, in decorated_function rpc.dispatcher return function(self, context, *args, **kwargs) rpc.dispatcher File "/opt/stack/ nova/nova/ compute/ manager. py", line 348, in decorated_function rpc.dispatcher return function(self, context, *args, **kwargs) rpc.dispatcher File "/opt/stack/ nova/nova/ compute/ manager. py", line 272, in decorated_function rpc.dispatcher migration. instance_ uuid, exc_info=True) rpc.dispatcher File "/opt/stack/ nova/nova/ openstack/ common/ excutils. py", line 82, in __exit__
157433:2014-12-10 10:21:13.980 TRACE oslo.messaging.
157434:2014-12-10 10:21:13.980 TRACE oslo.messaging.
157435:2014-12-10 10:21:13.980 TRACE oslo.messaging.
157436:2014-12-10 10:21:13.980 TRACE oslo.messaging.
157437:2014-12-10 10:21:13.980 TRACE oslo.messaging.
157438:2014-12-10 10:21:13.980 TRACE oslo.messaging.
157439:2014-12-10 10:21:13.980 TRACE oslo.messaging.
157440:2014-12-10 10:21:13.980 TRACE oslo.messaging.
157441:2014-12-10 10:21:13.980 TRACE oslo.messaging.
157442:2014-12-10 10:21:13.980 TRACE oslo.messaging.
157443:2014-12-10 10:21:13.980 TRACE oslo.messaging.
157444:2014-12-10 10:21:13.980 TRACE oslo.messaging.
157445:2014-12-10 10:21:13.980 TRACE oslo.messaging.
157446:2014-12-10 10:21:13.980 TRACE oslo.messaging.
157447:2014-12-10 10:21:13.980 TRACE oslo.messaging.
157448:2014-12-10 10:21:13.980 TRACE oslo.messaging.
157449:2014-12-10 10:21:13.980 TRACE oslo.messaging.
157450:2014-12-10 10:21:13.980 TRACE oslo.messaging.
157451:2014-12-10 10:21:13.980 TRACE oslo.messaging.
157452:2014-12-10 10:21:13.980 TRACE oslo.messaging.
157453:2014-12-10 10:21:13.980 TRACE oslo.messaging.
157454:2014-12-10 10:21:13.980 TRACE oslo.messaging.
157455:2014-12-10 10:21:13.980 TRACE oslo.messaging.
157456:2014-12-10 10:21:13.980 TRACE oslo.messaging.
157457:2014-12-10 10:21:13.980 TRACE oslo.messaging....