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: fix stderr failure to decode/encode when redirected #333

Merged
merged 7 commits into from
Sep 17, 2019

Conversation

smithfarm
Copy link

@smithfarm smithfarm commented Sep 17, 2019

as requested by @jan--f

Fixes: SUSE/DeepSea#1747

Alfredo Deza added 7 commits September 17, 2019 11:25
Signed-off-by: Alfredo Deza <[email protected]>
(cherry picked from commit 4612ab3)
(cherry picked from commit 7c63650)
Signed-off-by: Alfredo Deza <[email protected]>
(cherry picked from commit 95b16b5)
(cherry picked from commit bdf6a8b)
Signed-off-by: Alfredo Deza <[email protected]>
(cherry picked from commit bfb8422)
(cherry picked from commit 26b97ec)
This caused problems in environments where stderr was redirected, since
stderr sets the encoding to None. Getting it back again allows
everything to work correctly, and keeps all the current unit tests
passing

Signed-off-by: Alfredo Deza <[email protected]>
(cherry picked from commit fe66e01)
(cherry picked from commit d1615c0)
Signed-off-by: Alfredo Deza <[email protected]>
(cherry picked from commit ee18ebc)
(cherry picked from commit cd82ab7)
Signed-off-by: Alfredo Deza <[email protected]>
(cherry picked from commit 595e492)
(cherry picked from commit 1c2894d)
Signed-off-by: Alfredo Deza <[email protected]>
(cherry picked from commit 7919635)
(cherry picked from commit 4183d29)
@smithfarm smithfarm added this to the ses6 milestone Sep 17, 2019
Copy link

@jan--f jan--f left a comment

Choose a reason for hiding this comment

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

great, thanks. Will test it asap.

@smithfarm smithfarm merged commit 4725967 into ses6-downstream-commits Sep 17, 2019
@smithfarm smithfarm deleted the wip-deepsea-1747 branch September 17, 2019 09:31
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.

2 participants