kolla-ansible/docs/minimal-environment-vars.md
Daneyon Hansen ed107a5e26 Adds Neutron Agents Support
Previously, the agents ran in seperate containers. Since some of
the agents create and use network namespaces, runnning them in
seperate containers has become a challenge. This patch adds
neutron agent support in a single container.

Partially Implements: blueprint compute-operation-neutron

Change-Id: If4f893abd50d90b58e8435ec2659870dce36951c
2015-04-13 07:34:12 +00:00

5.7 KiB

Environment Variables

In order for each service to function, there is a minimum set of required variables that need to be plugged into the environment. Below is the list of variables that is needed for each service to run in a minimal setting.

Logging

DEBUG_LOGGING
VERBOSE_LOGGING
NOVA_LOG_DIR
NEUTRON_LOG_DIR
NOVA_API_LOG_FILE
NOVA_CONDUCTOR_LOG_FILE
NOVA_SCHEDULER_LOG_FILE
NOVA_COMPUTE_LOG_FILE
NEUTRON_SERVER_LOG_FILE
NEUTRON_L3_AGENT_LOG_FILE
NEUTRON_LINUXBRIDGE_AGENT_LOG_FILE
NEUTRON_METADATA_AGENT_LOG_FILE

Mariadb

MARIADB_SERVICE_HOST
MYSQL_ROOT_PASSWORD

Keystone

MYSQL_ROOT_PASSWORD
GLANCE_KEYSTONE_PASSWORD
GLANCE_KEYSTONE_USER
KEYSTONE_ADMIN_PASSWORD
KEYSTONE_ADMIN_SERVICE_PORT
KEYSTONE_ADMIN_TOKEN
KEYSTONE_AUTH_PROTOCOL
KEYSTONE_DB_PASSWORD
NOVA_KEYSTONE_PASSWORD
NOVA_KEYSTONE_USER
ADMIN_TENANT_NAME
DB_ROOT_PASSWORD
KEYSTONE_ADMIN_SERVICE_HOST
KEYSTONE_PUBLIC_SERVICE_HOST
MARIADB_SERVICE_HOST

Glance-api

MYSQL_ROOT_PASSWORD
GLANCE_KEYSTONE_PASSWORD
GLANCE_KEYSTONE_USER
GLANCE_DB_USER
GLANCE_DB_NAME
KEYSTONE_ADMIN_PASSWORD
KEYSTONE_ADMIN_SERVICE_PORT
KEYSTONE_ADMIN_TOKEN
KEYSTONE_AUTH_PROTOCOL
KEYSTONE_DB_PASSWORD
NOVA_KEYSTONE_PASSWORD
NOVA_KEYSTONE_USER
ADMIN_TENANT_NAME
DB_ROOT_PASSWORD
KEYSTONE_ADMIN_SERVICE_HOST
KEYSTONE_PUBLIC_SERVICE_HOST
MARIADB_SERVICE_HOST
GLANCE_REGISTRY_SERVICE_HOST
GLANCE_API_SERVICE_HOST
PUBLIC_IP

Glance-registry

MYSQL_ROOT_PASSWORD
GLANCE_KEYSTONE_PASSWORD
GLANCE_KEYSTONE_USER
GLANCE_DB_USER
GLANCE_DB_NAME
KEYSTONE_ADMIN_PASSWORD
KEYSTONE_ADMIN_SERVICE_PORT
KEYSTONE_ADMIN_TOKEN
KEYSTONE_AUTH_PROTOCOL
KEYSTONE_DB_PASSWORD
NOVA_KEYSTONE_PASSWORD
NOVA_KEYSTONE_USER
ADMIN_TENANT_NAME
DB_ROOT_PASSWORD
KEYSTONE_ADMIN_SERVICE_HOST
KEYSTONE_PUBLIC_SERVICE_HOST
MARIADB_SERVICE_HOST
GLANCE_REGISTRY_SERVICE_HOST
GLANCE_API_SERVICE_HOST
PUBLIC_IP

Nova-conductor

MYSQL_ROOT_PASSWORD
NOVA_KEYSTONE_PASSWORD
NOVA_KEYSTONE_USER
NOVA_DB_USER
NOVA_DB_NAME
KEYSTONE_ADMIN_PASSWORD
KEYSTONE_ADMIN_SERVICE_PORT
KEYSTONE_ADMIN_TOKEN
KEYSTONE_AUTH_PROTOCOL
KEYSTONE_DB_PASSWORD
ADMIN_TENANT_NAME
DB_ROOT_PASSWORD
MYSQL_ROOT_PASSWORD
NOVA_KEYSTONE_PASSWORD
NOVA_KEYSTONE_USER
NOVA_DB_USER
NOVA_DB_NAME
KEYSTONE_ADMIN_PASSWORD
KEYSTONE_ADMIN_SERVICE_PORT
KEYSTONE_ADMIN_TOKEN
KEYSTONE_AUTH_PROTOCOL
KEYSTONE_DB_PASSWORD
ADMIN_TENANT_NAME
DB_ROOT_PASSWORD
PUBLIC_INTERFACE
FLAT_INTERFACE
KEYSTONE_ADMIN_SERVICE_HOST
KEYSTONE_PUBLIC_SERVICE_HOST
MARIADB_SERVICE_HOST
RABBITMQ_SERVICE_HOST
GLANCE_API_SERVICE_HOST
NOVA_CONDUCTOR_SERVICE_HOST
NOVA_EC2_API_SERVICE_HOST
NOVA_EC2_SERVICE_HOST
PUBLIC_IP

