-
Notifications
You must be signed in to change notification settings - Fork 0
/
local.conf
91 lines (73 loc) · 2.56 KB
/
local.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[local|localrc]]
# Credentials
ADMIN_PASSWORD=openstack #设置密码,这里设置的是openstack
MYSQL_PASSWORD=$ADMIN_PASSWORD #后面的密码和用户密码一致
#DATABASE_PASSWORD=$ADMIN_PASSWORD #也可以自己设置别的密码
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
SERVICE_TOKEN=$ADMIN_PASSWORD
# Branches
NOVA_BRANCH=stable/juno #需要下载的git分支,这里选择的是juno
KEYSTONE_BRANCH=stable/juno
NEUTRON_BRANCH=stable/juno
GLANCE_BRANCH=stable/juno
CINDER_BRANCH=stable/juno
#SWIFT_BRANCH=stable/juno #这里没有安装swift,heat和trove
#HEAT_BRANCH=stable/juno #可根据需要自行选择
#TROVE_BRANCH=stable/juno
HORIZON_BRANCH=stable/juno
CEILOMETER_BRANCH=stable/juno
#Network Configuration:
#FLOATING_RANGE=172.16.91.0/24
#FIXED_RANGE=10.11.12.0/24
HOST_IP=192.168.1.108 #这里的ip是本机的ip,用ifconfig命令查询
# Services #需要启动什么服务,没有安装的就可以注释掉了
ENABLED_SERVICES=rabbit,mysql,key
ENABLED_SERVICES+=,n-api,n-crt,n-obj,n-cpu,n-cond,n-sch,n-novnc,n-cauth
#ENABLED_SERVICES+=,s-proxy,s-object,s-container,s-account
ENABLED_SERVICES+=,g-api,g-reg
ENABLED_SERVICES+=,cinder,c-api,c-vol,c-sch,c-bak
#Trove
#ENABLED_SERVICES+=,trove,tr-api,tr-tmgr,tr-cond
ENABLED_SERVICES+=,horizon
#Ceilometer
ENABLED_SERVICES+=,ceilometer-acompute,ceilometer-acentral,ceilometer-collector,ceilometer-api
ENABLED_SERVICES+=,ceilometer-alarm-notify,ceilometer-alarm-eval
#Heat
#ENABLED_SERVICES+=,heat,h-api,h-api-cfn,h-api-cw,h-eng
#IMAGE_URLS+=",http://fedorapeople.org/groups/heat/prebuilt-jeos-images/F19-x86_64-cfntools.qcow2"
#Neutron
disable_service n-net
enable_service q-svc
enable_service q-agt
enable_service q-dhcp
enable_service q-l3
enable_service q-meta
enable_service neutron
# 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 configuration
Q_PLUGIN=ml2
Q_ML2_TENANT_NETWORK_TYPE=vxlan
# Images
# Use this image when creating test instances
#IMAGE_URLS+=",http://download.cirros-cloud.net/0.3.0/cirros-0.3.0-x86_64-disk.img" #下载镜像的地址,网上好多地方写的地址都失效了
#这个亲测有效
#Swift Requirements
#SWIFT_REPLICAS=1
#SWIFT_HASH=011688b44136573e209e
# Enable Logging
LOGFILE=/opt/stack/logs/stack.sh.log
VERBOSE=True
LOG_COLOR=True
SCREEN_LOGDIR=/opt/stack/logs #日志文件的位置