Tempest test PortsIpV6TestJSON.test_update_port_with_security_group_and_extra_attributes failed due to fixed_ips field not updated
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.0.2.x |
Won't Fix
|
Undecided
|
Unassigned | |||
R3.0.3.x |
Won't Fix
|
Undecided
|
Unassigned | |||
R3.1 |
Fix Committed
|
High
|
Sahil Sabharwal | |||
R3.2 |
Fix Committed
|
High
|
Sahil Sabharwal | |||
R4.1 |
New
|
Undecided
|
Nagendra Prasath | |||
Trunk |
Fix Committed
|
High
|
Sahil Sabharwal |
Bug Description
R3.0.2.0 Build 52 Liberty
Tempest test tempest.
----------
The port update is updating subnet_id in the fixed_ips field and asserts if it has not happened
Traceback (most recent call last):
File "/usr/local/
[data_
File "/usr/local/
port_
File "/usr/lib/
self.
File "/usr/lib/
raise mismatch_error
MismatchError: !=:
reference = u'04777df1-
actual = u'501adb1d-
-----------
root@nodeb5:
+------
| Field | Value |
+------
| admin_state_up | False |
| binding:vif_details | {"port_filter": true} |
| binding:vif_type | vrouter |
| binding:vnic_type | normal |
| device_id | |
| device_owner | |
| fixed_ips | {"subnet_id": "501adb1d-
| id | 3b3d5169-
| mac_address | 02:3b:3d:51:69:6b |
| name | tempest-
| network_id | c578cf3f-
| security_groups | ce3ca78c-
| status | DOWN |
| tenant_id | 464d4e927fa04f3
+------
root@nodeb5:
| 04777df1-
root@nodeb5:
Test code :
subnet_1 = self.create_
fixed_ip_1 = [{'subnet_id': subnet_1['id']}]
for name in security_
# Create a port
post_body = {
"name": data_utils.
body = self.ports_
port = body['port']
# Update the port with security groups
subnet_2 = self.create_
fixed_ip_2 = [{'subnet_id': subnet_2['id']}]
update_body = {"name": data_utils.
body = self.ports_
port_show = body['port']
# Verify the security groups and other attributes updated to port
for security_group in security_
Changed in juniperopenstack: | |
assignee: | Sachin Bansal (sbansal) → ssabharwal@juniper.net (ssabharwal) |
tags: | added: osp7-cert osp8-cert rhosp-tempest |
no longer affects: | juniperopenstack/r4.0 |
no longer affects: | juniperopenstack/r4.1 |
tags: |
added: rhosp removed: rhosp-tempest |
Review in progress for https:/ /review. opencontrail. org/25851
Submitter: <email address hidden> (<email address hidden>)