kolla-ansible/docs/minimal-environment-vars.md
James McCarthy 5e28eb8496 Implement Swift Containers
Known bugs/TODOs at this time of this patch update:

https://bugs.launchpad.net/kolla/+bug/1477990
https://bugs.launchpad.net/kolla/+bug/1477993

Implements: Blueprint swift-container
Closes-bug: #1477992
Co-Authored-By: Paul Bourke <paul.bourke@oracle.com>
Change-Id: I031f88a7cd1867104fef12df6ab3ffcc06cb65d6
2015-07-31 09:36:11 +00:00

13 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.

Barbican

BARBICAN_ADMIN_PASSWORD
KEYSTONE_ADMIN_SERVICE_HOST
KEYSTONE_ADMIN_SERVICE_PORT
KEYSTONE_ADMIN_TOKEN

Ceilometer-alarm

None

Ceilometer-api

ADMIN_TENANT_NAME
CEILOMETER_ADMIN_PASSWORD
CEILOMETER_API_SERVICE_HOST
CEILOMETER_DB_NAME
CEILOMETER_DB_PASSWORD
CEILOMETER_DB_USER
CEILOMETER_KEYSTONE_USER
KEYSTONE_ADMIN_SERVICE_HOST
KEYSTONE_ADMIN_SERVICE_PORT
KEYSTONE_ADMIN_TOKEN
KEYSTONE_AUTH_PROTOCOL
PUBLIC_IP

Ceilometer-base

KEYSTONE_ADMIN_SERVICE_HOST
KEYSTONE_ADMIN_SERVICE_PORT
KEYSTONE_ADMIN_TOKEN
KEYSTONE_PUBLIC_SERVICE_HOST

Ceilometer-central

KEYSTONE_ADMIN_SERVICE_HOST
KEYSTONE_ADMIN_SERVICE_PORT
KEYSTONE_ADMIN_TOKEN
KEYSTONE_AUTH_PROTOCOL

Ceilometer-collector

None

Ceilometer-compute

KEYSTONE_ADMIN_TOKEN
RABBITMQ_SERVICE_HOST
RABBIT_PASSWORD

Ceilometer-notification

None

Cinder-api

ADMIN_TENANT_NAME
CINDER_API_SERVICE_HOST
CINDER_API_SERVICE_LISTEN
CINDER_API_SERVICE_PORT
CINDER_KEYSTONE_PASSWORD
CINDER_KEYSTONE_USER
KEYSTONE_ADMIN_SERVICE_HOST
KEYSTONE_ADMIN_SERVICE_PORT
KEYSTONE_ADMIN_TOKEN
KEYSTONE_AUTH_PROTOCOL
PUBLIC_IP

Cinder-backup

CINDER_BACKUP_API_CLASS
CINDER_BACKUP_DRIVER
CINDER_BACKUP_MANAGER
CINDER_BACKUP_NAME_TEMPLATE

Cinder-base

ADMIN_TENANT_NAME
CINDER_API_VERSION
CINDER_DB_NAME
CINDER_DB_PASSWORD
CINDER_DB_USER
CINDER_KEYSTONE_PASSWORD
CINDER_KEYSTONE_USER
GLANCE_API_SERVICE_HOST
GLANCE_API_SERVICE_PORT
KEYSTONE_AUTH_PROTOCOL
KEYSTONE_PUBLIC_SERVICE_HOST
MARIADB_SERVICE_HOST
PUBLIC_IP
RABBITMQ_SERVICE_HOST
RABBITMQ_SERVICE_PORT
RABBIT_PASSWORD
RABBIT_USERID

Cinder-scheduler

CINDER_DB_NAME
CINDER_DB_PASSWORD
CINDER_DB_USER
DB_ROOT_PASSWORD
INIT_CINDER_DB
MARIADB_SERVICE_HOST

Cinder-volume

CINDER_ENABLED_BACKEND
CINDER_LVM_LO_VOLUME_SIZE
CINDER_VOLUME_API_LISTEN
CINDER_VOLUME_BACKEND_NAME
CINDER_VOLUME_DRIVER
CINDER_VOLUME_GROUP
ISCSI_HELPER
ISCSI_IP_ADDRESS

Designate-api

ADMIN_TENANT_NAME
DESIGNATE_API_SERVICE_HOST
DESIGNATE_API_SERVICE_PORT
DESIGNATE_KEYSTONE_PASSWORD
DESIGNATE_KEYSTONE_USER
KEYSTONE_ADMIN_SERVICE_HOST
KEYSTONE_ADMIN_SERVICE_PORT
KEYSTONE_ADMIN_TOKEN
KEYSTONE_AUTH_PROTOCOL

