Client's http_log_debug option not working

Bug #2035372 reported by Gorka Eguileor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-cinderclient
Fix Released
Undecided
Gorka Eguileor

Bug Description

When passing `http_log_debug=True` to `cinderclient.client.Client` and having enabled debug mode in Nova we still don't see debug logs for the HTTP requests.

This is because cinderclient is not honoring this parameter when a `session` is also passed.

Gorka Eguileor (gorka)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-cinderclient (master)
Changed in python-cinderclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-cinderclient (master)

Reviewed: https://review.opendev.org/c/openstack/python-cinderclient/+/895188
Committed: https://opendev.org/openstack/python-cinderclient/commit/ccbb9ea5e5014898925be1f6a8ab4232bdeba6f9
Submitter: "Zuul (22348)"
Branch: master

commit ccbb9ea5e5014898925be1f6a8ab4232bdeba6f9
Author: Gorka Eguileor <email address hidden>
Date: Wed Sep 13 14:23:19 2023 +0200

    Fixed request logging

    When passing http_log_debug to cinderclient.client.Client we didn't
    honor it and log the requests if a session is provided.

    Closes-Bug: 2035372
    Change-Id: I505debd650ddce739665b1c9630f17a3b981279f

Changed in python-cinderclient:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-cinderclient 9.7.0

This issue was fixed in the openstack/python-cinderclient 9.7.0 Epoxy 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.