Create project name validation should be handled by Keystone

Bug #1460804 reported by Lin Hua Cheng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Canh Truong

Bug Description

Instead of horizon validating the project name is unique.

I think the project name validation should be handled by Keystone. we should just catch the Conflict error instead and display the appropriate error msg.

Related patch:
https://review.openstack.org/#/c/175096/

summary: - Create project name validation does not perform well
+ Create project name validation should be handled by Keystone
Masco (masco)
Changed in horizon:
assignee: nobody → Masco Kaliyamoorthy (masco)
Revision history for this message
Lin Hua Cheng (lin-hua-cheng) wrote :

With the project hierarchy and the reseller work going on, the project name uniqueness will be tricky.

performing the validation in horizon will require us to copy/maintain that logic, we should just defer the validation to Keystone.

Changed in horizon:
importance: Undecided → Medium
milestone: none → liberty-2
Changed in horizon:
assignee: Masco Kaliyamoorthy (masco) → Canh Truong (canh-v-truong)
status: New → In Progress
Changed in horizon:
milestone: liberty-2 → liberty-3
Revision history for this message
Lin Hua Cheng (lin-hua-cheng) wrote :
Changed in horizon:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by Canh Truong (<email address hidden>) on branch: master
Review: https://review.openstack.org/200396
Reason: The change has been fixed.

Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: liberty-3 → 8.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.