Designate-backend-bind9

DESIGNATE_ALLOW_RECURSION
DESIGNATE_BIND9_RNDC_KEY
DESIGNATE_MASTERNS
DESIGNATE_SLAVENS

Designate-base

DEBUG_LOGGING
DESIGNATE_BACKEND
DESIGNATE_BIND9_RNDC_KEY
DESIGNATE_DB_NAME
DESIGNATE_DB_PASSWORD
DESIGNATE_DB_USER
DESIGNATE_KEYSTONE_PASSWORD
DESIGNATE_KEYSTONE_USER
DESIGNATE_POOLMAN_POOLID
KEYSTONE_ADMIN_SERVICE_HOST
KEYSTONE_ADMIN_SERVICE_PORT
KEYSTONE_AUTH_PROTOCOL
KEYSTONE_PUBLIC_SERVICE_HOST
KEYSTONE_PUBLIC_SERVICE_PORT
RABBITMQ_SERVICE_HOST
RABBIT_PASSWORD
RABBIT_USERID

Designate-central

DB_ROOT_PASSWORD
DESIGNATE_DB_NAME
DESIGNATE_DB_PASSWORD
DESIGNATE_DB_USER
INIT_DESIGNATE_DB
MARIADB_SERVICE_HOST

Designate-mdns

DESIGNATE_MASTERNS
DESIGNATE_MDNS_PORT

Designate-poolmanager

DESIGNATE_BACKEND
DESIGNATE_DNS_PORT
DESIGNATE_MASTERNS
DESIGNATE_MDNS_PORT
DESIGNATE_POOLMAN_NSS
DESIGNATE_POOLMAN_POOLID
DESIGNATE_POOLMAN_TARGETS
DESIGNATE_SLAVENS

Designate-sink

DESIGNATE_API_SERVICE_HOST
DESIGNATE_API_SERVICE_PORT
DESIGNATE_DEFAULT_POOL_NS_RECORD

Galera

DB_CLUSTER_BIND_ADDRESS
DB_CLUSTER_INIT_DB
DB_CLUSTER_NAME
DB_CLUSTER_NODES
DB_CLUSTER_WSREP_METHOD
DB_ROOT_PASSWORD

Glance-api

ADMIN_TENANT_NAME
GLANCE_API_SERVICE_HOST
GLANCE_KEYSTONE_PASSWORD
GLANCE_KEYSTONE_USER
GLANCE_REGISTRY_SERVICE_HOST
KEYSTONE_ADMIN_SERVICE_HOST
KEYSTONE_ADMIN_SERVICE_PORT
KEYSTONE_ADMIN_TOKEN
KEYSTONE_AUTH_PROTOCOL
PUBLIC_IP
RABBITMQ_SERVICE_HOST

Glance-base

ADMIN_TENANT_NAME
GLANCE_DB_NAME
GLANCE_DB_PASSWORD
GLANCE_DB_USER
GLANCE_KEYSTONE_PASSWORD
GLANCE_KEYSTONE_USER
KEYSTONE_PUBLIC_SERVICE_HOST
MARIADB_SERVICE_HOST

Glance-registry

DB_ROOT_PASSWORD
GLANCE_DB_NAME
GLANCE_DB_PASSWORD
GLANCE_DB_USER
MARIADB_SERVICE_HOST

Gnocchi-api

ADMIN_TENANT_NAME
GNOCCHI_ADMIN_PASSWORD
GNOCCHI_API_SERVICE_HOST
GNOCCHI_ARCHIVE_POLICY
GNOCCHI_DB_NAME
GNOCCHI_DB_PASSWORD
GNOCCHI_DB_USER
GNOCCHI_KEYSTONE_USER
GNOCCHI_SERVICE_PORT
GNOCCHI_SERVICE_PROTOCOL
GNOCCHI_STORAGE_BACKEND
KEYSTONE_ADMIN_SERVICE_HOST
KEYSTONE_ADMIN_SERVICE_PORT
KEYSTONE_ADMIN_TOKEN
KEYSTONE_AUTH_PROTOCOL

Gnocchi-base

GNOCCHI_DATA_DIR
GNOCCHI_SERVICE_PORT
GNOCCHI_STORAGE_BACKEND
KEYSTONE_ADMIN_SERVICE_HOST
KEYSTONE_ADMIN_SERVICE_PORT
KEYSTONE_ADMIN_TOKEN
KEYSTONE_PUBLIC_SERVICE_HOST

