Creating a second vip to a pool does not work

Bug #1374401 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Committed
High
Rudra Rugge
R1.1
Fix Committed
High
Rudra Rugge

Bug Description

Below 201.1.1.3 was a vip on mypool1
I created another vip 201.1.1.7 with https as protocol on the same mypool1

Now, lb-pool-show of mypool1 shows 201.1.1.7 only.

In Api server, service instance shows 201.1.1.3 only ! (LB for this IP works)

root@nodec22:~# neutron lb-vip-create --name myvip1 --protocol HTTP --subnet-id $frontend_subnet --protocol-port 80 mypool1
Created a new vip:
+---------------------+--------------------------------------+
| Field | Value |
+---------------------+--------------------------------------+
| address | 201.1.1.7 |
| admin_state_up | True |
| connection_limit | -1 |
| description | |
| id | 173d5fe8-404e-456f-a225-c3c23914a21d |
| name | myvip1 |
| pool_id | 4e3a7ff5-a144-4b2c-9a1f-8c29e5947dc1 |
| port_id | 88b71162-2f5f-4683-9cf1-255cf89bc608 |
| protocol | HTTP |
| protocol_port | 80 |
| session_persistence | |
| status | ACTIVE |
| subnet_id | 3d7f7428-04c3-40f4-8195-6b502a66d796 |
| tenant_id | a6345dd0a98c4cc58a440b49c9c2d5f5 |
+---------------------+--------------------------------------+
root@nodec22:~# neutron lb-vip-list
+--------------------------------------+--------+-----------+----------+----------------+--------+
| id | name | address | protocol | admin_state_up | status |
+--------------------------------------+--------+-----------+----------+----------------+--------+
| f30477bb-8458-44c8-9823-ba3c8f407b64 | sshvip | 201.1.1.4 | TCP | True | ACTIVE |
| ea60c9ca-77e8-4b21-af89-ed0fb0050b91 | myvip | 201.1.1.3 | HTTPS | True | ACTIVE |
| 173d5fe8-404e-456f-a225-c3c23914a21d | myvip1 | 201.1.1.7 | HTTP | True | ACTIVE |
+--------------------------------------+--------+-----------+----------+----------------+--------+
root@nodec22:~#

root@nodec22:~# neutron lb-pool-show mypool1
+-----------------+--------------------------------------+
| Field | Value |
+-----------------+--------------------------------------+
| admin_state_up | True |
| description | |
| health_monitors | f8be1eaf-dd0c-4640-9b04-2a3a19267eb6 |
| id | 4e3a7ff5-a144-4b2c-9a1f-8c29e5947dc1 |
| lb_method | ROUND_ROBIN |
| members | 83f1257d-ad35-4b89-8be0-f059286f5fed |
| | 743419d4-588a-43ea-9a2c-c3ff65f5edc5 |
| name | mypool1 |
| protocol | HTTP |
| provider | opencontrail |
| status | ACTIVE |
| subnet_id | 4f0ff0bf-4263-4281-bc78-2b20c497317d |
| tenant_id | a6345dd0a98c4cc58a440b49c9c2d5f5 |
| vip_id | 173d5fe8-404e-456f-a225-c3c23914a21d |
+-----------------+--------------------------------------+
root@nodec22:~#

root@nodec22:~# neutron lb-vip-show myvip
+---------------------+--------------------------------------+
| Field | Value |
+---------------------+--------------------------------------+
| address | 201.1.1.3 |
| admin_state_up | True |
| connection_limit | -1 |
| description | |
| id | ea60c9ca-77e8-4b21-af89-ed0fb0050b91 |
| name | myvip |
| pool_id | 4e3a7ff5-a144-4b2c-9a1f-8c29e5947dc1 |
| port_id | 0892c6f4-efc1-4532-90b9-efedb2f8bf34 |
| protocol | HTTPS |
| protocol_port | 443 |
| session_persistence | |
| status | ACTIVE |
| subnet_id | 3d7f7428-04c3-40f4-8195-6b502a66d796 |
| tenant_id | a6345dd0a98c4cc58a440b49c9c2d5f5 |
+---------------------+--------------------------------------+
root@nodec22:~#
root@nodec22:~# neutron lb-vip-show myvip1
+---------------------+--------------------------------------+
| Field | Value |
+---------------------+--------------------------------------+
| address | 201.1.1.7 |
| admin_state_up | True |
| connection_limit | -1 |
| description | |
| id | 173d5fe8-404e-456f-a225-c3c23914a21d |
| name | myvip1 |
| pool_id | 4e3a7ff5-a144-4b2c-9a1f-8c29e5947dc1 |
| port_id | 88b71162-2f5f-4683-9cf1-255cf89bc608 |
| protocol | HTTP |
| protocol_port | 80 |
| session_persistence | |
| status | ACTIVE |
| subnet_id | 3d7f7428-04c3-40f4-8195-6b502a66d796 |
| tenant_id | a6345dd0a98c4cc58a440b49c9c2d5f5 |
+---------------------+--------------------------------------+
root@nodec22:~#

Revision history for this message
Rudra Rugge (rrugge) wrote :
Changed in juniperopenstack:
status: New → Fix Committed
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.