Unrelated exception raised at rdpb debug session

Bug #1791104 reported by Vadym Markov on 2018-09-06
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Vadym Markov

Bug Description

Oslo.utils are used for logging of almost every Openstack component. Only way to debug server-side components, like Horizon, is a telnet rpdb session. Console redirect at this session incorrectly handled by oslo.utils giving bunch of unrelated exceptions during logging of some components, e.g. cinderclient. It is more rpdb issue, but oslo.utils can workaround it handling rpdb session in more correct and robust way.

Raised exception is
AttributeError: "'_fileobject' object has no attribute 'encoding'"

Report about this issue:

Vadym Markov (vmarkov) on 2018-09-06
Changed in oslo.utils:
assignee: nobody → Vadym Markov (vmarkov)

Fix proposed to branch: master
Review: https://review.openstack.org/600465

Changed in oslo.utils:
status: New → In Progress
Ben Nemec (bnemec) on 2018-09-06
Changed in oslo.utils:
importance: Undecided → Medium

Reviewed: https://review.openstack.org/600465
Committed: https://git.openstack.org/cgit/openstack/oslo.utils/commit/?id=6e0b90be22ccd1d22f937cb16128875a2e28746f
Submitter: Zuul
Branch: master

commit 6e0b90be22ccd1d22f937cb16128875a2e28746f
Author: BubaVV <email address hidden>
Date: Thu Aug 30 10:19:39 2018 +0300

    Fix exception raise at rpdb session

    Some components raise unrelated exceptions during rpdb session due to
    unaware attribute handling of file-like objects

    Change-Id: I04dd5a7d0f6ec2920671dfa612439427dffefd52
    Closes-bug: #1791104

Changed in oslo.utils:
status: In Progress → Fix Released

This issue was fixed in the openstack/oslo.utils 3.37.1 release.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers