-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
OSSM 2.4.4
-
None
-
False
-
None
-
False
-
User Experience
-
-
-
Issue: The pods of elasticsearch fail to come up and be ready ( 3/3 ) where spec.proxy.injection.autoInject ** is set to True.
this can be considered as a BUG because it's adding the label "k8s.v1.cni.cncf.io/networks: v2-4-istio-cni" to the elastic-search pods and this pods do not need that, this is why we get the error message:
network-attachment-definitions.k8s.cni.cncf.io "v2-4-istio-cni" not found
Because that network-attachment-definition does not exist and will not exist in that namespace. We can check and confirm that it's a bug because if we install bookinfo application into the bookinfo namespace we can see that the deinition is created and all the pods contains the same label injected to the elastic-search pod:
kubectl get network-attachment-definition -A NAMESPACE NAME AGE bookinfo v2-4-istio-cni 4m19s kind: Pod apiVersion: v1 metadata: generateName: details-v1-5f4d584748- annotations: openshift.io/scc: restricted-v2 sidecar.istio.io/interceptionMode: REDIRECT prometheus.io/port: '15020' k8s.ovn.org/pod-networks: >- {"default":{"ip_addresses":["10.x..x/xx"],"mac_address":"x:x:x:x:zz:yy","gateway_ips":["zz.zz.z.z"],"routes":[{"dest":"ww.yy.0.0/rr","nextHop":"rr.zz.2.yy"},{"dest":"y.yy.y.y/zz","nextHop":"w.y.y.w"},{"dest":"zz.zz.z.z/zz","nextHop":"zz.yy.r.yy"}],"ip_address":"aa.xx.y.yy/yy","gateway_ip":"yy.yy.y.y"}} k8s.v1.cni.cncf.io/networks: v2-4-istio-cni prometheus.io/path: /stats/prometheus
- account is impacted by
-
OSSM-5586 MTT: elasticsearch pods do not come up when autoInject is set to True in SMCP
- Backlog