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

consul fails to reload during build #927

Closed
ryane opened this issue Dec 17, 2015 · 2 comments
Closed

consul fails to reload during build #927

ryane opened this issue Dec 17, 2015 · 2 comments
Labels
Milestone

Comments

@ryane
Copy link
Contributor

@ryane ryane commented Dec 17, 2015

This error occurs often during builds:

NOTIFIED: [handlers | reload consul] ******************************************
changed: [resching-aws-control-02]
failed: [resching-aws-control-01] => {"changed": true, "cmd": ["systemctl", "reload", "consul"], "delta": "0:00:00.015350", "end": "2015-12-17 17:53:42.639547", "rc": 1, "start": "2015-12-17 17:53:42.624197", "warnings": []}
stderr: Job for consul.service invalid.
failed: [resching-aws-control-03] => {"changed": true, "cmd": ["systemctl", "reload", "consul"], "delta": "0:00:00.015317", "end": "2015-12-17 17:53:45.928034", "rc": 1, "start": "2015-12-17 17:53:45.912717", "warnings": []}
stderr: Job for consul.service invalid.

The consul service does seem to be running correctly on the nodes after the failures so this is likely some kind of timing issue.

@ryane ryane added this to the Feature Backlog milestone Dec 17, 2015
@ryane
Copy link
Contributor Author

@ryane ryane commented Dec 23, 2015

The dnsmasq role installs NetworkManger which, after the release of CentOS7 1511, upgrades systemd. This upgrade causes the consul process to crash.

For now, this can be worked around by upgrading packages before ansible provisioning as suggested in the getting started guide

@ryane
Copy link
Contributor Author

@ryane ryane commented Jan 19, 2016

going to close this as the resolution is documented

@ryane ryane closed this Jan 19, 2016
@Theaxiom Theaxiom modified the milestones: Feature Backlog, 2.0 Apr 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.