Restart nova-compute after IB changes

Change-Id: I04a4d7ee531c54948dda4c1039d7524e7666e8bc
This commit is contained in:
Aviram Bar-Haim 2016-02-28 19:41:39 +02:00
parent ae2b1d25b8
commit 90eb4b04e8
2 changed files with 7 additions and 3 deletions

View File

@ -36,6 +36,10 @@ if [ $DISTRO == 'ubuntu' ] && [ $DRIVER == 'eth_ipoib' ]; then
service openibd restart && service openvswitch-switch restart
if [[ $ROLE == compute ]] && [ -f /etc/init.d/nova-compute ]; then
service nova-compute restart
fi
if [ $tgt_locks -ne 0 ];then
service tgt start
fi

View File

@ -145,7 +145,7 @@
# Execute post_deployment manifest for each role
- id: configure_mellanox_controller
role: ['controller', 'primary-controller']
required_for: [post_deployment_end]
required_for: [configure_mlnx_iser_ib]
requires: [print_stage_post_deployment]
type: puppet
parameters:
@ -154,7 +154,7 @@
timeout: 2000
- id: configure_mellanox_compute
role: ['compute']
required_for: [post_deployment_end]
required_for: [configure_mlnx_iser_ib]
requires: [print_stage_post_deployment]
type: puppet
parameters:
@ -163,7 +163,7 @@
timeout: 500
- id: configure_mellanox_cinder
role: ['cinder']
required_for: [post_deployment_end]
required_for: [configure_mlnx_iser_ib]
requires: [print_stage_post_deployment]
type: puppet
parameters: