Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

ERROR Refusing to create a new Framework ID while there are existing instances #7161

Open
shrenikp7 opened this issue Apr 1, 2020 · 6 comments

Comments

@shrenikp7
Copy link

Hi,
I am new to Mesos and Marathon env. Installed Marthon 1.9.136-1.el7, with MESOS, Zookeeper. First time I was able to bring up everything. But after trying to deploy application something went wrong and not able to deploy an application and getting error - ERROR Refusing to create a new Framework ID while there are existing instances. I tried uninstalling and reinstalling Marathon, still not able to bring up the Marathon on master.

Question - How to clear Framework ID? What is the fix for this issue?

Thanks
Shrenik

@timcharper
Copy link
Contributor

timcharper commented Apr 1, 2020 via email

@shrenikp7
Copy link
Author

I also notice MESOS, on UI of MESOS master,--> Outstanding offers, nothing is there.

@shrenikp7
Copy link
Author

Hi Tim,
Thanks for help, you make my day. Remove directory version-2 from /var/lib/zookeeper/, restart zookeeper service, start marathon service has fixed the issue to bring up marathon.
Still I don't see any data on UI, Outstanding Offers. I can see agents are there. Again thanks for help, appreciate.
Shrenik

@shrenikp7
Copy link
Author

Le me add one more item, I forgot include, I have restarted mesos-master also after clearing zookeeper log and snapshot, then I am able to start marathon service.

Shrenik

@shrenikp7
Copy link
Author

The pattern, I have noticed is, I don't see any resources for Outstanding Offers, I can't run simple command echo hello; as a service and then it crash marathon. After clearing zookepper and restarting meos-master, I can bring up the marathon. So looks like, I need to fix why I don't see Outstanding Offers.

Thanks
Shrenik

@shrenikp7
Copy link
Author

Notice following error message , looks like marathon stopping and starting again by itself.
ERROR Unhandled message in suspend: class mesosphere.marathon.core.launchqueue.impl.RateLimiterActor$Unsubscribe$ (mesosphere.marathon.core.leadership.impl.WhenLeaderActor:marathon-akka.actor.default-dispatcher-4)
Apr 1 15:19:45 systemd: marathon.service: main process exited, code=exited, status=103/n/a

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants