osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Openstack] Octavia - Exception when creating loadbalancer pool


 Hello,

I am trying to set up a load balancer using openstack queens and octavia
2.0.2. I ran into the following error when I tried to create a pool. Any
help would be appreciated.

Thank you


Atom
'octavia.controller.worker.tasks.lifecycle_tasks.ListenersToErrorOnRevertTask'
{'intention': 'EXECUTE', 'state': 'SUCCESS', 'requires': {'listeners':
[<octavia.common.data_models.Listener object at 0x7f1494722390>],
'loadbalancer': <octavia.common.data_models.LoadBalancer object at
0x7f14947904d0>}, 'provides': None}
  |__Flow 'octavia-create-listener_flow': TemplateSyntaxError: expected
token 'end of statement block', got '.'
2018-11-16 16:29:20.102 20324 ERROR
octavia.controller.worker.controller_worker Traceback (most recent call
last):
2018-11-16 16:29:20.102 20324 ERROR
octavia.controller.worker.controller_worker   File
"/usr/lib/python2.7/dist-packages/taskflow/engines/action_engine/executor.py",
line 53, in _execute_task
2018-11-16 16:29:20.102 20324 ERROR
octavia.controller.worker.controller_worker     result =
task.execute(**arguments)
2018-11-16 16:29:20.102 20324 ERROR
octavia.controller.worker.controller_worker   File
"/usr/local/lib/python2.7/dist-packages/octavia/controller/worker/tasks/amphora_driver_tasks.py",
line 76, in execute
2018-11-16 16:29:20.102 20324 ERROR
octavia.controller.worker.controller_worker
self.amphora_driver.update(listener, loadbalancer.vip)
2018-11-16 16:29:20.102 20324 ERROR
octavia.controller.worker.controller_worker   File
"/usr/local/lib/python2.7/dist-packages/octavia/amphorae/drivers/haproxy/rest_api_driver.py",
line 115, in update
2018-11-16 16:29:20.102 20324 ERROR
octavia.controller.worker.controller_worker
user_group=CONF.haproxy_amphora.user_group)
2018-11-16 16:29:20.102 20324 ERROR
octavia.controller.worker.controller_worker   File
"/usr/local/lib/python2.7/dist-packages/octavia/common/jinja/haproxy/jinja_cfg.py",
line 101, in build_config
2018-11-16 16:29:20.102 20324 ERROR
octavia.controller.worker.controller_worker     socket_path=socket_path)
2018-11-16 16:29:20.102 20324 ERROR
octavia.controller.worker.controller_worker   File
"/usr/local/lib/python2.7/dist-packages/octavia/common/jinja/haproxy/jinja_cfg.py",
line 146, in render_loadbalancer_obj
2018-11-16 16:29:20.102 20324 ERROR
octavia.controller.worker.controller_worker     constants=constants)
2018-11-16 16:29:20.102 20324 ERROR
octavia.controller.worker.controller_worker   File
"/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 989, in
render
2018-11-16 16:29:20.102 20324 ERROR
octavia.controller.worker.controller_worker     return
self.environment.handle_exception(exc_info, True)
2018-11-16 16:29:20.102 20324 ERROR
octavia.controller.worker.controller_worker   File
"/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 754, in
handle_exception
2018-11-16 16:29:20.102 20324 ERROR
octavia.controller.worker.controller_worker     reraise(exc_type,
exc_value, tb)
2018-11-16 16:29:20.102 20324 ERROR
octavia.controller.worker.controller_worker   File
"/usr/local/lib/python2.7/dist-packages/octavia/common/jinja/haproxy/templates/base.j2",
line 32, in template
2018-11-16 16:29:20.102 20324 ERROR
octavia.controller.worker.controller_worker     {% set found_ns.found =
true %}
2018-11-16 16:29:20.102 20324 ERROR
octavia.controller.worker.controller_worker TemplateSyntaxError: expected
token 'end of statement block', got '.'
2018-11-16 16:29:20.102 20324 ERROR
octavia.controller.worker.controller_worker


-- 
M. Ranganathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20181116/28f2d1e2/attachment.html>