For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Upgrading on Kolla-Ansible

This page covers two upgrade paths on Kolla-Ansible. Pick the one that matches your source release:

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➡️ Use 2025.1 for Epoxy or 2025.2 for Flamingo.

  • --mode➡️ Use upgrade when 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’s globals.yml file.

Before modifying any file, the script creates a timestamped backup directory in the current working directory (./backup/YYYYMMDD_HHMMSS/) and copies /etc/kolla/globals.yml, /etc/kolla/passwords.yml, site.yml, and the inventory file into it before making changes. The exact backup path is printed in the script header — copy a file back from there if you need to restore it.

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

Post deployment for multipath enabled environment, log into respective datamover container and add uxsock_timeout with value as 60000 (i.e. 60 sec) in /etc/multipath.conf. Restart datamover container

8] Verify the upgrade

Upgrading from an older, pre-DMS release to T4O 6.2.1

Use this path when upgrading from an older, pre-DMS Trilio release (T4O 5.x or early 6.x) directly to T4O 6.2.1 on Kolla-Ansible (Epoxy/Flamingo). T4O 6.2 replaced the per-backup-target object-store containers with the Dynamic Mount Service (DMS), so upgrading from an older release requires migrating existing backup targets and workloads in addition to the usual image/config update.

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➡️ Use 2025.1 for Epoxy or 2025.2 for Flamingo.

  • --mode➡️ Use upgrade when 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’s globals.yml file.

Before modifying any file, the script creates a timestamped backup directory in the current working directory (./backup/YYYYMMDD_HHMMSS/) and copies /etc/kolla/globals.yml, /etc/kolla/passwords.yml, site.yml, and the inventory file into it before making changes. The exact backup path is printed in the script header — copy a file back from there if you need to restore it.

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

Post deployment for multipath enabled environment, log into respective datamover container and add uxsock_timeout with value as 60000 (i.e. 60 sec) in /etc/multipath.conf. Restart datamover container

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 nodes

  • Lazy-unmounts S3/FUSE and NFS mounts under /var/trilio/triliovault-mounts

  • Removes the /etc/kolla/triliovault-object-store config directory and any empty mount-point subdirectories

  • Removes 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.yml on 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)

This step is required only when the backup target is S3. Skip it for NFS backup targets.

Still inside the triliovault_wlm_api container:

11.3] Update the backing file for each workload (S3 backup target only)

This step is required only when the backup target is S3. Skip it for NFS backup targets.

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?