-
Bug
-
Resolution: Done
-
Critical
-
None
-
OSSM 2.5.0
-
None
-
False
-
None
-
False
-
-
IBM partners reported failed regression on s390x, I was able to reproduce on a borrowed cluster, here is the output:
$ ./install-sleep-demo.sh -in istio-sytem -id /home/scsh/work/scriptingShrimp/kiali/_output/istio-1.20.2/ -c oc -a s390x CLIENT_EXE=oc IS_OPENSHIFT=true IS_MAISTRA=true Installing the 'sleep' app in the 'sleep' namespace... NAME DISPLAY NAME STATUS sleep Active namespace/sleep not labeled clusterrole.rbac.authorization.k8s.io/system:openshift:scc:anyuid added: "sleep" networkattachmentdefinition.k8s.cni.cncf.io/istio-cni unchanged securitycontextconstraints.security.openshift.io/sleep-scc unchanged serviceaccount/sleep unchanged service/sleep unchanged deployment.apps/sleep unchanged error: error executing jsonpath "{.items[0].metadata.name}": Error executing template: array index out of bounds: index 0, length 0. Printing more information for debugging the template: template was: {.items[0].metadata.name} object given to jsonpath engine was: map[string]interface {}{"apiVersion":"v1", "items":[]interface {}{}, "kind":"List", "metadata":map[string]interface {}{"resourceVersion":""}} Error from server: error when applying patch: {"metadata":{"annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"maistra.io/v1\",\"kind\":\"ServiceMeshMember\",\"metadata\":{\"annotations\":{},\"name\":\"default\",\"namespace\":\"sleep\"},\"spec\":{\"controlPlaneRef\":{\"name\":\"\",\"namespace\":\"istio-sytem\"}}}\n"}},"spec":{"controlPlaneRef":{"name":"","namespace":"istio-sytem"}}} to: Resource: "maistra.io/v1, Resource=servicemeshmembers", GroupVersionKind: "maistra.io/v1, Kind=ServiceMeshMember" Name: "default", Namespace: "sleep" for: "STDIN": error when patching "STDIN": admission webhook "smm.validation.maistra.io" denied the request: mutation of .spec.controlPlaneRef isn't allowed Error from server (NotFound): namespaces "istio-sytem" not found Enabling sidecar injection for deployment: deployment.apps/sleep deployment.apps/sleep patched (no change) Sleep Demo should be installed and starting up - here are the pods and services NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE sleep ClusterIP 172.30.220.51 <none> 80/TCP 43m NAME READY STATUS RESTARTS AGE sleep-778c6d9cfb-zj6ks 1/2 ImagePullBackOff 0 43m sleep-9454cc476-n8rch 0/1 ImagePullBackOff 0 43m
acceptance criteria:
install-sleep-demo.sh script works on s390x and does not fail regression testing
ping rhn-support-pmarek or Daniya Seher for cluster access details