[Tempest] Creating a port with empty SG list does not result in empty SG list
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R2.20 |
Fix Committed
|
Medium
|
Unassigned | |||
R2.21.x |
Fix Committed
|
Medium
|
Unassigned | |||
R2.22.x |
Fix Committed
|
Medium
|
Unassigned | |||
Trunk |
Fix Committed
|
Medium
|
Unassigned |
Bug Description
R2.20 Build 64
In this test, a port is created with empty SG list. It is seen that in contrail, we bind the port to SG "default-
This is causing the test to fail : tempest.
pythonlogging:'': {{{
2015-07-20 16:09:45,750 6082 INFO [tempest_
2015-07-20 16:09:45,751 6082 DEBUG [tempest_
Body: {"network": {"name": "tempest-
Response - Headers: {'status': '201', 'content-length': '393', 'connection': 'close', 'date': 'Mon, 20 Jul 2015 10:18:33 GMT', 'content-type': 'application/json; charset=UTF-8', 'x-openstack-
Body: {"network": {"status": "ACTIVE", "router:external": false, "subnets": [], "name": "tempest-
2015-07-20 16:09:46,042 6082 INFO [tempest_
2015-07-20 16:09:46,043 6082 DEBUG [tempest_
Body: {"subnet": {"ip_version": 4, "network_id": "be1a14ed-
Response - Headers: {'status': '201', 'content-length': '375', 'connection': 'close', 'date': 'Mon, 20 Jul 2015 10:18:34 GMT', 'content-type': 'application/json; charset=UTF-8', 'x-openstack-
Body: {"subnet": {"name": "", "enable_dhcp": true, "network_id": "be1a14ed-
2015-07-20 16:09:46,347 6082 INFO [tempest_
2015-07-20 16:09:46,348 6082 DEBUG [tempest_
Body: {"port": {"network_id": "be1a14ed-
Response - Headers: {'status': '201', 'content-length': '481', 'connection': 'close', 'date': 'Mon, 20 Jul 2015 10:18:34 GMT', 'content-type': 'application/json; charset=UTF-8', 'x-openstack-
Body: {"port": {"status": "DOWN", "name": "31b014cd-
2015-07-20 16:09:46,523 6082 INFO [tempest_
2015-07-20 16:09:46,524 6082 DEBUG [tempest_
Body: None
Response - Headers: {'date': 'Mon, 20 Jul 2015 10:18:34 GMT', 'status': '204', 'connection': 'close', 'content-length': '0', 'x-openstack-
Body:
2015-07-20 16:09:46,686 6082 INFO [tempest_
2015-07-20 16:09:46,687 6082 DEBUG [tempest_
Body: None
Response - Headers: {'date': 'Mon, 20 Jul 2015 10:18:34 GMT', 'status': '204', 'connection': 'close', 'content-length': '0', 'x-openstack-
Body:
2015-07-20 16:09:46,792 6082 INFO [tempest_
2015-07-20 16:09:46,793 6082 DEBUG [tempest_
Body: None
Response - Headers: {'date': 'Mon, 20 Jul 2015 10:18:34 GMT', 'status': '204', 'connection': 'close', 'content-length': '0', 'x-openstack-
Body:
}}}
Traceback (most recent call last):
File "/home/
self.
File "/home/
self.
File "/home/
raise self.failureExc
AssertionError: False is not true
tags: | added: config neutronapi |
Review in progress for https:/ /review. opencontrail. org/14233
Submitter: Sachin Bansal (<email address hidden>)