hashicorp / hashicorp/consul

Notice about default allow intentions is always show in topology view

Open
#12,402 7 comments 0 reactions 0 assignees View on GitHub
theme/ui type/enhancement
Dominant language
Go
Stars
30.1k
Forks
4.6k
Avg merge
1d 18h
Merged PRs (30d)
39

Description

#### Overview of the Issue

This is always show
![image](https://user-images.githubusercontent.com/28529663/154857510-d42545e1-71e8-43a2-b493-e6eb43a0ac6d.png)
![image](https://user-images.githubusercontent.com/28529663/154858242-c118763e-0c1e-4aa9-a095-00fea1a80c6e.png)

#### Reproduction Steps

1. Set default intentions to `Deny`
2. Go to topology view

### Consul info for both Client and Server

agent:
check_monitors = 0
check_ttls = 1
checks = 17
services = 28
build:
prerelease =
revision = e319d7ed
version = 1.11.3
consul:
acl = disabled
bootstrap = false
known_datacenters = 1
leader = false
leader_addr = 192.168.230.1:8300
server = true
raft:
applied_index = 9844385
commit_index = 9844385
fsm_pending = 0
last_contact = 27.753374ms
last_log_index = 9844385
last_log_term = 72916
last_snapshot_index = 9843547
last_snapshot_term = 72910
latest_configuration = [{Suffrage:Voter ID:8357e406-df61-58d1-3342-bfe723b9d782 Address:192.168.130.10:8300} {Suffrage:Voter ID:3423b118-8fa3-88ae-4b9b-42d76c77610a Address:192.168.130.20:8300} {Suffrage:Voter ID:5b5fce16-b495-17d8-8266-d0d96d738e43 Address:192.168.230.10:8300} {Suffrage:Voter ID:45485252-fd06-4b54-b994-883b191c8228 Address:192.168.175.83:8300} {Suffrage:Voter ID:5e6a540f-b0ac-1b17-6071-8c121a500da6 Address:192.168.230.1:8300}]
latest_configuration_index = 0
num_peers = 4
protocol_version = 3
protocol_version_max = 3
protocol_version_min = 0
snapshot_version_max = 1
snapshot_version_min = 0
state = Follower
term = 72916
runtime:
arch = amd64
cpu_count = 32
goroutines = 162
max_procs = 32
os = linux
version = go1.17.5
serf_lan:
coordinate_resets = 0
encrypted = true
event_queue = 0
event_time = 707
failed = 0
health_score = 0
intent_queue = 0
left = 0
member_time = 79920
members = 6
query_queue = 0
query_time = 1
serf_wan:
coordinate_resets = 0
encrypted = true
event_queue = 0
event_time = 1
failed = 0
health_score = 0
intent_queue = 0
left = 0
member_time = 23632
members = 5
query_queue = 0
query_time = 1

### Operating system and Environment details

Gentoo, amd64

### Log Fragments

https://gist.github.com/nahsi/7c8562c3ffb6e184a255643f803740d3

Contributor guide

Open the contributing guide

Research direction

Start in the topology view and reproduce the issue after setting default intentions to Deny. Compare the displayed notice with the expected behavior shown in the attached screenshots, then verify that the notice is no longer always shown.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.