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版本:
[[email protected] ~]# 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!
再次查看:
问题已解决: