Skip to content
Snippets Groups Projects
  • Jim Rollenhagen's avatar
    a819ef12
    Allow glance services to use independent hostnames · a819ef12
    Jim Rollenhagen authored
    This allows glance service endpoints to use custom hostnames, and adds the
    following variables:
    
    * glance_internal_fqdn
    * glance_external_fqdn
    
    These default to the old values of kolla_internal_fqdn or
    kolla_external_fqdn.
    
    This also adds a glance_api_listen_port option, which defaults to
    glance_api_port for backward compatibility.
    
    This option allow the user to differentiate between the port the
    service listens on, and the port the service is reachable on. This is
    useful for external load balancers which live on the same host as the
    service itself.
    
    Change-Id: Icb91f728533e2db1908b23dabb0501cf9f8a2b75
    Implements: blueprint service-hostnames
    a819ef12
    History
    Allow glance services to use independent hostnames
    Jim Rollenhagen authored
    This allows glance service endpoints to use custom hostnames, and adds the
    following variables:
    
    * glance_internal_fqdn
    * glance_external_fqdn
    
    These default to the old values of kolla_internal_fqdn or
    kolla_external_fqdn.
    
    This also adds a glance_api_listen_port option, which defaults to
    glance_api_port for backward compatibility.
    
    This option allow the user to differentiate between the port the
    service listens on, and the port the service is reachable on. This is
    useful for external load balancers which live on the same host as the
    service itself.
    
    Change-Id: Icb91f728533e2db1908b23dabb0501cf9f8a2b75
    Implements: blueprint service-hostnames
all.yml 30.48 KiB
---
# The options in this file can be overridden in 'globals.yml'

# The "temp" files that are created before merge need to stay persistent due
# to the fact that ansible will register a "change" if it has to create them
# again. Persistent files allow for idempotency
container_config_directory: "/var/lib/kolla/config_files"

# The directory on the deploy host containing globals.yml.
node_config: "{{ CONFIG_DIR | default('/etc/kolla') }}"

# The directory to merge custom config files the kolla's config files
node_custom_config: "/etc/kolla/config"

# The project to generate configuration files for
project: ""

# The directory to store the config files on the destination node
node_config_directory: "/etc/kolla/{{ project }}"

# The group which own node_config_directory, you can use a non-root
# user to deploy kolla
config_owner_user: "root"
config_owner_group: "root"


###################
# Kolla options
###################
# Valid options are [ COPY_ONCE, COPY_ALWAYS ]
config_strategy: "COPY_ALWAYS"

# Valid options are ['centos', 'debian', 'oraclelinux', 'rhel', 'ubuntu']
kolla_base_distro: "centos"
# Valid options are [ binary, source ]
kolla_install_type: "binary"

kolla_internal_vip_address: "{{ kolla_internal_address }}"
kolla_internal_fqdn: "{{ kolla_internal_vip_address }}"
kolla_external_vip_address: "{{ kolla_internal_vip_address }}"
kolla_external_fqdn: "{{ kolla_internal_fqdn if kolla_external_vip_address == kolla_internal_vip_address else kolla_external_vip_address }}"

kolla_enable_sanity_checks: "no"

kolla_enable_sanity_barbican: "{{ kolla_enable_sanity_checks }}"
kolla_enable_sanity_keystone: "{{ kolla_enable_sanity_checks }}"
kolla_enable_sanity_glance: "{{ kolla_enable_sanity_checks }}"
kolla_enable_sanity_cinder: "{{ kolla_enable_sanity_checks }}"
kolla_enable_sanity_swift: "{{ kolla_enable_sanity_checks }}"

kolla_dev_repos_directory: "/opt/stack/"
kolla_dev_repos_git: "https://git.openstack.org/openstack"
kolla_dev_repos_pull: "no"
kolla_dev_mode: "no"
kolla_source_version: "master"

# Proxy settings for containers such as magnum that need internet access
container_http_proxy: ""
container_https_proxy: ""
container_no_proxy: "localhost,127.0.0.1"

container_proxy:
  http_proxy: "{{ container_http_proxy }}"
  https_proxy: "{{ container_https_proxy }}"
  no_proxy: "{{ container_no_proxy }},{{ api_interface_address }},{{ kolla_internal_vip_address }}"

# By default, Kolla API services bind to the network address assigned
# to the api_interface.  Allow the bind address to be an override.
api_interface_address: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}"