http://perrywu0606.pixnet.net/blog/post/27646684-%5B筆記%5D-openstack的初步探索
在經過一番架設之後還是失敗了
2017-10-31 05:38:50.890 | +./stack.sh:main:738 PYPI_ALTERNATIVE_URL=
2017-10-31 05:38:50.897 | +./stack.sh:main:738 /opt/stack/devstack/tools/install_pip.sh
2017-10-31 05:38:51.031 | /opt/stack/devstack/.localrc.auto: line 20: crt,n-obj,n-: command not found
2017-10-31 05:38:51.040 | ++./stack.sh:main:738 err_trap
2017-10-31 05:38:51.049 | ++./stack.sh:err_trap:534 local r=127
2017-10-31 05:38:51.057 | stack.sh failed: full log in /opt/stack/logs/stack.sh.log.2017-10-31-133514
2017-10-31 05:38:51.059 | Error on exit
stack@CQ71:~/devstack$
解決很多問題之後還是不行
看起來是pip有東西還沒裝好,不過暫時不處理了
改採用比較多使用者推薦的RDO
當初devstack的local.conf
[[local|localrc]]
HOST_IP=#實體機的IP
DATABASE_PASSWORD=openstack #密碼可自訂
ADMIN_PASSWORD=openstack
SERVICE_PASSWORD=openstack
SERVICE_TOKEN=openstack
RABBIT_PASSWORD=openstack
#Network settings
FLAT_INTERFACE=p1p1
#May be different depends on the network interface, it could be eth0
FIXED_NETWORK_SIZE=256
#Enable Logging
LOGFILE=/opt/stack/logs/stack.sh.log
VERBOSE=True
LOG_COLOR=True
SCREEN_LOGDIR=/opt/stack/logs
#Pre-requisite
ENABLED_SERVICES=rabbit,mysql,key
#Nova
ENABLED_SERVICES+=,n-api,n- crt,n-obj,n- cpu,n-cond,n- sch
IMAGE_URLS+=”,https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-
x86_64-disk.img”
ENABLED_SERVICES+=,n-cauth
#ENABLED_SERVICES+=,n-cell
ENABLED_SERVICES+=,n-novnc
#Horizon
ENABLED_SERVICES+=,horizon
#HORIZON_REPO=https://github.com/openstack/horizon
#HORIZON_BRANCH=master
#Glance
ENABLED_SERVICES+=,g-api,g- reg
#Neutron
ENABLED_SERVICES+=,q-svc,q- agt,q-dhcp,q- l3,q-meta,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
#Cinder
ENABLED_SERVICES+=,cinder,c-api,c- vol,c-sch
##Cinder – Block Device Service
ENABLED_SERVICES+=,c-bak
#Heat
ENABLED_SERVICES+=,heat,h-api,h- api-cfn,h- api-cw,h- eng
#Ceilometer
ENABLED_SERVICES+=,ceilometer-acompute,ceilometer- acentral,ceilometer-
collector,ceilometer-api
ENABLED_SERVICES+=,ceilometer-alarm- notify,ceilometer-alarm- eval
#Swift
#ENABLED_SERVICES+=,s-proxy,s- object,s-container,s- account
#SWIFT_REPLICAS=1
#SWIFT_HASH=openstack
#Ceph
#ENABLED_SERVICES+=,ceph
#CEPH_LOOPBACK_DISK_SIZE=10G
#CEPH_CONF=/etc/ceph/ceph.conf
#CEPH_REPLICAS=1
#GLANCE_CEPH_USER=glancy
#GLANCE_CEPH_POOL=imajeez
#CINDER_DRIVER=ceph
#CINDER_CEPH_USER=cindy
#CINDER_CEPH_POOL=volumeuh
#CINDER_BAK_CEPH_POOL=backeups
#CINDER_BAK_CEPH_USER=cind-backeups
#CINDER_ENABLED_BACKENDS=ceph,lvm
#NOVA_CEPH_POOL=vmz
沒有留言:
張貼留言