Use auth_username when probing encrypted rbd volumes while extending them
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Lee Yarwood | ||
Ussuri |
Fix Released
|
Undecided
|
Lee Yarwood | ||
Victoria |
Fix Released
|
Undecided
|
Lee Yarwood |
Bug Description
Description
===========
I0c3f14100a1810
Steps to reproduce
==================
Attempt to resize an encrypted LUKSv1 volume on a compute without access to the admin keyring.
Expected result
===============
The URI provided to qemu-img includes the username (and thus local keyring) to use.
Actual result
=============
qemu-img fails as it can't find the default admin keyring.
Environment
===========
1. Exact version of OpenStack you are running. See the following
list for all releases: http://
master
2. Which hypervisor did you use?
(For example: Libvirt + KVM, Libvirt + XEN, Hyper-V, PowerKVM, ...)
What's the version of that?
libvirt + KVM
2. Which storage type did you use?
(For example: Ceph, LVM, GPFS, ...)
What's the version of that?
c-vol ceph
3. Which networking type did you use?
(For example: nova-network, Neutron with OpenVSwitch, ...)
N/A
Logs & Configs
==============
3e004ad2953a4aa
Command: /usr/libexec/
Exit code: 1
Stdout: ''
Stdout: ''
Stderr: "qemu-img: Could not open 'rbd:volumes/
https:/ /review. opendev. org/c/openstack /nova/+ /772869