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
cephadm: enable logging to stderr in ceph-iscsi #35013
cephadm: enable logging to stderr in ceph-iscsi #35013
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
needs rebase to fix |
All the other ceph servies when deployed are deployed with: --default-log-to-stderr=true --default-log-stderr-prefix=debug --default-log-to-file=false Ceph-iscsi doesn't have these as commandline params but once ceph/ceph-iscsi#186 lands it'll have something similar as config options. This patch sets these options Signed-off-by: Matthew Oliver <moliver@suse.com>
8c2a7b9
to
f655846
Compare
@ricardoasmarques is ceph-iscsi version released for sure before the next octopus patch release (15.2.3) ? |
In any case I'm a bit concerned that we release a ceph version depending on a ceph-iscsi version which is not yet released. Is this a valid concern? |
If an old version of iscsi was used with this PR, would the new config options simply be ignored (e.g. continue logging to a file instead of stderr/journald)? Or would the iscsi daemon complain about the new options? |
Yeah, the config options would just be ignored on and old version. I can test if required, but that's what the code says. |
All the other ceph servies when deployed are deployed with:
--default-log-to-stderr=true --default-log-stderr-prefix=debug
--default-log-to-file=false
Ceph-iscsi doesn't have these as commandline params but once
ceph/ceph-iscsi#186 lands it'll have something
similar as config options. This patch sets these options
Signed-off-by: Matthew Oliver moliver@suse.com
Fixes: https://tracker.ceph.com/issues/45245
Checklist
Show available Jenkins commands
jenkins retest this please
jenkins test classic perf
jenkins test crimson perf
jenkins test signed
jenkins test make check
jenkins test make check arm64
jenkins test submodules
jenkins test dashboard
jenkins test dashboard backend
jenkins test docs
jenkins render docs
jenkins test ceph-volume all
jenkins test ceph-volume tox