64196: Acronis Cyber Infrastructure: unable to update cluster deployed in Azure VM

use Google Translate

Last update: 17-05-2021

Symptoms

1. ACI node was deployed in Azure VM per documentation "Backup Gateway Quick Start Guide for Microsoft Azure" with version less then 3.5.

2. azure-cli package in version less than 2.0.77-1 is installed:

[root@azure-node01 ~]# rpm -qa | grep azure-cli
azure-cli-2.0.76-1.el7.x86_64

3. Attempt to perform cluster update or check updates via WebCP fails without specific error, manual attempt to update azure-cli package separately fails due to dependency issue:

[root@azure-node01 ~]# yum update azure-cli
Loaded plugins: fastestmirror, hci-release, langpacks, priorities, yum-plugin-readykernel, yum-plugin-rk-repo, yum-plugin-scst
Loading mirror speeds from cached hostfile
1 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package azure-cli.x86_64 0:2.0.76-1.el7 will be updated
---> Package azure-cli.x86_64 0:2.1.0-1.el7 will be an update
--> Processing Dependency: python3 for package: azure-cli-2.1.0-1.el7.x86_64
--> Finished Dependency Resolution
Error: Package: azure-cli-2.1.0-1.el7.x86_64 (azure-cli)
           Requires: python3

Cause

Packages azure-cli-2.0.77-1 and above have packages dependency which conflicts with ACI repositories not allowing to start cluster update.

Solution

Proceed with cluster update in such conditions following one of these ways

  • Disable azure-cli repository on the node:

[root@azure-node01 ~]# sed -ie 's/enabled=1/enabled=0/g' /etc/yum.repos.d/azure-cli.repo

  • In case if the latest version of azure-cli package is required - reinstall it manually without dependencies; the required version of python package will be recognized automatically:
[root@azure-node01 ~]# yum remove azure-cli
[root@azure-node01 ~]# yumdownloader azure-cli
[root@azure-node01 ~]# rpm -ivh --nodeps azure-cli-2.1.0-1.el7.x86_64.rpm
[root@azure-node01 ~]# az --version

azure-cli                          2.1.0

command-modules-nspkg              2.0.3
core                               2.1.0
nspkg                              3.0.4
telemetry                          1.0.4

Python location '/bin/python3'
Extensions directory '/root/.azure/cliextensions'

Python (Linux) 3.6.6 (default, Mar 10 2019, 13:45:47)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-36)]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.

After retry, attempt to update cluster via WebCP.

More information

If the issue still persists, contact Acronis support for assistance.

Tags: