Unique resource name check misses the tenant filter
Bug #1584680 reported by
Nikita Konovalov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Sahara |
Fix Released
|
High
|
Telles Mota Vidal Nóbrega |
Bug Description
The resource name check fetches all resource instances from db and does not filter by tenant.
This may cause inability to create cluster with common names like "test" or "demo" in multiple tenants.
The checks should be updated to be tenant specific.
Steps to reproduce issue:
1. Create PUBLIC node group template 'test' in the project 1.
2. Switch to the project 2.
3. Create node group template 'test' in the project 2.
4. Expected result: node group created. Actual result: NodeGroup template with name 'test' already exists.
Changed in sahara: | |
assignee: | nobody → Nikita Konovalov (nkonovalov) |
Changed in sahara: | |
milestone: | newton-1 → newton-2 |
Changed in sahara: | |
milestone: | newton-3 → newton-rc1 |
Changed in sahara: | |
milestone: | newton-rc1 → next |
milestone: | next → newton-rc1 |
Changed in sahara: | |
milestone: | newton-rc1 → ocata-1 |
Changed in sahara: | |
milestone: | ocata-1 → ocata-2 |
Changed in sahara: | |
assignee: | Nikita Konovalov (nkonovalov) → nobody |
Changed in sahara: | |
assignee: | nobody → Telles Mota Vidal Nóbrega (tellesmvn) |
description: | updated |
Changed in sahara: | |
status: | In Progress → Confirmed |
Changed in sahara: | |
milestone: | ocata-2 → ocata-3 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/319860
Review: https:/