How didin2003/kolla-ansible works
Kolla Ansible deploys and operates OpenStack clouds and supporting infrastructure in containers. The main workflow is an operator invoking a CLI action, which selects and runs Ansible playbooks; Ansible modules then manage containers through Docker or Podman and systemd support. The README documents a broad service catalog, but playbooks and role implementations are not present in this tree, so those deployment details are represented at a high level. The graph also includes configuration filters and password utilities; links among unsampled subsystems are omitted where evidence is unavailable.
Main entry points: kolla_container_worker.py Container worker · kolla_container.py Container module · address.py Address filter plugin · kolla_docker_worker.py Docker worker
Components 34
CLI orchestration
- Command actions
kolla_ansible/cli/commands.py - Playbook runner
kolla_ansible/ansible.py
Container runtime
- Container module
ansible/library/kolla_container.py - Container facts
ansible/library/kolla_container_facts.py - Toolbox module
ansible/library/kolla_toolbox.py - Container worker
ansible/module_utils/kolla_container_worker.py - Docker worker
ansible/module_utils/kolla_docker_worker.py - Podman worker
ansible/module_utils/kolla_podman_worker.py - Systemd worker
ansible/module_utils/kolla_systemd_worker.py
Ansible extensions
- Service filters
kolla_ansible/filters.py - Service filter plugin
ansible/filter_plugins/services.py - Address filters
kolla_ansible/kolla_address.py - URL filters
kolla_ansible/kolla_url.py - Address formatting
kolla_ansible/put_address_in_context.py - Address filter plugin
ansible/filter_plugins/address.py - Database shard filter
kolla_ansible/database_shards.py - Database filter plugin
ansible/filter_plugins/database.py - Nova filters
kolla_ansible/nova_filters.py - Nova filter plugin
ansible/roles/nova-cell/filter_plugins/kolla_nova_cell_filters.py - Fluentd filters
kolla_ansible/fluentd_filters.py - Fluentd filter plugin
ansible/roles/fluentd/filter_plugins/kolla_common_filters.py - Config merge action
ansible/action_plugins/merge_configs.py - YAML merge action
ansible/action_plugins/merge_yaml.py
Password utilities
- Password commands
kolla_ansible/cmd/genpwd.py - Vault helpers
kolla_ansible/hashi_vault.py - Read passwords
kolla_ansible/cmd/readpwd.py - Write passwords
kolla_ansible/cmd/writepwd.py - Merge passwords
kolla_ansible/cmd/mergepwd.py
Deployment scope
- Ansible deployment
- OpenStack services
Other components
- Cloud operator
- Ansible
- Container engines
- systemd
Connections 23
- Cloud operator → Command actions: invokes
kolla_ansible/cli/commands.py - Command actions → Playbook runner: runs playbooks
kolla_ansible/cli/commands.py - Playbook runner → Ansible: executes
kolla_ansible/ansible.py - Container module → Container worker: delegates
ansible/library/kolla_container.py - Container module → Docker worker: dispatches
ansible/library/kolla_container.py - Container module → Podman worker: dispatches
ansible/library/kolla_container.py - Container worker → Systemd worker: uses
ansible/module_utils/kolla_container_worker.py - Docker worker → Container worker: extends
ansible/module_utils/kolla_docker_worker.py - Podman worker → Container worker: extends
ansible/module_utils/kolla_podman_worker.py - Docker worker → Container engines: manages
- Podman worker → Container engines: manages
- Systemd worker → systemd: controls
ansible/module_utils/kolla_systemd_worker.py - Service filter plugin → Service filters: registers
ansible/filter_plugins/services.py - Address filter plugin → Address filters: registers
ansible/filter_plugins/address.py - Address filter plugin → URL filters: registers
ansible/filter_plugins/address.py - Address filter plugin → Address formatting: registers
ansible/filter_plugins/address.py - Database filter plugin → Database shard filter: registers
ansible/filter_plugins/database.py - Nova filter plugin → Nova filters: registers
ansible/roles/nova-cell/filter_plugins/kolla_nova_cell_filters.py - Fluentd filter plugin → Fluentd filters: registers
ansible/roles/fluentd/filter_plugins/kolla_common_filters.py - Read passwords → Vault helpers: uses
kolla_ansible/cmd/readpwd.py - Write passwords → Vault helpers: uses
kolla_ansible/cmd/writepwd.py - Ansible → Ansible deployment: applies playbooks
- Ansible deployment → OpenStack services: deploys
README.rst