Upgrading on Kolla-Ansible
Upgrading from T4O 6.2.0 to 6.2.1 (Epoxy and Flamingo)
1] Prerequisites
Before upgrading, ensure the following:
No Snapshot or Restore is running
The global job scheduler is disabled
2] Back up scripts and clone the target release
Rename your existing triliovault-cfg-scripts directory to keep it available for reference/rollback, then clone the 6.2.1 release into a new directory:
mv triliovault-cfg-scripts triliovault-cfg-scripts-6.2.0
git clone -b {{ trilio_branch }} https://github.com/trilioData/triliovault-cfg-scripts.git triliovault-cfg-scripts-6.2.1
cd triliovault-cfg-scripts-6.2.1/kolla-ansible/ansible/3] Activate the kolla virtual environment
The venv path depends on the base distro of your Kolla deployment:
4] Run the upgrade preparation script
Run prepare_install_upgrade.py in upgrade mode to update the Trilio global variables, passwords, site.yml content, and inventory entries for your OpenStack release in the corresponding Kolla-ansible files.
--os-release➡️ Use2025.1for Epoxy or2025.2for Flamingo.--mode➡️ Useupgradewhen upgrading an existing Trilio installation.--venv-path➡️ The kolla virtual environment path exported in the previous step.--inventory-file➡️ Path to your cloud’s kolla-ansible inventory file.--globals-file➡️ Path to your cloud’sglobals.ymlfile.
In upgrade mode the script:
globals.yml — replaces the Trilio block; previously set credentials are preserved automatically, and the Trilio version tags are bumped to the target release
passwords.yml — skipped if all 5 Trilio password keys are already present (passwords are never regenerated)
site.yml — replaces the Trilio plays block with fresh content for the release
inventory — fully replaces the Trilio inventory block
nova-cell volumes — no-op if already patched
Horizon settings — no-op if the file already exists
5] Update Trilio version tags in globals.yml
Open /etc/kolla/globals.yml and confirm triliovault_tag and triliovault_dms_tag are set to the values for 6.2.1, listed on the Resources page:
Cloud admin details and passwords populated during the original installation do not need to change.
6] Pull updated container images
7] Deploy the upgrade
8] Verify the upgrade
Upgrading from an older, pre-DMS release to T4O 6.2.1
1] Prerequisites
Before upgrading, ensure the following:
No Snapshot or Restore is running
The global job scheduler is disabled
2] Back up scripts and clone the target release
Rename your existing triliovault-cfg-scripts directory to keep it available for reference/rollback, then clone the target release into a new directory:
Example, upgrading from 5.2.7 to 6.2.1:
3] Collect the existing backup target configuration
Run this before making any further changes. Older releases don't expose workloadmgr backup-target-list, so this script reads the backup target configuration directly out of globals.yml and saves it for use when recreating the backup target in step 10.
4] Activate the kolla virtual environment
The venv path depends on the base distro of your Kolla deployment. For example:
5] Run the upgrade preparation script
Run prepare_install_upgrade.py in upgrade mode to update the Trilio global variables, passwords, site.yml content, and inventory entries for your OpenStack release in the corresponding Kolla-ansible files.
--os-release➡️ Use2025.1for Epoxy or2025.2for Flamingo.--mode➡️ Useupgradewhen upgrading an existing Trilio installation.--venv-path➡️ The kolla virtual environment path exported in the previous step.--inventory-file➡️ Path to your cloud’s kolla-ansible inventory file.--globals-file➡️ Path to your cloud’sglobals.ymlfile.
In upgrade mode the script:
globals.yml — replaces the Trilio block; previously set credentials are preserved automatically, and the Trilio version tags are bumped to the target release
passwords.yml — skipped if all 5 Trilio password keys are already present (passwords are never regenerated)
site.yml — replaces the Trilio plays block with fresh content for the release
inventory — fully replaces the Trilio inventory block
nova-cell volumes — no-op if already patched
Horizon settings — no-op if the file already exists
6] Set Trilio version tags in globals.yml
Open /etc/kolla/globals.yml and set triliovault_tag and triliovault_dms_tag to the values for your target release, listed on the Resources page:
Cloud admin details and passwords populated during the original installation do not need to change.
7] Pull updated container images
8] Deploy the upgrade
9] Clean up legacy object-store containers and mounts
Once the 6.2.1 DMS-based containers are deployed, remove the old per-backup-target object-store containers and mounts left over from the pre-DMS release:
This playbook:
Stops and removes all
triliovault_object_store*Docker containers on WLM and datamover nodesLazy-unmounts S3/FUSE and NFS mounts under
/var/trilio/triliovault-mountsRemoves the
/etc/kolla/triliovault-object-storeconfig directory and any empty mount-point subdirectoriesRemoves the old backup target variables (
triliovault_backup_target,triliovault_nfs_*,triliovault_s3_*,multi_ip_nfs_enabled,triliovault_copy_ceph_s3_ssl_cert) from/etc/kolla/globals.ymlon the ansible control node
Verify cleanup:
10] Recreate the backup target in T4O 6.2.1
Using the configuration collected in step 3, recreate the backup target against the new DMS-based schema. The playbook runs on a single controller node and executes workloadmgr inside the triliovault_wlm_api container. The backup target name is auto-generated from its type: nfs-backup-target-1 or s3-backup-target-1.
NFS backup target:
S3 backup target — the secret key is read automatically from existing_backup_targets.yaml (collected in step 3); no export or extra-var needed:
11] Import existing workloads and update backing files
Workloads created under the pre-DMS release need to be re-registered in the database and have their backing files rebased onto the new DMS-mounted backup target.
11.1] Update existing workload and policy data
This command updates all workload and policy records in the database to match the current release version.
11.2] Mount the backup target (S3 backup target only)
Still inside the triliovault_wlm_api container:
11.3] Update the backing file for each workload (S3 backup target only)
Copy the script into the triliovault_wlm_api container:
Then, back inside the container, run it once per workload against its mount path:
Example:
12] Verify the upgrade
13] Recreate cloud admin trust (if required)
If the cloud admin trust needs to be re-established after the upgrade, run:
Last updated
Was this helpful?
