← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1144756] Re: nova-compute fails to start with existing VMs with a "cdrom"

 

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

** Changed in: nova
    Milestone: None => grizzly-rc1

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

Title:
  nova-compute fails to start with existing VMs with a "cdrom"

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  I have some pre-existing VMs on my (test) compute node.  One of them
  has a CD-ROM device configured:

      <disk type='file' device='cdrom'>
        <driver name='qemu' type='raw'/>
        <target dev='hdc' bus='ide'/>
        <readonly/>
        <alias name='ide0-1-0'/>
        <address type='drive' controller='0' bus='1' target='0' unit='0'/>
      </disk>

  This causes LibvirtDriver.get_instance_disk_info() to fail out because
  path_node.get('file') for that "disk" returns None.  I put a:

              if not path:
                  LOG.debug(_('skipping disks with no %(path)s') %
                            locals())
                  continue

  after the:

              if disk_type != 'file':
                  LOG.debug(_('skipping %(path)s since it looks like volume') %
                            locals())
                  continue

  in get_instance_disk_info() get past the issue.

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