← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1254128] Re: VMware: NoneType object has no attribute 'state'

 

** Changed in: nova
       Status: Fix Committed => Fix Released

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

Title:
  VMware: NoneType object has no attribute 'state'

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  When running the Tempest test suite with VC Driver, one of the tests
  failed because an instance failed to build.  The error message seen in
  the log was:

  Traceback (most recent call last):
    File "/opt/stack/nova/nova/compute/manager.py", line 1030, in _build_instance
      set_access_ip=set_access_ip)
    File "/opt/stack/nova/nova/compute/manager.py", line 1439, in _spawn
      LOG.exception(_('Instance failed to spawn'), instance=instance)
    File "/opt/stack/nova/nova/compute/manager.py", line 1436, in _spawn
      block_device_info)
    File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 624, in spawn
      admin_password, network_info, block_device_info)
    File "/opt/stack/nova/nova/virt/vmwareapi/vmops.py", line 431, in spawn
      upload_folder, upload_name + ".vmdk")):
    File "/opt/stack/nova/nova/virt/vmwareapi/vmops.py", line 1523, in _check_if_folder_file_exists
      file_name)
    File "/opt/stack/nova/nova/virt/vmwareapi/vmops.py", line 1486, in _path_file_exists
      if task_info.state in ['queued', 'running']:
  AttributeError: 'NoneType' object has no attribute 'state'

  This seems to be a rare intermittent failure as we were not able to
  reproduce it again (this happened in VMware Minesweeper).

  All screen log files are available here:
  http://162.209.83.206/logs/52687/3/

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