Starting PF9-Ostackhost Results in Error: "sudo: Password expired, contact your system administrator

Problem

  • Starting pf9-ostackhost results in "error: sudo: Password expired, contact your system administrator"
  • Below messages are recorded in /var/log/pf9/ostackhost.log
Copy
  • In /var/log/secure we see that it appears to be leveraging the root account for which the system is stating the password has expired.
Copy

Environment

  • Platform9 Managed OpenStack - All Versions
  • Pf9-ostackhost

Cause

The root account doesn't appear to be locked because it's an administrative account, but it won't allow any sudo commands to be run as the password has expired. Check the difference "Password expires" date to verify the password validity.

Below is a sample output of the chage command

Copy

Resolution

Reset the password for the root user on the affected host.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard