Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to update when static ports are busy #2067

Open
samber opened this issue Dec 8, 2016 · 3 comments
Open

Fail to update when static ports are busy #2067

samber opened this issue Dec 8, 2016 · 3 comments

Comments

@samber
Copy link
Contributor

samber commented Dec 8, 2016

Hi guys,

I just found an abnormal behaviour:

I am running 3 Nomad nodes in client mode, each running a RabbitMQ container with static ports. For my test (and probably for production as well), my max_parallel (stanza update) is equal to count (stanza group).

When I update the job file, then apply it, Nomad try to start 3 new containers before stopping old RabbitMQ instances. Unfortunately, because I have only 3 nodes, ports are already busy: new containers cannot start, but old instances are killed anyway.

Could you implement a retry or manage this special case ? It would be pity to have to start 3 more vm, only for rolling-upgrade !

@dadgar
Copy link
Contributor

dadgar commented Dec 8, 2016

@samber Which version of Nomad are you running?

@samber
Copy link
Contributor Author

samber commented Dec 8, 2016

Hi @dadgar

I am using 0.5.0

@samber
Copy link
Contributor Author

samber commented Dec 13, 2016

With the docker driver

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

No branches or pull requests

2 participants