ironic-api does not record URI access logs
Bug #1536828 reported by
aeva black
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
High
|
aeva black |
Bug Description
Prior to commit c4bd20ebd4b4220
127.0.0.1 - - [21/Jan/2016 14:44:45] "GET /v1/nodes HTTP/1.1" 200 378
127.0.0.1 - - [21/Jan/2016 14:45:02] "GET /v1/nodes/
After commit c4bd20ebd4b4220
Changed in ironic: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in ironic: | |
assignee: | Devananda van der Veen (devananda) → Anton Arefiev (aarefiev) |
Changed in ironic: | |
assignee: | Anton Arefiev (aarefiev) → Devananda van der Veen (devananda) |
tags: | added: api |
To post a comment you must log in.
I've confirmed that this also affects the upstream gate - look at the logs for any API service and you'll see there are no access logs. Eg,
http:// logs.openstack. org/86/ 270986/ 1/check/ gate-tempest- dsvm-ironic- pxe_ipa/ dc47357/ logs/screen- ir-api. txt.gz# _2016-01- 21_20_58_ 19_369
It seems to be fixed by changing the 'logger_name' passed to oslo_service. wsgi.Server. I'll post a patch shortly.
https:/ /github. com/openstack/ oslo.service/ blob/master/ oslo_service/ wsgi.py# L105
I have also updated the Importance to High because API service access logs are required for a number of reasons, and while this doesn't affect the service uptime, it affects operators.