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

perftune.py: fix systemd detection does not executed on some condition #2215

Closed

Conversation

syuu1228
Copy link
Contributor

@syuu1228 syuu1228 commented May 1, 2024

Currently, systemd detection is only executed when /etc/sysconfig/irqbalance or /etc/conf.d/irqbalance available. It causes error on Debian variants when systemd not available, such as container image.

To fix this, we should run systemd detection unconditionally.

Fixes scylladb/scylladb#17787

Currently, systemd detection is only executed when
/etc/sysconfig/irqbalance or /etc/conf.d/irqbalance available.
It causes error on Debian variants when systemd not available, such as
container image.

To fix this, we should run systemd detection unconditionally.

Fixes scylladb/scylladb#17787
Copy link
Contributor

@vladzcloudius vladzcloudius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand the motivation for this patch nor how it fixes any problem.
You are not supposed to be needing systemctl in any context apart from irqbalance related tweaking.

On top of that, please, see my comment in the corresponding GH issue.

@syuu1228
Copy link
Contributor Author

I think this was incorrect way to fix the problem, closing.
Described more specifically at : scylladb/scylladb#17787 (comment)

@syuu1228 syuu1228 closed this May 13, 2024
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.

Container image lacks command used by Scylla scripts
3 participants