Arvind P R
2013-Dec-07 19:03 UTC
[Puppet Users] puppet apply or puppet agent -t fails on razor installation. Need help on razor too.
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 -- 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+unsubscribe@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.
Felix Frank
2013-Dec-10 13:09 UTC
Re: [Puppet Users] puppet apply or puppet agent -t fails on razor installation. Need help on razor too.
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 On 12/07/2013 08:03 PM, Arvind P R wrote:> the command does not complete!! >-- 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+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/52A71298.7070304%40alumni.tu-berlin.de. For more options, visit https://groups.google.com/groups/opt_out.
Jeff Bachtel
2013-Dec-10 16:18 UTC
Re: [Puppet Users] puppet apply or puppet agent -t fails on razor installation. Need help on razor too.
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 On Sat, Dec 7, 2013 at 2:03 PM, Arvind P R <iinfi1@gmail.com> wrote:> 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 > > -- > 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+unsubscribe@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. >-- 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+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAHahqg3QF50FOmth%3DBAEPjuJgROjDy1TTaB%2BF-B7%2BFuv4pNwEw%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
Arvind P R
2013-Dec-10 16:49 UTC
Re: [Puppet Users] puppet apply or puppet agent -t fails on razor installation. Need help on razor too.
All, Thanks for your responses. I managed to get beyond this point. It was an issue with some dependencies. Thanks On Tuesday, December 10, 2013 9:48:22 PM UTC+5:30, Jeff Bachtel wrote:> > 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 > > > On Sat, Dec 7, 2013 at 2:03 PM, Arvind P R <iin...@gmail.com <javascript:> > > wrote: > >> 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 >> >> -- >> 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 <javascript:>. >> 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. >> > >-- 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+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/2a0c4041-582d-4dcb-8647-4827803a0448%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.