[GitHub] [cloudstack] shwstppr commented on issue #4241: Unexpected exception while executing org.apache.cloudstack.api.command.user.kubernetes.cluster.CreateKubernetesClusterCmd
shwstppr commented on issue #4241: URL: https://github.com/apache/cloudstack/issues/4241#issuecomment-672280958 @sm97 can you please try deploying k8s cluster after setting `vm.instancename.flag` to false. Issue here doesn't seem to be with CKS itself, the code in UserVmManagerImpl.java seems to be checking the wrong variable for hypervisor type at line 3764 https://github.com/apache/cloudstack/blob/6f96b3b2b391a9b7d085f76bcafa3989d9832b4e/server/src/main/java/com/cloud/vm/UserVmManagerImpl.java#L3764 I'll add a fix for this. 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
[GitHub] [cloudstack] shwstppr commented on issue #4241: Unexpected exception while executing org.apache.cloudstack.api.command.user.kubernetes.cluster.CreateKubernetesClusterCmd
shwstppr commented on issue #4241: URL: https://github.com/apache/cloudstack/issues/4241#issuecomment-671259755 @sm97 sorry got occupied with some stuff last week. WIll get back to you on this later today. 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
[GitHub] [cloudstack] shwstppr commented on issue #4241: Unexpected exception while executing org.apache.cloudstack.api.command.user.kubernetes.cluster.CreateKubernetesClusterCmd
shwstppr commented on issue #4241: URL: https://github.com/apache/cloudstack/issues/4241#issuecomment-669131674 @sm97 4.14 didn't have XCP-ng 8.1+ support officially. I couldn't see 8.2 released on XCP-ng site. With guest os mappings I meant something like, https://github.com/apache/cloudstack/pull/4068/commits/b9edc955ed0a83fbb3bbc5a060cffe87d448dab0#diff-1ce878cd8ce12c2ca2fbe9c3639af33eR28-R32 I've tried to reproduce this locally but couldn't see NPE, will try to dig further. Template seems okay. Can you please verify cluster was using same template for deployment (by checking cluster VMs). If possible, please share management server logs for complete k8s cluster deployment. 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
[GitHub] [cloudstack] shwstppr commented on issue #4241: Unexpected exception while executing org.apache.cloudstack.api.command.user.kubernetes.cluster.CreateKubernetesClusterCmd
shwstppr commented on issue #4241: URL: https://github.com/apache/cloudstack/issues/4241#issuecomment-668656005 @sm97 It is failing at https://github.com/apache/cloudstack/blob/6f96b3b2b391a9b7d085f76bcafa3989d9832b4e/server/src/main/java/com/cloud/vm/UserVmManagerImpl.java#L3764 Hypervisor must be coming as null here. Will check code for more. Till then, ca you please check/answer, - While adding XCP-ng 8.2 hosts did you add guest OS mappings for XCP-ng 8.2.0 version? - Please share cloudmonkey response for your CoreOS template - To reproduce this, MS is CentOS 7, hosts XCP-ng 8.2, advance networking zone? 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
[GitHub] [cloudstack] shwstppr commented on issue #4241: Unexpected exception while executing org.apache.cloudstack.api.command.user.kubernetes.cluster.CreateKubernetesClusterCmd
shwstppr commented on issue #4241: URL: https://github.com/apache/cloudstack/issues/4241#issuecomment-668538507 @sm97 Couple of things, - Have you tried it with a different hypervisor? XCP-NG 8.2 support is not present in 4.14 and not even in master. Did you add all OS mappings? Though at this point I'm not sure if that's all we will need for XCP-ng 8.2. - Does the deployment of VMs outside CKS plugin work fine with CoreOS template? 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