栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

【云计算】CentOS7 上配置Openstack(单机)bug记录

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

【云计算】CentOS7 上配置Openstack(单机)bug记录

教程

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 openstack-keystone

问题解决

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/887765.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号