aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/nova-compute.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-compute.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-compute.yaml')
-rw-r--r--puppet/services/nova-compute.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/puppet/services/nova-compute.yaml b/puppet/services/nova-compute.yaml
index 6e1f3f56..36866a3a 100644
--- a/puppet/services/nova-compute.yaml
+++ b/puppet/services/nova-compute.yaml
@@ -170,6 +170,11 @@ outputs:
tripleo::profile::base::nova::migration::client::ssh_port: {get_param: MigrationSshPort}
nova::compute::rbd::libvirt_images_rbd_pool: {get_param: NovaRbdPoolName}
nova::compute::rbd::libvirt_rbd_user: {get_param: CephClientUserName}
+ nova::compute::rbd::rbd_keyring:
+ list_join:
+ - '.'
+ - - 'client'
+ - {get_param: CephClientUserName}
tripleo::profile::base::nova::compute::cinder_nfs_backend: {get_param: CinderEnableNfsBackend}
rbd_persistent_storage: {get_param: CinderEnableRbdBackend}
nova::compute::rbd::libvirt_rbd_secret_key: {get_param: CephClientKey}