kolla_action == config is broken with octavia_auto_configure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Environment
~~~~~~~~~~
- release: stable/wallaby
- Host OS: CentOS 8 stream
- Containers: CentOS 8 Stream
Description
~~~~~~~~~~~~
I'm driving kolla-ansible with kayobe. I'm running the command:
kayobe# kayobe overcloud service configuration generate \
The command is failing on the task:
- Copying over octavia.conf
The error is:
- project_info is undefined
I believe the issue is that we are not running the tasks that collect the facts needed for the configuration generation to work. The tasks are contained within:
We could include this file during the config action. This creates a dependency on the kolla_toolbox container, but given that you need a functional cloud to create these resources in the first place (so you can reference them in the config file), I guess that is reasonable. It does mean that you can't generate the config before deploying the containers (if you have enabled octavia with auto-configure). It is possible to workaround this by skipping the octavia role completely or by setting octavia_
- octavia_
- octavia_
- octavia_
- octavia_
Changed in kolla-ansible: | |
status: | New → In Progress |
The kolla-ansible equivalent would be kolla-ansible genconfig:
https:/ /github. com/openstack/ kolla-ansible/ blob/63d72ea7e8 b1418ccdaddd45b 788ab98fb541c21 /tools/ kolla-ansible# L198
Which doesn't appear in the docs:
https:/ /docs.openstack .org/kolla- ansible/ latest/ user/operating- kolla.html# kolla-ansible- cli
But is documented in the help of the command itself.