[3.0-2721~kilo]vMAC not getting copied in the AAP configuration of a SI

Bug #1551280 reported by Ganesha HV
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Fix Committed
Critical
Yuvaraja Mariappan
R3.0.2.x
Fix Committed
Critical
Yuvaraja Mariappan
R3.1
Fix Committed
Critical
Yuvaraja Mariappan
Trunk
Fix Committed
Critical
Yuvaraja Mariappan

Bug Description

Setup
=====
nodeg25 - webUI/horizon
nodeg25, g26 & g27 - cfgm
nodeg26 & g27 - ctrl
nodek8, k9 & k10 - compute

1]. Created 2 Instances with 3 interfaces, one each in l-vn(10.10.10.0/24), r-vn(20.20.20.0/24) and svc-vn-mgmt.
2]. Used the ports of these two instances and formed 2 port-tuples.
3]. Added these port-tuples into a SI.
4]. Added a AAP configuration in the left-interface of the SI as below :

"service_instance_properties": {
            "interface_list": [
                {
                    "virtual_network": "default-domain:admin:svc-vn-mgmt"
                },
                {
                    "allowed_address_pairs": {
                        "allowed_address_pair": [
                            {
                                "address_mode": "active-standby",
                                "ip": {
                                    "ip_prefix": "10.10.10.111",
                                    "ip_prefix_len": 32
                                },
                                "mac": "00:00:5e:00:01:01"
                            }
                        ]
                    },
                    "virtual_network": "default-domain:admin:l-vn"
                },
                {
                    "virtual_network": "default-domain:admin:r-vn"
                }
            ],

5]. the VMAC isn't getting copied. The native MAC is getting used:

<virtual-machine-interface-mac-addresses>
  <mac-address>02:39:ae:64:f3:d5</mac-address>
 </virtual-machine-interface-mac-addresses>
 <virtual-machine-interface-allowed-address-pairs>
  <allowed-address-pair>
   <ip>
    <ip-prefix>10.10.10.111</ip-prefix>
    <ip-prefix-len>32</ip-prefix-len>
   </ip>
   <mac>02:39:ae:64:f3:d5</mac>
   <address-mode>active-standby</address-mode>
  </allowed-address-pair>

Discussed with Naveen.

Setup is intact.

Ganesha HV (ganeshahv)
tags: added: blocker
Changed in juniperopenstack:
assignee: Naveen N (naveenn) → Rudra Rugge (rudrarugge)
tags: removed: blocker
Changed in juniperopenstack:
status: New → Incomplete
Revision history for this message
Ganesha HV (ganeshahv) wrote :

1]. When no vMAC is specified in the SI AAP configuration , native MAC is used to ping

15:49:33.564217 02:57:2b:38:bb:73 > 02:15:75:33:e4:01, ethertype IPv4 (0x0800), length 98: (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto ICMP (1), length 84)
    10.10.10.3 > 10.10.10.111: ICMP echo request, id 49408, seq 187, length 64

2]. I later change/edit the MAC to the vMAC(00:00:5e:00:01:01) in the SI config:

There is no change in the if map introspect :

<virtual-machine-interface-mac-addresses>
  <mac-address>02:15:75:33:e4:01</mac-address>
 </virtual-machine-interface-mac-addresses>
 <virtual-machine-interface-allowed-address-pairs>
  <allowed-address-pair>
   <ip>
    <ip-prefix>10.10.10.111</ip-prefix>
    <ip-prefix-len>32</ip-prefix-len>
   </ip>
   <mac>02:15:75:33:e4:01</mac>
   <address-mode>active-standby</address-mode>
  </allowed-address-pair>
 </virtual-machine-interface-allowed-address-pairs>

3]. Deleted the SI and observed the AAP config still present in the if map:

4]. Created the same SI with the vMAC set in the AAP config.

No change is seen, however.

The native MAC is still seen in the if map introspect.

Please take a look at the setup.

Changed in juniperopenstack:
status: Incomplete → New
Ganesha HV (ganeshahv)
tags: added: releasenote
Rahul (rahuls)
tags: removed: ui
Jeba Paulaiyan (jebap)
information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.1

Review in progress for https://review.opencontrail.org/23943
Submitter: Yuvaraja Mariappan

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

Review in progress for https://review.opencontrail.org/23944
Submitter: Yuvaraja Mariappan

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

Review in progress for https://review.opencontrail.org/23945
Submitter: Yuvaraja Mariappan

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

Review in progress for https://review.opencontrail.org/23946
Submitter: Yuvaraja Mariappan

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

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

commit cceafccb78443ed53365a72345b10e8497dd2265
Author: Yuvaraja Mariappan <email address hidden>
Date: Tue Sep 6 18:41:25 2016 -0700

fix for AAP mac-update issue

AAP config is updated only when there is a change in the ip.
code is added to do the update either ip or mac is changed

Change-Id: Id756816126210b884cbafeb746bd887bc7d0893e
Closes-bug: 1551280

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

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

commit 0ec2b221c03d826620d2ecda6a6f30ce7e89fd0f
Author: Yuvaraja Mariappan <email address hidden>
Date: Tue Sep 6 18:41:25 2016 -0700

fix for AAP mac-update issue

AAP config is updated only when there is a change in the ip.
code is added to do the update either ip or mac is changed

Change-Id: Id756816126210b884cbafeb746bd887bc7d0893e
Closes-bug: 1551280

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

Reviewed: https://review.opencontrail.org/23944
Committed: http://github.org/Juniper/contrail-controller/commit/6169131e853d60addf60cb83809d10ce2fb2a81b
Submitter: Zuul
Branch: R3.0

commit 6169131e853d60addf60cb83809d10ce2fb2a81b
Author: Yuvaraja Mariappan <email address hidden>
Date: Tue Sep 6 18:41:25 2016 -0700

fix for AAP mac-update issue

AAP config is updated only when there is a change in the ip.
code is added to do the update either ip or mac is changed

Change-Id: Id756816126210b884cbafeb746bd887bc7d0893e
Closes-bug: 1551280

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

Reviewed: https://review.opencontrail.org/23946
Committed: http://github.org/Juniper/contrail-controller/commit/60d489c6ad4fd8e76225ac4903acef1bd9ebdd91
Submitter: Zuul
Branch: R3.0.2.x

commit 60d489c6ad4fd8e76225ac4903acef1bd9ebdd91
Author: Yuvaraja Mariappan <email address hidden>
Date: Tue Sep 6 18:41:25 2016 -0700

fix for AAP mac-update issue

AAP config is updated only when there is a change in the ip.
code is added to do the update either ip or mac is changed

Change-Id: Id756816126210b884cbafeb746bd887bc7d0893e
Closes-bug: 1551280

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.