*** This bug is a duplicate of bug 1712281 *** https://bugs.launchpad.net/bugs/1712281
** This bug is no longer a duplicate of bug 1680254 VMware: Failed at boot instance from volume ** This bug has been marked a duplicate of bug 1712281 Attach volume failed for vmware driver -- 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/1704010 Title: VMware: attach volume fails with AttributeError Status in OpenStack Compute (nova): In Progress Bug description: Attaching/detaching volume with adapter type IDE fails with: AttributeError: 'int' object has no attribute 'lower' 2017-07-11 23:20:11.876 ERROR nova.virt.block_device [req-15c66739-f62f-405d-ad71-e9e46dfeea88 demo admin] [instance: c5a35862-98c2-4b01-9259-fd250c0af835] Driver failed to attach volume 7f94ea59-510c-4c9e-bf5b-9accc59a7a54 at /dev/sdc: AttributeError: 'int' object has no attribute 'lower' 2017-07-11 23:20:11.876 TRACE nova.virt.block_device [instance: c5a35862-98c2-4b01-9259-fd250c0af835] Traceback (most recent call last): 2017-07-11 23:20:11.876 TRACE nova.virt.block_device [instance: c5a35862-98c2-4b01-9259-fd250c0af835] File "/opt/stack/nova/nova/virt/block_device.py", line 389, in attach 2017-07-11 23:20:11.876 TRACE nova.virt.block_device [instance: c5a35862-98c2-4b01-9259-fd250c0af835] device_type=self['device_type'], encryption=encryption) 2017-07-11 23:20:11.876 TRACE nova.virt.block_device [instance: c5a35862-98c2-4b01-9259-fd250c0af835] File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 328, in attach_volume 2017-07-11 23:20:11.876 TRACE nova.virt.block_device [instance: c5a35862-98c2-4b01-9259-fd250c0af835] return self._volumeops.attach_volume(connection_info, instance) 2017-07-11 23:20:11.876 TRACE nova.virt.block_device [instance: c5a35862-98c2-4b01-9259-fd250c0af835] File "/opt/stack/nova/nova/virt/vmwareapi/volumeops.py", line 381, in attach_volume 2017-07-11 23:20:11.876 TRACE nova.virt.block_device [instance: c5a35862-98c2-4b01-9259-fd250c0af835] self._attach_volume_vmdk(connection_info, instance, adapter_type) 2017-07-11 23:20:11.876 TRACE nova.virt.block_device [instance: c5a35862-98c2-4b01-9259-fd250c0af835] File "/opt/stack/nova/nova/virt/vmwareapi/volumeops.py", line 335, in _attach_volume_vmdk 2017-07-11 23:20:11.876 TRACE nova.virt.block_device [instance: c5a35862-98c2-4b01-9259-fd250c0af835] if state.lower() != 'poweredoff': 2017-07-11 23:20:11.876 TRACE nova.virt.block_device [instance: c5a35862-98c2-4b01-9259-fd250c0af835] AttributeError: 'int' object has no attribute 'lower' 2017-07-11 23:20:11.876 TRACE nova.virt.block_device [instance: c5a35862-98c2-4b01-9259-fd250c0af835] 2017-07-11 23:20:56.655 ERROR nova.virt.block_device [req-d985d896-119c-40e4-868e-677dbf461df1 demo admin] [instance: c5a35862-98c2-4b01-9259-fd250c0af835] Failed to detach volume af84764d-dd81-4108-8d2f-b39cedeb9aa2 from /dev/sdb: AttributeError: 'int' object has no attribute 'lower' 2017-07-11 23:20:56.655 TRACE nova.virt.block_device [instance: c5a35862-98c2-4b01-9259-fd250c0af835] Traceback (most recent call last): 2017-07-11 23:20:56.655 TRACE nova.virt.block_device [instance: c5a35862-98c2-4b01-9259-fd250c0af835] File "/opt/stack/nova/nova/virt/block_device.py", line 277, in driver_detach 2017-07-11 23:20:56.655 TRACE nova.virt.block_device [instance: c5a35862-98c2-4b01-9259-fd250c0af835] encryption=encryption) 2017-07-11 23:20:56.655 TRACE nova.virt.block_device [instance: c5a35862-98c2-4b01-9259-fd250c0af835] File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 333, in detach_volume 2017-07-11 23:20:56.655 TRACE nova.virt.block_device [instance: c5a35862-98c2-4b01-9259-fd250c0af835] return self._volumeops.detach_volume(connection_info, instance) 2017-07-11 23:20:56.655 TRACE nova.virt.block_device [instance: c5a35862-98c2-4b01-9259-fd250c0af835] File "/opt/stack/nova/nova/virt/vmwareapi/volumeops.py", line 582, in detach_volume 2017-07-11 23:20:56.655 TRACE nova.virt.block_device [instance: c5a35862-98c2-4b01-9259-fd250c0af835] self._detach_volume_vmdk(connection_info, instance) 2017-07-11 23:20:56.655 TRACE nova.virt.block_device [instance: c5a35862-98c2-4b01-9259-fd250c0af835] File "/opt/stack/nova/nova/virt/vmwareapi/volumeops.py", line 535, in _detach_volume_vmdk 2017-07-11 23:20:56.655 TRACE nova.virt.block_device [instance: c5a35862-98c2-4b01-9259-fd250c0af835] if state.lower() != 'poweredoff': 2017-07-11 23:20:56.655 TRACE nova.virt.block_device [instance: c5a35862-98c2-4b01-9259-fd250c0af835] AttributeError: 'int' object has no attribute 'lower' 2017-07-11 23:20:56.655 TRACE nova.virt.block_device [instance: c5a35862-98c2-4b01-9259-fd250c0af835] To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1704010/+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