Ensure RAX's nova-agent is stopped in ironic job
Need to be more diligent when working around the libvirt bug and ensure Rackspace's nova-agent is really stopped so that /proc/xen can be unmounted. The nova-agent init script apparently does a poor job of this. Change-Id: Ib906fb035d7820be9514a136b161fd71999a795b
This commit is contained in:
parent
ac849407fa
commit
97dc591bad
@ -445,6 +445,7 @@
|
|||||||
# work around bug in libvirt-bin on rax nodes, pending fixes to bug:
|
# work around bug in libvirt-bin on rax nodes, pending fixes to bug:
|
||||||
# https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1248025
|
# https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1248025
|
||||||
sudo service nova-agent stop || echo ''
|
sudo service nova-agent stop || echo ''
|
||||||
|
sudo pkill -9 nova-agent || echo ''
|
||||||
sudo service xe-linux-distribution stop || echo ''
|
sudo service xe-linux-distribution stop || echo ''
|
||||||
if [ -e /proc/xen ] ; then
|
if [ -e /proc/xen ] ; then
|
||||||
sudo umount /proc/xen
|
sudo umount /proc/xen
|
||||||
|
Loading…
x
Reference in New Issue
Block a user