x-openstack-request-id mapping statement will be logged twice in the logs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance Client |
Fix Released
|
Undecided
|
Abhishek Kekane | ||
python-cinderclient |
Fix Released
|
Undecided
|
Dinesh Bhor | ||
python-neutronclient |
Fix Released
|
Undecided
|
Dinesh Bhor | ||
python-novaclient |
Fix Released
|
Undecided
|
Abhishek Kekane |
Bug Description
As patch [1] is merged in keystoneauth1, once new library will be released with this fix included in it, the x-openstack-
$ nova --debug list
DEBUG (session:640) GET call to compute for http://
DEBUG (client:85) GET call to compute for http://
Same issue will be there in,
1. python-cinderclient
DEBUG:keystonea
DEBUG:cindercli
2. python-glanceclient
$ glance --debug image-list
DEBUG:keystonea
DEBUG:glancecli
3. python-
DEBUG: keystoneauth.
DEBUG: neutronclient.
In order to avoid this duplication, remove logging of x-openstack-
Same will be applicable if above clients are used by core projects like nova, cinder, glance etc., then the log statement will be logged twice in the service logs. For example; if user uses "nova list" then following log will be logged in n-api service logs:
2017-01-18 12:10:42.000 DEBUG keystoneauth.
2017-01-18 12:10:42.001 DEBUG neutronclient.
[1] https:/
Reference:
https:/
Changed in python-novaclient: | |
assignee: | nobody → Abhishek Kekane (abhishek-kekane) |
no longer affects: | python-glanceclient |
Changed in python-glanceclient: | |
assignee: | nobody → Abhishek Kekane (abhishek-kekane) |
Changed in python-cinderclient: | |
assignee: | nobody → Abhishek Kekane (abhishek-kekane) |
Changed in python-neutronclient: | |
assignee: | nobody → Abhishek Kekane (abhishek-kekane) |
description: | updated |
Fix proposed to branch: master /review. openstack. org/422591
Review: https:/