-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
address
in config not working
#4404
Comments
@yifeikong What are you doing to determine the address has not changed? Is it a health check that isn't using the new address or another end point? |
I define the service address as '10.1.1.2:6379' as in the |
@yifeikong If you |
No, the api also gives error |
Hi all, It sounds like this isn't the issue if the API is not returning what you expect, but just incase, we did have an issue with showing service IP addresses in the UI where we were showing the Node IP instead of the Service IP (which sounds like what you describe here), this is fixed in #4410 That fix will be in the next release. Thanks, |
Yes, this is exactly what I'm experiencing, thanks. You may close the issue now. |
Hey @yifeikong , Thanks! Just to finish up, if anyone else comes across this, the UI fix discussed above has been released and is in the 1.2.2 version of Consul. |
Overview of the Issue
When defining services in
/etc/consul.d
, address attribute of a service is not working.Reproduction Steps
/etc/consul.d/redis.json
:consul command:
after
consul reload
, the port part DID change, however, the address is always node's IPConsul info for both Client and Server
Client info
Server info
Operating system and Environment details
Ubuntu 16.04, consul 1.2.1
Log Fragments
The text was updated successfully, but these errors were encountered: