Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Getting error Pre installing Puppet and discovering hosts' details[ ERROR ]

Deploying multinode :

getting error

"Pre installing Puppet and discovering hosts' details[ ERROR ]"

[root@controller ~]# packstack --answer-file=/root/answer.txt Welcome to the Packstack setup utility

The installation log file is available at: /var/tmp/packstack/20170331-083927-czJ9mN/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, langpacks Loading mirror speeds from cached hostfile * base: mirror.web-ster.com * extras: mirror.cs.uwp.edu * updates: ftpmirror.your.org Package 2:nmap-ncat-6.40-7.el7.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package hiera.noarch 1:1.3.4-5.el7 will be installed --> Processing Dependency: ruby(release) for package: 1:hiera-1.3.4-5.el7.noarch ---> Package openssh-clients.x86_64 0:6.6.1p1-22.el7 will be updated ---> Package openssh-clients.x86_64 0:6.6.1p1-33.el7_3 will be an update ---> Package puppet.noarch 0:4.6.2-2.el7 will be installed --> Processing Dependency: facter >= 1.6.6 for package: puppet-4.6.2-2.el7.noarch --> Processing Dependency: rubygem(rgen) for package: puppet-4.6.2-2.el7.noarch --> Processing Dependency: ruby(shadow) for package: puppet-4.6.2-2.el7.noarch --> Processing Dependency: ruby(selinux) for package: puppet-4.6.2-2.el7.noarch --> Processing Dependency: ruby(augeas) for package: puppet-4.6.2-2.el7.noarch --> Processing Dependency: ruby for package: puppet-4.6.2-2.el7.noarch --> Processing Dependency: /usr/bin/ruby for package: puppet-4.6.2-2.el7.noarch ---> Package rubygem-json.x86_64 0:1.7.7-29.el7 will be installed --> Processing Dependency: ruby(rubygems) >= 2.0.14.1 for package: rubygem-json-1.7.7-29.el7.x86_64 ---> Package tar.x86_64 2:1.26-29.el7 will be updated ---> Package tar.x86_64 2:1.26-31.el7 will be an update --> Running transaction check ---> Package facter.x86_64 1:2.4.4-4.el7 will be installed ---> Package libselinux-ruby.x86_64 0:2.5-6.el7 will be installed ---> Package ruby.x86_64 0:2.0.0.648-29.el7 will be installed --> Processing Dependency: rubygem(bigdecimal) >= 1.2.0 for package: ruby-2.0.0.648-29.el7.x86_64 ---> Package ruby-augeas.x86_64 0:0.5.0-1.el7 will be installed ---> Package ruby-libs.x86_64 0:2.0.0.648-29.el7 will be installed ---> Package ruby-shadow.x86_64 0:1.4.1-23.el7 will be installed ---> Package rubygem-rgen.noarch 0:0.6.6-2.el7 will be installed ---> Package rubygems.noarch 0:2.0.14.1-29.el7 will be installed --> Processing Dependency: rubygem(rdoc) >= 4.0.0 for package: rubygems-2.0.14.1-29.el7.noarch --> Processing Dependency: rubygem(psych) >= 2.0.0 for package: rubygems-2.0.14.1-29.el7.noarch --> Processing Dependency: rubygem(io-console) >= 0.4.2 for package: rubygems-2.0.14.1-29.el7.noarch --> Running transaction check ---> Package rubygem-bigdecimal.x86_64 0:1.2.0-29.el7 will be installed ---> Package rubygem-io-console.x86_64 0:0.4.2-29.el7 will be installed ---> Package rubygem-psych.x86_64 0:2.0.0-29.el7 will be installed --> Processing Dependency: libyaml-0.so.2()(64bit) for package: rubygem-psych-2.0.0-29.el7.x86_64 ---> Package rubygem-rdoc.noarch 0:4.0.0-29.el7 will be installed --> Processing Dependency: ruby(irb) = 2.0.0.648 for package: rubygem-rdoc-4.0.0-29.el7.noarch --> Running transaction check ---> Package libyaml.x86_64 0:0.1.4-11.el7_0 will be installed ---> Package ruby-irb.noarch 0:2.0.0.648-29.el7 will be installed --> Finished Dependency Resolution

Dependencies Resolved

================================================================================

Package Arch Version Repository Size

Installing: hiera noarch 1:1.3.4-5.el7 openstack-ocata 25 k puppet noarch 4.6.2-2.el7 openstack-ocata 1.6 M rubygem-json x86_64 1.7.7-29.el7 base 76 k Updating: openssh-clients x86_64 6.6.1p1-33.el7_3 updates 642 k tar x86_64 2:1.26-31.el7 base 843 k Installing for dependencies: facter x86_64 1:2.4.4-4.el7 openstack-ocata 101 k libselinux-ruby x86_64 2.5-6.el7 base 120 k libyaml x86_64 0.1.4-11.el7_0 base 55 k ruby x86_64 2.0.0.648-29.el7 base 68 k ruby-augeas x86_64 0.5.0-1.el7 openstack-ocata 23 k ruby-irb noarch 2.0.0.648-29.el7 base 89 k ruby-libs x86_64 2.0.0.648-29.el7 base 2.8 M ruby-shadow x86_64 1.4.1-23.el7 openstack-ocata 13 k rubygem-bigdecimal x86_64 1.2.0-29.el7 base 80 k rubygem-io-console x86_64 0.4.2-29.el7 base 51 k rubygem-psych x86_64 2.0.0-29.el7 base 78 k rubygem-rdoc noarch 4.0.0-29.el7 base 319 k rubygem-rgen noarch 0.6.6-2.el7 openstack-ocata 84 k rubygems noarch 2.0.14.1-29.el7 base 216 k

Transaction Summary

Install 3 Packages (+14 Dependent packages) Upgrade 2 Packages

Total size: 7.2 M Downloading packages: Running transaction check Running transaction test

stderr: Warning: Permanently added '10.107.249.72' (ECDSA) to the list of known hosts. + trap t ERR + yum install -y puppet hiera openssh-clients tar nc rubygem-json There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).

Transaction check error: package tar-2:1.26-31.el7.x86_64 is already installed package openssh-clients-6.6.1p1-33.el7_3.x86_64 is already installed

Error Summary

++ t ++ exit 1

Please check log file /var/tmp/packstack/20170331-083927-czJ9mN/openstack-setup.log for more information Additional information: * Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components. bash: t: command not found... [root@controller ~]#

Tried Solution :

  1. Checked /etc/resolv.conf

if i ping yahoo.com " ip gets resolved "

  1. yum clean all

  2. Start Puppet

4 installed yum install -y puppet hiera openssh-clients tar nc rubygem-json erlang

  1. Still no luck

Could anyone assist me over here .