Merge "libvirt: generalize rbd volume fallback removal statement"
This commit is contained in:
commit
0156d6d07d
|
@ -80,14 +80,14 @@ class LibvirtNetVolumeDriver(libvirt_volume.LibvirtBaseVolumeDriver):
|
|||
elif CONF.libvirt.rbd_secret_uuid:
|
||||
# Anyone relying on falling back to nova config is probably having
|
||||
# this work accidentally and we'll remove that support in the
|
||||
# 17.0.0 Queens release.
|
||||
# future.
|
||||
# NOTE(mriedem): We'll have to be extra careful about this in case
|
||||
# the reason we got here is due to an old volume connection created
|
||||
# before we started preferring the Cinder settings in Ocata.
|
||||
LOG.warning('Falling back to Nova configuration values for '
|
||||
'RBD authentication. Cinder should be configured '
|
||||
'for auth with Ceph volumes. This fallback will '
|
||||
'be dropped in the Nova 17.0.0 Queens release.')
|
||||
'be dropped in a future release.')
|
||||
# use the nova config values
|
||||
conf.auth_username = CONF.libvirt.rbd_user
|
||||
conf.auth_secret_uuid = CONF.libvirt.rbd_secret_uuid
|
||||
|
|
Loading…
Reference in New Issue