The cluster creation fails. In the TCA-CP logs(app.log) this is what we see:
2021-04-21 14:59:44.126 UTC [InfraAutomationService_SvcThread-4, Ent: HybridityAdmin, Usr: [email protected], , TxId: ########-####-####-####-############] ERROR c.v.h.s.i.k8s.CreateK8sClusterJob- Unable to create k8s cluster with error management cluster [Management-cluster-name] is not in running status
java.lang.RuntimeException: management cluster [Management-cluster-name] is not in running status
at com.vmware.hybridity.bootstrapper.adapter.BootStrapperAdapter.createWorkloadCluster(BootStrapperAdapter.java:497)
at com.vmware.hybridity.service.infraautomation.k8s.CreateK8sClusterJob.doBegin(CreateK8sClusterJob.java:127)
at com.vmware.hybridity.service.infraautomation.k8s.CreateK8sClusterJob.run(CreateK8sClusterJob.java:55)
at com.vmware.vchs.hybridity.messaging.LoggingJobWrapper.run(LoggingJobWrapper.java:41)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
In the bootstrapperd.log this is what we see:
Apr 21 14:59:44 apiserverd[426] : [Err-ApiServer] : management cluster [Management-cluster-name] is not in running status
Apr 21 14:59:44 apiserverd[426] : [Err-ApiServer] : checking the object status before creating workload cluster[Cluster-Name: ########-####-####-####-############], err is [management cluster
[Management-cluster-name] is not in running status]
Apr 21 14:59:44 apiserverd[426] : [Err-ApiServer] : HTTP 400 - bad_request - management cluster [Management-cluster-name] is not in running status
2.x
Step A:
The status should show failed.
Step B: