教程
step7 yum-config-manager --enable Openstack-queens
然後下面也沒有出什麼安裝過程,直接忽略過去了,還不知道是不是因為這步對後面造成了影響
step8 安裝PackStack
yum install -y openstack-packstack
時,一直提示網絡不可達,但是
ping baidu.com
可以通
解決方案
更換yum軟體源為阿裡雲鏡像源,教程
Centos7 更換yum軟體源 首先要檢查有沒有安裝
wget
輸入
yum list installed
找看有沒有
wget
新的問題:找不到可用軟體包openstack-packstack
解決方案 安裝RDO—配置packstakyum源
yum install https://www.rdoproject.org/repos/rdo-release.rpm
安裝packstack軟體包
yum install openstack-packstack
安裝成功
step10 生成與修改應答檔案
Additional information:
-
Parameter CONFIG_NEUTRON_L2_AGENT: You have chosen OVN Neutron backend. Note that this backend does not support the
VPNaaS or FWaaS services. Geneve will be used as the encapsulation method for tenant networks
不知道什麼錯誤,直接忽略掉了,發現
正常生成了answer.txt
step11 部署和運作Openstack
大概有兩個錯:
ERROR : Failed to run remote script, stdout: stderr: Warning: Permanently added ‘192.168.19.128’ (ECDSA) to the list of known hosts.
這個看網上說是沒設定好ssh跟hostname啥的,但是我都設定好了,就忽略了這個錯誤,先改的第二個錯。
facter: error while loading shared libraries: leatherman_curl.so.1.3.0: cannot open shared object file: No such file or directory
教程 首先檢視安裝的
leatherman
的版本
yum list | grep leatherman
,發現是1.10版本,比需要的版本高,進行版本回退
yum downgrade leatherman
然後解決完這個又運作了一次發現第一個錯也沒有報
ERROR : Error appeared during puppet run: 192.168.19.128_controller.pp
Error:Execution of '/usr/bin/yum -d 0 -e 0 -y install openstack-keystone’returned 1: EFror: ackage: python2-pid-prmoton-e.26.0-2.el7.x86_64 (openstack-train)
You will find full trace in log /var/tmp/packstack/28220514-162157-]d6qc/manifests/192.168.19.128_controller .pp.log
按照wls的方法,單獨複制運作出來會出錯,好像是有依賴沖突
根據提示都沒執行成功
發現還是不行,上述提示的方案不可行
解決方案
yum -y install PackageKit-backend
yum -y install yum-utils
yum -y install qpid-proton-c-0.26.0-2.el7.x86_64
yum -y install