安装openstack时出现以下错误提示,哪位遇到过,指点一下。
[root@controller yum.repos.d]# packstack --answer-file=/root/answers.txt
Welcome to the Packstack setup utility
The installation log file is available at: /var/tmp/packstack/20220712-145425-Tn2U1k/openstack-setup.log
Installing:
Clean Up [ DONE ]
Setting up ssh keys [ DONE ]
Discovering hosts' details [ DONE ]
Adding pre install manifest entries [ DONE ]
Installing time synchronization via NTP [ DONE ]
Preparing servers [ DONE ]
Adding AMQP manifest entries [ DONE ]
Adding MariaDB manifest entries [ DONE ]
Adding Keystone manifest entries [ DONE ]
Adding Glance Keystone manifest entries [ DONE ]
Adding Glance manifest entries [ DONE ]
Adding Cinder Keystone manifest entries [ DONE ]
Checking if the Cinder server has a cinder-volumes vg[ DONE ]
Adding Cinder manifest entries [ DONE ]
Adding Nova API manifest entries [ DONE ]
Adding Nova Keystone manifest entries [ DONE ]
Adding Nova Cert manifest entries [ DONE ]
Adding Nova Conductor manifest entries [ DONE ]
Creating ssh keys for Nova migration [ DONE ]
Gathering ssh host keys for Nova migration [ DONE ]
Adding Nova Compute manifest entries [ DONE ]
Adding Nova Scheduler manifest entries [ DONE ]
Adding Nova VNC Proxy manifest entries [ DONE ]
Adding OpenStack Network-related Nova manifest entries[ DONE ]
Adding Nova Common manifest entries [ DONE ]
Adding Neutron API manifest entries [ DONE ]
Adding Neutron Keystone manifest entries [ DONE ]
Adding Neutron L3 manifest entries [ DONE ]
Adding Neutron L2 Agent manifest entries [ DONE ]
Adding Neutron DHCP Agent manifest entries [ DONE ]
Adding Neutron LBaaS Agent manifest entries [ DONE ]
Adding Neutron Metering Agent manifest entries [ DONE ]
Adding Neutron Metadata Agent manifest entries [ DONE ]
Checking if NetworkManager is enabled and running [ DONE ]
Adding OpenStack Client manifest entries [ DONE ]
Adding Horizon manifest entries [ DONE ]
Adding Swift Keystone manifest entries [ DONE ]
Adding Swift builder manifest entries [ DONE ]
Adding Swift proxy manifest entries [ DONE ]
Adding Swift storage manifest entries [ DONE ]
Adding Swift common manifest entries [ DONE ]
Adding MongoDB manifest entries [ DONE ]
Adding Redis manifest entries [ DONE ]
Adding Ceilometer manifest entries [ DONE ]
Adding Ceilometer Keystone manifest entries [ DONE ]
Adding Nagios server manifest entries [ DONE ]
Adding Nagios host manifest entries [ DONE ]
Adding post install manifest entries [ DONE ]
Installing Dependencies [ ERROR ]
ERROR : Failed to run remote script, stdout: Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
Package matching openssh-clients-6.6.1p1-11.el7.x86_64 already installed. Checking for update.
Package matching 2:tar-1.26-29.el7.x86_64 already installed. Checking for update.
Resolving Dependencies
--> Running transaction check
---> Package hiera.noarch 0:1.3.1-2.el7 will be installed
--> Processing Dependency: ruby(release) for package: hiera-1.3.1-2.el7.noarch
---> Package nmap-ncat.x86_64 2:6.40-4.el7 will be installed
---> Package puppet.noarch 0:3.6.2-2.el7 will be installed
--> Processing Dependency: facter >= 1.6.6 for package: puppet-3.6.2-2.el7.noarch
--> Processing Dependency: rubygem(rgen) for package: puppet-3.6.2-2.el7.noarch
--> Processing Dependency: ruby(shadow) for package: puppet-3.6.2-2.el7.noarch
--> Processing Dependency: ruby(selinux) for package: puppet-3.6.2-2.el7.noarch
--> Processing Dependency: ruby(augeas) for package: puppet-3.6.2-2.el7.noarch
--> Processing Dependency: ruby for package: puppet-3.6.2-2.el7.noarch
--> Processing Dependency: /usr/bin/ruby for package: puppet-3.6.2-2.el7.noarch
---> Package rubygem-json.x86_64 0:1.7.7-24.el7 will be installed
--> Processing Dependency: ruby(rubygems) >= 2.0.14 for package: rubygem-json-1.7.7-24.el7.x86_64
--> Running transaction check
---> Package facter.x86_64 0:1.7.4-1.el7 will be installed
--> Processing Dependency: pciutils for package: facter-1.7.4-1.el7.x86_64
---> Package libselinux-ruby.x86_64 0:2.2.2-6.el7 will be installed
--> Processing Dependency: libselinux = 2.2.2-6.el7 for package: libselinux-ruby-2.2.2-6.el7.x86_64
---> Package ruby.x86_64 0:2.0.0.598-24.el7 will be installed
--> Processing Dependency: rubygem(bigdecimal) >= 1.2.0 for package: ruby-2.0.0.598-24.el7.x86_64
---> Package ruby-augeas.x86_64 0:0.5.0-1.el7 will be installed
--> Processing Dependency: augeas-libs >= 1.0.0 for package: ruby-augeas-0.5.0-1.el7.x86_64
--> Processing Dependency: libaugeas.so.0(AUGEAS_0.8.0)(64bit) for package: ruby-augeas-0.5.0-1.el7.x86_64
--> Processing Dependency: libaugeas.so.0(AUGEAS_0.16.0)(64bit) for package: ruby-augeas-0.5.0-1.el7.x86_64
--> Processing Dependency: libaugeas.so.0(AUGEAS_0.14.0)(64bit) for package: ruby-augeas-0.5.0-1.el7.x86_64
--> Processing Dependency: libaugeas.so.0(AUGEAS_0.12.0)(64bit) for package: ruby-augeas-0.5.0-1.el7.x86_64
--> Processing Dependency: libaugeas.so.0(AUGEAS_0.11.0)(64bit) for package: ruby-augeas-0.5.0-1.el7.x86_64
--> Processing Dependency: libaugeas.so.0(AUGEAS_0.10.0)(64bit) for package: ruby-augeas-0.5.0-1.el7.x86_64
--> Processing Dependency: libaugeas.so.0(AUGEAS_0.1.0)(64bit) for package: ruby-augeas-0.5.0-1.el7.x86_64
--> Processing Dependency: libaugeas.so.0()(64bit) for package: ruby-augeas-0.5.0-1.el7.x86_64
---> Package ruby-libs.x86_64 0:2.0.0.598-24.el7 will be installed
---> Package ruby-shadow.x86_64 0:1.4.1-21.el7 will be installed
---> Package rubygem-rgen.noarch 0:0.6.6-2.1.el7 will be installed
---> Package rubygems.noarch 0:2.0.14-24.el7 will be installed
--> Processing Dependency: rubygem(io-console) >= 0.4.2 for package: rubygems-2.0.14-24.el7.noarch
--> Processing Dependency: rubygem(psych) >= 2.0.0 for package: rubygems-2.0.14-24.el7.noarch
--> Processing Dependency: rubygem(rdoc) >= 4.0.0 for package: rubygems-2.0.14-24.el7.noarch
--> Running transaction check
---> Package augeas-libs.x86_64 0:1.1.0-17.el7 will be installed
---> Package libselinux.i686 0:2.2.2-6.el7 will be installed
--> Processing Dependency: ld-linux.so.2 for package: libselinux-2.2.2-6.el7.i686
--> Processing Dependency: ld-linux.so.2(GLIBC_2.3) for package: libselinux-2.2.2-6.el7.i686
--> Processing Dependency: libdl.so.2 for package: libselinux-2.2.2-6.el7.i686
--> Processing Dependency: libdl.so.2(GLIBC_2.0) for package: libselinux-2.2.2-6.el7.i686
--> Processing Dependency: libdl.so.2(GLIBC_2.1) for package: libselinux-2.2.2-6.el7.i686
--> Processing Dependency: liblzma.so.5 for package: libselinux-2.2.2-6.el7.i686
--> Processing Dependency: liblzma.so.5(XZ_5.0) for package: libselinux-2.2.2-6.el7.i686
--> Processing Dependency: libpcre.so.1 for package: libselinux-2.2.2-6.el7.i686
--> Processing Dependency: libc.so.6(GLIBC_2.8) for package: libselinux-2.2.2-6.el7.i686
---> Package pciutils.x86_64 0:3.2.1-4.el7 will be installed
--> Processing Dependency: pciutils-libs = 3.2.1-4.el7 for package: pciutils-3.2.1-4.el7.x86_64
---> Package rubygem-bigdecimal.x86_64 0:1.2.0-24.el7 will be installed
---> Package rubygem-io-console.x86_64 0:0.4.2-24.el7 will be installed
---> Package rubygem-psych.x86_64 0:2.0.0-24.el7 will be installed
--> Processing Dependency: libyaml-0.so.2()(64bit) for package: rubygem-psych-2.0.0-24.el7.x86_64
---> Package rubygem-rdoc.noarch 0:4.0.0-24.el7 will be installed
--> Processing Dependency: ruby(irb) = 2.0.0.598 for package: rubygem-rdoc-4.0.0-24.el7.noarch
--> Running transaction check
---> Package glibc.i686 0:2.17-78.el7 will be installed
--> Processing Dependency: glibc-common = 2.17-78.el7 for package: glibc-2.17-78.el7.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.17-78.el7.i686
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.17-78.el7.i686
---> Package libyaml.x86_64 0:0.1.4-11.el7_0 will be installed
---> Package pciutils-libs.i686 0:3.2.1-4.el7 will be installed
---> Package pcre.i686 0:8.32-14.el7 will be installed
--> Processing Dependency: libgcc_s.so.1 for package: pcre-8.32-14.el7.i686
--> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: pcre-8.32-14.el7.i686
--> Processing Dependency: libstdc++.so.6 for package: pcre-8.32-14.el7.i686
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3) for package: pcre-8.32-14.el7.i686
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4) for package: pcre-8.32-14.el7.i686
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.9) for package: pcre-8.32-14.el7.i686
---> Package ruby-irb.noarch 0:2.0.0.598-24.el7 will be installed
---> Package xz-libs.i686 0:5.1.2-9alpha.el7 will be installed
--> Running transaction check
---> Package glibc.i686 0:2.17-78.el7 will be installed
--> Processing Dependency: glibc-common = 2.17-78.el7 for package: glibc-2.17-78.el7.i686
---> Package libgcc.i686 0:4.8.3-9.el7 will be installed
---> Package libstdc++.i686 0:4.8.3-9.el7 will be installed
---> Package nss-softokn-freebl.i686 0:3.16.2.3-9.el7 will be installed
--> Finished Dependency Resolution
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
stderr: Warning: Permanently added '10.10.0.20' (ECDSA) to the list of known hosts.
+ trap t ERR
+ yum install -y puppet hiera openssh-clients tar nc rubygem-json
Error: Package: glibc-2.17-78.el7.i686 (dvd)
Requires: glibc-common = 2.17-78.el7
Installed: glibc-common-2.17-317.el7.x86_64 (@base)
glibc-common = 2.17-317.el7
Available: glibc-common-2.17-78.el7.x86_64 (dvd)
glibc-common = 2.17-78.el7
++ t
++ exit 1
Please check log file /var/tmp/packstack/20220712-145425-Tn2U1k/openstack-setup.log for more information
Additional information:
* File /root/keystonerc_admin has been created on OpenStack client host 10.10.0.10. To use the command line tools you need to source the file.
* To access the OpenStack Dashboard browse to http://10.10.0.10/dashboard .
Please, find your login credentials stored in the keystonerc_admin in your home directory.
* To use Nagios, browse to http://10.10.0.10/nagios username: nagiosadmin, password: 77b48ae4c6ea4ceb
应该是缺少openstack的依赖库
https://www.jianshu.com/p/a9f33160f872