add rbd keyring name to secret.xml template
With Change-Id: I7342ec1337cf86c0e4bc66b1788e65c53b2878ce a parameter for configuring the rbd keyring name was introduced. This parameter should be used in the secrets file also. Change-Id: I9da148f7f2e940f1d4dec73e1df6f283028bcca1
This commit is contained in:
@@ -74,7 +74,7 @@ describe 'nova::compute::rbd' do
|
||||
verify_contents(subject, '/etc/nova/secret.xml', [
|
||||
"<secret ephemeral=\'no\' private=\'no\'>",
|
||||
" <usage type=\'ceph\'>",
|
||||
" <name>client.nova secret</name>",
|
||||
" <name>client.rbd_test secret</name>",
|
||||
" </usage>",
|
||||
" <uuid>UUID</uuid>",
|
||||
"</secret>"
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<secret ephemeral='no' private='no'>
|
||||
<usage type='ceph'>
|
||||
<name>client.nova secret</name>
|
||||
<name><%= rbd_keyring %> secret</name>
|
||||
</usage>
|
||||
<uuid><%= @libvirt_rbd_secret_uuid %></uuid>
|
||||
</secret>
|
||||
|
Reference in New Issue
Block a user