nova/nova
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
..
CA
api Add check for invalid inventory amounts 2018-10-02 18:50:21 +02:00
cells Use six.text_type() when logging Instance object 2017-05-22 10:57:28 +00:00
cert Integrate OSProfiler and Nova 2017-01-18 15:00:14 +07:00
cloudpipe Rename security_group parameter in compute.API:create 2016-11-10 11:25:43 -05:00
cmd Merge "nova-manage - fix online_data_migrations counts" into stable/ocata 2018-10-04 17:14:25 +00:00
common cors: update default configuration in config 2016-11-05 20:17:42 -04:00
compute Merge "Re-use existing ComputeNode on ironic rebalance" into stable/ocata 2018-10-04 21:32:47 +00:00
conductor Add unshelve instance error info to fault table 2018-07-30 11:34:36 -04:00
conf Merge "Fix the help for the disk_weight_multiplier option" into stable/ocata 2018-10-04 03:11:21 +00:00
console Merge "tests: Replace use of CONF with monkey patching" 2017-01-24 12:03:07 +00:00
consoleauth Integrate OSProfiler and Nova 2017-01-18 15:00:14 +07:00
db Merge "Fix DB archiver AttributeError due to wrong table name attribute used" into stable/ocata 2018-10-02 22:16:07 +00:00
hacking [2/3]Replace six.iteritems() with .items() 2017-01-09 09:11:00 +00:00
image Merge "[2/3]Replace six.iteritems() with .items()" 2017-01-21 06:55:52 +00:00
ipv6
keymgr
locale Imported Translations from Zanata 2016-10-27 08:19:38 +00:00
network Don't delete neutron port when attach failed 2018-10-03 17:10:04 +02:00
notifications Merge "[2/3]Replace six.iteritems() with .items()" 2017-01-21 06:55:52 +00:00
objects Filter deleted computes from get_all_by_uuids() 2018-09-21 14:51:01 -04:00
pci [2/3]Replace six.iteritems() with .items() 2017-01-09 09:11:00 +00:00
policies Add policy rule to block image-backed servers with 0 root disk flavor 2018-06-18 14:16:11 -04:00
scheduler Cleanup the caches when deleting a resource provider 2018-09-20 17:01:27 +08:00
servicegroup Don't use 'updated_at' to check service's status 2016-12-08 09:51:03 +00:00
tests Ensure rbd auth fallback uses matching credentials 2019-01-08 01:37:31 +00:00
virt Ensure rbd auth fallback uses matching credentials 2019-01-08 01:37:31 +00:00
vnc
volume libvirt: Re-initialise volumes, encryptors, and vifs on hard reboot 2018-01-09 01:09:59 +00:00
wsgi Clarify the language in the apache wsgi sample 2017-02-02 15:43:25 -08:00
__init__.py
availability_zones.py Avoid lazy-load error when getting instance AZ 2017-05-31 16:00:42 +00:00
baserpc.py
block_device.py Allow None for block_device_mapping_v2.boot_index 2017-02-09 15:20:06 +00:00
cache_utils.py
config.py Integrate OSProfiler and Nova 2017-01-18 15:00:14 +07:00
context.py Cache database and message queue connection objects 2017-05-19 21:54:25 +00:00
crypto.py
debugger.py
exception.py Add policy rule to block image-backed servers with 0 root disk flavor 2018-06-18 14:16:11 -04:00
exception_wrapper.py do not include context to exception notification 2017-03-17 13:00:21 -04:00
filters.py
hash_ring.py
hooks.py
i18n.py
loadables.py
manager.py Integrate OSProfiler and Nova 2017-01-18 15:00:14 +07:00
policy.py [2/3]Replace six.iteritems() with .items() 2017-01-09 09:11:00 +00:00
profiler.py Integrate OSProfiler and Nova 2017-01-18 15:00:14 +07:00
quota.py [2/3]Replace six.iteritems() with .items() 2017-01-09 09:11:00 +00:00
rpc.py Merge "Add live.migration.force.complete to the legacy notification whitelist" into stable/ocata 2017-10-24 06:19:51 +00:00
safe_utils.py
service.py Integrate OSProfiler and Nova 2017-01-18 15:00:14 +07:00
service_auth.py Add service_token for nova-cinder interaction 2017-01-11 15:49:16 +00:00
signature_utils.py
test.py Don't persist RequestSpec.retry 2018-04-12 12:06:30 -04:00
utils.py Use six.text_type() when logging Instance object 2017-05-22 10:57:28 +00:00
version.py
weights.py
wsgi.py [2/3]Replace six.iteritems() with .items() 2017-01-09 09:11:00 +00:00