aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/nova-libvirt.yaml
diff options
context:
space:
mode:
authorGiulio Fidente <gfidente@redhat.com>2017-08-09 12:13:46 +0200
committerJiri Stransky <jistr@redhat.com>2017-08-09 16:19:39 +0200
commitc20033524d19dff14c2b5c0a0dd8985877de0cfd (patch)
treea23c282d44548598ccc20d2ef44835b892a8f4f9 /puppet/services/nova-libvirt.yaml
parentaca0c4fc2d6604972d7088b42b0e37cb2d126167 (diff)
Set virsh secret with an init step when using Ceph
Run virsh secret-define and secret-set-value in an init step instead of relying on the puppet-nova exec. Co-Authored-By: Jiri Stransky <jistr@redhat.com> Change-Id: Ic950e290af1c66d34b40791defbdf4f8afaa11da Closes-Bug: #1709583
Diffstat (limited to 'puppet/services/nova-libvirt.yaml')
-rw-r--r--puppet/services/nova-libvirt.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/puppet/services/nova-libvirt.yaml b/puppet/services/nova-libvirt.yaml
index e2ae7260..04936c33 100644
--- a/puppet/services/nova-libvirt.yaml
+++ b/puppet/services/nova-libvirt.yaml
@@ -139,6 +139,11 @@ outputs:
# we manage migration in nova common puppet profile
nova::compute::libvirt::migration_support: false
nova::compute::rbd::libvirt_rbd_user: {get_param: CephClientUserName}
+ nova::compute::rbd::rbd_keyring:
+ list_join:
+ - '.'
+ - - 'client'
+ - {get_param: CephClientUserName}
nova::compute::rbd::libvirt_rbd_secret_key: {get_param: CephClientKey}
nova::compute::rbd::libvirt_rbd_secret_uuid: {get_param: CephClusterFSID}
tripleo::profile::base::nova::migration::client::libvirt_enabled: true