Creating a pool with an existing name should thow an Exception
Bug #1503997 reported by
Md Nadeem
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zaqar |
Invalid
|
Medium
|
Unassigned |
Bug Description
As of now creating a new pool with the name, of which a pool is already exist in the Env, will update the existing pool.
Prob: A user has to first check all existing pool name before choosing a name for the new pool, otherwise there is a probability that the user will update an existing pool unintentionally.
Solution: pool create api should through "PoolNameExist" exception in case of duplicate pool name.
Suggestion: Always use patch api to update an existing pool.
Changed in zaqar: | |
assignee: | nobody → MD NADEEM (mail2nadeem92) |
Changed in zaqar: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
summary: |
- Creating a pool or flavor with an existing name should through an - Exception + Creating a pool with an existing name should through an Exception |
description: | updated |
description: | updated |
summary: |
- Creating a pool with an existing name should through an Exception + Creating a pool with an existing name should thow an Exception |
Changed in zaqar: | |
status: | In Progress → Invalid |
assignee: | MD NADEEM (mail2nadeem92) → nobody |
To post a comment you must log in.
Is that something we shouldn't allow? I think users sending a flavor/pool with the same name would want that action to modify the existing one.