← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1597754] [NEW] Unable to boot instance using UML

 

Public bug reported:

CAVEAT: This is from code inspection only.

Change I931421ea moved the following snippet of code:

        if CONF.libvirt.virt_type == 'uml':
            libvirt_utils.chown(image('disk').path, 'root')

from the bottom of _create_image to the top. The problem is, the new
location is before the creation of the root disk. This means that on
initial creation we will run libvirt_utils.chown on a path which hasn't
been created yet, which will cause an exception.

** Affects: nova
     Importance: Undecided
         Status: New

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

Title:
  Unable to boot instance using UML

Status in OpenStack Compute (nova):
  New

Bug description:
  CAVEAT: This is from code inspection only.

  Change I931421ea moved the following snippet of code:

          if CONF.libvirt.virt_type == 'uml':
              libvirt_utils.chown(image('disk').path, 'root')

  from the bottom of _create_image to the top. The problem is, the new
  location is before the creation of the root disk. This means that on
  initial creation we will run libvirt_utils.chown on a path which
  hasn't been created yet, which will cause an exception.

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