← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1376883] [NEW] Spawning images fails on Hyper-V Technical Preview

 

Public bug reported:

Spawning images fails on the current Hyper-V Technical Preview, due to
slight changes in
Msvm_ImageManagementService.GetVirtualHardDiskSettingData's return
value.


2014-10-02 11:52:40.065 924 TRACE nova.compute.manager [instance: 1864933e-c50d-4f86-8b51-cac6c51bcf4e] Traceback (most recent call last):
2014-10-02 11:52:40.065 924 TRACE nova.compute.manager [instance: 1864933e-c50d-4f86-8b51-cac6c51bcf4e]   File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\nova\compute\manager.py", line 1738, in _spawn
2014-10-02 11:52:40.065 924 TRACE nova.compute.manager [instance: 1864933e-c50d-4f86-8b51-cac6c51bcf4e]     block_device_info)
2014-10-02 11:52:40.065 924 TRACE nova.compute.manager [instance: 1864933e-c50d-4f86-8b51-cac6c51bcf4e]   File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\nova\virt\hyperv\driver.py", line 58, in spawn
2014-10-02 11:52:40.065 924 TRACE nova.compute.manager [instance: 1864933e-c50d-4f86-8b51-cac6c51bcf4e]     admin_password, network_info, block_device_info)
2014-10-02 11:52:40.065 924 TRACE nova.compute.manager [instance: 1864933e-c50d-4f86-8b51-cac6c51bcf4e]   File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\nova\virt\hyperv\vmops.py", line 101, in wrapper
2014-10-02 11:52:40.065 924 TRACE nova.compute.manager [instance: 1864933e-c50d-4f86-8b51-cac6c51bcf4e]     return function(self, *args, **kwds)
2014-10-02 11:52:40.065 924 TRACE nova.compute.manager [instance: 1864933e-c50d-4f86-8b51-cac6c51bcf4e]   File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\nova\virt\hyperv\vmops.py", line 259, in spawn
2014-10-02 11:52:40.065 924 TRACE nova.compute.manager [instance: 1864933e-c50d-4f86-8b51-cac6c51bcf4e]     root_vhd_path = self._create_root_vhd(context, instance)
2014-10-02 11:52:40.065 924 TRACE nova.compute.manager [instance: 1864933e-c50d-4f86-8b51-cac6c51bcf4e]   File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\nova\virt\hyperv\vmops.py", line 168, in _create_root_vhd
2014-10-02 11:52:40.065 924 TRACE nova.compute.manager [instance: 1864933e-c50d-4f86-8b51-cac6c51bcf4e]     base_vhd_info = self._vhdutils.get_vhd_info(base_vhd_path)
2014-10-02 11:52:40.065 924 TRACE nova.compute.manager [instance: 1864933e-c50d-4f86-8b51-cac6c51bcf4e]   File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\nova\virt\hyperv\vhdutilsv2.py", line 219, in get_vhd_info
2014-10-02 11:52:40.065 924 TRACE nova.compute.manager [instance: 1864933e-c50d-4f86-8b51-cac6c51bcf4e]     et = ElementTree.fromstring(vhd_info_xml)
2014-10-02 11:52:40.065 924 TRACE nova.compute.manager [instance: 1864933e-c50d-4f86-8b51-cac6c51bcf4e] AttributeError: 'NoneType' object has no attribute 'text'
2014-10-02 11:52:40.065 924 TRACE nova.compute.manager [instance: 1864933e-c50d-4f86-8b51-cac6c51bcf4e]

** Affects: nova
     Importance: High
     Assignee: Alessandro Pilotti (alexpilotti)
         Status: In Progress


** Tags: hyper-v

** Changed in: nova
   Importance: Undecided => High

** Changed in: nova
       Status: New => Triaged

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

Title:
  Spawning images fails on Hyper-V Technical Preview

Status in OpenStack Compute (Nova):
  In Progress

Bug description:
  Spawning images fails on the current Hyper-V Technical Preview, due to
  slight changes in
  Msvm_ImageManagementService.GetVirtualHardDiskSettingData's return
  value.

  
  2014-10-02 11:52:40.065 924 TRACE nova.compute.manager [instance: 1864933e-c50d-4f86-8b51-cac6c51bcf4e] Traceback (most recent call last):
  2014-10-02 11:52:40.065 924 TRACE nova.compute.manager [instance: 1864933e-c50d-4f86-8b51-cac6c51bcf4e]   File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\nova\compute\manager.py", line 1738, in _spawn
  2014-10-02 11:52:40.065 924 TRACE nova.compute.manager [instance: 1864933e-c50d-4f86-8b51-cac6c51bcf4e]     block_device_info)
  2014-10-02 11:52:40.065 924 TRACE nova.compute.manager [instance: 1864933e-c50d-4f86-8b51-cac6c51bcf4e]   File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\nova\virt\hyperv\driver.py", line 58, in spawn
  2014-10-02 11:52:40.065 924 TRACE nova.compute.manager [instance: 1864933e-c50d-4f86-8b51-cac6c51bcf4e]     admin_password, network_info, block_device_info)
  2014-10-02 11:52:40.065 924 TRACE nova.compute.manager [instance: 1864933e-c50d-4f86-8b51-cac6c51bcf4e]   File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\nova\virt\hyperv\vmops.py", line 101, in wrapper
  2014-10-02 11:52:40.065 924 TRACE nova.compute.manager [instance: 1864933e-c50d-4f86-8b51-cac6c51bcf4e]     return function(self, *args, **kwds)
  2014-10-02 11:52:40.065 924 TRACE nova.compute.manager [instance: 1864933e-c50d-4f86-8b51-cac6c51bcf4e]   File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\nova\virt\hyperv\vmops.py", line 259, in spawn
  2014-10-02 11:52:40.065 924 TRACE nova.compute.manager [instance: 1864933e-c50d-4f86-8b51-cac6c51bcf4e]     root_vhd_path = self._create_root_vhd(context, instance)
  2014-10-02 11:52:40.065 924 TRACE nova.compute.manager [instance: 1864933e-c50d-4f86-8b51-cac6c51bcf4e]   File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\nova\virt\hyperv\vmops.py", line 168, in _create_root_vhd
  2014-10-02 11:52:40.065 924 TRACE nova.compute.manager [instance: 1864933e-c50d-4f86-8b51-cac6c51bcf4e]     base_vhd_info = self._vhdutils.get_vhd_info(base_vhd_path)
  2014-10-02 11:52:40.065 924 TRACE nova.compute.manager [instance: 1864933e-c50d-4f86-8b51-cac6c51bcf4e]   File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\nova\virt\hyperv\vhdutilsv2.py", line 219, in get_vhd_info
  2014-10-02 11:52:40.065 924 TRACE nova.compute.manager [instance: 1864933e-c50d-4f86-8b51-cac6c51bcf4e]     et = ElementTree.fromstring(vhd_info_xml)
  2014-10-02 11:52:40.065 924 TRACE nova.compute.manager [instance: 1864933e-c50d-4f86-8b51-cac6c51bcf4e] AttributeError: 'NoneType' object has no attribute 'text'
  2014-10-02 11:52:40.065 924 TRACE nova.compute.manager [instance: 1864933e-c50d-4f86-8b51-cac6c51bcf4e]

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


Follow ups

References