Closed zutherb closed 8 years ago
@zutherb That value comes from the host
value in this configuration snippet. This is probably parsed to localhost on your machine (where master1 hostname == localhost). Try putting the exact IP address of the box where Vamp Router is running there and where all mesos slaves can reach that machine.
router-driver {
url = "http://master1:10001"
host = "master1" # note: host of cluster hosts will have this value (e.g. db.host)
response-timeout = 30 # seconds, timeout for container operations
}
Setting up Vamp Router is by far the trickiest part of Vamp. We updated the docs on it very recently: http://vamp.io/documentation/installation/configuration/#router-driver
Since i am using vamp 0.7.9 'localhost' is always injected as environment variable to the created containers. Unfortunately with this environment variable the containers can't access the haproxy. I am using the shop blueprint.
Is it possible that this is a configuration problem? My application.conf looks like: