Creating a second vip to a pool does not work
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-
| name | myvip1 |
| pool_id | 4e3a7ff5-
| port_id | 88b71162-
| protocol | HTTP |
| protocol_port | 80 |
| session_persistence | |
| status | ACTIVE |
| subnet_id | 3d7f7428-
| tenant_id | a6345dd0a98c4cc
+------
root@nodec22:~# neutron lb-vip-list
+------
| id | name | address | protocol | admin_state_up | status |
+------
| f30477bb-
| ea60c9ca-
| 173d5fe8-
+------
root@nodec22:~#
root@nodec22:~# neutron lb-pool-show mypool1
+------
| Field | Value |
+------
| admin_state_up | True |
| description | |
| health_monitors | f8be1eaf-
| id | 4e3a7ff5-
| lb_method | ROUND_ROBIN |
| members | 83f1257d-
| | 743419d4-
| name | mypool1 |
| protocol | HTTP |
| provider | opencontrail |
| status | ACTIVE |
| subnet_id | 4f0ff0bf-
| tenant_id | a6345dd0a98c4cc
| vip_id | 173d5fe8-
+------
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-
| name | myvip |
| pool_id | 4e3a7ff5-
| port_id | 0892c6f4-
| protocol | HTTPS |
| protocol_port | 443 |
| session_persistence | |
| status | ACTIVE |
| subnet_id | 3d7f7428-
| tenant_id | a6345dd0a98c4cc
+------
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-
| name | myvip1 |
| pool_id | 4e3a7ff5-
| port_id | 88b71162-
| protocol | HTTP |
| protocol_port | 80 |
| session_persistence | |
| status | ACTIVE |
| subnet_id | 3d7f7428-
| tenant_id | a6345dd0a98c4cc
+------
root@nodec22:~#
R1.10: /github. com/Juniper/ contrail- neutron- plugin/ commit/ 9d4e28b660fda09 bdf9e33357c6dad fd158fe4c3
https:/
Master: /github. com/Juniper/ contrail- neutron- plugin/ commit/ d9a854e9a08c6c1 5aee2ed95d99c65 f82b7e9899
https:/