No logging occurs when user is forbidden to perform an action

Bug #1270229 reported by Alex Meade
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Low
Kamil Rykowski

Bug Description

In both glance v1 and v2, if policies forbide an action, when it occurs there are no logs.

Feilong Wang (flwang)
tags: added: low-hanging-fruit
Changed in glance:
assignee: nobody → agileclipse (agileclipse)
Feilong Wang (flwang)
Changed in glance:
status: New → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (master)

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

Changed in glance:
status: Triaged → In Progress
Changed in glance:
milestone: none → kilo-2
Thierry Carrez (ttx)
Changed in glance:
milestone: kilo-2 → kilo-3
Thierry Carrez (ttx)
Changed in glance:
milestone: kilo-3 → kilo-rc1
tags: added: kilo-rc-potential
Changed in glance:
milestone: kilo-rc1 → none
Changed in glance:
assignee: agileclipse (agileclipse) → Kamil Rykowski (kamil-rykowski)
Thierry Carrez (ttx)
tags: removed: kilo-rc-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/72800
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=7896c006353426348c88938fc72ecf1df57d88e4
Submitter: Jenkins
Branch: master

commit 7896c006353426348c88938fc72ecf1df57d88e4
Author: Jin Long Wang <email address hidden>
Date: Wed Sep 10 11:16:13 2014 +0800

    Add logging when policies forbid an action

    There is currently no logging in images.py of glance API v1 or v2
    and other files of glance API when policies forbid an action.This
    patch adds logging in these situations.

    Co-Authored-By: Ian Cordasco <email address hidden>
    Co-Authored-By: Kamil Rykowski <email address hidden>

    Closes-Bug: #1270229
    Change-Id: I32afbfc98a3de6370b0396f39c2cf481f6fc47a9

Changed in glance:
status: In Progress → Fix Committed
Changed in glance:
milestone: none → liberty-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in glance:
milestone: liberty-1 → 11.0.0
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.