CentOS 7.2 x86_64安装Openstack报错,小白,求帮助!!!
小弟最近尝试搭Openstack测试环境遇到问题,openstack版本尝试过k到o,都会遇到同样的问题,貌似是缺少ruby(selinux),百度找了很久,没见人有遇到同样的问题
系统版本:CentOS Linux release 7.2.1511 (Core)
内核版本:3.10.0-327.el7.x86_64
uname -a输出:Linux localhost.localdomain 3.10.0-327.el7.x86_64 #1 SMP Thu Nov 19 22:10:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Yum源:http://mirror.centos.org/centos/7/cloud/x86_64/openstack-mitaka/
下面是命令以及报错:
[root@localhost ~]# packstack --allinone
Welcome to the Packstack setup utility
The installation log file is available at: /var/tmp/packstack/20170726-022449-8hXjqk/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: Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Package openssh-clients-6.6.1p1-22.el7.x86_64 already installed and latest version
Package 2:tar-1.26-29.el7.x86_64 already installed and latest version
Package rubygem-json-1.7.7-25.el7_1.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package hiera.noarch 1:1.3.4-5.el7 will be installed
---> Package nmap-ncat.x86_64 2:6.40-7.el7 will be installed
---> Package puppet.noarch 0:3.8.7-2.el7 will be installed
--> Processing Dependency: facter >= 1.6.6 for package: puppet-3.8.7-2.el7.noarch
--> Processing Dependency: ruby(selinux) for package: puppet-3.8.7-2.el7.noarch
--> Running transaction check
---> Package facter.x86_64 1:2.4.4-4.el7 will be installed
--> Processing Dependency: pciutils for package: 1:facter-2.4.4-4.el7.x86_64
--> Processing Dependency: net-tools for package: 1:facter-2.4.4-4.el7.x86_64
---> Package puppet.noarch 0:3.8.7-2.el7 will be installed
--> Processing Dependency: ruby(selinux) for package: puppet-3.8.7-2.el7.noarch
--> Running transaction check
---> Package net-tools.x86_64 0:2.0-0.17.20131004git.el7 will be installed
---> Package pciutils.x86_64 0:3.2.1-4.el7 will be installed
---> Package puppet.noarch 0:3.8.7-2.el7 will be installed
--> Processing Dependency: ruby(selinux) for package: puppet-3.8.7-2.el7.noarch
--> 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 '192.168.199.174' (ECDSA) to the list of known hosts.
+ trap t ERR
+ yum install -y puppet hiera openssh-clients tar nc rubygem-json
Error: Package: puppet-3.8.7-2.el7.noarch (openstack)
Requires: ruby(selinux)
++ t
++ exit 1
Please check log file /var/tmp/packstack/20170726-022449-8hXjqk/openstack-setup.log for more information
Additional information:
* A new answerfile was created in: /root/packstack-answers-20170726-022450.txt
* Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.