native provider can not be configured from neutron lbaas v2

Bug #1740996 reported by Tatsuya Naganawa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.0
Fix Committed
High
Yuvaraja Mariappan
R4.1
Fix Committed
High
Yuvaraja Mariappan
Trunk
Fix Committed
High
Yuvaraja Mariappan
OpenContrail
New
Undecided
Yuvaraja Mariappan

Bug Description

I tried this procedure to set native provider lbaas from neutron command.
https://github.com/Juniper/contrail-controller/wiki/native-lb
 - RHOSP10, contrail4.1

Unfortunately, listener-ip won't show up in routing table, although neutron command got successful and listener, pool, members are successfully added.

Investigating for a while, adding this annotation to loadbalancer-member (just like k8s) with the help of vnc api,
annotations: {
    key_value_pair: [
         {
            value: "7feee626-2206-411c-b393-20467d9f6032", # uuid for member vmi
            key: "vmi"
        }
    ]
}
listener-ip showed up and load-balance began working.

 - annotation seems to be used there
https://github.com/Juniper/contrail-controller/blob/master/src/config/svc-monitor/svc_monitor/config_db.py#L271

Tags: lbaas
Changed in opencontrail:
assignee: nobody → Yuvaraja Mariappan (ymariappan)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.0

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

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

Review in progress for https://review.opencontrail.org/38709
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/38710
Submitter: Yuvaraja Mariappan

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

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

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

Review in progress for https://review.opencontrail.org/38716
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/38717
Submitter: Yuvaraja Mariappan

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

Reviewed: https://review.opencontrail.org/38715
Committed: http://github.com/Juniper/contrail-neutron-plugin/commit/cd1cdcdd07eee0ecf04aa993848e221103368bee
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit cd1cdcdd07eee0ecf04aa993848e221103368bee
Author: Yuvaraja Mariappan <email address hidden>
Date: Sat Jan 6 16:59:21 2018 -0800

Support is added to pass subnet_id in lbaas-member object

Support is added to pass subnet_id in lbaas-member object
Closes-bug: #1740996

Change-Id: I17fbf87b187ab653d1897be4147495e7c0b2ba3c

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

Reviewed: https://review.opencontrail.org/38708
Committed: http://github.com/Juniper/contrail-controller/commit/672cbac74ce920bb5e716bd193f78028c4ee0be5
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit 672cbac74ce920bb5e716bd193f78028c4ee0be5
Author: Yuvaraja Mariappan <email address hidden>
Date: Sat Jan 6 16:32:09 2018 -0800

Support for member-add without vmi annotations in native lb

When loadbalancer member is created by neutron, there is no
way to give the vmi uuid in annotation in the loadbalancer member
object. Since it is possible to find the vmi uuid from instance ip,
the loadbalancer native driver will find the vmi uuid from instance
ip. If the subnet uuid is given in the loadbalancer member object,
further qualification would be done in instance ip using
Instance ip's network's subnet

Change-Id: Ia6fa8eb2defcbe9f714518d9d1893124e733e29f
Partial-bug: #1740996

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

Reviewed: https://review.opencontrail.org/38709
Committed: http://github.com/Juniper/contrail-controller/commit/c4470887b72dbbb428f145a5eb36b8d1effdb3b1
Submitter: Zuul (<email address hidden>)
Branch: R4.1

commit c4470887b72dbbb428f145a5eb36b8d1effdb3b1
Author: Yuvaraja Mariappan <email address hidden>
Date: Sat Jan 6 16:32:09 2018 -0800

Support for member-add without vmi annotations in native lb

When loadbalancer member is created by neutron, there is no
way to give the vmi uuid in annotation in the loadbalancer member
object. Since it is possible to find the vmi uuid from instance ip,
the loadbalancer native driver will find the vmi uuid from instance
ip. If the subnet uuid is given in the loadbalancer member object,
further qualification would be done in instance ip using
Instance ip's network's subnet

Change-Id: Ia6fa8eb2defcbe9f714518d9d1893124e733e29f
Partial-bug: #1740996

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

Reviewed: https://review.opencontrail.org/38716
Committed: http://github.com/Juniper/contrail-neutron-plugin/commit/201b73e104a44db16a37d7eb2e30be31ebdef387
Submitter: Zuul (<email address hidden>)
Branch: R4.1

commit 201b73e104a44db16a37d7eb2e30be31ebdef387
Author: Yuvaraja Mariappan <email address hidden>
Date: Sat Jan 6 16:59:21 2018 -0800

Support is added to pass subnet_id in lbaas-member object

Support is added to pass subnet_id in lbaas-member object
Closes-bug: #1740996

Change-Id: I17fbf87b187ab653d1897be4147495e7c0b2ba3c

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

Reviewed: https://review.opencontrail.org/38710
Committed: http://github.com/Juniper/contrail-controller/commit/65b6ec809c6f2086b3c4abad6857fb84e14e225f
Submitter: Zuul (<email address hidden>)
Branch: master

commit 65b6ec809c6f2086b3c4abad6857fb84e14e225f
Author: Yuvaraja Mariappan <email address hidden>
Date: Sat Jan 6 16:32:09 2018 -0800

Support for member-add without vmi annotations in native lb

When loadbalancer member is created by neutron, there is no
way to give the vmi uuid in annotation in the loadbalancer member
object. Since it is possible to find the vmi uuid from instance ip,
the loadbalancer native driver will find the vmi uuid from instance
ip. If the subnet uuid is given in the loadbalancer member object,
further qualification would be done in instance ip using
Instance ip's network's subnet

Change-Id: Ia6fa8eb2defcbe9f714518d9d1893124e733e29f
Partial-bug: #1740996

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

Reviewed: https://review.opencontrail.org/38717
Committed: http://github.com/Juniper/contrail-neutron-plugin/commit/898f114989b874837afcbaa3c06d928f58ea330e
Submitter: Zuul (<email address hidden>)
Branch: master

commit 898f114989b874837afcbaa3c06d928f58ea330e
Author: Yuvaraja Mariappan <email address hidden>
Date: Sat Jan 6 16:59:21 2018 -0800

Support is added to pass subnet_id in lbaas-member object

Support is added to pass subnet_id in lbaas-member object
Closes-bug: #1740996

Change-Id: I17fbf87b187ab653d1897be4147495e7c0b2ba3c

Jeba Paulaiyan (jebap)
tags: added: lbaas
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.