Hello Experts,
I added rancher RKE2 Kubernetes cluster into Morpheus with External Kubernetes Layout. I can see master and worker nodes also resources - containers, services, volumes, etc. I can also type and got outputs under control tab.
But I can’t provision YAML blueprint into that cluster. RKE2 cluster and layout version are same. Morpheus version is 6.0.1.
Below is current log.
2023-07-27_12:08:53.30101 type: NodePort, specMap={apiVersion=v1, kind=Service, metadata={name=my-flask-app-service}, spec={selector={app=my-flask-app}, ports=[{protocol=TCP, port=80, targetPort=80}], type=NodePort}}, apiPath=/api/v1/}
2023-07-27_12:08:53.30102 ''[2023-07-27 12:08:53,331] [RxCachedThreadScheduler-142] ERROR c.m.p.KubernetesProvisionService - applyResourceSpec error:groovy.lang.MissingMethodException: No signature of method: static com.morpheus.compute.KubernetesComputeUtility.apply() is applicable for argument types: (String, LinkedHashMap, ArrayList, LinkedHashMap) values: [https://morpheus-rancher-cent79/k8s/clusters/c-m-hr68wr2t, [...], ...]
2023-07-27_12:08:53.33281 Possible solutions: apply(java.lang.String, java.util.Map, java.util.Map, java.util.Map), any(), every()
2023-07-27_12:08:53.33282 'groovy.lang.MissingMethodException: No signature of method: static com.morpheus.compute.KubernetesComputeUtility.apply() is applicable for argument types: (String, LinkedHashMap, ArrayList, LinkedHashMap) values: [https://morpheus-rancher-cent79/k8s/clusters/c-m-hr68wr2t, [...], ...]
2023-07-27_12:08:53.33283 Possible solutions: apply(java.lang.String, java.util.Map, java.util.Map, java.util.Map), any(), every()
2023-07-27_12:08:53.33283 at groovy.lang.MetaClassImpl.invokeStaticMissingMethod(MetaClassImpl.java:1584)
2023-07-27_12:08:53.33283 at groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:1570)
2023-07-27_12:08:53.33286 at org.codehaus.groovy.runtime.callsite.StaticMetaClassSite.call(StaticMetaClassSite.java:50)
2023-07-27_12:08:53.33286 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:166)
2023-07-27_12:08:53.33287 at com.morpheus.provision.KubernetesProvisionService$_applyResourceSpec_closure33.doCall(KubernetesProvisionService.groovy:1113)
2023-07-27_12:08:53.33287 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2023-07-27_12:08:53.33288 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2023-07-27_12:08:53.33288 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2023-07-27_12:08:53.33288 at java.base/java.lang.reflect.Method.invoke(Unknown Source)
2023-07-27_12:08:53.33289 at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:107)```
Any suggestion please.
Thanks,
Aung