Gnocchi-statsd

None

Haproxy

None

Heat-api-cfn

ADMIN_TENANT_NAME
HEAT_API_CFN_SERVICE_HOST
HEAT_API_CFN_SERVICE_PORT
HEAT_CFN_KEYSTONE_PASSWORD
HEAT_CFN_KEYSTONE_USER
KEYSTONE_ADMIN_SERVICE_HOST
KEYSTONE_ADMIN_SERVICE_PORT
KEYSTONE_ADMIN_TOKEN
KEYSTONE_AUTH_PROTOCOL

Heat-api

ADMIN_TENANT_NAME
HEAT_API_SERVICE_HOST
HEAT_KEYSTONE_PASSWORD
HEAT_KEYSTONE_USER
KEYSTONE_ADMIN_SERVICE_HOST
KEYSTONE_ADMIN_TOKEN
KEYSTONE_AUTH_PROTOCOL
PUBLIC_IP

Heat-base

HEAT_API_CFN_SERVICE_PORT
HEAT_API_CFN_URL_HOST
HEAT_DB_PASSWORD
HEAT_DOMAIN_PASS
HEAT_KEYSTONE_PASSWORD
KEYSTONE_PUBLIC_SERVICE_HOST
KEYSTONE_PUBLIC_SERVICE_PORT
MARIADB_SERVICE_HOST
RABBITMQ_SERVICE_HOST

Heat-engine

HEAT_DB_NAME
HEAT_DB_PASSWORD
HEAT_DB_USER
HEAT_DOMAIN_PASS
INIT_HEAT_DB

Horizon

None

Keepalived

KEEPALIVED_HOST_PRIORITIES
PUBLIC_INTERFACE
PUBLIC_IP

Keystone

ADMIN_TENANT_NAME
INIT_KEYSTONE_DB
KEYSTONE_ADMIN_PASSWORD
KEYSTONE_ADMIN_SERVICE_HOST
KEYSTONE_ADMIN_TOKEN
KEYSTONE_DB_PASSWORD
KEYSTONE_PUBLIC_SERVICE_HOST
PUBLIC_IP

Magnum-api

ADMIN_TENANT_NAME
KEYSTONE_ADMIN_SERVICE_HOST
KEYSTONE_ADMIN_SERVICE_PORT
KEYSTONE_ADMIN_TOKEN
KEYSTONE_AUTH_PROTOCOL
MAGNUM_API_SERVICE_HOST
MAGNUM_API_SERVICE_PORT
MAGNUM_KEYSTONE_PASSWORD
MAGNUM_KEYSTONE_USER

Magnum-base

ADMIN_TENANT_NAME
DEBUG_LOGGING
KEYSTONE_AUTH_PROTOCOL
KEYSTONE_PUBLIC_SERVICE_HOST
KEYSTONE_PUBLIC_SERVICE_PORT
MAGNUM_DB_NAME
MAGNUM_DB_PASSWORD
MAGNUM_DB_USER
MAGNUM_KEYSTONE_PASSWORD
MAGNUM_KEYSTONE_USER
RABBITMQ_SERVICE_HOST
VERBOSE_LOGGING

Magnum-conductor

MAGNUM_DB_NAME
MAGNUM_DB_PASSWORD
MAGNUM_DB_USER

Mariadb

None

Memcached

None

Mongodb

None

Neutron-agents

ADMIN_TENANT_NAME
DEBUG_LOGGING
DELETE_NAMESPACES
DHCP_DRIVER
DNSMASQ_CONFIG_FILE
KEYSTONE_AUTH_PROTOCOL
KEYSTONE_PUBLIC_SERVICE_HOST
MECHANISM_DRIVERS
NEUTRON_KEYSTONE_PASSWORD
NEUTRON_KEYSTONE_USER
NEUTRON_LOG_DIR
NEUTRON_SHARED_SECRET
NOVA_METADATA_API_SERVICE_HOST
NOVA_METADATA_API_SERVICE_PORT
USE_NAMESPACES
VERBOSE_LOGGING

Neutron-base

KEYSTONE_PUBLIC_SERVICE_HOST
NEUTRON_API_PASTE_CONFIG
NEUTRON_KEYSTONE_PASSWORD
RABBITMQ_SERVICE_HOST

Neutron-linuxbridge-agent

NEUTRON_FLAT_NETWORK_INTERFACE
NEUTRON_FLAT_NETWORK_NAME
PUBLIC_IP

