Unrelated exception raised at rdpb debug session

Bug #1791104 reported by Vadym Markov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo.utils
Fix Released
Medium
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:
https://github.com/tamentis/rpdb/issues/21#issuecomment-298668980

Vadym Markov (vmarkov)
Changed in oslo.utils:
assignee: nobody → Vadym Markov (vmarkov)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to oslo.utils (master)

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

Changed in oslo.utils:
status: New → In Progress
Ben Nemec (bnemec)
Changed in oslo.utils:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo.utils (master)

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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/oslo.utils 3.37.1

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.