compute: notify nova-compute on set_secret_value_virsh refreshing

When running set_secret_value_virsh, we have to notify nova-compute
service, otherwise nova will fail to connect to RADOS.

Partial-bug #582
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
This commit is contained in:
Emilien Macchi 2014-08-20 14:58:36 +02:00
parent 23e5332111
commit 5dc9372a6a

View File

@ -199,7 +199,10 @@ Host *
File <<| tag == 'ceph_compute_secret_file' |>>
Exec <<| tag == 'get_or_set_virsh_secret' |>>
Exec <<| tag == 'set_secret_value_virsh' |>>
# After setting virsh key, we need to restart nova-compute
# otherwise nova will fail to connect to RADOS.
Exec <<| tag == 'set_secret_value_virsh' |>> ~> Service['nova-compute']
# If Cinder & Nova reside on the same node, we need a group
# where nova & cinder users have read permissions.