Comments (6)
Hi @tomwganem
Unexpected response code: 500 (rpc error: No path to datacenter)
This looks like a Consul problem, the agent (used by marathon-consul to communicate with Consul) is not able to send any rpc messages to Consul servers, as it has not yet joined the cluster correctly. Please check the agents health by calling their http api, whether you are able to fetch services from the Consul catalog etc., or via Consul UI console.
from marathon-consul.
It was a consul problem. consul ports were inadvertently closed.
However, there is still an issue with running in federated consul. We run federated consul to stich together two mesos cluster installations running in an active-passive configuration. We we run marathon-consul in our passive site against a consul cluster that is configured to not be in "dc1", it de-registers all services in our active site ("dc1") whenever it does a sync.
from marathon-consul.
In my particular case (consul used with Prometheus), the datacenter
field in /etc/consul.d/consul.json
contained upper-cased letters, lower-casing everything fixed the issue. Thought I'd comment on that in case anyone else encounters the same issue.
from marathon-consul.
Should I close this ticket and create a new ticket for this federated consul issue?
from marathon-consul.
closing. New issue in #286
from marathon-consul.
@tomwganem thanks for explanation :)
from marathon-consul.
Related Issues (20)
- marathon-consul does not recover from connection refused in leader retrieval HOT 11
- marathon-consul loses connectivity to marathon HOT 14
- please add configurable number of retries/retry interval for marathon connection errors HOT 1
- Remove web handler
- PPA broken HOT 2
- marathon-consul should support multiple marathon clusters HOT 4
- "consul" label naming case sensitivity HOT 4
- Syncing the TASK_KILLING servcies HOT 5
- Migrate from Glide to dep HOT 2
- Update Consul to 0.9.3
- Update Consul to 1.0.0 HOT 1
- Catalog get operation randomness problematic in heterogenous ACL environments HOT 1
- Parallel tests run into a data race
- marathon-consul sometimes failing updation HOT 1
- USER network mode can't register to consul HOT 4
- marathon-consul (de)registers consul services in all datacenters HOT 3
- Documents on deployment with consul? HOT 4
- Task ID wrong in health status event HOT 10
- APT repository not signed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from marathon-consul.