Search Engine: Elastic

Article ID: 130818, created on May 16, 2017, last review on May 16, 2017

  • Applies to:
  • Operations Automation 7.0


Provider performed backup of Operation Automation Premium management node via migration toolkit and started restoration according to documentation. However, restoration procedure fails with the following output:

# ./ --migrate --communication_ip= --external_ip=
  File "/OA_management_node_backup/", line 71, in install_rpm_from_path
    deploy_rpm_from_path(path, rpm_names, 'install')
  File "/OA_management_node_backup/", line 78, in deploy_rpm_from_path
    raise Exception("can not %s rpms %s, return code %s, stdout %s, stderr %s" % (command, found_rpms, ret, out, err))
Exception: can not install rpms [], return code 1, stdout Loaded plugins: fastestmirror
, stderr Error: Need to pass a list of pkgs to install


Migration toolkit files were overwritten during hotfixes installation. Installed updates deployed outdated versions of scripts used by migration toolkit which interfered with restoration process. This point is explicitly noted in KB:

14. Please re-deploy migration kit (step #10) in case you installed any hotfix after the pre-check.


Recommended way is to re-deploy migration toolkit and re-do backup and restoration operations.

If it is not possible to perform migration from scratch, it is possible to re-deploy only restoration scripts and complete the process. In order to do that, please follow the instruction below:

  1. Download the latest migration toolkit from KB
  2. Unpack the archive to some temporary directory
  3. Copy files from unpacked toolkit (let us assume /tmp/toolkit) to directory where backup is stored on destination node (we will assume /OA_management_node_backup in this example):

    # cp /tmp/toolkit/usr/local/pem/bin/ /OA_management_node_backup/
    # cp /tmp/toolkit/usr/local/pem/bin/ /OA_management_node_backup/
    # cp /tmp/toolkit/usr/local/pem/bin/ /OA_management_node_backup/
    # mv /OA_management_node_backup/poaupdater /OA_management_node_backup/poaupdater.bak
    # cp -r /tmp/toolkit/usr/local/pem/bin/migration_poaupdater /OA_management_node_backup/poaupdater

Then retry the restoration process.

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 0871c0b47b3b86ae3b1af4c2942cd0ce 1941880841f714e458ae4dc3d9f3062d

Email subscription for changes to this article
Save as PDF