Comment 3 for bug 2052520

Revision history for this message
Will Szumski (willjs) wrote (last edit ):

Are you overriding the inventory templates with:

# Custom overcloud inventory containing a mapping from components to top level
# groups.
#kolla_overcloud_inventory_custom_components:
kolla_overcloud_inventory_custom_components: "{{ lookup('template', kayobe_config_path ~ '/kolla/overcloud-components.j2') }}"

# Custom overcloud inventory containing a mapping from services to components.
kolla_overcloud_inventory_custom_services: "{{ lookup('template', kayobe_config_path ~ '/kolla/overcloud-services.j2') }}"

These variables are in etc/kayobe/kolla.yml and you take the originals from:

https://github.com/openstack/kayobe/tree/master/ansible/roles/kolla-ansible/templates

making sure to use the correct branch for your release. That is the most powerful way of modifying the generated kolla inventory, although you have to remember to update these files when you upgrade. We are looking at ways to more easily customise the inventory (so you don't have to copy the whole file).