Remaining trust uses are consumed even when create token fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Medium
|
wanghong |
Bug Description
I think we should consume trust use only when getting token sucuess. But, currently if I get token fail the trust use will also be consumed. For example:
curl -i -H "Content-
If the user(b89cd1d160
{"error": {"message": "User is not a trustee. (Disable debug mode to suppress these details.)", "code": 403, "title": "Forbidden"}}
But, the remaining uses of the trust will be consumed.
This is because we call "trust_
Changed in keystone: | |
assignee: | nobody → wanghong (w-wanghong) |
summary: |
- get token fail also consume trust use + Trusts are consumed even when create token fails |
summary: |
- Trusts are consumed even when create token fails + Limited trust uses are consumed even when create token fails |
summary: |
- Limited trust uses are consumed even when create token fails + Remaining trust uses are consumed even when create token fails |
Changed in keystone: | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in keystone: | |
status: | Triaged → In Progress |
Changed in keystone: | |
milestone: | none → juno-3 |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | juno-3 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/103445
Review: https:/