-
Notifications
You must be signed in to change notification settings - Fork 4
Upgrade 2.3.0 to 2.4.x
Jo De Boeck edited this page Jun 3, 2018
·
1 revision
Update system-config on the docs.greenitglobe repo use tool to convert file
migrate240 convert --file system-config.yaml
Commit push
Login to management pod
curl https://raw.githubusercontent.com/0-complexity/openvcloud_installer/development/scripts/migrations/migrate240 > migrate240
python3 migrate240 migrate
In the portal press button under /cbgrid/versions to update to 2.4.0 This process will fail but will successfully prepare the environment for update Login to any of the 3 controllers
#download update script
curl https://raw.githubusercontent.com/0-complexity/openvcloud/master/libs/agent-scripts/cloudbroker/upgrade_cluster.py > upgrade_cluster.py
jspython upgrade_cluster.py
Follow progress at /updating/
on the controller exec into portal pod
kubectl exec -it $(kubectl get pods -l app=portal | grep portal | awk '{print $1}') --container portal-container -- bash
jspython /opt/code/github/0-complexity/openvcloud/libs/agent-scripts/cloudbroker/upgrades/2.4.0/master/populate_vms_from_sizeId.py