Nova-api

MYSQL_ROOT_PASSWORD
NOVA_KEYSTONE_PASSWORD
NOVA_KEYSTONE_USER
NOVA_DB_USER
NOVA_DB_NAME
KEYSTONE_ADMIN_PASSWORD
KEYSTONE_ADMIN_SERVICE_PORT
KEYSTONE_ADMIN_TOKEN
KEYSTONE_AUTH_PROTOCOL
KEYSTONE_DB_PASSWORD
ADMIN_TENANT_NAME
DB_ROOT_PASSWORD
PUBLIC_INTERFACE
FLAT_INTERFACE
KEYSTONE_ADMIN_SERVICE_HOST
KEYSTONE_PUBLIC_SERVICE_HOST
MARIADB_SERVICE_HOST
RABBITMQ_SERVICE_HOST
GLANCE_API_SERVICE_HOST
NOVA_API_SERVICE_HOST
NOVA_EC2_API_SERVICE_HOST
NOVA_EC2_SERVICE_HOST
NOVA_METADATA_API_SERVICE_HOST
PUBLIC_IP

Nova-compute

MYSQL_ROOT_PASSWORD
NOVA_KEYSTONE_PASSWORD
NOVA_KEYSTONE_USER
NOVA_DB_USER
NOVA_DB_NAME
KEYSTONE_ADMIN_PASSWORD
KEYSTONE_ADMIN_SERVICE_PORT
KEYSTONE_ADMIN_TOKEN
KEYSTONE_AUTH_PROTOCOL
KEYSTONE_DB_PASSWORD
ADMIN_TENANT_NAME
DB_ROOT_PASSWORD
PUBLIC_INTERFACE
FLAT_INTERFACE
KEYSTONE_ADMIN_SERVICE_HOST
KEYSTONE_PUBLIC_SERVICE_HOST
MARIADB_SERVICE_HOST
RABBITMQ_SERVICE_HOST
GLANCE_API_SERVICE_HOST
NOVA_COMPUTE_SERVICE_HOST
NOVA_EC2_COMPUTE_SERVICE_HOST
NOVA_EC2_SERVICE_HOST
PUBLIC_IP

Nova-libvirt

None

Nova-scheduler

MYSQL_ROOT_PASSWORD
NOVA_KEYSTONE_PASSWORD
NOVA_KEYSTONE_USER
NOVA_DB_USER
NOVA_DB_NAME
KEYSTONE_ADMIN_PASSWORD
KEYSTONE_ADMIN_SERVICE_PORT
KEYSTONE_ADMIN_TOKEN
KEYSTONE_AUTH_PROTOCOL
KEYSTONE_DB_PASSWORD
ADMIN_TENANT_NAME
DB_ROOT_PASSWORD
PUBLIC_INTERFACE
FLAT_INTERFACE
KEYSTONE_ADMIN_SERVICE_HOST
KEYSTONE_PUBLIC_SERVICE_HOST
MARIADB_SERVICE_HOST
RABBITMQ_SERVICE_HOST
GLANCE_API_SERVICE_HOST
NOVA_SCHEDULER_SERVICE_HOST
NOVA_EC2_SCHEDULER_SERVICE_HOST
NOVA_EC2_SERVICE_HOST
PUBLIC_IP

Nova-network

MYSQL_ROOT_PASSWORD
NOVA_KEYSTONE_PASSWORD
NOVA_KEYSTONE_USER
NOVA_DB_USER
NOVA_DB_NAME
KEYSTONE_ADMIN_PASSWORD
KEYSTONE_ADMIN_SERVICE_PORT
KEYSTONE_ADMIN_TOKEN
KEYSTONE_AUTH_PROTOCOL
KEYSTONE_DB_PASSWORD
ADMIN_TENANT_NAME
DB_ROOT_PASSWORD
PUBLIC_INTERFACE
FLAT_INTERFACE
KEYSTONE_ADMIN_SERVICE_HOST
KEYSTONE_PUBLIC_SERVICE_HOST
MARIADB_SERVICE_HOST
RABBITMQ_SERVICE_HOST
GLANCE_API_SERVICE_HOST
NOVA_NETWORK_SERVICE_HOST
NOVA_EC2_NETWORK_SERVICE_HOST
NOVA_EC2_SERVICE_HOST
PUBLIC_IP

Neutron/Nova

NEUTRON_SHARED_SECRET

Neutron Server

NEUTRON_DB_NAME
NEUTRON_DB_USER
NEUTRON_DB_PASSWORD
NEUTRON_KEYSTONE_USER
NEUTRON_KEYSTONE_PASSWORD
NEUTRON_SERVER_SERVICE_HOST
NEUTRON_API_PASTE_CONFIG

Neutron ML2 PLugin

TYPE_DRIVERS
TENANT_NETWORK_TYPES
MECHANISM_DRIVERS

Neutron Linux Bridge Plugin

NEUTRON_FLAT_NETWORK_NAME
NEUTRON_FLAT_NETWORK_INTERFACE