The fix is to run virsh reboot as user stack
Change-Id: Id762b6d9ec592835805eb69d5244fa1dc2eb8645
Signed-off-by: Thomas F Herbert <therbert@redhat.com>
# yum update undercloud and reboot.
ssh -T ${SSH_OPTIONS[@]} "root@$UNDERCLOUD" <<EOI
-set -e
+ set -e
-echo yum -y update
-yum -y update
+ echo yum -y update
+ yum -y update
EOI
-virsh reboot instack
+# reboot VM
+ssh -T ${SSH_OPTIONS[@]} stack@localhost <<EOI
+ virsh reboot instack
+EOI
sleep 30
# yum repo, triple-o package and ssh key setup for the undercloud
#
echo If using special kernel version, reboot undercloud vm
if [ -z $kernel_version ]; then
- virsh reboot instack
+ ssh -T ${SSH_OPTIONS[@]} stack@localhost <<EOI
+ virsh reboot instack
+EOI
sleep 15
fi