Ubuntu/Debian based Openstack enviroments
Generic Pre-requisites
Please ensure the following points before starting the upgrade process:
No snapshot OR restore to be running.
Global job scheduler should be disabled.
The mentioned gemfury repository should be accessible from TVault VM.
Rolling upgrade on Openstack Ansible
Repo Updates
Add gemfury repo on each dmapi, horizon containers & compute node(s) to get updated packages.
Create a file /etc/apt/sources.list.d/fury.list and add below line in it.
deb [trusted=yes] https://apt.fury.io/triliodata-4-0/ /Use the below commands to get a list of updated packages available on the configured repositories.
apt-get update
apt list --upgradable Upgrade tvault-datamover-api package
Login to dmapi container from the controller node using the below command.
Take a backup of the following file on each dmapi container(s).
Add the gemfury repo and upgrade the dmapi package using the below command. Select the appropriate package depending on the python version used.
Restore the backed-up config files
Now restart and check the service tvault-datamover-api on controller.
Upgrade Horizon plugin
For the Horizon plugin upgrade, we need to upgrade below two packages.
python3-tvault-horizon-plugin python3-workloadmgrclient
Login to the horizon container from the controller node using the below command.
Add the gemfury repo and upgrade the tvault-horizon-plugin & workloadmgrclient packages using the below command. Select the appropriate package depending on the python version used.
Restart the apache2 service and verify the workloadmgrclient version using the below commands.
Upgrade the tvault-contego package
NFS Storage Backend
Take a backup of following file on each compute node(s) for nfs storage backend.
Upgrade the tvault-contego package using below command.Select the appropriate package depending on python version used.
Restore the backed-up config files
Now restart and check the service tvault-contego on compute node(s).
Please make sure all configuration files are unchanged.
S3 Storage Backend
Take a backup of following file on each compute node(s) for s3 storage backend.
Upgrade the tvault-contego package using below command. Select the appropriate package depending on the python version used.
Note*:- If you get prompt while installing, choose the default selection.
Restore the backed-up config files
Now restart and check the service tvault-contego on compute node(s).
Please make sure all configuration files are unchanged.
Rolling upgrade on Kolla Openstack
Upgrade tvault-datamover-api package (trilio_datamover_api Container)
Container trilio_datamover_api needs to be redeployed. Follow below steps on all controller nodes :
Backup Existing conf files/folders
Stop and Remove existing container trilio_datamover_api
Pull trilio_datamover_api container image:
Run datamover api container.
Verify deployment
Upgrade Horizon Plugin Package
Login to horizon container (on controller node)
Add gemfury repo on horizon to get updated packages.
Create a file /etc/apt/sources.list.d/fury.list and add below line in it.
Use below commands to get list of updated packages available on repo's.
For Horizon plugin upgrade, following packages need to be upgraded.
python3-tvault-horizon-plugin python3-workloadmgrclient
Run following commands to upgrade the tvault-horizon-plugin & workloadmgrclient packages. Select the appropriate package depending on python version used.
Restart docker container (from controller node) and verify the workloadmgrclient version (inside horizon container).
Upgrade Tvault-Contego (trilio_datamover Container)
Container trilio_datamover needs to be redeployed. Follow below steps on all Compute nodes :
Backup Existing conf files/folders
Stop & remove existing trilio_datamover container
Pull Trilio Datamover container image using the following command:
Run datamover container.
Verify Deployment of trilio_datamover
Last updated
Was this helpful?
