首页 > 代码库 > ubuntu 14.04安装 DevStack的脚本配置文件——localrc

ubuntu 14.04安装 DevStack的脚本配置文件——localrc

  本文ubuntu 14.04安装 DevStack的脚本配置文件——localrc,本文件名已经逐渐被取代,但是出于后向兼容性,使用该文件仍然可以为stack.sh安装脚本指定安装DevStack时的配置信息。

  以下是localrc文件的一些常用配置及解释

# MiscDATABASE_PASSWORD=123456ADMIN_PASSWORD=123456SERVICE_PASSWORD=123456SERVICE_TOKEN=123456RABBIT_PASSWORD=123456# Reclone each time#RECLONE=True# Python enviroments#OFFLINE=true## For KeystoneKEYSTONE_TOKEN_FORMAT=PKI## For Swift#SWIFT_REPLICAS=1#SWIFT_HASH=011688b44136573e209e# Enable LoggingLOGFILE=/opt/stack/logs/stack.sh.logVERBOSE=TrueLOG_COLOR=TrueSCREEN_LOGDIR=/opt/stack/logs# Pre-requisiteENABLED_SERVICES=rabbit,mysql,key## If you want ZeroMQ instead of RabbitMQ (dont forget to un-declare rabbit from the pre-requesite)#ENABLED_SERVICES+=,-rabbit,-qpid,zeromq## If you want Qpid instead of RabbitMQ (dont forget to un-declare rabbit from the pre-requesite)#ENABLED_SERVICES+=,-rabbit,-zeromq,qpid# Horizon (Dashboard UI) - (always use the trunk)ENABLED_SERVICES+=,horizon#HORIZON_REPO=https://github.com/openstack/horizon#HORIZON_BRANCH=master# Nova - Compute ServiceENABLED_SERVICES+=,n-api,n-crt,n-obj,n-cpu,n-cond,n-schIMAGE_URLS+=",https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img"## Nova CellsENABLED_SERVICES+=,n-cell# Glance - Image ServiceENABLED_SERVICES+=,g-api,g-reg# Swift - Object Storage#ENABLED_SERVICES+=,s-proxy,s-object,s-container,s-account# Neutron - Networking Service# If Neutron is not declared the old good nova-network will be usedENABLED_SERVICES+=,q-svc,q-agt,q-dhcp,q-l3,q-meta,neutronVIF_PLUGGING_IS_FATAL=FalseVIF_PLUGGING_TIMEOUT=10## Neutron - Load Balancing#ENABLED_SERVICES+=,q-lbaas## Neutron - VPN as a Service#ENABLED_SERVICES+=,q-vpn## Neutron - Firewall as a Service#ENABLED_SERVICES+=,q-fwaas# VLAN configuration#Q_PLUGIN=ml2#ENABLE_TENANT_VLANS=True# GRE tunnel configuration#Q_PLUGIN=ml2#ENABLE_TENANT_TUNNELS=True# VXLAN tunnel configurationQ_PLUGIN=ml2Q_ML2_TENANT_NETWORK_TYPE=vxlan# Cinder - Block Device ServiceENABLED_SERVICES+=,cinder,c-api,c-vol,c-sch# Heat - Orchestration Service#ENABLED_SERVICES+=,heat,h-api,h-api-cfn,h-api-cw,h-eng#IMAGE_URLS+=",http://fedorapeople.org/groups/heat/prebuilt-jeos-images/F17-x86_64-cfntools.qcow2"# Ceilometer - Metering Service (metering + alarming)CEILOMETER_BACKEND=mysqlENABLED_SERVICES+=,ceilometer-acompute,ceilometer-acentral,ceilometer-collector,ceilometer-apiENABLED_SERVICES+=,ceilometer-alarm-notify,ceilometer-alarm-eval# Apache fronted for WSGI#APACHE_ENABLED_SERVICES+=keystone,swiftAPACHE_ENABLED_SERVICES+=keystoneGIT_BASE=git://git.openstack.org

ubuntu 14.04安装 DevStack的脚本配置文件——localrc