vF5: new member added as user-disabled member

Bug #1574855 reported by Vinoth Kannan Ganapathy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Fix Committed
High
Prakash Bailkeri
Trunk
Fix Committed
High
Prakash Bailkeri

Bug Description

if you create new pool , member and then do vip-create, the members are seen as enabled in the BIGIP.
Whereas, After vip create, if you add a new member to the existing pool, new member seen as user-disabled in the BIGIP.

root@a5d01e09-1:~# nova list
+--------------------------------------+--------------+--------+------------+-------------+-----------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+--------------+--------+------------+-------------+-----------------------+
| 49bc4286-60d0-4337-9a83-8dd675034974 | web-client-1 | ACTIVE | - | Running | f5-pool-vn=11.11.11.4 |
| 3321ced0-7fc8-453c-98b2-8d00dcebe880 | web-server-1 | ACTIVE | - | Running | f5-pool-vn=11.11.11.3 |
| b856f27a-b444-4f82-b974-bfb34de5f217 | web-server-2 | ACTIVE | - | Running | f5-pool-vn=11.11.11.6 |
| 92faa7bb-019c-445e-8e4a-883d9a5e3260 | web-server-3 | ACTIVE | - | Running | f5-pool-vn=11.11.11.7 |
| 329812c8-a398-447f-8f8e-d3b8f5b69e23 | web-server-4 | ACTIVE | - | Running | f5-pool-vn=11.11.11.8 |
+--------------------------------------+--------------+--------+------------+-------------+-----------------------+

root@a5d01e09-1:~# neutron lb-member-list
+--------------------------------------+------------+---------------+--------+----------------+--------+
| id | address | protocol_port | weight | admin_state_up | status |
+--------------------------------------+------------+---------------+--------+----------------+--------+
| 0388b21c-1839-496f-8aab-e0b756b789e2 | 11.11.11.7 | 80 | 1 | True | ACTIVE |
| f25253a7-b5d8-4658-b83e-d092956cb2ff | 11.11.11.4 | 80 | 1 | True | ACTIVE |
| 00ca6cf6-5778-40af-86f0-81fae53ca97a | 11.11.11.6 | 80 | 1 | True | ACTIVE |
+--------------------------------------+------------+---------------+--------+----------------+--------+
root@a5d01e09-1:~# neutron lb-member-create --address 11.11.11.8 --protocol-port 80 mypool
Created a new member:
+----------------+--------------------------------------+
| Field | Value |
+----------------+--------------------------------------+
| address | 11.11.11.8 |
| admin_state_up | True |
| id | 1b7cfe19-128b-4c36-882b-b2682c6f5bb7 |
| pool_id | a5d76e61-447e-46a9-bd98-01c781b93b04 |
| protocol_port | 80 |
| status | ACTIVE |
| tenant_id | 770d89e31f514ce6a260f4aa59e8ae6d |
| weight | 1 |
+----------------+--------------------------------------+
root@a5d01e09-1:~#

Apr 24 21:20:34 virtualF5 notice icrd_child[25814]: 01420002:5: AUDIT - pid=25814 user=admin folder=/Common module=(tmos)# status=[Command OK] cmd_data=modify ltm pool /uuid_770d89e3-1f51-4ce6-a260-f4aa59e8ae6d/uuid_a5d76e61-447e-46a9-bd98-01c781b93b04 { members add { /uuid_770d89e3-1f51-4ce6-a260-f4aa59e8ae6d/11.11.11.8%0:80 { address 11.11.11.8%0 } } }
Apr 24 21:20:34 virtualF5 notice mcpd[7082]: 01070417:5: AUDIT - client tmsh, tmsh-pid-25814, user admin - transaction #402144-2 - object 0 - modify { pool_member { pool_member_pool_name "/uuid_770d89e3-1f51-4ce6-a260-f4aa59e8ae6d/uuid_a5d76e61-447e-46a9-bd98-01c781b93b04" pool_member_node_name "/uuid_770d89e3-1f51-4ce6-a260-f4aa59e8ae6d/11.11.11.8%0" pool_member_port http pool_member_new_session_enable 1 } } [Status=Command OK]
Apr 24 21:20:34 virtualF5 notice icrd_child[25814]: 01420002:5: AUDIT - pid=25814 user=admin folder=/Common module=(tmos)# status=[Command OK] cmd_data=modify ltm pool /uuid_770d89e3-1f51-4ce6-a260-f4aa59e8ae6d/uuid_a5d76e61-447e-46a9-bd98-01c781b93b04 { members modify { /uuid_770d89e3-1f51-4ce6-a260-f4aa59e8ae6d/11.11.11.8%0:80 { session user-disabled } } }
Apr 24 21:20:34 virtualF5 notice mcpd[7082]: 01070417:5: AUDIT - client tmsh, tmsh-pid-25814, user admin - transaction #402156-2 - object 0 - modify { pool_member { pool_member_pool_name "/uuid_770d89e3-1f51-4ce6-a260-f4aa59e8ae6d/uuid_a5d76e61-447e-46a9-bd98-01c781b93b04" pool_member_node_name "/uuid_770d89e3-1f51-4ce6-a260-f4aa59e8ae6d/11.11.11.8%0" pool_member_port http pool_member_ratio 1 } } [Status=Command OK]
Apr 24 21:20:34 virtualF5 notice icrd_child[25814]: 01420002:5: AUDIT - pid=25814 user=admin folder=/Common module=(tmos)# status=[Command OK] cmd_data=modify ltm pool /uuid_770d89e3-1f51-4ce6-a260-f4aa59e8ae6d/uuid_a5d76e61-447e-46a9-bd98-01c781b93b04 { members modify { /uuid_770d89e3-1f51-4ce6-a260-f4aa59e8ae6d/11.11.11.8%0:80 { ratio 1 } } }

Tags: lbaas
Jeba Paulaiyan (jebap)
information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0

Review in progress for https://review.opencontrail.org/19726
Submitter: Prakash Bailkeri (<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/19727
Submitter: Prakash Bailkeri (<email address hidden>)

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

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

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

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

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

Reviewed: https://review.opencontrail.org/19736
Committed: http://github.org/Juniper/contrail-controller/commit/9b202a0fe857fc986ef33f9897f93ffdbf91660d
Submitter: Zuul
Branch: R3.0

commit 9b202a0fe857fc986ef33f9897f93ffdbf91660d
Author: Prakash M Bailkeri <email address hidden>
Date: Fri Apr 29 04:36:54 2016 -0700

Set the admin state of the pool member correctly to F5

"admin-state" parameter is handled as string wrongly. It is a bool.

Fix the unit tests

Change-Id: I31df3aa26035d3870a1670f40f877e0ea59b09a9
Closes-Bug: #1574855
(cherry picked from commit 6301d64aac96d56ae2dfbe4b1259dbc6a939f5d0)

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

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

commit 6301d64aac96d56ae2dfbe4b1259dbc6a939f5d0
Author: Prakash M Bailkeri <email address hidden>
Date: Fri Apr 29 04:36:54 2016 -0700

Set the admin state of the pool member correctly to F5

"admin-state" parameter is handled as string wrongly. It is a bool.

Fix the unit tests

Change-Id: I31df3aa26035d3870a1670f40f877e0ea59b09a9
Closes-Bug: #1574855

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.