gce/Guestos Bootup Start
Fetches VM details and validates the instance state.
Product: Compute Engine
Step Type: START
Description
This step retrieves the VM instance details based on the provided project ID, zone, and instance name. It checks if the VM is running and updates the instance ID or name if missing. Additionally, it performs sanity checks on the provided serial console log files to ensure they are valid plain text files.
Failure Reason
The GCE Instance {full_resource_path} is in {status} state.
Failure Remediation
Restart VM {full_resource_path} and ensure VM lifecycle transitions from {status} to RUNNING.
Consult the following documentation:
- Restarting a compute instance: https://cloud.google.com/compute/docs/instances/stop-start-instance#restart-vm
- Troubleshooting VM startup issues: https://cloud.google.com/compute/docs/troubleshooting/vm-startup#identify_the_reason_why_the_boot_disk_isnt_booting
Success Reason
The GCE Instance {full_resource_path} is in {status} state.
Skipped Reason
Could not validate VM lifecycle for GCE Instance {full_resource_path}.