← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1290455] Re: libvirt inject_data assumes instance with kernel_id doesn't contain a partition table

 

Fix proposed to branch: master
Review: https://review.openstack.org/330140

** Changed in: nova
       Status: Opinion => In Progress

** Changed in: nova
     Assignee: (unassigned) => Alexandru Avadanii (alexandru-avadanii)

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

Title:
  libvirt inject_data assumes instance with kernel_id doesn't contain a
  partition table

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  libvirt/driver.py passes partition=None to disk.inject_data() for any
  instance with kernel_id set. partition=None means that inject_data
  will attempt to mount the whole image, i.e. assuming there is no
  partition table. While this may be true for EC2, it is not safe to
  assume that Xen images don't contain partition tables. This should
  check something more directly related to the disk image. In fact,
  ideally it would leave it up to libguestfs to work it out, as
  libguestfs is very good at this.

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


References