← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1154731] Re: xenserver boot from iso broken

 

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

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

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

Title:
  xenserver boot from iso broken

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  Created a record in Glance for an iso using this format.

  glance image-create --name=name_iso --disk_format=iso
  --container_format=bare < name_iso.iso

  When booting that image, nova-compute errors at this point after bring
  the iso down:

  2013-03-13 17:23:59 18434 TRACE nova.utils [instance: 573984f7-5263-41cb-bc4e-0a54bfad01bc] Traceback (most recent call last):
  2013-03-13 17:23:59 18434 TRACE nova.utils [instance: 573984f7-5263-41cb-bc4e-0a54bfad01bc]   File "/opt/rackstack/1.61/nova/lib/python2.6/site-packages/nova-2013.1-py2.6.egg/nova/virt/xenapi/vmops.py", line 477, in spawn
  2013-03-13 17:23:59 18434 TRACE nova.utils [instance: 573984f7-5263-41cb-bc4e-0a54bfad01bc]     kernel_file, ramdisk_file)
  2013-03-13 17:23:59 18434 TRACE nova.utils [instance: 573984f7-5263-41cb-bc4e-0a54bfad01bc]   File "/opt/rackstack/1.61/nova/lib/python2.6/site-packages/nova-2013.1-py2.6.egg/nova/virt/xenapi/vmops.py", line 193, in inner
  2013-03-13 17:23:59 18434 TRACE nova.utils [instance: 573984f7-5263-41cb-bc4e-0a54bfad01bc]     rv = f(*args, **kwargs)
  2013-03-13 17:23:59 18434 TRACE nova.utils [instance: 573984f7-5263-41cb-bc4e-0a54bfad01bc]   File "/opt/rackstack/1.61/nova/lib/python2.6/site-packages/nova-2013.1-py2.6.egg/nova/virt/xenapi/vmops.py", line 395, in create_vm_record_step
  2013-03-13 17:23:59 18434 TRACE nova.utils [instance: 573984f7-5263-41cb-bc4e-0a54bfad01bc]     vdis, disk_image_type, kernel_file, ramdisk_file)
  2013-03-13 17:23:59 18434 TRACE nova.utils [instance: 573984f7-5263-41cb-bc4e-0a54bfad01bc]   File "/opt/rackstack/1.61/nova/lib/python2.6/site-packages/nova-2013.1-py2.6.egg/nova/virt/xenapi/vmops.py", line 546, in _create_vm_record
  2013-03-13 17:23:59 18434 TRACE nova.utils [instance: 573984f7-5263-41cb-bc4e-0a54bfad01bc]     vdis['root']['ref'], disk_image_type, instance['os_type'])
  2013-03-13 17:23:59 18434 TRACE nova.utils [instance: 573984f7-5263-41cb-bc4e-0a54bfad01bc] KeyError: 'root'

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