Neutron-openvswitch-agent

NEUTRON_FLAT_NETWORK_INTERFACE
NEUTRON_FLAT_NETWORK_NAME
PUBLIC_IP

Neutron-server

ADMIN_TENANT_NAME
KEYSTONE_ADMIN_SERVICE_HOST
KEYSTONE_ADMIN_TOKEN
KEYSTONE_AUTH_PROTOCOL
NEUTRON_DB_NAME
NEUTRON_DB_PASSWORD
NEUTRON_DB_USER
NEUTRON_KEYSTONE_PASSWORD
NEUTRON_KEYSTONE_USER
NEUTRON_SERVER_SERVICE_HOST
NOVA_API_SERVICE_HOST
NOVA_KEYSTONE_PASSWORD
NOVA_KEYSTONE_USER
PUBLIC_IP

Nova-api

ADMIN_TENANT_NAME
KEYSTONE_ADMIN_SERVICE_HOST
KEYSTONE_ADMIN_TOKEN
NOVA_API_SERVICE_HOST
NOVA_DB_NAME
NOVA_EC2_API_SERVICE_HOST
NOVA_KEYSTONE_PASSWORD
NOVA_KEYSTONE_USER
PUBLIC_IP

Nova-base

DEBUG_LOGGING
FLAT_INTERFACE
GLANCE_API_SERVICE_HOST
KEYSTONE_ADMIN_TOKEN
KEYSTONE_PUBLIC_SERVICE_HOST
NOVA_DB_PASSWORD
PUBLIC_INTERFACE
PUBLIC_IP
RABBITMQ_SERVICE_HOST
VERBOSE_LOGGING

Nova-compute

NOVA_NOVNC_BASE_ADDRESS
NOVA_NOVNC_PROXY_PORT
NOVA_VNCSERVER_PROXYCLIENT_ADDRESS

Nova-conductor

INIT_NOVA_DB
NOVA_DB_NAME
NOVA_DB_PASSWORD
NOVA_DB_USER

Nova-consoleauth

None

Nova-libvirt

None

Nova-network

None

Nova-novncproxy

NOVA_NOVNC_BASE_ADDRESS
NOVA_NOVNC_PROXY_PORT
NOVA_NOVNC_PROXY_SERVICE_HOST
NOVA_VNCSERVER_LISTEN_ADDRESS
NOVA_VNCSERVER_PROXYCLIENT_ADDRESS
PUBLIC_IP

Nova-scheduler

NOVA_DB_NAME

Ovs-base

None

Ovs-db-server

OVS_DB_FILE
OVS_UNIXSOCK

Ovs-vswitchd

OVS_UNIXSOCK

Rabbitmq

RABBITMQ_PASS
RABBITMQ_USER

Swift-account-server

SWIFT_ACCOUNT_SVC_BIND_IP
SWIFT_ACCOUNT_SVC_BIND_PORT
SWIFT_ACCOUNT_SVC_DEVICES
SWIFT_ACCOUNT_SVC_MOUNT_CHECK
SWIFT_ACCOUNT_SVC_RING_DEVICES
SWIFT_ACCOUNT_SVC_RING_HOSTS
SWIFT_ACCOUNT_SVC_RING_MIN_PART_HOURS
SWIFT_ACCOUNT_SVC_RING_NAME
SWIFT_ACCOUNT_SVC_RING_PART_POWER
SWIFT_ACCOUNT_SVC_RING_REPLICAS
SWIFT_ACCOUNT_SVC_RING_WEIGHTS
SWIFT_ACCOUNT_SVC_RING_ZONES
SWIFT_DIR
SWIFT_USER

Swift-base

SWIFT_HASH_PATH_SUFFIX

Swift-container-server

SWIFT_CONTAINER_SVC_BIND_IP
SWIFT_CONTAINER_SVC_BIND_PORT
SWIFT_CONTAINER_SVC_DEVICES
SWIFT_CONTAINER_SVC_MOUNT_CHECK
SWIFT_CONTAINER_SVC_RING_DEVICES
SWIFT_CONTAINER_SVC_RING_HOSTS
SWIFT_CONTAINER_SVC_RING_MIN_PART_HOURS
SWIFT_CONTAINER_SVC_RING_NAME
SWIFT_CONTAINER_SVC_RING_PART_POWER
SWIFT_CONTAINER_SVC_RING_REPLICAS
SWIFT_CONTAINER_SVC_RING_WEIGHTS
SWIFT_CONTAINER_SVC_RING_ZONES
SWIFT_DIR
SWIFT_USER

