Keystone Access Log logs "python-keystoneclient" as User-Agent even when request is made by openstack client

Bug #1453995 reported by Roxana Gherle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
Fix Released
Undecided
Roxana Gherle

Bug Description

Whenever we execute an openstack cli command, Keystone logs "python-keystoneclient" as User Agent in Keystone access log. We should probably log python-openstackclient as the User Agent since that is the correct original User Agent.

This would add some useful information for debugging instead of always seeing python-keystoneclient in the logs.

Changed in python-openstackclient:
assignee: nobody → Roxana Gherle (roxana-gherle)
Changed in python-openstackclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-openstackclient (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-openstackclient (master)

Reviewed: https://review.openstack.org/182124
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=c126a2ae5665de05dbdd26eb5d6ed16a08d78781
Submitter: Jenkins
Branch: master

commit c126a2ae5665de05dbdd26eb5d6ed16a08d78781
Author: Roxana Gherle <email address hidden>
Date: Mon May 11 16:48:21 2015 -0700

    Send the correct user-agent to Keystone

    When we execute an Openstack CLI command, keystone should log in
    Keystone access log that the user-agent that made the request was
    'python-openstackclient' instead of the default 'python-keystoneclient'.
    Therefore, when we create the authentication session we
    need to send the explicit user-agent.

    Closes-Bug: #1453995

    Change-Id: I75087fd4bb1ff1e6f2a911bc70bf8008268276bb

Changed in python-openstackclient:
status: In Progress → Fix Committed
Dean Troyer (dtroyer)
Changed in python-openstackclient:
milestone: none → m11
Dean Troyer (dtroyer)
Changed in python-openstackclient:
status: Fix Committed → Fix Released
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.