Cannot create OpenVZ VPS in SolusVM - it stays offline: Failed to convert the precreated cache

Have more questions? Submit a request

Applicable to:

  • SolusVM

Symptoms 

  • When trying to create a VPS it stays offline in SolusVM. 
  • Attempt to create VPS manually shows the error even though the corresponding template cache is present under /vz/template/cache directory on OpenVZ slave node:

    CONFIG_TEXT: Error: Failed to convert the precreated cache /vz/template/cache/debian-7.0-x86_64-minimal.tar.gz
    Error: Unable to find ostemplate: debian-7.0-x86_64-minimal

Cause

The template cache is inconsistent.

Resolution

  1. Connect to OpenVZ node via SSH
  2. Remove .lz4 template cache and re-create the cache:

    # rm -f /vz/template/cache/debian-7.0-x86_64-minimal.plain.ploopv2.tar.lz4
    # /usr/libexec/ovz-template-converter --verbose /vz/template/cache/debian-7.0-x86_64-minimal.tar.gz

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.