nova/nova/virt
Corey Bryant a7e25aa3d2 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)
2019-01-06 19:02:55 +00:00
..
disk libvirt: Reduce calls to qemu-img during update_available_resource 2018-12-14 10:24:47 +00:00
hyperv propagate OSError to MigrationPreCheckError 2017-10-26 09:16:55 +00:00
image libvirt: virtuozzo instance resize support 2016-06-28 22:13:49 +03:00
ironic ironic: Get correct inventory for deployed node 2018-04-17 14:20:42 +00:00
libvirt Ensure rbd auth fallback uses matching credentials 2019-01-06 19:02:55 +00:00
powervm Stringify instance UUID 2018-05-24 14:11:44 +00:00
vmwareapi Remove translation of log messages 2017-06-13 11:20:28 +07:00
xenapi xenapi: avoid unnecessary BDM query when building device metadata 2017-07-06 13:29:43 -04:00
__init__.py Declare nova.virt namespace 2016-04-28 15:01:44 +00:00
block_device.py block_device: Rollback volumes to in-use on DeviceDetachFailed 2018-08-10 16:39:04 +01:00
configdrive.py Fixes python 3 unit tests 2016-09-23 20:10:24 +00:00
driver.py Fix NoneType error in _notify_volume_usage_detach 2018-11-01 17:29:11 -04:00
event.py Add 'suspended' lifecycle event 2015-04-03 03:59:20 +03:00
fake.py libvirt: Block swap volume attempts with encrypted volumes prior to Queens 2018-04-17 14:29:43 +00:00
firewall.py Merge "Remove translation of log messages" 2017-06-20 21:16:49 +00:00
hardware.py Fixes 'Not enough available memory' log message 2018-01-22 10:36:19 +00:00
imagecache.py Rename ImageCacheManager._list_base_images to _scan_base_images 2016-05-26 14:45:42 +01:00
images.py libvirt: handle DiskNotFound during update_available_resource 2018-05-31 10:50:05 +01:00
interfaces.template Fixes interfaces template identification issue 2014-12-07 17:52:34 +02:00
netutils.py provide interface-scoped nameserver information 2017-07-19 21:08:59 -04:00
osinfo.py Remove translation of log messages 2017-06-13 11:20:28 +07:00
storage_users.py Remove translation of log messages 2017-06-13 11:20:28 +07:00
virtapi.py Remove unused provider firewall rules functionality in nova 2016-02-01 15:50:04 +01:00
volumeutils.py nova.utils._get_root_helper() should be public 2015-08-19 04:00:50 +00:00