senlin.policy.loadbalance fails when session_persistence not set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
senlin |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
type: senlin.
version: 1.1
properties:
availability_
pool:
protocol: HTTP
protocol_port: 80
subnet: $SUBNET
lb_method: LEAST_CONNECTIONS
admin_state_up: true
vip:
subnet: $SUBNET
protocol: HTTP
protocol_port: 80
admin_state_up: true
health_monitor:
type: HTTP
delay: 10
timeout: 5
max_retries: 3
admin_state_up: true
http_method: GET
url_path: /status.html
expected_codes: 200
lb_status_
fails with the following error
Traceback (most recent call last):
/senlin/
return func(driver, *args, **kwargs)
senlin/
if session_
KeyError: 'type'
when the following values not set
session_
type: HTTP_COOKIE
cookie_name: my_cookie
although the above options are not mandatory for creating a pool
Fix proposed to branch: master /review. opendev. org/c/openstack /senlin/ +/799335
Review: https:/