With Anthos 1.2 there is a new feature that creates a test VM to check connectivities before you deploy your GKE-OP clusters. It helps to avoid issues during the installation.
When installing you GKE On-Prem using the following documentation: https://cloud.google.com/gke-on-prem/docs/how-to/install-dhcp you perform checks with the following commands
gkectl check-config --config [PATH_TO_CONFIG]
you will get an error as bellow:
Validation Category: F5 BIG-IP
[FAILURE] Admin Cluster VIP and NodeIP: Failed to create VM: failed to create VM (not retriable): failed to find VM template "gke-on-prem-osimage-1.14.7-gke.24mage-1.14.7-gke.24-20191120-f71f9a709b' not found
[FAILURE] User Cluster VIP and NodeIP: Failed to create VM: failed to create VM (not retriable): failed to find VM template "gke-on-prem-osimage-1.14.7-gke.24-age-1.14.7-gke.24-20191120-f71f9a709b' not found
Root cause: This is cause by the image not being present on the datastore. The installation steps in the GCP docs have wrong sequence.
Solution: run
gkectl prepare --config [CONFIG_FILE] --validate-attestations
After that the VMs get created and connectivity checks can be performed