Packstack安装OpenStack问题

packstack自动化安装OpenStack

[root @ centos7〜]#packstack --allinone

安装:
清理[完成]
发现ip协议版本[完成]
设置ssh密钥[完成]
准备服务器[完成]
预先安装Puppet并发现主机的详细信息[ERROR]
在这里插入图片描述
主要问题是这一行报错:
facter: error while loading shared libraries: leatherman_curl.so.1.3.0: cannot open shared object file: No such file or directory

问题原因:
从打印信息看,应该是leatherman rpm包版本问题

已经安装版本是1.10.0-1
在这里插入图片描述
facter需要1.3.0:
在这里插入图片描述
所以需要回退leatherman版本:

[root@openstackopenstack ~]# yum downgrade leatherman
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Resolving Dependencies
–> Running transaction check
—> Package leatherman.x86_64 0:1.3.0-9.el7 will be a downgrade
–> Processing Dependency: libboost_log.so.1.59.0()(64bit) for package: leatherman-1.3.0-9.el7.x86_64
–> Processing Dependency: libboost_log_setup.so.1.59.0()(64bit) for package: leatherman-1.3.0-9.el7.x86_64
—> Package leatherman.x86_64 0:1.10.0-1.el7 will be erased
–> Running transaction check
—> Package boost159-log.x86_64 0:1.59.0-2.el7.1 will be installed
–> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================================
Package Arch Version Repository Size

Downgrading:
leatherman x86_64 1.3.0-9.el7 pike 347 k
Installing for dependencies:
boost159-log x86_64 1.59.0-2.el7.1 pike 380 k

Transaction Summary

Install ( 1 Dependent package)
Downgrade 1 Package

Total download size: 727 k
Is this ok [y/d/N]: y
Downloading packages:
(1/2): boost159-log-1.59.0-2.el7.1.x86_64.rpm | 380 kB 00:00:01
(2/2): leatherman-1.3.0-9.el7.x86_64.rpm | 347 kB 00:00:01

Total 425 kB/s | 727 kB 00:00:01
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : boost159-log-1.59.0-2.el7.1.x86_64 1/3
Installing : leatherman-1.3.0-9.el7.x86_64 2/3
Cleanup : leatherman-1.10.0-1.el7.x86_64 3/3
Verifying : leatherman-1.3.0-9.el7.x86_64 1/3
Verifying : boost159-log-1.59.0-2.el7.1.x86_64 2/3
Verifying : leatherman-1.10.0-1.el7.x86_64 3/3

Removed:
leatherman.x86_64 0:1.10.0-1.el7

Installed:
leatherman.x86_64 0:1.3.0-9.el7

Dependency Installed:
boost159-log.x86_64 0:1.59.0-2.el7.1

Complete!

再次查看:
在这里插入图片描述
问题已解决:
在这里插入图片描述

  • 1
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值