Multicluster Bookinfo application not routing properly

Can anyone help me figure out the demo for istio multicluster?

I set up two kubernetes cluster with Isito enabled. (One on IKS and One on Oracle Cloud)


followed the instruction in the url above and the example https://istio.io/docs/setup/install/multicluster/shared-gateways/#deploy-example-service worked.

But then I was trying to get the example from https://istio.io/docs/examples/multicluster/gke/ to work and the request is not being sent to reviews-v3.

If anyone has some ideas on where I should be looking or some article or material to follow I would greatly appreciate the help.

Thanks Mofi,

I did help with this after verifying I had the same issue. A workable solution was to use a modified reviews-v3.yaml from the example (I pulled the pieces from the current booking.yaml) and the had to force an update by applying the default destination rules and then deleting them (when the DRs were in place the app failed to work).

I do want to create an issue for this, maybe two since I think we want to update the docs with the new yaml, and probably need some investigation why the config update doesn’t happen until the apply/delete of the DRs happen…

Hello,

I’m trying to deploy the bookinfo application on 2 kubernetes clusters and Oracle Cloud.I can directly access through reviews.default.global.

curl -i http://reviews.default.global:9080/reviews/1
HTTP/1.1 200 OK
x-powered-by: Servlet/3.1
content-type: application/json
date: Thu, 07 May 2020 07:02:53 GMT
content-language: en-US
content-length: 375
x-envoy-upstream-service-time: 89
server: envoy

{“id”: “1”,“reviews”: [{ “reviewer”: “Reviewer1”, “text”: “An extremely entertaining play by Shakespeare. The slapstick humour is refreshing!”, “rating”: {“stars”: 5, “color”: “red”}},{ “reviewer”: “Reviewer2”, “text”: “Absolutely fun and entertaining. The play lacks thematic depth when compared to other plays by Shakespeare.”, “rating”: {“stars”: 4, “color”: “red”}}]}/
istio-proxy logs

[2020-05-07T06:46:38.833Z] “GET /reviews/1 HTTP/1.1” 200 - “-” “-” 0 375 73 72 “-” “curl/7.63.0” “b1f39777-3582-448d-ad08-18d759db4e9e” “reviews.default.global:9080” “34.97.254.15:15443” outbound|9080||reviews.default.global 10.28.3.14:50278 240.0.0.3:9080 10.28.3.14:41680 - default
But it’s not accessible.

curl -v -i -H ‘end-user:jason’ http://reviews:9080/reviews/1

  • Trying 10.0.4.149…
  • TCP_NODELAY set
  • Connected to reviews (10.0.4.149) port 9080 (#0)

GET /reviews/1 HTTP/1.1
Host: reviews:9080
User-Agent: curl/7.63.0
Accept: /
end-user:jason

< HTTP/1.1 503 Service Unavailable
HTTP/1.1 503 Service Unavailable
< content-length: 95
content-length: 95
< content-type: text/plain
content-type: text/plain
< date: Thu, 07 May 2020 07:05:47 GMT
date: Thu, 07 May 2020 07:05:47 GMT
< server: envoy
server: envoy

<

  • Connection #0 to host reviews left intact
    upstream connect error or disconnect/reset before headers. reset reason: connection termination/
    istio-proxy logs

[2020-05-07T06:46:38.274Z] “GET /reviews/1 HTTP/1.1” 503 UC “-” “-” 0 95 97 - “-” “curl/7.63.0” “33c1975a-65c7-4bcd-b968-a7fe18edba22” “reviews:9080” “34.97.254.15:15443” outbound|9080|v3|reviews.default.global 10.28.3.14:34688 10.0.4.149:9080 10.28.3.14:51224 - -

Thanks & Regards,
Anita