Skip to content

Commit b86b920

Browse files
systemvm: document workaround for older ACS env with systemvms
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
1 parent e6bcd71 commit b86b920

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

source/upgrading/upgrade/_sysvm_restart.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,22 @@ from the new systemVM template version.
2626
or do it by using third-party tools such as Ansible.
2727
Below we are giving instructions for using the "cloudstack-sysvmadm" script.
2828

29+
Note: When upgrading from older CloudStack environments (for example, 4.9-4.13)
30+
with XenServer or XCP-ng hosts, some systemvms and virtual routers may not have
31+
ejected or removed the older systemvm.iso. The old systemvm.iso needs to be
32+
ejected and removed before new systemvms and virtual routers are (re-)created).
33+
This issue has been fixed in CloudStack 4.15, older enviroments may need the
34+
following to be run on the XenServer or XCP-ng pool master:
35+
36+
.. parsed-literal::
37+
38+
# for vm in $(xe vm-list | grep name-label | sed 's/.*name-label.*: //g'); do
39+
if [[ $vm == [rvs]-* ]]; then
40+
echo "Attempting systemvm.iso eject and remove for $vm";
41+
xe vm-cd-eject vm=$vm;
42+
xe vm-cd-remove vm=$vm cd-name=systemvm.iso;
43+
fi;
44+
done
2945
3046
Ensure that the admin port is set to
3147
8096 by using the "integration.api.port" global parameter. This port

0 commit comments

Comments
 (0)