LbaasV2 session_persistence: Create and update
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-neutronclient |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When we create a Lbaas pool with session persistence it configured OK
neutron lbaas-pool-create --session-
Created a new pool:
+------
| Field | Value |
+------
| admin_state_up | True |
| description | |
| healthmonitor_id | |
| id | a626dc28-
| lb_algorithm | LEAST_CONNECTIONS |
| listeners | {"id": "4658a507-
| members | |
| name | |
| protocol | HTTP |
| session_persistence | {"cookie_name": null, "type": "HTTP_COOKIE"} |
| tenant_id | ae0954b9cf0c438
BUT, when we create a pool without session persistence and update it to do session persistence, the action is different and not user friendly.
[root@puma09 ~(keystone_
Created a new pool:
+------
| Field | Value |
+------
| admin_state_up | True |
| description | |
| healthmonitor_id | |
| id | b9048a69-
| lb_algorithm | LEAST_CONNECTIONS |
| listeners | {"id": "4658a507-
| members | |
| name | |
| protocol | HTTP |
| session_persistence | |
| tenant_id | ae0954b9cf0c438
+------
[root@puma09 ~(keystone_
name 'HTTP_COOKIE' is not defined
[root@puma09 ~(keystone_
we need to configure it in the following way-
neutron lbaas-pool-update b9048a69-
Updated pool: b9048a69-
The config and update should be done in same way.
Kilo+ rhel 7.1
openstack-
python-
openstack-
python-
openstack-
python-
openstack-
python-
openstack-
openstack-
Changed in neutron: | |
assignee: | nobody → yaowei (yaowei) |
Changed in neutron: | |
assignee: | yaowei (yaowei) → nobody |
Changed in neutron: | |
assignee: | nobody → zhaobo (zhaobo6) |
affects: | neutron → python-neutronclient |
I'm not sure if this neutron issue or python- neutronclient issue