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

defaults: do not restart unconfigured (yet) daemons #1871

Merged
merged 2 commits into from Sep 8, 2017
Merged

Conversation

leseb
Copy link
Member

@leseb leseb commented Sep 7, 2017

In a collocated scenario, where you might put a rgw, a mds and a mon on
the same node you don't want the handler blindly restart all the daemons
on the node. Indeed some of them might not be configured yet.
Implementing a more precise socket detection, for each daemon type.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1488813
Signed-off-by: Sébastien Han seb@redhat.com

@leseb leseb changed the title defaults: do not restart unconfigured (yet) daemons DNM: defaults: do not restart unconfigured (yet) daemons Sep 7, 2017
@leseb
Copy link
Member Author

leseb commented Sep 7, 2017

I still need to check the right name of some sockets.

@leseb leseb requested a review from guits September 7, 2017 21:36
@leseb leseb force-pushed the handler-collocate branch 2 times, most recently from 42ebd4e to cdf7659 Compare September 8, 2017 10:02
In a collocated scenario, where you might put a rgw, a mds and a mon on
the same node you don't want the handler blindly restart all the daemons
on the node. Indeed some of them might not be configured yet.
Implementing a more precise socket detection, for each daemon type.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1488813
Signed-off-by: Sébastien Han <seb@redhat.com>
Rename this fact to keep consistency with handlers in `ceph-defaults`.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
@leseb
Copy link
Member Author

leseb commented Sep 8, 2017

jenkins test luminous-ansible2.3-bluestore_dmcrypt_journal

@leseb
Copy link
Member Author

leseb commented Sep 8, 2017

jenkins test luminous-ansible2.3-docker_dmcrypt_journal_collocation

@leseb
Copy link
Member Author

leseb commented Sep 8, 2017

jenkins test luminous-ansible2.3-shrink_mon

@leseb
Copy link
Member Author

leseb commented Sep 8, 2017

Testing: luminous-ansible2.3-bluestore_docker_dmcrypt_journal_collocation — FAIL - luminous-ansible2.3-bluestore_docker_dmcrypt_journal_collocation
Failure is expected, the Docker Hub is still building Ceph images and they have an issue with their servers.

@leseb leseb changed the title DNM: defaults: do not restart unconfigured (yet) daemons defaults: do not restart unconfigured (yet) daemons Sep 8, 2017
@guits guits merged commit b59e9cc into master Sep 8, 2017
@guits guits deleted the handler-collocate branch September 8, 2017 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants