puppet apply or puppet agent -t fails on razor installation. Need help on razor too.

82 views
Skip to first unread message

Arvind P R

unread,
Dec 7, 2013, 2:03:54 PM12/7/13
to puppet...@googlegroups.com
My puppet master server is working fine and i now installed razor module on the same server.

i downloaded the tar.gz from https://forge.puppetlabs.com/puppetlabs/razor and did the installation using 

puppet module install <module_name> --ignore-dependencies. 
i took care of all the dependencies too.

My puppet server is behind a corporate authenticated proxy which prevents me from using "puppet module install". puppet bug!!

post razor installation, I included the following lines in 

/etc/puppetlabs/puppet/manifests/site.pp

node puppet_master {
  include razor
}
now if i try to run the following commands:

puppet apply /etc/puppetlabs/puppet/manifests/site.pp
OR
puppet agent -t

on the same server, the commands hang

puppet apply hangs without any message while the following is shown on puppet agent -t

[root@centos-razor ~]# puppet agent -t
Info: Retrieving plugin
Info: Loading facts in /opt/puppet/share/puppet/modules/stdlib/lib/facter/puppet_vardir.rb
Info: Loading facts in /opt/puppet/share/puppet/modules/stdlib/lib/facter/facter_dot_d.rb
Info: Loading facts in /opt/puppet/share/puppet/modules/stdlib/lib/facter/root_home.rb
Info: Loading facts in /opt/puppet/share/puppet/modules/stdlib/lib/facter/pe_version.rb
Info: Loading facts in /opt/puppet/share/puppet/modules/postgresql/lib/facter/postgres_default_version.rb
Info: Loading facts in /opt/puppet/share/puppet/modules/concat/lib/facter/concat_basedir.rb
Info: Loading facts in /opt/puppet/share/puppet/modules/pe_common/lib/facter/windows.rb
Info: Loading facts in /opt/puppet/share/puppet/modules/pe_puppetdb/lib/facter/puppetdb_server_status.rb
Info: Loading facts in /opt/puppet/share/puppet/modules/auth_conf/lib/facter/custom_auth_conf.rb
Info: Loading facts in /opt/puppet/share/puppet/modules/firewall/lib/facter/ip6tables_version.rb
Info: Loading facts in /opt/puppet/share/puppet/modules/firewall/lib/facter/iptables_persistent_version.rb
Info: Loading facts in /opt/puppet/share/puppet/modules/firewall/lib/facter/iptables_version.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/puppetdb_server_status.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/puppet_vardir.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/facter_dot_d.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/windows.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/root_home.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/postgres_default_version.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/pe_version.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/ip6tables_version.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/iptables_persistent_version.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/concat_basedir.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/iptables_version.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/custom_auth_conf.rb
Info: Caching catalog for centos-razor.a100.lab
Info: Applying configuration version '1386442284'

the command does not complete!!

further i am looking for a simple installation guide with centos. i cant find one anywhere. most of the blogs and guides are for ubuntu.

what I need to know is the bunch of files and config files I have to keep on the tftp server for puppet/razor to work. if anyone can point me to that, it would be helpful.

thanks

Felix Frank

unread,
Dec 10, 2013, 8:09:44 AM12/10/13
to puppet...@googlegroups.com
Hi,

next step would be to find out *what* is actually blocking the
agent/apply process.

Things that come to mind
* `ps auxwf` to see if there is a child that won't exit
* using strace -f to watch what the ruby process and its children are doing

There may be other/better approaches to look under the hood. Think ruby
debugger and/or pry.

HTH,
Felix

Jeff Bachtel

unread,
Dec 10, 2013, 11:18:22 AM12/10/13
to puppet...@googlegroups.com
What is the output of "puppet agent -t -d" ? The -d debug flag should give you much more detailed information about what child process, exactly, is blocking.

Jeff


--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/9e7b9931-cd55-40d8-9212-77444b5f96e2%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Arvind P R

unread,
Dec 10, 2013, 11:49:43 AM12/10/13
to puppet...@googlegroups.com
All,

Thanks for your responses. I managed to get beyond this point. It was an issue with some dependencies.

Thanks
Reply all
Reply to author
Forward
0 new messages