hashicorp / hashicorp/consul

ServiceMultipleTags API is not working when passing services with multiple tags.

Open
#17,223 5 comments 0 reactions 0 assignees View on GitHub
theme/catalog type/bug
Dominant language
Go
Stars
30.1k
Forks
4.6k
Avg merge
1d 18h
Merged PRs (30d)
39

Description

#### Overview of the Issue

The ServiceMultipleTags API is not rendering results if we pass services with multiple tags.
Example -> Service name - nomad
tags - [rpc serf http]
when all tags are passed, the API is not rendering results, but if I pass a single tag, the API is working.

---

#### Reproduction Steps

Execute the API with any service which has multiple tags

### Consul info for both Client and Server

Client info

```
Output from client 'consul info' command here
```

```
Client agent HCL config
```

Server info

```
Output from server 'consul info' command here
```

```
Server agent HCL config
```

### Operating system and Environment details

### Log Fragments

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the ServiceMultipleTags API request with the reported nomad service and the tags rpc, serf, and http, then compare it with a request containing one tag. Trace the API entry point and identify the expected behavior: results should render when multiple tags are supplied.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.