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

cephadm: enable logging to stderr in ceph-iscsi #35013

Merged

Conversation

matthewoliver
Copy link
Contributor

@matthewoliver matthewoliver commented May 12, 2020

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

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

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

@matthewoliver matthewoliver requested a review from a team as a code owner May 12, 2020 05:02
Copy link
Contributor

@mgfritch mgfritch left a comment

Choose a reason for hiding this comment

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

lgtm!

@mgfritch
Copy link
Contributor

needs rebase to fix make check errors (8a26c90)

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>
@sebastian-philipp
Copy link
Contributor

sebastian-philipp commented May 13, 2020

@ricardoasmarques is ceph-iscsi version released for sure before the next octopus patch release (15.2.3) ?

@sebastian-philipp
Copy link
Contributor

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?

@mgfritch
Copy link
Contributor

mgfritch commented May 15, 2020

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?

@ricardoasmarques @matthewoliver

@matthewoliver
Copy link
Contributor Author

Yeah, the config options would just be ignored on and old version. I can test if required, but that's what the code says.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants