nova/nova/virt/libvirt/volume
Corey Bryant 779e58e976 Ensure rbd auth fallback uses matching credentials
As of Ocata, cinder config is preferred for rbd auth values with a
fallback to nova values [1]. The fallback path, for the case when
rbd_user is configured in cinder.conf and rbd_secret_uuid is not
configured in cinder.conf, results in the mismatched use of cinder
rbd_user with nova rbd_secret_uuid.

This fixes that fallback path to use nova rbd_user from nova.conf
with rbd_secret_uuid from nova.conf.

[1] See commit f2d27f6a8a

Thanks to David Ames for this fix.

Change-Id: Ieba216275c07ab16414065ee47e66915e9e9477d
Co-Authored-By: David Ames <david.ames@canonical.com>
Closes-Bug: #1809454
(cherry picked from commit 47b7c4f3cc)
(cherry picked from commit f5d8ee1bfc)
(cherry picked from commit accef50f96)
(cherry picked from commit a7e25aa3d2)
2019-01-08 01:37:31 +00:00
..
__init__.py libvirt: move volume/remotefs/quobyte modules under volume subdir 2015-07-28 17:46:05 -07:00
aoe.py libvirt: Pass Host instead of Driver to volume drivers 2016-11-01 16:41:08 +00:00
disco.py libvirt: Pass Host instead of Driver to volume drivers 2016-11-01 16:41:08 +00:00
fibrechannel.py libvirt: Pass Host instead of Driver to volume drivers 2016-11-01 16:41:08 +00:00
fs.py libvirt: Pass Host instead of Driver to volume drivers 2016-11-01 16:41:08 +00:00
glusterfs.py Config options: centralize glusterfs libvirt options (9) 2016-05-06 08:29:51 +00:00
gpfs.py libvirt: convert GPFS volume driver to LibvirtBaseFileSystemVolumeDriver 2015-08-10 09:34:39 +00:00
hgst.py libvirt: Pass Host instead of Driver to volume drivers 2016-11-01 16:41:08 +00:00
iscsi.py libvirt: Pass Host instead of Driver to volume drivers 2016-11-01 16:41:08 +00:00
iser.py Config options: centralize iser libvirt options (11) 2016-05-06 08:30:17 +00:00
net.py Ensure rbd auth fallback uses matching credentials 2019-01-08 01:37:31 +00:00
nfs.py Config options: centralize volume nfs libvirt options (13) 2016-05-06 08:30:41 +00:00
quobyte.py libvirt: Stop misusing NovaException 2016-12-15 12:42:30 +00:00
remotefs.py Properly quote IPv6 address in RsyncDriver 2016-08-01 14:56:37 +03:00
scaleio.py libvirt: Pass Host instead of Driver to volume drivers 2016-11-01 16:41:08 +00:00
scality.py libvirt: Stop misusing NovaException 2016-12-15 12:42:30 +00:00
smbfs.py Config options: centralize smbfs libvirt options (16) 2016-05-12 09:26:17 +00:00
volume.py libvirt: update the logic to configure volume with scsi controller 2017-07-28 06:06:59 -04:00
vzstorage.py libvirt: Stop misusing NovaException 2016-12-15 12:42:30 +00:00