step7 yum-config-manager --enable Openstack-queens
然后下面也没有出什么安装过程,直接忽略过去了,还不知道是不是因为这步对后面造成了影响
step8 安装PackStack
yum install -y openstack-packstack
时,一直提示网络不可达,但是ping baidu.com
可以通
解决方案
更换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 openstack-keystone
问题解决