← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1195205] Re: Raised nova.virt.hyperv.vmops IndexError on hyper-v when boot with the domain user role

 

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

** Changed in: nova
    Milestone: None => havana-3

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

Title:
  Raised nova.virt.hyperv.vmops IndexError on hyper-v when boot with the
  domain user role

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  When operating live migration on hyper-v  from a domain administrator
  to another domain user it will raise the following exception:

    2013-05-31 20:22:16.552 5332 INFO nova.virt.hyperv.vmops [req-bb41a7b0-f0c5-4699-b605-0ea43af8e41c 96c8d050f56b4a6bbf428
  542ff7e194f 648a70dd4cf441c2b743aaad6f6772d7] [instance: 53f24f00-af72-4df5-9262-ee0dc72f50cb] Spawning new instance
          1 file(s) copied.
  2013-05-31 20:22:58.734 5332 ERROR nova.virt.hyperv.vmops [req-bb41a7b0-f0c5-4699-b605-0ea43af8e41c 96c8d050f56b4a6bbf42
  8542ff7e194f 648a70dd4cf441c2b743aaad6f6772d7] list index out of range
  2013-05-31 20:22:58.734 5332 TRACE nova.virt.hyperv.vmops Traceback (most recent call last):
  2013-05-31 20:22:58.734 5332 TRACE nova.virt.hyperv.vmops   File "C:\xh_live_migration\hyperv-zip\nova\nova\virt\hyperv\
  vmops.py", line 169, in spawn
  2013-05-31 20:22:58.734 5332 TRACE nova.virt.hyperv.vmops     root_vhd_path)
  2013-05-31 20:22:58.734 5332 TRACE nova.virt.hyperv.vmops   File "C:\xh_live_migration\hyperv-zip\nova\nova\virt\hyperv\
  vmops.py", line 190, in create_instance
  2013-05-31 20:22:58.734 5332 TRACE nova.virt.hyperv.vmops     CONF.hyperv.limit_cpu_features)
  2013-05-31 20:22:58.734 5332 TRACE nova.virt.hyperv.vmops   File "C:\xh_live_migration\hyperv-zip\nova\nova\virt\hyperv\
  vmutils.py", line 155, in create_vm
  2013-05-31 20:22:58.734 5332 TRACE nova.virt.hyperv.vmops     vs_man_svc = self._conn.Msvm_VirtualSystemManagementServic
  e()[0]
  2013-05-31 20:22:58.734 5332 TRACE nova.virt.hyperv.vmops IndexError: list index out of range
  2013-05-31 20:22:58.734 5332 TRACE nova.virt.hyperv.vmops
  2013-05-31 20:22:58.753 5332 INFO nova.virt.hyperv.vmops [req-bb41a7b0-f0c5-4699-b605-0ea43af8e41c 96c8d050f56b4a6bbf428
  542ff7e194f 648a70dd4cf441c2b743aaad6f6772d7] Got request to destroy instance: instance-00000093
  2013-05-31 20:22:58.763 5332 ERROR nova.compute.manager [req-bb41a7b0-f0c5-4699-b605-0ea43af8e41c 96c8d050f56b4a6bbf4285
  42ff7e194f 648a70dd4cf441c2b743aaad6f6772d7] [instance: 53f24f00-af72-4df5-9262-ee0dc72f50cb] Instance failed to spawn
  2013-05-31 20:22:58.763 5332 TRACE nova.compute.manager [instance: 53f24f00-af72-4df5-9262-ee0dc72f50cb] Traceback (most
   recent call last):
  2013-05-31 20:22:58.763 5332 TRACE nova.compute.manager [instance: 53f24f00-af72-4df5-9262-ee0dc72f50cb]   File "C:\xh_l
  ive_migration\hyperv-zip\nova\nova\compute\manager.py", line 1165, in _spawn
  2013-05-31 20:22:58.763 5332 TRACE nova.compute.manager [instance: 53f24f00-af72-4df5-9262-ee0dc72f50cb]     block_devic
  e_info)
  2013-05-31 20:22:58.763 5332 TRACE nova.compute.manager [instance: 53f24f00-af72-4df5-9262-ee0dc72f50cb]   File "C:\xh_l
  ive_migration\hyperv-zip\nova\nova\virt\hyperv\driver.py", line 54, in spawn
  2013-05-31 20:22:58.763 5332 TRACE nova.compute.manager [instance: 53f24f00-af72-4df5-9262-ee0dc72f50cb]     admin_passw
  ord, network_info, block_device_info)
  2013-05-31 20:22:58.763 5332 TRACE nova.compute.manager [instance: 53f24f00-af72-4df5-9262-ee0dc72f50cb]   File "C:\xh_l
  ive_migration\hyperv-zip\nova\nova\virt\hyperv\vmops.py", line 181, in spawn
  2013-05-31 20:22:58.763 5332 TRACE nova.compute.manager [instance: 53f24f00-af72-4df5-9262-ee0dc72f50cb]     raise vmuti
  ls.HyperVException(_('Spawn instance failed'))
  2013-05-31 20:22:58.763 5332 TRACE nova.compute.manager [instance: 53f24f00-af72-4df5-9262-ee0dc72f50cb] HyperVException
  : Spawn instance failed
  2013-05-31 20:22:58.763 5332 TRACE nova.compute.manager [instance: 53f24f00-af72-4df5-9262-ee0dc72f50cb]
  2013-05-31 20:22:59.154 5332 AUDIT nova.compute.manager [req-bb41a7b0-f0c5-4699-b605-0ea43af8e41c 96c8d050f56b4a6bbf4285
  42ff7e194f 648a70dd4cf441c2b743aaad6f6772d7] [instance: 53f24f00-af72-4df5-9262-ee0dc72f50cb] Terminating instance

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