Reviewed: https://review.openstack.org/221162 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=1345d0fe1cad5093d49a58b6f0b7f4cb650f61d8 Submitter: Jenkins Branch: master
commit 1345d0fe1cad5093d49a58b6f0b7f4cb650f61d8 Author: Abhijeet Malawade <[email protected]> Date: Fri Sep 4 00:21:47 2015 -0700 Pass bdm info to _get_instance_disk_info method If bdm info is not passed to the '_get_instance_disk_info' method, then in case of processing qcow2 backing file, it raises permission denied error provided the backing is belonging to an attached and NFS-hosted Cinder volume. Passed bdm info to the '_get_instance_disk_info' method if any volumes are attached to the instance. Co-Authored-By: Ankit Agrawal <[email protected]> Closes-Bug: #1416132 Change-Id: I5d5c64ea4d304022282ec9ab121e295f3c9e0d03 ** Changed in: nova Status: In Progress => Fix Released -- 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 to permissions Status in OpenStack Compute (nova): Fix Released 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. [update: am now aiming at a different solution] 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. [/update] To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1416132/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

