Neutron allows creating tenants having malformed UUID
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Won't Fix
|
High
|
MOS Maintenance |
Bug Description
--- Steps to reproduce ---
Create a new SG and specify some text instead of correct tenant-id:
(or specify ID which is in correct format, but SG with this ID is not present)
neutron security-
--- Actual result ---
There are security groups with incorrect ID created:
mysql> SELECT * FROM securitygroups;
+------
| tenant_id | id | name | standard_attr_id |
+------
| e6c08a1fc0f7459
| my_favorite_tenant | 9278a7ce-
| my_favorite_tenant | af3cedff-
+------
--- Expected result ---
An error which tells that the specified tenant-id doesn't exist
--- Notes ---
Even simple listing of security groups creates new security groups for the non-existing tenants.
root@node-6:~# neutron security-group-list --tenant-id pls_dont_
+------
| id | name | security_
+------
| df826686-
| | | egress, IPv6 |
| | | ingress, IPv4, remote_group_id: df826686-
| | | ingress, IPv6, remote_group_id: df826686-
+------
root@node-6:~# mysql -D neutron -e "SELECT * FROM securitygroups;"
+------
| tenant_id | id | name | standard_attr_id |
+------
| e6c08a1fc0f7459
| pls_dont_
+------
This behavior is described here:
https:/
https:/
Changed in mos: | |
milestone: | 9.x-updates → 9.2-mu-7 |
Changed in mos: | |
milestone: | 9.2-mu-8 → 9.x-updates |
sla1 for 9.0-updates