weizhouapache commented on issue #4146: URL: https://github.com/apache/cloudstack/issues/4146#issuecomment-752064552
@rhtyd thanks. I tested cloudstack 4.15.0.0 RC3 and this issue still exist in my testing. I followed up the steps on the page you posted. I tested with official ISO, official coreos template, default network offering for kubernetes cluster. There is error caused by self-signed certificate. see line https://github.com/apache/cloudstack/blob/master/plugins/integrations/kubernetes-service/src/main/java/com/cloud/kubernetes/cluster/utils/KubernetesClusterUtil.java#L223 ``` 2020-12-28 20:49:45,589 WARN [c.c.k.c.u.KubernetesClusterUtil] (API-Job-Executor-11:ctx-81fccb14 job-107 ctx-43764632) (logid:9b4ccbea) API endpoint for Kubernetes cluster : test2 not available java.io.IOException: Server returned HTTP response code: 403 for URL: https://10.135.122.164:6443/version ``` this seems to be fixed by "curl -k https://10.135.122.164:6443/version" on mgt server. However, kubernetes cluster still end in Error state , and no vms in "Instance" page even all masters/nodes are Running. ``` 2020-12-28 20:50:29,989 DEBUG [c.c.k.c.u.KubernetesClusterUtil] (API-Job-Executor-11:ctx-81fccb14 job-107 ctx-43764632) (logid:9b4ccbea) Kubernetes cluster : test2 has total 4 provisioned nodes while 0 ready now ... 2020-12-28 21:40:40,375 ERROR [c.c.k.c.a.KubernetesClusterActionWorker] (API-Job-Executor-11:ctx-81fccb14 job-107 ctx-43764632) (logid:9b4ccbea) Failed to setup Kubernetes cluster : test2 as it does not have desired number of nodes in ready state ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org