Public bug reported:

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 co
 ntext) 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')

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1398685

Title:
  Attempting to resize a server with bad / inaccurate volumeAttachment
  information results in ERROR state

Status in OpenStack Compute (Nova):
  New

Bug description:
  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')

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1398685/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to