first during the validation,
running the command : gkectl check-config --config admin-cluster.yaml
- Validation Category: TOD on Test VMs
- [FAILURE] Test VM: TOD availability: 1 TestVMTOD error(s).
then error happened during the command creating admin cluster
gkectl create admin --config admin-cluster.yaml
error log in terminal is :
W1122 08:23:20.608984 14172 warnings.go:70] v1 ComponentStatus is deprecated Waiting for internal cluster control plane to be healthy... ERROR
Take a snapshot of the external cluster... |
Using "external-cluster" snapshot configuration...
Take a snapshot of the external cluster... -
Taking snapshots in 10 thread(s)...
In the log file :
I1122 07:49:38.221379 14172 create_admin.go:146] Creating root cluster
I1122 07:49:38.322589 14172 kind.go:61] kind is using: RegistryServer: "gcr.io/gke-on-prem-release"
I1122 07:49:38.322603 14172 kind.go:62] kind is using: RegistryCaCert: ""
I1122 07:49:38.322611 14172 kind.go:63] kind is using: ContainerdProxy: ""
I1122 07:49:38.322621 14172 kind.go:64] kind is using: ContainerdNoProxy: ""
I1122 07:49:38.322631 14172 kind.go:65] kind is using: NodeImageVersion: "v0.11.1-gke.17-v1.21.5-gke.400"
I1122 07:54:28.042762 14172 kubectl.go:33] Creating Kubectl client
I1122 07:54:28.053561 14172 spinner.go:121] Waiting for external cluster control plane to be healthy
I1122 07:54:28.255445 14172 status.go:125] Failed to get cluster objects: error listing cluster objects in namespae : the server could not find the requested resource (get clusters.cluster.k8s.io)
I1122 07:54:28.256164 14172 status.go:145] Failed to get machine objects: error listing machine objects: the server could not find the requested resource (get machines.cluster.k8s.io)
I1122 07:54:28.256205 14172 spinner.go:202]
[K[1A
[K Waiting for external cluster control plane to be healthy... [92mDONE[0m
I1122 07:54:28.256228 14172 spinner.go:121] Creating data disk for internal cluster.
I1122 07:54:28.328663 14172 clusterdeployer.go:1040] Creating directory for data disk "my-gke-on-prem-folder/my-disk.vmdk" if not already exist
I1122 07:54:28.658182 14172 status.go:125] Failed to get cluster objects: error listing cluster objects in namespae : the server could not find the requested resource (get clusters.cluster.k8s.io)
I1122 07:54:28.658889 14172 status.go:145] Failed to get machine objects: error listing machine objects: the server could not find the requested resource (get machines.cluster.k8s.io)
I1122 07:54:28.658943 14172 spinner.go:202]
thanks a lot
jun