Anup Singh
2013-Sep-13 21:46 UTC
[Puppet Users] Failed to apply catalog: Netowork is unreachable - connect(2)
I tried my best to follow the instruction given at the following page however the result is ZERO for the last two months. I am spending much of my time hitting the wrong corner and it looks like no one know the right answer to the puppet problems. Installing and configuring puppet is a tough jobs Ok enough of my story. tried to follow the instructions given in puppet prove of concept but failed: http://docs.puppetlabs.com/pe/latest/quick_start.html PuppetMaster My Error Error: Failed to apply catalog: Netowork is unreachable - connect(2) Error: Could not send report: Network is unrechable - connect (2) logged in as roop Test telnet localhost 8041 (61613 and 443) connected telnet learn.localdomain 8041 (61613 and 443) network is unreachable puppet agent -t Failed to apply catalog: Network is Unreachable Could not send report: Network is Unreachable Hosts file puppet agent and host have same information in /etc/hosts 127.0.0.1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 192.168.0.105 lear.localdomain learn puppet.localdomain puppet Certs cd.pem learnlocaldomain.pem pe-internal-mcillective-servers.pem pe-internal-broker.pem pe-internal-puppet-console-mcillecitve-client.pem -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
Rahul Khengare
2013-Sep-16 05:41 UTC
[Puppet Users] Re: Failed to apply catalog: Netowork is unreachable - connect(2)
Hi Anup, Try disabling the firewall/ iptables of both the machine puppetserver and puppet client. If you want firewall to be running then add rules for ports *8140, 61613, and 443 *in iptalbes. Commands to add rule in iptables, # iptables -I INPUT -p tcp --dport <portnumber> -j ACCEPT # service iptables save # service iptables restart Thanks and Regards, Rahul Khengare, NTT DATA OSS Center, Pune, India. On Saturday, September 14, 2013 3:16:55 AM UTC+5:30, Anup Singh wrote:> > I tried my best to follow the instruction given at the following page > however the result is ZERO for the last two months. > I am spending much of my time hitting the wrong corner and it looks like > no one know the right answer to the puppet problems. Installing and > configuring puppet is a tough jobs > Ok enough of my story. > tried to follow the instructions given in puppet prove of concept but > failed: > http://docs.puppetlabs.com/pe/latest/quick_start.html > > PuppetMaster > > My Error > Error: Failed to apply catalog: Netowork is unreachable - connect(2) > Error: Could not send report: Network is unrechable - connect (2) > logged in as roop > > Test > telnet localhost 8041 (61613 and 443) > connected > telnet learn.localdomain 8041 (61613 and 443) > network is unreachable > > puppet agent -t > Failed to apply catalog: Network is Unreachable > Could not send report: Network is Unreachable > > Hosts file > puppet agent and host have same information in /etc/hosts > 127.0.0.1 localhost.localdomain localhost > ::1 localhost6.localdomain6 localhost6 > 192.168.0.105 lear.localdomain learn puppet.localdomain puppet > > Certs > cd.pem > learnlocaldomain.pem > pe-internal-mcillective-servers.pem > pe-internal-broker.pem > pe-internal-puppet-console-mcillecitve-client.pem >-- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
jcbollinger
2013-Sep-16 13:28 UTC
[Puppet Users] Re: Failed to apply catalog: Netowork is unreachable - connect(2)
On Friday, September 13, 2013 4:46:55 PM UTC-5, Anup Singh wrote:> > Error: Failed to apply catalog: Netowork is unreachable - connect(2) > Error: Could not send report: Network is unrechable - connect (2) > logged in as roop > > Test > telnet localhost 8041 (61613 and 443) > connected > telnet learn.localdomain 8041 (61613 and 443) > network is unreachable > >This is not a Puppet problem. It is a problem with the networking configuration on the client. The Puppet agent cannot establish a network connection to the master to request a catalog. There are several possible problems here, among them: - No external network interface is configured. There are many possible reasons for this, such as faulty provisioning, missing NIC driver or firmware, or all NICs disabled in BIOS. - NIC is unusable or incorrectly configured. I''ve occasionally been bitten by this on laptops that have a switch to disable the NIC''s radio -- when the radio is off, no wireless connections can be made. Alternatively, if the the NIC is configured for DHCP but it gets bad or no configuration from the DHCP server, then it may not be able to reach the network. - Strict firewall configuration. No amount of messing around with Puppet manifests or configs will get you around this. John> puppet agent -t > Failed to apply catalog: Network is Unreachable > Could not send report: Network is Unreachable > > Hosts file > puppet agent and host have same information in /etc/hosts > 127.0.0.1 localhost.localdomain localhost > ::1 localhost6.localdomain6 localhost6 > 192.168.0.105 lear.localdomain learn puppet.localdomain puppet > > Certs > cd.pem > learnlocaldomain.pem > pe-internal-mcillective-servers.pem > pe-internal-broker.pem > pe-internal-puppet-console-mcillecitve-client.pem >-- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.