CentOS/RHEL based Openstack environments

Generic Pre-requisites

  1. Please ensure following points before starting the upgrade process:

    1. No snapshot OR restore to be running.

    2. Global job scheduler should be disabled.

  2. The mentioned gemfury repository should be accessible from TVault VM.

Rolling upgrade on Openstack Ansible

Repo Updates

Add trilio repo on each dmapi, horizon containers & compute node(s) to get updated packages.

Modify the file /etc/yum.repos.d/trilio.repo and add below line in it.

[trilio]
name=Trilio Repository
baseurl=http://trilio:[email protected]:8283/triliovault-4.0/yum/
enabled=1
gpgcheck=0

Use below commands to get list of updated packages available on repo's.

1.2 Upgrade tvault-datamover-api package

  • Login to dmapi container from controller node using below command.

  • Take a backup of following file on each dmapi container(s).

  • Add the trilio repo and upgrade the dmapi package using below command.Select the appropriate package depending on python version used.

You can check installed package using below command.

  • Upgrade the dmapi package using below command.

  • Restore the backed-up config files

  • Now restart and check the service tvault-datamover-api on the controller.

Upgrade Horizon Plugin Package

  • We need to upgrade below two packages to upgrade horizon plugin.

tvault-horizon-plugin workloadmgrclient

  • Login to horizon container from controller node using below command.

  • Add the trilio repo and upgrade the tvault-horizon-plugin & workloadmgrclient packages using below command.Select the appropriate package depending on python version used.

  • Depending on the output of above command upgrade appropriate packages.

  • Restart the httpd service and verify the workloadmgrclient version using below commands.

Upgrade Tvault-Contego Package

NFS Storage Backend

  • Take a backup of following file on each compute node(s) for nfs storage backend.

  • Add the trilio repo and upgrade the tvault-contego package using below command.Select the appropriate package depending on python version used.

  • Depending on the output of above command upgrade appropriate packages.

  • Restore the backed-up config files

  • Now restart the service tvault-contego. Verify the status of the service and check the mount point.

S3 Storage Backend

  • Take a backup of following file on each compute node(s) for s3 storage backend.

  • Upgrade the tvault-contego and s3fuse-plugin packages 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).

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 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

Upgrade Horizon Plugin Package

  • Login to horizon container

  • Add trilio repo on each controller(s) to get updated packages.

    • Create a file /etc/yum.repos.d/trilio.repo 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.

tvault-horizon-plugin workloadmgrclient

  • Select the appropriate package depending on python version used.

  • Depending on the output of above command upgrade appropriate packages

  • Restart docker container (from controller node) and verify the workloadmgrclient version (inside horizon container).

RedHat Director

Please refer https://triliodata.atlassian.net/wiki/spaces/TRIL/pages/2055864321/Upgrade+of+Trilio+components+on+RHOSP

Last updated

Was this helpful?