back to listing index

Framework with ID x does not exist on slave with ID y

[web search]
Original source (stackoverflow.com)
Tags: mesos troubleshooting
Clipped on: 2016-04-25

I keep getting this error on my marathon dashboard

Framework with ID 'a5a96e8c-c3f2-4591-8eb3-43f8dc902585-0001' does not exist on slave with ID '9959ba51-f6f7-448f-99d2-289767f12179-S2'.

The path to make this error occur is to click "Sandbox" next to a task on the main marathon dashboard.

The path looks something like this

http://mesos.dev.internal/#/slaves/9959ba51-f6f7-448f-99d2-289767f12179-S2/frameworks/a5a96e8c-c3f2-4591-8eb3-43f8dc902585-0001/executors/rabbitmq.6316bf0a-d089-11e5-b895-fa163e196ca3/browse

However, if I go to the slave through the slave panel, and click the framework from there, I am able to access the sandbox. The link in this case looks like the following

http://mesos.dev.internal/#/slaves/9959ba51-f6f7-448f-99d2-289767f12179-S2/browse?path=%2Ftmp%2Fmesos%2Fslaves%2Fc223b6b1-cef8-4599-8cea-b402bf20afc5-S0%2Fframeworks%2F20160108-205802-16842879-5050-1210-0001%2Fexecutors%2Frabbitmq.91b8bbf6-ceba-11e5-8047-0242ffdabb3e%2Fruns%2Fc66eb4d5-ea6d-451d-982f-6a0d29b25441

Any ideas on what I have misconfigured?

asked Feb 11 at 6:48
Image (Asset 2/3) alt=
Peter Klipfel
1,38011032
   upvote
  flag
Can you check whether you are using same mesos version in all slaves and masters? – avr Feb 18 at 18:48

Mesos Web UI does not proxy logs through mesos-master (although it would be nice). Basically you need to be able to resolve slave's name from your browser (computer) and port 5051 needs to be open for you:

$ nc -z -w5 mesos.dev.internal 5051; echo $?
0 # port is open

It's not a good idea to leave Mesos ports open for public, so either you can:

  • connect via VPN
  • whitelist your public IP on all slaves
  • use CLI instead of Web UI

Using CLI is quite easy, once you set master's URI. You can install it:

pip install mesos.cli mesos.interface

Then you can list all tasks using mesos ps, or fetch stdout:

  mesos tail -f rabbitmq.6316bf0a-d089-11e5-b895-fa163e196ca3

and stderr:

  mesos tail -f rabbitmq.6316bf0a-d089-11e5-b895-fa163e196ca3 stderr

Note that the mesos-cli is no longer developed, similar features and much more you should be able to do with Mesosphere's DCOS CLI

answered Feb 22 at 19:03
Image (Asset 3/3) alt=
Tombart
9,16745362

Your Answer

asked

2 months ago

viewed

38 times

active

2 months ago

Technology Life / Arts Culture / Recreation Science Other
  1. Stack Overflow
  2. Server Fault
  3. Super User
  4. Web Applications
  5. Ask Ubuntu
  6. Webmasters
  7. Game Development
  8. TeX - LaTeX
  1. Programmers
  2. Unix & Linux
  3. Ask Different (Apple)
  4. WordPress Development
  5. Geographic Information Systems
  6. Electrical Engineering
  7. Android Enthusiasts
  8. Information Security
  1. Database Administrators
  2. Drupal Answers
  3. SharePoint
  4. User Experience
  5. Mathematica
  6. Salesforce
  7. ExpressionEngine® Answers
  8. more (13)
  1. Photography
  2. Science Fiction & Fantasy
  3. Graphic Design
  4. Movies & TV
  5. Seasoned Advice (cooking)
  6. Home Improvement
  7. Personal Finance & Money
  8. Academia
  9. more (9)
  1. English Language & Usage
  2. Skeptics
  3. Mi Yodeya (Judaism)
  4. Travel
  5. Christianity
  6. Arqade (gaming)
  7. Bicycles
  8. Role-playing Games
  9. more (21)
  1. Mathematics
  2. Cross Validated (stats)
  3. Theoretical Computer Science
  4. Physics
  5. MathOverflow
  6. Chemistry
  7. Biology
  8. more (5)
  1. Stack Apps
  2. Meta Stack Exchange
  3. Area 51
  4. Stack Overflow Careers
site design / logo © 2016 Stack Exchange Inc; user contributions licensed under cc by-sa 3.0 with attribution required
rev 2016.4.25.3509