kolla ansible octavia deployment on existing openstack xena
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
New
|
Undecided
|
Unassigned |
Bug Description
I was trying to add octavia on my openstack xena and the installation errored with the following. I'm using ubuntu images on ubuntu servers.
[WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{item.enabled | bool}}
fatal: [controller1 -> {{ groups[
MSG:
The conditional check '{{item.enabled | bool}}' failed. The error was: error while evaluating conditional ({{item.enabled | bool}}): 'dict object' has no attribute 'enabled'
The error appears to be in '/home/
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- name: Create security groups for octavia
^ here
+1 for yoga
When you add an enabled: "true" to the config in globals.yml it will continue. I assume this check has been added unintentional or the documentation/ example is just incomplete.
--- cut ---
octavia_ amp_security_ groups: amp_listen_ port }}" amp_listen_ port }}"
mgmt-sec-grp:
enabled: "true"
name: "lb-mgmt-sec-grp"
rules:
- protocol: icmp
- protocol: tcp
src_port: 22
dst_port: 22
- protocol: tcp
src_port: "{{ octavia_
dst_port: "{{ octavia_
--- cut ---