Coder Social home page Coder Social logo

Unexpected response code: 500 (rpc error: No path to datacenter): Sync not working, Services not being de-registered about marathon-consul HOT 6 CLOSED

tomwganem avatar tomwganem commented on June 11, 2024
Unexpected response code: 500 (rpc error: No path to datacenter): Sync not working, Services not being de-registered

from marathon-consul.

Comments (6)

dankraw avatar dankraw commented on June 11, 2024 1

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.

tomwganem avatar tomwganem commented on June 11, 2024 1

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.

jessp01 avatar jessp01 commented on June 11, 2024 1

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.

tomwganem avatar tomwganem commented on June 11, 2024

Should I close this ticket and create a new ticket for this federated consul issue?

from marathon-consul.

tomwganem avatar tomwganem commented on June 11, 2024

closing. New issue in #286

from marathon-consul.

dankraw avatar dankraw commented on June 11, 2024

@tomwganem thanks for explanation :)

from marathon-consul.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.