标签:devstack
系统版本:ubuntu 13.10
Devstack Multi-host Nova-network
部署时到 error: command ‘x86_64-linux-gnu-gcc‘ failed with exit status 1 错误
遇到的问题:
这是因为一些依赖包没有安装,可以使用以下命令更新依赖包:
$sudo apt-get build-dep python-lxml
节点localrc配置文件:
控制节点
###IP Configuration
HOST_IP=IP_ADDRESS
#Credentials
ADMIN_PASSWORD=password
DATABASE_PASSWORD=password
RABBIT_PASSWORD=password
SERVICE_PASSWORD=password
SERVICE_TOKEN=password
#MULTINODE CONFIGURATION
FLAT_INTERFACE=eth0
FIXED_RANGE=10.4.128.0/20
FIXED_NETWORK_SIZE=4096
FLOATING_RANGE=<<FLOATING_IP_RANGE>>
MULTI_HOST=1
####Tempest
enable_service tempest
#Log Output
LOGFILE=/opt/stack/logs/stack.sh.log
VERBOSE=True
LOG_COLOR=False
SCREEN_LOGDIR=/opt/stack/logs
计算节点
###IP Configuration
HOST_IP=IP_ADDRESS
#Credentials
ADMIN_PASSWORD=password
DATABASE_PASSWORD=password
RABBIT_PASSWORD=password
SERVICE_PASSWORD=password
SERVICE_TOKEN=password
#MULTINODE CONFIGURATION
FLAT_INTERFACE=eth0
FIXED_RANGE=10.4.128.0/20
FIXED_NETWORK_SIZE=4096
FLOATING_RANGE=<<FLOATING_IP_RANGE>>
MULTI_HOST=1
SERVICE_HOST=<<CONTROLLER_IP>>
MYSQL_HOST=<<CONTROLLER_IP>>
RABBIT_HOST=<<CONTROLLER_IP>>
GLANCE_HOSTPORT=<<CONTROLLER_IP>>:9292
ENABLED_SERVICES=n-cpu,n-net,n-api
#Log Output
LOGFILE=/opt/stack/logs/stack.sh.log
VERBOSE=True
LOG_COLOR=False
SCREEN_LOGDIR=/opt/stack/log
Devstack Multi-host Neutron
节点localrc配置文件:
控制节点
ADMIN_PASSWORD=password
MYSQL_PASSWORD=password
RABBIT_PASSWORD=password
SERVICE_PASSWORD=password
SERVICE_TOKEN=tokentoken
SCHEDULER=nova.scheduler.simple.SimpleScheduler
LOGFILE=/opt/stack/data/stack.log
SCREEN_LOGDIR=/opt/stack/data/log
RECLONE=yes
# Network settings
FLAT_INTERFACE=eth1
# Use VLAN to segregate the virtual networks
ENABLE_TENANT_VLANS=True
TENANT_VLAN_RANGE=1000:1999
PHYSICAL_NETWORK=physnet1
OVS_PHYSICAL_BRIDGE=br-eth1
# Use Quantum instead of nova-network
disable_service n-net
enable_service q-svc
enable_service q-agt
enable_service q-dhcp
enable_service quantum
计算节点
ADMIN_PASSWORD=password
MYSQL_PASSWORD=password
RABBIT_PASSWORD=password
SERVICE_PASSWORD=password
SERVICE_TOKEN=tokentoken
ENABLED_SERVICES=n-cpu,rabbit,quantum,q-agt
LOGFILE=/opt/stack/data/stack.log
SCREEN_LOGDIR=/opt/stack/data/log
RECLONE=yes
HOST_IP=192.168.1.82 # replace this with the IP address of the compute node
# Openstack services running on controller node
SERVICE_HOST=192.168.1.94 # replace this with the IP address of the controller node
MYSQL_HOST=$SERVICE_HOST
RABBIT_HOST=$SERVICE_HOST
Q_HOST=$SERVICE_HOST
GLANCE_HOSTPORT=$SERVICE_HOST:9292
# Network settings
FLAT_INTERFACE=eth1
ENABLE_TENANT_VLANS=True
TENANT_VLAN_RANGE=1000:1999
PHYSICAL_NETWORK=physnet1
OVS_PHYSICAL_BRIDGE=br-eth1
本文出自 “边走边思索” 博客,谢绝转载!
标签:devstack
原文地址:http://enjoyunknow.blog.51cto.com/8922233/1636248