← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1416132] [NEW] _get_instance_disk_info fails to read files from NFS due permissions

 

Public bug reported:

LibvirtDriver's _get_instance_disk_info calls
libvirt_utils.get_disk_backing_file() if processing a qcow2 backing
file.  If this is a file belonging to an attached and NFS-hosted Cinder
volume, it may be owned by qemu:qemu and  therefore not readable as the
nova user.

My proposed solution is to run the images.qemu_img_info() call as root
in this case.

Note that this requires a change to grenade to upgrade the rootwrap
configuration for gating to pass.

** Affects: nova
     Importance: Undecided
     Assignee: Eric Harney (eharney)
         Status: In Progress

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

Title:
  _get_instance_disk_info fails to read files from NFS due permissions

Status in OpenStack Compute (Nova):
  In Progress

Bug description:
  LibvirtDriver's _get_instance_disk_info calls
  libvirt_utils.get_disk_backing_file() if processing a qcow2 backing
  file.  If this is a file belonging to an attached and NFS-hosted
  Cinder volume, it may be owned by qemu:qemu and  therefore not
  readable as the nova user.

  My proposed solution is to run the images.qemu_img_info() call as root
  in this case.

  Note that this requires a change to grenade to upgrade the rootwrap
  configuration for gating to pass.

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


Follow ups

References