Workload: Appliance Upgrade Fails Due to Root Password Expiration
search cancel

Workload: Appliance Upgrade Fails Due to Root Password Expiration


Article ID: 286094


Updated On:


Carbon Black Cloud Workload


  • Appliance upgrade fails
  • Error ""Last Upgrade is failed: Target Version: X" under Appliance UI > Appliance > Upgrade
  • cat /var/log/cwp/apw_upgrade_status.json shows status:
  • "sudo chage -l root" gives output:
    You are required to change your password immediately (administrator enforced) 
    chage: PAM: Authentication token is no longer valid; new one required


  • Carbon Black Cloud Workload: All Versions
    • Appliance 1.0.0 - 1.0.1


Expired root password


  1. Launch the Web Console for the Appliance
  2. Login as root, prompt to change password will appear.
  3. The upgrade process will start within one minute of updating the password. This process will cause various services to restart
  4. To verify successful upgrade run command:
    cat /var/log/cwp/upgrade_status.json
    Sample output:
    {"status": "COMPLETED", "message": "Upgrade completed successfully", "reboot_pending": true, "source_version": "", "target_version": ""}

Additional Information

  • The Appliance comes with a password expiry policy of 90 days. If the Appliance is more than 90 days old, then root & admin passwords would have expired.
  • The Appliance upgrade process requires the root password to be active and not be expired.
  • Once the upgrade process has completed, the appliance UI may still show older version or the status as failed. This will automatically correct itself when the next upgrade schedule triggers.