-
Bug
-
Resolution: Done
-
Blocker
-
OSSM 2.4.0
-
None
-
False
-
None
-
False
-
-
Steps to reproduce:
1. Deploy the 2.4 SM operator with Kiali 1.65
2. Create the 2.4 SMCP
3. Deploy the httpbin and gateway deployment to the bar namespace
4. Add the bar namespace to SMMR in the istio-system namespace
5. Deploy the k8's CRDs to the OpenShift cluster
kubectl get crd gateways.gateway.networking.k8s.io &> /dev/null || { kubectl kustomize github.com/kubernetes-sigs/gateway-api/config/crd/experimental?ref=v0.5.1 | kubectl apply -f -;
6. Apply the 2.4 Gateway API settings to SMCP:
spec:
techPreview:
gatewayAPI:
enabled: true
7.
Deploy the Gateway API configuration including a single exposed route (i.e., /get):
apiVersion: gateway.networking.k8s.io/v1beta1 kind: Gateway metadata: name: gateway namespace: bar spec: gatewayClassName: istio listeners: name: default hostname: "*.example.com" port: 80 protocol: HTTP allowedRoutes: namespaces: from: All — apiVersion: gateway.networking.k8s.io/v1beta1 kind: HTTPRoute metadata: name: http namespace: bar spec: parentRefs: name: gateway namespace: bar hostnames: ["httpbin.example.com"] rules: matches: path: type: PathPrefix value: /get backendRefs: name: httpbin port: 8000
Error: failed to assign to any requested addresses: hostname "gateway.bar.svc.cluster.local" not found
It failed to create the gateway service automatically.
Expected:
Deploy the gateway service automatically then create the connection (Gateway valid, assigned to service(s) gateway.bar.svc.cluster.local:80)
I have installed the 2.3 SMCP with the 2.4 SM operator, It works perfectly.
Istiod logs: istiod-basic-75b7bdd57d-p4gqm-discovery.log