Packstack安装OpenStack问题:facter: error while loading shared libraries: leatherman_curl.so.1.3.0

1、问题

使用packstack安装OpenStack报如下错误:

facter: error while loading shared libraries: leatherman_curl.so.1.3.0: cannot open shared object file: No such file or directory

完整日志:

# packstack --answer-file=train.conf
Welcome to the Packstack setup utility

The installation log file is available at: /var/tmp/packstack/20200316-065944-Ljmx23/openstack-setup.log

Installing:
Clean Up                                             [ DONE ]
Discovering ip protocol version                      [ DONE ]
Setting up ssh keys                                  [ DONE ]
Preparing servers                                    [ DONE ]
Pre installing Puppet and discovering hosts' details[ ERROR ]

ERROR : Failed to run remote script, stdout:
stderr: Warning: Permanently added '10.43.166.180' (ECDSA) to the list of known hosts.
+ trap t ERR
+ facter -p
facter: error while loading shared libraries: leatherman_curl.so.1.3.0: cannot open shared object file: No such file or directory
++ t
++ exit 127

Please check log file /var/tmp/packstack/20200316-065944-Ljmx23/openstack-setup.log for more information
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
 * Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.

2、解决

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

已经安装版本是1.10.0-1

# yum list | grep leatherman
leatherman.x86_64                         1.10.0-1.el7                 @epel
leatherman-devel.x86_64                   1.10.0-1.el7                 epel

而facter需要1.3.0

# facter -p
facter: error while loading shared libraries: leatherman_curl.so.1.3.0: cannot open shared object file: No such file or directory

回退leatherman版本

# yum downgrade leatherman
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package leatherman.x86_64 0:1.3.0-9.el7 will be a downgrade
--> Processing Dependency: libboost_log_setup.so.1.59.0()(64bit) for package: leatherman-1.3.0-9.el7.x86_64
--> Processing Dependency: libboost_log.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                              cloud                         347 k
Installing for dependencies:
 boost159-log                         x86_64                         1.59.0-2.el7.1                           cloud                         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:00
(2/2): leatherman-1.3.0-9.el7.x86_64.rpm                                                                                   | 347 kB  00:00:00
--------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                             1.1 MB/s | 727 kB  00:00:00
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!

问题解决

# facter -p
2020-03-16 10:15:19.462412 WARN  puppetlabs.facter - skipping external facts for "/var/lib/puppet/facts.d": No such file or directory
disks => {
  sda => {
    model => "ST1200MM0129",
    size => "1.09 TiB",
    size_bytes => 1200243695616,
    vendor => "SEAGATE"
  },
......
  • 31
    点赞
  • 32
    收藏
    觉得还不错? 一键收藏
  • 14
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值