SYMC: LBaaS member update with weight 0 removes the member from pool

Bug #1462456 reported by Varun Lodaya
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
In Progress
Medium
Rudra Rugge
R2.21.x
Fix Committed
Medium
Rudra Rugge
Trunk
Fix Committed
Medium
Rudra Rugge
OpenContrail
New
Medium
Rudra Rugge

Bug Description

Updating LBaaS member with weight 0 removes the member from the pool

neutron lb-member-create --address 192.168.3.4 --protocol-port 80 http-pool
neutron lb-member-update 5750769c-3131-41bd-b0f1-be6c41aa15c9 --weight 0

Request Failed: internal server error while processing your request

neutron lb-member-show 5750769c-3131-41bd-b0f1-be6c41aa15c9 it says
Member 5750769c-3131-41bd-b0f1-be6c41aa15c9 could not be found

Tags: lbaas neutron
Changed in opencontrail:
importance: Undecided → Medium
Changed in juniperopenstack:
importance: Undecided → Medium
assignee: nobody → Rudra Rugge (rudrarugge)
Changed in opencontrail:
assignee: nobody → Rudra Rugge (rudrarugge)
tags: added: lbaas
tags: added: neutron
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

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

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

Reviewed: https://review.opencontrail.org/12277
Committed: http://github.org/Juniper/contrail-neutron-plugin/commit/d630efb56975562ea8282f5a4e6348e07cd26fe1
Submitter: Zuul
Branch: master

commit d630efb56975562ea8282f5a4e6348e07cd26fe1
Author: Varun Lodaya <email address hidden>
Date: Mon Jul 6 18:23:11 2015 -0700

Fixing member-update; Closes-Bug: #1462456

Change-Id: I8c95520dc8ce7639098b540834fbae74c85acf01

summary: - LBaaS member update with weight 0 removes the member from pool
+ SYMC: LBaaS member update with weight 0 removes the member from pool
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.20

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

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

Reviewed: https://review.opencontrail.org/13116
Committed: http://github.org/Juniper/contrail-neutron-plugin/commit/693ddef62d3f40dd29ad1a7f134e38f65988c827
Submitter: Zuul
Branch: R2.20

commit 693ddef62d3f40dd29ad1a7f134e38f65988c827
Author: Varun Lodaya <email address hidden>
Date: Mon Aug 17 12:48:55 2015 -0700

Fix to support member-update

This fix takes care of the case where member
update does not have pool_id in the request.
Instead of erroring out, it now takes the pool_id
from the member object.

Closes-Bug: #1462456
Change-Id: Id5a79279144c62dea7c72eb119b68b7e3770f5fa

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

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

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

Reviewed: https://review.opencontrail.org/14710
Committed: http://github.org/Juniper/contrail-neutron-plugin/commit/c80fa7c0ef7ac6cb249f86a76785a87b2cc0abcf
Submitter: Zuul
Branch: master

commit c80fa7c0ef7ac6cb249f86a76785a87b2cc0abcf
Author: Varun Lodaya <email address hidden>
Date: Thu Oct 29 11:48:04 2015 -0700

LBaaS member-update failure

This fixes lbaas member-update of weight/admin_state.
pool_id update won't be fixed by this.

Change-Id: I3d7b5345479a6d8c78fdf695e71ed78cdd022006
Partial-Bug: #1462456

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

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

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

Reviewed: https://review.opencontrail.org/14734
Committed: http://github.org/Juniper/contrail-neutron-plugin/commit/77b7d4edb12e5459563957c2872c2f8c1d817608
Submitter: Zuul
Branch: R2.20

commit 77b7d4edb12e5459563957c2872c2f8c1d817608
Author: Varun Lodaya <email address hidden>
Date: Thu Oct 29 11:48:04 2015 -0700

LBaaS member-update failure

This fixes lbaas member-update of weight/admin_state.
pool_id update won't be fixed by this.

Change-Id: I3d7b5345479a6d8c78fdf695e71ed78cdd022006
Partial-Bug: #1462456

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

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

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

Reviewed: https://review.opencontrail.org/14872
Committed: http://github.org/Juniper/contrail-neutron-plugin/commit/340a60c79747de75f3b80af6aac67b395b24c3e5
Submitter: Zuul
Branch: R2.21.x

commit 340a60c79747de75f3b80af6aac67b395b24c3e5
Author: Varun Lodaya <email address hidden>
Date: Thu Oct 29 11:48:04 2015 -0700

LBaaS member-update failure

This fixes lbaas member-update of weight/admin_state.
pool_id update won't be fixed by this.

Change-Id: I3d7b5345479a6d8c78fdf695e71ed78cdd022006
Partial-Bug: #1462456
(cherry picked from commit 77b7d4edb12e5459563957c2872c2f8c1d817608)

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.