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

Do not include xapi-clusterd.service in toolstack.target #6096

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

robhoes
Copy link
Member

@robhoes robhoes commented Oct 30, 2024

This service is not enabled and started by default, but used on-demand whenever it is needed for clustering. The current Wants= option in the toolstack.target is causing xapi-clusterd.service to be started by xe-toolstack-restart even if it is not enabled.

The fix is to replace Wants= in toolstack.target with WantedBy= in xapi-clusterd.service, as the latter only installs the dependency when enabling the service.

This service is not enabled and started by default, but used on-demand
whenever it is needed for clustering. The current Wants= option in the
toolstack.target is causing xapi-clusterd.service to be started by
xe-toolstack-restart even if it is not enabled.

The fix is to replace Wants= in toolstack.target with WantedBy= in
xapi-clusterd.service, as the latter only installs the dependency when
enabling the service.

Signed-off-by: Rob Hoes <[email protected]>
@robhoes robhoes added this pull request to the merge queue Oct 30, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 30, 2024
@liulinC
Copy link
Collaborator

liulinC commented Oct 31, 2024

Thanks @robhoes for the fixup 👍

@psafont psafont added this pull request to the merge queue Oct 31, 2024
Merged via the queue into xapi-project:master with commit 07aeb76 Oct 31, 2024
15 checks passed
@robhoes
Copy link
Member Author

robhoes commented Oct 31, 2024

Oh, I missed that this was removed from the queue yesterday... :( Thanks Pau for putting it back in.

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.

5 participants