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/
I saw this problem over the weekend. /review. openstack. org/58142
I have addressed it with: https:/