Attempt to reinstall OpenVZ 7 container fails: rootpassword is not provided

Applicable to:

  • SolusVM

Symptoms

Attempt to reinstall OpenVZ 7 container fails with the following error in /usr/local/solusvm/log/ovz7.log:

# tail -fn0 /usr/local/solusvm/log/ovz7.log
ERRO[2021-06-29 08:34:53]/home/build/SOURCE/Go-Core/src/ovz7/vendor/github.com/sirupsen/logrus/logger.go:192 github.com/sirupsen/logrus.(*Logger).Log() rootpassword is not provided

Resetting root password for the container fixes the issue.

Cause

Most probably the root password for the container encrypted with the old encryption key and cannot be decrypted properly.

Resolution

Reset root password via SolusVM web interface

From SolusVM admin area
  1. Log into SolusVM web interface as admin user
  2. Browse to a container management page Dashboard > Virtual Servers > container_id
  3. Change password using corresponding feature available via Root Password icon:
    mceclip1.png
From SolusVM client area
  1. Log into SolusVM web interface as a client
  2. Click on Manage button against a container name:
    mceclip2.png
  3. On the management page, select Root/Admin Password tab and set a new password:
    mceclip3.png

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.