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
Cannot start sidecar proxy if the -sidecar-for has capital letters exactly matching the proxying service id #6765
Comments
Hey there, Feel free to check out the community forum as well! |
I can confirm that this is still an issue. |
…haracters This PR adds job-submission validation that checks for the use of uppercase characters in group and service names for services that make use of Consul Connect. This prevents attempting to launch services that Consul will not validate correctly, which in turn causes tasks to fail to launch in Nomad. Underlying Consul issue: hashicorp/consul#6765 Closes #7581 #10450
…haracters This PR adds job-submission validation that checks for the use of uppercase characters in group and service names for services that make use of Consul Connect. This prevents attempting to launch services that Consul will not validate correctly, which in turn causes tasks to fail to launch in Nomad. Underlying Consul issue: hashicorp/consul#6765 Closes #7581 #10450
…haracters This PR adds job-submission validation that checks for the use of uppercase characters in group and service names for services that make use of Consul Connect. This prevents attempting to launch services that Consul will not validate correctly, which in turn causes tasks to fail to launch in Nomad. Underlying Consul issue: hashicorp/consul#6765 Closes #7581 #10450
…haracters This PR adds job-submission validation that checks for the use of uppercase characters in group and service names for services that make use of Consul Connect. This prevents attempting to launch services that Consul will not validate correctly, which in turn causes tasks to fail to launch in Nomad. Underlying Consul issue: hashicorp/consul#6765 Closes #7581 #10450
Overview of the Issue
Cannot start sidecar proxy if the
-sidecar-for
has capital letters exactly matching the proxying service idReproduction Steps
consul connect proxy -sidecar-for Service_A
will failconsul connect proxy -sidecar-for service_a
will be successfulProbable Root Cause
The code does strings.ToLower before comparing with
-sidecar-for
value : https://github.com/hashicorp/consul/blob/master/command/connect/proxy/proxy.go#L230The text was updated successfully, but these errors were encountered: