gce/Vm Lifecycle State

Validates that a specified VM is in the ‘RUNNING’ state.

Product: Compute Engine
Step Type: AUTOMATED STEP

Description

This step is crucial for confirming the VM’s availability and operational readiness. It checks the VM’s lifecycle state and reports success if the VM is running or fails the check if the VM is in any other state, providing detailed status information for troubleshooting.

Failure Reason

The GCE Instance {full_resource_path} is not in the {status}.

Failure Remediation

Restart VM {full_resource_path} and ensure VM lifecycle transitions from {status} to RUNNING.

You can restart a compute instance with this guide.

If you encounter any difficulties starting the VM, consult the VM Startup troubleshooting documentation to identify and resolve potential startup issues.

Success Reason

The GCE Instance {full_resource_path} is in {status} state.

Skipped Reason

Could not validate VM lifecycle.