Skip to content
Snippets Groups Projects
  • Mark Goddard's avatar
    4acbf528
    Untangle configuration of kolla and kolla-ansible · 4acbf528
    Mark Goddard authored
    Kolla (container images) and kolla-ansible (container deployment) are
    separate concerns, and should be treated as such. Configuration
    variables have been added for kolla-ansible which were previously shared
    between the two projects:
    
    kolla_venv -> kolla_ansible_venv
    kolla_ctl_install_type -> kolla_ansible_ctl_install_type
    
    Also, we introduce specific variables for the source code repository
    checkout paths, which were previously both based on
    source_checkout_path:
    
    kolla_source_path
    kolla_ansible_source_path
    
    These changes help us to cleanly separate the configuration of paths on
    the local (Ansible control) host, from those on the managed (target)
    hosts. This is important because the local paths may be specific to the
    environment in which the user is running kayobe, but the remote paths
    are relatively fixed and specific to the cluster.
    4acbf528
    History
    Untangle configuration of kolla and kolla-ansible
    Mark Goddard authored
    Kolla (container images) and kolla-ansible (container deployment) are
    separate concerns, and should be treated as such. Configuration
    variables have been added for kolla-ansible which were previously shared
    between the two projects:
    
    kolla_venv -> kolla_ansible_venv
    kolla_ctl_install_type -> kolla_ansible_ctl_install_type
    
    Also, we introduce specific variables for the source code repository
    checkout paths, which were previously both based on
    source_checkout_path:
    
    kolla_source_path
    kolla_ansible_source_path
    
    These changes help us to cleanly separate the configuration of paths on
    the local (Ansible control) host, from those on the managed (target)
    hosts. This is important because the local paths may be specific to the
    environment in which the user is running kayobe, but the remote paths
    are relatively fixed and specific to the cluster.
kolla-ansible.rst 1.43 KiB

Kolla-ansible Configuration

Kayobe relies heavily on kolla-ansible for deployment of the OpenStack control plane. Kolla-ansible is installed locally on the ansible control host (the host from which kayobe commands are executed), and kolla-ansible commands are executed from there.

Local Environment

Environment variables are used to configure the environment in which kolla-ansible is installed and executed.

Kolla-ansible environment variables
Variable Purpose Default
$KOLLA_CONFIG_PATH Path on the ansible control host in which the kolla-ansible configuration will be generated. /etc/kolla
$KOLLA_SOURCE_PATH Path on the ansible control host in which the kolla-ansible source code will be cloned. $PWD/src/kolla-ansible
$KOLLA_VENV_PATH Path on the ansible control host in which the kolla-ansible virtualenv will be created. $PWD/venvs/kolla-ansible