← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1310748] [NEW] VMware: Invalid configuration for device '0' on rebuild

 

Public bug reported:

The VMware Minesweeper CI is seeing the following error when attempting
to execute the "rebuild" operation on instances.

Task [ReconfigVM_Task] (returnval){
   value = "task-948"
   _type = "Task"
 } status: error Invalid configuration for device '0'.
Fault InvalidDeviceSpec not matched.
Setting instance vm_state to ERROR
Traceback (most recent call last):
  File "/opt/stack/nova/nova/compute/manager.py", line 5575, in _error_out_instance_on_exception
    yield
  File "/opt/stack/nova/nova/compute/manager.py", line 2550, in rebuild_instance
    self._rebuild_default_impl(**kwargs)
  File "/opt/stack/nova/nova/compute/manager.py", line 2405, in _rebuild_default_impl
    block_device_info=new_block_device_info)
  File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 619, in spawn
    admin_password, network_info, block_device_info)
  File "/opt/stack/nova/nova/virt/vmwareapi/vmops.py", line 595, in spawn
    root_gb_in_kb, linked_clone)
  File "/opt/stack/nova/nova/virt/vmwareapi/volumeops.py", line 75, in attach_disk_to_vm
    self._session._wait_for_task(reconfig_task)
  File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 948, in _wait_for_task
    ret_val = done.wait()
  File "/usr/local/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait
    return hubs.get_hub().switch()
  File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 187, in switch
    return self.greenlet.switch()
VMwareDriverException: Invalid configuration for device '0'.

This is affecting the following Tempest [gate] tests:

tempest.api.compute.servers.test_disk_config.ServerDiskConfigTestJSON.test_rebuild_server_with_manual_disk_config
tempest.api.compute.servers.test_server_actions.ServerActionsTestXML.test_rebuild_server
tempest.api.compute.servers.test_server_actions.ServerActionsTestXML.test_rebuild_server_in_stop_state

Full log for an affected run here:
http://10.148.255.241/logs/87896/5/

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: vmware

-- 
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/1310748

Title:
  VMware: Invalid configuration for device '0' on rebuild

Status in OpenStack Compute (Nova):
  New

Bug description:
  The VMware Minesweeper CI is seeing the following error when
  attempting to execute the "rebuild" operation on instances.

  Task [ReconfigVM_Task] (returnval){
     value = "task-948"
     _type = "Task"
   } status: error Invalid configuration for device '0'.
  Fault InvalidDeviceSpec not matched.
  Setting instance vm_state to ERROR
  Traceback (most recent call last):
    File "/opt/stack/nova/nova/compute/manager.py", line 5575, in _error_out_instance_on_exception
      yield
    File "/opt/stack/nova/nova/compute/manager.py", line 2550, in rebuild_instance
      self._rebuild_default_impl(**kwargs)
    File "/opt/stack/nova/nova/compute/manager.py", line 2405, in _rebuild_default_impl
      block_device_info=new_block_device_info)
    File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 619, in spawn
      admin_password, network_info, block_device_info)
    File "/opt/stack/nova/nova/virt/vmwareapi/vmops.py", line 595, in spawn
      root_gb_in_kb, linked_clone)
    File "/opt/stack/nova/nova/virt/vmwareapi/volumeops.py", line 75, in attach_disk_to_vm
      self._session._wait_for_task(reconfig_task)
    File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 948, in _wait_for_task
      ret_val = done.wait()
    File "/usr/local/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait
      return hubs.get_hub().switch()
    File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 187, in switch
      return self.greenlet.switch()
  VMwareDriverException: Invalid configuration for device '0'.

  This is affecting the following Tempest [gate] tests:

  tempest.api.compute.servers.test_disk_config.ServerDiskConfigTestJSON.test_rebuild_server_with_manual_disk_config
  tempest.api.compute.servers.test_server_actions.ServerActionsTestXML.test_rebuild_server
  tempest.api.compute.servers.test_server_actions.ServerActionsTestXML.test_rebuild_server_in_stop_state

  Full log for an affected run here:
  http://10.148.255.241/logs/87896/5/

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


Follow ups

References