Swift-object-auditor

None

Swift-object-base

SWIFT_CONTAINER_SVC_RING_DEVICES
SWIFT_CONTAINER_SVC_RING_HOSTS
SWIFT_CONTAINER_SVC_RING_MIN_PART_HOURS
SWIFT_CONTAINER_SVC_RING_NAME
SWIFT_CONTAINER_SVC_RING_PART_POWER
SWIFT_CONTAINER_SVC_RING_REPLICAS
SWIFT_CONTAINER_SVC_RING_WEIGHTS
SWIFT_CONTAINER_SVC_RING_ZONES
SWIFT_DIR
SWIFT_OBJECT_SVC_BIND_IP
SWIFT_OBJECT_SVC_BIND_PORT
SWIFT_OBJECT_SVC_DEVICES
SWIFT_OBJECT_SVC_MOUNT_CHECK
SWIFT_OBJECT_SVC_PIPELINE
SWIFT_OBJECT_SVC_RING_DEVICES
SWIFT_OBJECT_SVC_RING_HOSTS
SWIFT_OBJECT_SVC_RING_MIN_PART_HOURS
SWIFT_OBJECT_SVC_RING_NAME
SWIFT_OBJECT_SVC_RING_PART_POWER
SWIFT_OBJECT_SVC_RING_REPLICAS
SWIFT_OBJECT_SVC_RING_WEIGHTS
SWIFT_OBJECT_SVC_RING_ZONES
SWIFT_USER

Swift-object-expirer

None

Swift-object-replicator

None

Swift-object-server

None

Swift-object-updater

None

Swift-proxy-server

SWIFT_ACCOUNT_SVC_RING_DEVICES
SWIFT_ACCOUNT_SVC_RING_HOSTS
SWIFT_ACCOUNT_SVC_RING_MIN_PART_HOURS
SWIFT_ACCOUNT_SVC_RING_NAME
SWIFT_ACCOUNT_SVC_RING_PART_POWER
SWIFT_ACCOUNT_SVC_RING_REPLICAS
SWIFT_ACCOUNT_SVC_RING_WEIGHTS
SWIFT_ACCOUNT_SVC_RING_ZONES
SWIFT_ADMIN_USER
SWIFT_CONTAINER_SVC_RING_DEVICES
SWIFT_CONTAINER_SVC_RING_HOSTS
SWIFT_CONTAINER_SVC_RING_MIN_PART_HOURS
SWIFT_CONTAINER_SVC_RING_NAME
SWIFT_CONTAINER_SVC_RING_PART_POWER
SWIFT_CONTAINER_SVC_RING_REPLICAS
SWIFT_CONTAINER_SVC_RING_WEIGHTS
SWIFT_CONTAINER_SVC_RING_ZONES
SWIFT_KEYSTONE_PASSWORD
SWIFT_KEYSTONE_USER
SWIFT_OBJECT_SVC_RING_DEVICES
SWIFT_OBJECT_SVC_RING_HOSTS
SWIFT_OBJECT_SVC_RING_MIN_PART_HOURS
SWIFT_OBJECT_SVC_RING_NAME
SWIFT_OBJECT_SVC_RING_PART_POWER
SWIFT_OBJECT_SVC_RING_REPLICAS
SWIFT_OBJECT_SVC_RING_WEIGHTS
SWIFT_OBJECT_SVC_RING_ZONES
SWIFT_PROXY_ACCOUNT_AUTOCREATE
SWIFT_PROXY_AUTH_PLUGIN
SWIFT_PROXY_BIND_IP
SWIFT_PROXY_BIND_PORT
SWIFT_PROXY_DELAY_AUTH_DECISION
SWIFT_PROXY_DIR
SWIFT_PROXY_OPERATOR_ROLES
SWIFT_PROXY_PASSWORD
SWIFT_PROXY_PIPELINE_MAIN
SWIFT_PROXY_PROJECT_DOMAIN_ID
SWIFT_PROXY_PROJECT_NAME
SWIFT_PROXY_SIGNING_DIR
SWIFT_PROXY_USERNAME
SWIFT_PROXY_USER_DOMAIN_ID
SWIFT_USER

Zaqar

KEYSTONE_ADMIN_SERVICE_HOST
KEYSTONE_ADMIN_TOKEN
PUBLIC_IP
ZAQAR_KEYSTONE_PASSWORD
ZAQAR_SERVER_SERVICE_HOST