Applicable to:
- SolusVM
Symptoms
-
Unable to reinstall a container on localhost in Virtual Servers > VPS > Reinstall - reinstallation is shown as completed, however, the container is not running on the server.
-
The following message can be found in
/var/log/vzctl.log
:CONFIG_TEXT: Opening delta /vz/private/VEID/root.hdd/root.hds
vzctl : CT VEID : Error: Unable to find ostemplate: 1
vzctl : CT VEID : Destroying Container private area: /vz/private/VEID
vzctl : CT VEID : The ploop image /vz/private/VEID/root.hdd has been successfully unregistered - On attempt to enter this container, the following error occurs:
# vzctl enter 101
enter into CT 101 failed
Unable to open pty: No such file or directory -
It is possible to reinstall a newly created VPS using the Client area:
Cause
Bug #SVM-1831 that is planned to be fixed in future SolusVM versions.
Resolution
Until the fix becomes available use the reinstall feature from the client area:
-
Log in SolusVM administrator web interface.
-
Log in as a client in Virtual Servers > VPS > login as client.
-
Reinstall the container in Affected VPA > Manage > Reinstall.
Warning: it it essential to completely re-create all VPS that has been already reinstalled using admin area as after that even client area reinstall feature will not be working.
Additionally, container can be re-installed from command line console using OpenVZ native utilities:
- Connect to the SolusVM Master via SSH
- Stop the container
# vzctl stop CTID
- Re-install OS
# vzctl reinstall <CTID> --ostemplate <template_name>
where <CTID> should be replaced with actual VPS CT ID and <template_name> should be replaced with the template name without ".tar.gz" part.
Example
CTID - 101
template_name - centos-7-x86_64-minimal
# vzctl stop 101
# vzctl reinstall 101 --ostemplate centos-7-x86_64-minimal
Comments
0 comments
Please sign in to leave a comment.