Fix wrong virsh secret key
We set the cinder key inside nova because nova attaches the device. Cinder volumes are attached so we must use the cinder key which has permissions on the cinder pool. If we use the glance key this will never work since the glance user doesn't have any permissions on the cinder pool. Closes bug: #209
This commit is contained in:
parent
3d5a367711
commit
acc1b8b0df
@ -77,7 +77,7 @@ class cloud::storage::rbd::pools(
|
|||||||
}
|
}
|
||||||
|
|
||||||
@@exec { 'set_secret_value_virsh':
|
@@exec { 'set_secret_value_virsh':
|
||||||
command => "virsh secret-set-value --secret ${ceph_fsid} --base64 ${::ceph_keyring_glance}",
|
command => "virsh secret-set-value --secret ${ceph_fsid} --base64 ${::ceph_keyring_cinder}",
|
||||||
tag => 'ceph_compute_set_secret',
|
tag => 'ceph_compute_set_secret',
|
||||||
refreshonly => true,
|
refreshonly => true,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user