puppet nova not setting secret value for rbd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet-openstack |
Invalid
|
Undecided
|
Arnaud Morin |
Bug Description
When using the puppet-nova module, the rbd class is not setting the secret in virsh.
My class:
class { '::nova:
libvirt_
libvirt_
libvirt_
rbd_keyring => 'client.cinder',
}
should produce a valid secret in nova that can be retrieve with:
virsh secret-get-value --secret 457eb676-
But it return that the secret does not have any value.
This bug is introduced by the unless statement on rbd.pp file line 80:
unless => "/usr/bin/virsh secret-list | grep ${libvirt_
The grep will find the value even if the secret is not set (but is defined).
Sorry, duplicate of https:/ /bugs.launchpad .net/puppet- nova/+bug/ 1425601