Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

500 returned using consul intention get with a single service #4292

Closed
shoekstra opened this issue Jun 26, 2018 · 1 comment
Closed

500 returned using consul intention get with a single service #4292

shoekstra opened this issue Jun 26, 2018 · 1 comment
Assignees

Comments

@shoekstra
Copy link

Overview of the Issue

Playing around in http://hashi.co/connect-demo a 500 is returned when a single service is passed to consul intention get.

Reproduction Steps

/ # consul intention get
Error: command requires exactly 1 or 2 arguments
/ # consul intention get service1
Error reading the intention: Unexpected response code: 500
/ # consul intention get service1 service2
Error: Intention with source "service1" and destination "service2" not found.

/ # consul  intention create service1 service2
Created: service1 => service2 (allow)
/ # consul  intention get service1
Error reading the intention: Unexpected response code: 500
/ # consul  intention get service1 service2
Source:       service1
Destination:  service2
Action:       allow
ID:           429d76bf-3475-4284-c5e1-95dd57dd83c0
Created At:   Tuesday, 26-Jun-18 20:11:00 UTC

Consul info for both Client and Server

As it's in the training sandbox I only provide the build number:

build:
        prerelease = rc1
        revision = 6db861e2
        version = 1.2.0
@mitchellh
Copy link
Contributor

Thanks, got a fix up in a PR. You can see the linked PR above for details about what happened here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants