Deployment has security group with empty tenant id
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Low
|
Unassigned |
Bug Description
ENV: devstack, master
$ openstack security group list
+------
| ID | Name | Description | Project | Tags |
+------
| 2661ae74-
| 535018b5-
| c5d1b354-
+------
The empty project id (tenant id) causes some mechanism_driver like ODL failed to init, and log errors.
The strange is that the "location" field in security-group details contains the tenant_ id/project_ id: ------- ------- ------- ------- ----+-- ------- +------ ------- ------- ----+-- ------- ------- ------- ------- ----+-- ----+ ------- ------- ------- ------- ----+-- ------- +------ ------- ------- ----+-- ------- ------- ------- ------- ----+-- ----+ aaee-443b- aa2a-8697c13d67 2c | default | Default security group | 952ef8f7f01e47f 184f44229baedbc 8c | [] | 75ed-40a6- 8127-3e125866f9 72 | default | Default security group | aaefbfb3fd5a4fa 88fda11f170027d 2d | [] | 112d-40cc- 84e2-85a503e199 0c | default | Default security group | | [] | ------- ------- ------- ------- ----+-- ------- +------ ------- ------- ----+-- ------- ------- ------- ------- ----+-- ----+ 112d-40cc- 84e2-85a503e199 0c ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ---+ ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ---+ domain_ id='default' , project. domain_ name=, project. id='aaefbfb3fd5 a4fa88fda11f170 027d2d' , project. name='demo' , region_ name='RegionOne ', zone= | ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ---+
$ openstack security group list
+------
| ID | Name | Description | Project | Tags |
+------
| 08335af7-
| 1877373e-
| 375dab72-
+------
$ openstack security group show 375dab72-
+------
| Field | Value |
+------
....
| location | cloud='', project.
| name | default |
| project_id | |
| revision_number | 1 |
....
+------
After deleting all the sec-groups and listing them all the problem disappears, and all sec-groups have tenant_ id/project_ id