Article ID: 117136, created on Sep 5, 2013, last review on Jun 17, 2016

  • Applies to:
  • Operations Automation 5.5
  • Virtuozzo
  • Virtuozzo containers for Linux
  • Virtuozzo hypervisor
  • Virtual Automation

Symptoms

It is impossible to restore a container from its backup, the operation fails with the error :

    * Finalizing restore
    * Operation with the  #101 is finished with errors: Failed to check template consistency, code 70. See vzpkg(8) manpage for more information.
    2013-07-24T15:42:35+0100 : Error: /usr/share/vzyum/bin/yum failed, exitcode=1
    Restore failed: Failed to check template consistency, code 70. See vzpkg(8) manpage for more information.
    2013-07-24T15:42:35+0100 : Error: /usr/share/vzyum/bin/yum failed, exitcode=1

Cause

Code 70 means 'Package manager failed', so there are issues with synchronizing the packages, installed inside the container, and the target node.

Resolution

One of the possible causes for this error is that the OS release of the container is no longer available on the main repositories: the version has reached end-of-life. An example of how to deal with such cases can be found here : CentOS 4 EOL.

To ensure which templates are necessary for the given container, you can use the following command :

    ~# vzarestore --print-ve-config BACKUP_ID | grep TEMPLATE

If the case is different, contact Parallels Technical Support to deal with the issue.

Search Words

-1 : Failed to check template consistency, code 70. See vzpkg(8) manpage for more information. 2015-04-08T10:41:13-0400 : Error: /usr/bin/apt-get failed, exitcode=100 --- Task ID: 27190870 Found a KB regarding this error : http://kb.odin.com/en/117136

Error restoring VZ container backup

Restore failed: Failed to check template consistency,

Failed to check template consistency

restore_env

Restore failed: Failed to check template consistency, code 70

Restore operation failed.

restore pbas container from backup

vzarestore

Error: /usr/share/vzyum/bin/yum failed, exitcode=1

code 70

a26b38f94253cdfbf1028d72cf3a498b 2897d76d56d2010f4e3a28f864d69223 d02f9caf3e11b191a38179103495106f e8e50b42231236b82df27684e7ec0beb 319940068c5fa20655215d590b7be29b 0dd5b9380c7d4884d77587f3eb0fa8ef 5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 614fd0b754f34d5efe9627f2057b8642 5b048d9bddf8048a00aba7e0bdadef37 2554725ed606193dd9bbce21365bed4e

Email subscription for changes to this article
Save as PDF