<div dir="ltr"><div dir="ltr"><div>This seems to be a dependency bug that was addressed here:</div><div><br></div><div><a href="https://bugzilla.redhat.com/show_bug.cgi?id=1551821">https://bugzilla.redhat.com/show_bug.cgi?id=1551821</a></div><div><br></div><div>Updating to jinja 2.10 as recommended fixed the issue.</div><div><br></div><div>Ranga<br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Nov 16, 2018 at 6:40 PM M. Ranganathan <<a href="mailto:mranga@gmail.com">mranga@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div> Hello,</div><div><br></div><div>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.<br></div><div dir="ltr"><br></div><div>Thank you<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">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}<br> |__Flow 'octavia-create-listener_flow': TemplateSyntaxError: expected token 'end of statement block', got '.'<br>2018-11-16 16:29:20.102 20324 ERROR octavia.controller.worker.controller_worker Traceback (most recent call last):<br>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<br>2018-11-16 16:29:20.102 20324 ERROR octavia.controller.worker.controller_worker result = task.execute(**arguments)<br>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<br>2018-11-16 16:29:20.102 20324 ERROR octavia.controller.worker.controller_worker self.amphora_driver.update(listener, loadbalancer.vip)<br>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<br>2018-11-16 16:29:20.102 20324 ERROR octavia.controller.worker.controller_worker user_group=CONF.haproxy_amphora.user_group)<br>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<br>2018-11-16 16:29:20.102 20324 ERROR octavia.controller.worker.controller_worker socket_path=socket_path)<br>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<br>2018-11-16 16:29:20.102 20324 ERROR octavia.controller.worker.controller_worker constants=constants)<br>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<br>2018-11-16 16:29:20.102 20324 ERROR octavia.controller.worker.controller_worker return self.environment.handle_exception(exc_info, True)<br>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<br>2018-11-16 16:29:20.102 20324 ERROR octavia.controller.worker.controller_worker reraise(exc_type, exc_value, tb)<br>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<br>2018-11-16 16:29:20.102 20324 ERROR octavia.controller.worker.controller_worker {% set found_ns.found = true %}<br>2018-11-16 16:29:20.102 20324 ERROR octavia.controller.worker.controller_worker TemplateSyntaxError: expected token 'end of statement block', got '.'<br>2018-11-16 16:29:20.102 20324 ERROR octavia.controller.worker.controller_worker<br><br clear="all"><br>-- <br><div dir="ltr" class="m_-6451495704395728808gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>M. Ranganathan <br><br></div></div></div></div></div></div></div></div></div></div></div></div></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>M. Ranganathan <br><br></div></div></div></div></div></div></div></div></div></div></div>