argoflow / argoflow-aws

Argoflow-AWS has been superseded by deployKF
GNU Affero General Public License v3.0
44 stars 29 forks source link

duplicate listener 0.0.0.0_8081 found #171

Open amybachir opened 3 years ago

amybachir commented 3 years ago

I pulled in changes to my fork repo yesterday and I no longer have ingress working (I'm up-to-date with master now). I get the following error in istio-ingressgateway:

warn    ads ADS:LDS: ACK ERROR router~10.40.54.203~istio-ingressgateway-6968d58d88-rp9xc.istio-system~istio-system.svc.cluster.local-1 Internal:Error adding/updating listener(s) 0.0.0.0_8081: duplicate listener 0.0.0.0_8081 found

And I no longer see a listener on 8080:

istioctl proxy-config listener istio-ingressgateway-6968d58d88-rp9xc -n istio-system
ADDRESS PORT  MATCH DESTINATION
0.0.0.0 8081  ALL   Route: http.8081
0.0.0.0 8443  ALL   Route: http.443
0.0.0.0 15021 ALL   Inline Route: /healthz/ready*
0.0.0.0 15090 ALL   Inline Route: /stats/prometheus*

I suspect this is related to https://github.com/knative/serving/issues/10160 However, the github issue suggests that it was fixed in istio 1.9.something

amybachir commented 3 years ago

I confirm that removing knative-local-gateway gateway and service restores ingress:

istioctl proxy-config listener istio-ingressgateway-6968d58d88-gnfcv -n istio-system
ADDRESS PORT  MATCH DESTINATION
0.0.0.0 8080  ALL   Route: http.80
0.0.0.0 8443  ALL   Route: http.443
0.0.0.0 15021 ALL   Inline Route: /healthz/ready*
0.0.0.0 15090 ALL   Inline Route: /stats/prometheus*
amybachir commented 3 years ago

I was mistaken, the fix for this issue has not made it to master yet. Some poeple suggested to work around this by installing istio, wait for istio resources to be up and running before installing knative. It was mentioned in the issue description that it is not deterministic and it appears to be a timing issue.