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

Registrator fails on reboot #617

Closed
tayzlor opened this issue Jan 11, 2016 · 4 comments
Closed

Registrator fails on reboot #617

tayzlor opened this issue Jan 11, 2016 · 4 comments

Comments

@tayzlor
Copy link
Member

tayzlor commented Jan 11, 2016

Running vagrant halt && vagrant up gives the following error -

● registrator.service - Registrator
   Loaded: loaded (/etc/systemd/system/registrator.service; enabled; vendor preset: disabled)
   Active: failed (Result: start-limit) since Mon 2016-01-11 11:46:35 GMT; 8min ago

Jan 11 11:46:34 slave1 systemd[1]: registrator.service: Unit entered failed state.
Jan 11 11:46:34 slave1 systemd[1]: registrator.service: Failed with result 'exit-code'.
Jan 11 11:46:35 slave1 systemd[1]: registrator.service: Service hold-off time over, scheduling restart.
Jan 11 11:46:35 slave1 systemd[1]: Stopped Registrator.
Jan 11 11:46:35 slave1 systemd[1]: registrator.service: Start request repeated too quickly.
Jan 11 11:46:35 slave1 systemd[1]: Failed to start Registrator.
Jan 11 11:46:35 slave1 systemd[1]: registrator.service: Unit entered failed state.
Jan 11 11:46:35 slave1 systemd[1]: registrator.service: Failed with result 'start-limit'.```
@enxebre
Copy link
Contributor

enxebre commented Jan 11, 2016

probably related to #574

@tayzlor
Copy link
Member Author

tayzlor commented Jan 11, 2016

Couple of other services have RestartSec=20 not sure if this might affect it too as it seems to be complaining about restarting too quickly above

@tayzlor
Copy link
Member Author

tayzlor commented Feb 18, 2016

Looks related to consul failing to start - consul fails on a reboot as well with -

Feb 18 13:32:27 apollo-mesos-master-1 docker[1351]: Error while pulling image: Get https://index.docker.io/v1/repositories/gliderlabs/consul-server/images: dial tcp: lookup index.docker.io: Temporary failure in name resolution

These 2 issues look related

moby/moby#541
coreos/bugs#481

This might be down to our --dns configuration on the docker daemon options.

tayzlor added a commit that referenced this issue Feb 19, 2016
Fix #617 - registrator fails to restart after reboot
@tayzlor
Copy link
Member Author

tayzlor commented Feb 19, 2016

Closing via f9660d3

@tayzlor tayzlor closed this as completed Feb 19, 2016
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