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

ceph-volume: never log to stdout, use stderr instead #29547

Merged
merged 1 commit into from
Aug 12, 2019

Conversation

jan--f
Copy link
Contributor

@jan--f jan--f commented Aug 8, 2019

We should never print log messages to stdout, as this should be reserved
for output of ceph-volume.

Fixes: https://tracker.ceph.com/issues/41158

Signed-off-by: Jan Fajerski jfajerski@suse.com

@jan--f
Copy link
Contributor Author

jan--f commented Aug 8, 2019

Follow up to #27675

@jan--f jan--f force-pushed the c-v-always-log-to-stdout branch 2 times, most recently from ef1d053 to 882d9ba Compare August 8, 2019 09:40
@jan--f
Copy link
Contributor Author

jan--f commented Aug 8, 2019

Not sure what's up with the one failing test. Works locally for both python2 and 3.

@alfredodeza
Copy link
Contributor

This looks OK. I think we should probably contemplate migrating over to the logging module at some point if there is another problem like this one.

Copy link
Contributor

@alfredodeza alfredodeza left a comment

Choose a reason for hiding this comment

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

Looks like there is a valid failure, once that is fixed in tox this can get merged.

@jan--f jan--f force-pushed the c-v-always-log-to-stdout branch 2 times, most recently from b016cc4 to 0f64ad3 Compare August 9, 2019 09:58
We should never print log messages to stdout, as this should be reserved
for output of ceph-volume.

Fixes: https://tracker.ceph.com/issues/41158

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
@jan--f
Copy link
Contributor Author

jan--f commented Aug 9, 2019

jenkins test ceph-volume tox

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

Successfully merging this pull request may close these issues.

2 participants