64105: Acronis Cyber Infrastructure: upgrade fails with "There are unfinished transactions remaining"

use Google Translate

Last update: Tue, 2020-06-02 14:57

Symptoms

Upgrade to Acronis Cyber Infrastructure from an older version fails with:

There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help). The program yum-complete-transaction is found in the yum-utils package.

Cause

There are some yum install transactions left uncompleted on the storage nodes.

Solution

Find unfinished yum transactions with yum-complete-transaction and complete them.

  1. For each affected node, connect to it via SSH and run the following.
  2. If not yet installed, install yum-utils package:
    yum install yum-utils
  3. Try to finish the last incomplete transaction:
    yum-complete-transaction
  4. Check the output. If there are any unfinished transactions with vstorage* packages, make sure that yum-complete-transactions does NOT suggest to remove the latest package. Removing the latest vstorage* package can damage Acronis Cyber Infrastructure installation.
     
    Example 1:

    [root@ ~]# rpm -q vstorage-ui-backend
    vstorage-ui-backend-3.0.226-1.vl7.x86_64
    vstorage-ui-backend-3.0.227-1.vl7.x86_64

    There are 2 packages and it is safe to remove 3.0.226. However, it is not safe to remove 3.0.227.
     
    Example 2:
    [root@ ~]# rpm -q vstorage-ui-backend
    vstorage-ui-backend-3.0.227-1.vl7.x86_64

    There is just 1 package, it is not safe to remove it.

    Based on the output, confirm or decline proceeding.

If you have confirmed yum-complete-transaction execution and it completed successfully, run the update from WebCP console again.

If the first solution did not resolve the issue or you declined proceeding, clean up the transaction journal files using yum-utils:
yum-complete-transaction --cleanup-only

Then run the update from WebCP console again.

More information

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