Open ventaubain opened 1 year ago
Hi @moutroll,
Double-checking to make sure I'm interpreting this correctly:
traefik
is natively integrated with the meshtraefik
to talk to <redacted>frontend
traefik
service's topology view, the UI represents the intention to <redacted>frontend
correctly (normal gray arrow)<redacted>frontend
service's topology view, the UI represents the intention from <redacted>frontend
incorrectly (red arrow with X)Is this accurate?
And have you seen this same inconsistency with any services that are in the mesh with an Envoy sidecar (rather than using native integration like traefik
)?
Thank you for the report!
Hi @jkirschner-hashicorp
frontend
. The problem is the same for all others services linked to traefik. By default, the rule is set with accept
Deny
in traefik
, the arrow stays grey and don't switch with the red arrow. So it seems that the arrow is blocked in "allow" mode with traefik
topology view and in "deny" mode with frontend
topology view. So the view may be incorrect for both views.After testing, the Ui seems to work correctly with a service in the Mesh Network with Envoy Sidecar. So, the problem can be from the native integration.
Thanks
Hi @moutroll and @jkirschner-hashicorp. I think I fixed this one in https://github.com/hashicorp/consul/pull/13023 but I can't get a reviewer for it :) The problem here is that traefik registers multiple services under the same name but with different tags and the UI didn't properly dedupe that.
And have you seen this same inconsistency with any services that are in the mesh with an Envoy sidecar (rather than using native integration like traefik)?
The same inconsistency does not arise for Envoy sidecars because the connections are explicit there and take other code paths in the UI. A connect native application behaves more like the transparent proxy in the sense that it's connections are only defined via intentions (as such they take the same code paths in my patch)
Overview of the Issue
The Consul UI has a problem for representing correctly the intention rules in the topology field of a service. I have correctly defined the intention but the UI doesn't handle it even if I create the rule after a click on the red arrow. The intention works correctly on the network.
All services are in a Mesh Network with Envoy sidecar except traefik that is in native mode. Traefik is integrated in the Mesh network.
Reproduction Steps
Consul info for both Client and Server
Consul master
Consul agent
Operating system and Environment details
Debian 11 Consul v1.13.2 Nomad v1.3.1
Log Fragments