Packstack安裝OpenStack問題

2021-10-05 06:37:08 字數 3008 閱讀 7276

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

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

install ( 1 dependent package)

downgrade 1 package

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!

再次檢視:

問題已解決:

PackStack一鍵安裝OpenStack

openstack自動安裝比手動搭建消耗的硬體資源較大,因此虛擬機器或伺服器最低配置為4核cpu 8g記憶體 20g磁碟,並開啟cpu虛擬化。建議配置為8核cpu 16g記憶體或更高配置,並保證伺服器能訪問外網。本次主要測試的成功案例有n p q三個版本,其它版本同樣可以借助packstack一鍵安...

packstack快速部署openstack

環境準備 建議16gb ram sed i selinux s enforcing disabled etc selinux config systemctl stop firewalld systemctl disable firewalld systemctl stop networkmanag...

packstack總體流程分析2

packstack總體流程分析 2 本文回答這兩個問題 這些create manifest是由 來呼叫的?var tmp packstack pp是如何被執行的?1 各plugins中的create mainfest是如何被呼叫的?def initpluginssequences for plugi...