Appliance failed to load the Photon OS and continously booting into emergency mode - Aria Automation / Orchestrator
search cancel

Appliance failed to load the Photon OS and continously booting into emergency mode - Aria Automation / Orchestrator

book

Article ID: 372199

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite) VMware vSphere ESXi

Issue/Introduction

Symptoms:

  • After a recent vSAN disk failure Aria Automation appliance failed to load the Photon OS and continuously booting into emergency mode.
  • Aria Automation Orchestrator is down, every reboot will show the maintence mode
  • The below logging may be visible during the reboot but could be missed due to fast scrolling logging:
    [FAILED] Failed to start File System Check on /dev/data_vg/data
    See 'systemctl status systemd-fsck@dev-data_vg-data.service' for details 
    Dependency failed for /data 
    Dependency failed for Local File Systems 
    Note: The issue may impact other partitions like /dev/logs_vg/log or /dev/home_vg/home

  • Here an example screenshot:

Environment

  • VMware Aria Automation 8.x
  • VMware Aria Automation Orchestrator 8.x

Cause

This issue can occur when a VM is forcefully halted as a result of storage failure, power failure, or software stack crash, causing file inconsistencies.

Resolution

Caution: Before proceeding, take a snapshot or backup of the affected virtual appliance.

  • Reboot the virtual appliance, and immediately after the OS starts, press " e " to open the GNU GRUB Edit Menu.
  • Locate the line that begins with the word linux.
    At the end of the line, add " fsck.repair=yes " then press F10 to continue booting the appliance. This will force the default filesystem check to auto-resolve any issues.
  • Power off the virtual appliance.
  • Power on the virtual appliance.
    Depending on the number of affected node and the status of services we might need to execute " /opt/scripts/deploy.sh " 
  • Validates the status of all the nodes:
    kubectl get nodes
  • Run the following command to verify that all services are running:
    kubectl -n prelude get pods

Additional Information

You can also repair the file system without accessing the GRUB menu by entering the appliance in maintenance mode with the root password and then running the following command:

fsck -y /dev/data_vg/data

Note:

The issue may impact other partitions like /dev/logs_vg/log or /dev/home_vg/home, please replace above command with the impacted partition.

To identify which partition has an issue, validate which service failed to start:

systemctl status systemd-fsck@dev-logs_vg-log
systemctl status systemd-fsck@dev-data_vg-data
systemctl status systemd-fsck@dev-home_vg-home