Tempest Rhel7: IPv6 Allowed address pair has cidr info

Bug #1529317 reported by Nagendra Prasath
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0.2.x
New
Undecided
Unassigned
R3.0.3.x
New
Undecided
Unassigned
R3.1
Fix Committed
Undecided
Sahil Sabharwal
Trunk
Fix Committed
Undecided
Sahil Sabharwal

Bug Description

Mainline/2683/Rhel7/Kilo

Tempest Case:
tempest.api.network.test_allowed_address_pair.AllowedAddressPairIpV6TestJSON.test_update_port_with_multiple_ip_mac_address_pair

Updated allowed-address-pairs is not as same as configured

Configured:
[{'ip_address': u'2003::3', 'mac_address': u'02:e7:bf:21:65:b1'},
 {'ip_address': u'2003::4', 'mac_address': u'02:d1:21:52:71:50'}]

Retrieved:
[{u'ip_address': [u'2003::3/128'], u'mac_address': u'02:e7:bf:21:65:b1'},
 {u'ip_address': [u'2003::4/128'], u'mac_address': u'02:d1:21:52:71:50'}]

[root@a5s165 ~(keystone_admin)]# neutron port-show caa7ea07-d94e-4db1-ad3d-f442d5f4b40d
+-----------------------+--------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+--------------------------------------------------------------------------------+
| admin_state_up | True |
| allowed_address_pairs | {"ip_address": ["2003::3/128"], "mac_address": "02:f6:8c:58:b1:c5"} |
| | {"ip_address": ["2003::4/128"], "mac_address": "02:f5:5d:5b:ea:f7"} |
| binding:vif_details | {"port_filter": true} |
| binding:vif_type | vrouter |
| binding:vnic_type | normal |
| device_id | |
| device_owner | |
| fixed_ips | {"subnet_id": "59573c69-a2dc-4b44-bf79-f9bb88147239", "ip_address": "2003::5"} |
| id | caa7ea07-d94e-4db1-ad3d-f442d5f4b40d |
| mac_address | 02:ca:a7:ea:07:d9 |
| name | caa7ea07-d94e-4db1-ad3d-f442d5f4b40d |
| network_id | 72e555b6-2b59-4939-80f1-d4e43634b609 |
| security_groups | 48b1dfd6-4ba8-479e-a103-b03f3c88a6a1 |
| status | DOWN |
| tenant_id | 2eb241bca66f43cfa9e595948d8ecfd4 |
+-----------------------+--------------------------------------------------------------------------------+
[root@a5s165 ~(keystone_admin)]#

information type: Proprietary → Public
Sachin Bansal (sbansal)
Changed in juniperopenstack:
assignee: nobody → ssabharwal@juniper.net (ssabharwal)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/22651
Submitter: <email address hidden> (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.1

Review in progress for https://review.opencontrail.org/22652
Submitter: <email address hidden> (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/22651
Submitter: <email address hidden> (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/22651
Committed: http://github.org/Juniper/contrail-controller/commit/c026ea054e19429fc4843c0bf60e3cec612dc611
Submitter: Zuul
Branch: master

commit c026ea054e19429fc4843c0bf60e3cec612dc611
Author: Sahil Sabharwal <email address hidden>
Date: Fri Jul 29 15:36:28 2016 -0700

Capturing the correct ip address length (ipv4: 32 & for ipv6: 128) to update the address pair field accordingly that goes from vnc->neutron.

Closes-Bug: 1529317

Change-Id: I00c7909c8dae328c3d0389cd22e4ea729a35fb5e

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/22652
Committed: http://github.org/Juniper/contrail-controller/commit/8e9ad6db2934c3d53cf3e0a219c7d96749c6943e
Submitter: Zuul
Branch: R3.1

commit 8e9ad6db2934c3d53cf3e0a219c7d96749c6943e
Author: Sahil Sabharwal <email address hidden>
Date: Fri Jul 29 15:36:28 2016 -0700

Capturing the correct ip address length (ipv4: 32 & for ipv6: 128) to update the address pair field accordingly that goes from vnc->neutron.

Closes-Bug: 1529317

Change-Id: I00c7909c8dae328c3d0389cd22e4ea729a35fb5e
(cherry picked from commit 8c8b7e8db1d7da7f0f9b3ae3f2da79dad2985f3b)

Jeba Paulaiyan (jebap)
tags: added: tempest
tags: added: osp7-cert osp8-cert rhos-tempest
removed: rhosp-tempest
no longer affects: juniperopenstack/r3.0
no longer affects: juniperopenstack/r3.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.