I have 2 namespaces, bob and bobby, each have their own admin and managed servers. Bobby namespace has a policy and destination rule
apiVersion: [authentication.istio.io/v1alpha1](http://authentication.istio.io/v1alpha1)
kind: Policy
metadata:
name: default
namespace: bobby
spec:
peers:
- mtls: {}apiVersion: [networking.istio.io/v1alpha3](http://networking.istio.io/v1alpha3)
kind: DestinationRule
metadata:
name: bobby-destination-rule
namespace: bobby
spec:
host: '*.bobby.svc.cluster.local'
trafficPolicy:
tls:
mode: ISTIO_MUTUAL
bob namespace has a policy and destination rule
apiVersion: [authentication.istio.io/v1alpha1](http://authentication.istio.io/v1alpha1)
kind: Policy
metadata:
name: default
namespace: bob
spec:
peers:
- mtls: {}apiVersion: [networking.istio.io/v1alpha3](http://networking.istio.io/v1alpha3)
kind: DestinationRule
metadata:
name: bob-destination-rule
namespace: bob
spec:
host: '*.bob.svc.cluster.local'
trafficPolicy:
tls:
mode: ISTIO_MUTUAL
The Admin and Managed server in bobby can communicate fine.
However the Managed Server in bob fails because it can’t contact its local Admin server. Looking at the istio proxy log for the Managed Server one see this which prolly explains why it can’t talk to the Admin server in bob but what the heck?
[2020-05-26T16:51:07.240Z] "- - -" 0 UF,URX "-" "-" 0 0 3 - "-" "-" "-" "-" "10.244.0.183:7001" outbound|7001||bobbys-front-end-admin-server.bobby.svc.cluster.local - 10.244.0.183:7001 10.244.0.187:42956 - -
[2020-05-26T16:51:07.252Z] "- - -" 0 UF,URX "-" "-" 0 0 3 - "-" "-" "-" "-" "10.244.0.183:7001" outbound|7001||bobbys-front-end-admin-server.bobby.svc.cluster.local - 10.244.0.183:7001 10.244.0.187:42962 - -
The IP is for the adminserver in bob namespace but the svc name, bobbys-front-end-admin-server.bobby.svc.cluster.local, is bobby namespace. Sometimes the failed managed server will be in the bobby namespace. When that happens, the servers in bob namespace will boot successfully.
[2020-05-26T20:26:26.352Z] "- - -" 0 UF,URX "-" "-" 0 0 4 - "-" "-" "-" "-" "10.244.0.84:7001" outbound|7001||bobs-bookstore-admin-server.bob.svc.cluster.local - 10.244.0.84:7001 10.244.0.86:51450 - -
[2020-05-26T20:26:26.369Z] "- - -" 0 UF,URX "-" "-" 0 0 4 - "-" "-" "-" "-" "10.244.0.84:7001" outbound|7001||bobs-bookstore-admin-server.bob.svc.cluster.local - 10.244.0.84:7001 10.244.0.86:51460 - -
The IP is the endpoint of the Admin Server in bobby namespace but the svc name, bobs-bookstore-admin-server.bob.svc.cluster.local, is in bob namespace.
This is Istio 1.4.6
Any ideas how to investigate?
Tnx
One other possibly important fact, calls that are failing are on a protocol unsupported by istio. All this works fine w/o policy and destination rule but I may not be clear on the expected behavior of an unsupported protocol in the security case