Creating existing idp or remote_ids results to same Conflict error

Bug #1519299 reported by Lin Hua Cheng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Low
Lin Hua Cheng

Bug Description

Steps to reproduce:
1. Try to create an Idp with existing idp_id
2. Try to create an Idp with existing remote_id

Results:
Same error message to same error message.

"Conflict occurred attempting to store identity_provider - Duplicate Entry (HTTP 409)"

Expected result:
It is not helpful to the user what caused the error, mention in the error message the entity that caused the error.

Changed in keystone:
assignee: nobody → Lin Hua Cheng (lin-hua-cheng)
Changed in keystone:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (master)

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

Changed in keystone:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/265279
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=ad8526308b06984fb0077ede297f63cc2df3d8ca
Submitter: Jenkins
Branch: master

commit ad8526308b06984fb0077ede297f63cc2df3d8ca
Author: lin-hua-cheng <email address hidden>
Date: Fri Jan 8 06:41:20 2016 -0800

    Improve Conflict error message in IdP creation

    Clarify if the Conflict error on IdP creation is
    caused by duplicate IdP or duplicate remote ID.

    Change-Id: I047aa9dd8e819c026631a7b27900710b55a334e7
    Closes-Bug: #1519299

Changed in keystone:
status: In Progress → Fix Released
Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/keystone 9.0.0.0b2

This issue was fixed in the openstack/keystone 9.0.0.0b2 development milestone.

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.