I have a problem with a new Ubuntu server (2.6.32-33-server) and facter. Facter Version 1.5.6 root@web002:~# facter /usr/lib/ruby/1.8/timeout.rb:60:in `open'': execution expired (Timeout::Error) from /usr/lib/ruby/1.8/net/http.rb:560:in `connect'' from /usr/lib/ruby/1.8/timeout.rb:53:in `timeout'' from /usr/lib/ruby/1.8/timeout.rb:93:in `timeout'' from /usr/lib/ruby/1.8/net/http.rb:560:in `connect'' from /usr/lib/ruby/1.8/net/http.rb:553:in `do_start'' from /usr/lib/ruby/1.8/net/http.rb:542:in `start'' from /usr/lib/ruby/1.8/open-uri.rb:242:in `open_http'' from /usr/lib/ruby/1.8/open-uri.rb:616:in `buffer_open'' from /usr/lib/ruby/1.8/open-uri.rb:164:in `open_loop'' from /usr/lib/ruby/1.8/open-uri.rb:162:in `catch'' from /usr/lib/ruby/1.8/open-uri.rb:162:in `open_loop'' from /usr/lib/ruby/1.8/open-uri.rb:132:in `open_uri'' from /usr/lib/ruby/1.8/open-uri.rb:518:in `open'' from /usr/lib/ruby/1.8/open-uri.rb:30:in `open'' from /usr/lib/ruby/1.8/facter/ec2.rb:10:in `can_connect?'' from /usr/lib/ruby/1.8/facter/ec2.rb:10:in `can_connect?'' from /usr/lib/ruby/1.8/facter/ec2.rb:33 from /usr/lib/ruby/1.8/facter/util/loader.rb:72:in `load'' from /usr/lib/ruby/1.8/facter/util/loader.rb:72:in `load_file'' from /usr/lib/ruby/1.8/facter/util/loader.rb:38:in `load_all'' from /usr/lib/ruby/1.8/facter/util/loader.rb:33:in `each'' from /usr/lib/ruby/1.8/facter/util/loader.rb:33:in `load_all'' from /usr/lib/ruby/1.8/facter/util/loader.rb:30:in `each'' from /usr/lib/ruby/1.8/facter/util/loader.rb:30:in `load_all'' from /usr/lib/ruby/1.8/facter/util/collection.rb:94:in `load_all'' from /usr/lib/ruby/1.8/facter.rb:91:in `to_hash'' from /usr/bin/facter:138 facter with strace: It stops 1-2s, thats the output of strace..... socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3 fcntl(3, F_GETFL) = 0x2 (flags O_RDWR) fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(3, {sa_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("169.254.169.254")}, 16) = -1 EINPROGRESS (Operation now in progress) select(5, [], [3], [3], {1, 969055}^C <unfinished ...> Puppet says, there is a problem with local facts, and I''m sure thats the facter problem ;) And there is no problem with dns, all other servers with the same version of facter and puppet have no problems... The only thing I did on this server is an upgrade with apt-get, but facter and puppet are the same version as they are on the other servers Thanks for your help -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On 2011-11-07 05:50 , raffis wrote:> I have a problem with a new Ubuntu server (2.6.32-33-server) and > facter. > > Facter Version 1.5.6 > > root@web002:~# facter > /usr/lib/ruby/1.8/timeout.rb:60:in `open'': execution expired > (Timeout::Error) > from /usr/lib/ruby/1.8/net/http.rb:560:in `connect'' > from /usr/lib/ruby/1.8/timeout.rb:53:in `timeout'' > from /usr/lib/ruby/1.8/timeout.rb:93:in `timeout'' > from /usr/lib/ruby/1.8/net/http.rb:560:in `connect'' > from /usr/lib/ruby/1.8/net/http.rb:553:in `do_start'' > from /usr/lib/ruby/1.8/net/http.rb:542:in `start'' > from /usr/lib/ruby/1.8/open-uri.rb:242:in `open_http'' > from /usr/lib/ruby/1.8/open-uri.rb:616:in `buffer_open'' > from /usr/lib/ruby/1.8/open-uri.rb:164:in `open_loop'' > from /usr/lib/ruby/1.8/open-uri.rb:162:in `catch'' > from /usr/lib/ruby/1.8/open-uri.rb:162:in `open_loop'' > from /usr/lib/ruby/1.8/open-uri.rb:132:in `open_uri'' > from /usr/lib/ruby/1.8/open-uri.rb:518:in `open'' > from /usr/lib/ruby/1.8/open-uri.rb:30:in `open'' > from /usr/lib/ruby/1.8/facter/ec2.rb:10:in `can_connect?'' > from /usr/lib/ruby/1.8/facter/ec2.rb:10:in `can_connect?'' > from /usr/lib/ruby/1.8/facter/ec2.rb:33 > from /usr/lib/ruby/1.8/facter/util/loader.rb:72:in `load'' > from /usr/lib/ruby/1.8/facter/util/loader.rb:72:in `load_file'' > from /usr/lib/ruby/1.8/facter/util/loader.rb:38:in `load_all'' > from /usr/lib/ruby/1.8/facter/util/loader.rb:33:in `each'' > from /usr/lib/ruby/1.8/facter/util/loader.rb:33:in `load_all'' > from /usr/lib/ruby/1.8/facter/util/loader.rb:30:in `each'' > from /usr/lib/ruby/1.8/facter/util/loader.rb:30:in `load_all'' > from /usr/lib/ruby/1.8/facter/util/collection.rb:94:in `load_all'' > from /usr/lib/ruby/1.8/facter.rb:91:in `to_hash'' > from /usr/bin/facter:138 > > > facter with strace: > It stops 1-2s, thats the output of strace..... > > socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3 > fcntl(3, F_GETFL) = 0x2 (flags O_RDWR) > fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 > connect(3, {sa_family=AF_INET, sin_port=htons(80), > sin_addr=inet_addr("169.254.169.254")}, 16) = -1 EINPROGRESS > (Operation now in progress) > select(5, [], [3], [3], {1, 969055}^C <unfinished ...> > > > > Puppet says, there is a problem with local facts, and I''m sure thats > the facter problem ;) > > And there is no problem with dns, all other servers with the same > version of facter and puppet have no problems... The only thing I did > on this server is an upgrade with apt-get, but facter and puppet are > the same version as they are on the other servers > > > Thanks for your help >You''ll want to keep an eye on the Ubuntu bug for this[0]. [0] https://bugs.launchpad.net/ubuntu/+source/facter/+bug/885998 -- Jacob Helwig http://about.me/jhelwig
Yep thanks, the ubuntu package 1.5.6-2ubuntu2.2 was the problem. Roll- back to 1.5.6-2ubuntu2 solved the facter bug. On Nov 8, 2:21 am, Jacob Helwig <ja...@puppetlabs.com> wrote:> On 2011-11-07 05:50 , raffis wrote: > > > > > > > > > > > I have a problem with a new Ubuntu server (2.6.32-33-server) and > > facter. > > > Facter Version 1.5.6 > > > root@web002:~# facter > > /usr/lib/ruby/1.8/timeout.rb:60:in `open'': execution expired > > (Timeout::Error) > > from /usr/lib/ruby/1.8/net/http.rb:560:in `connect'' > > from /usr/lib/ruby/1.8/timeout.rb:53:in `timeout'' > > from /usr/lib/ruby/1.8/timeout.rb:93:in `timeout'' > > from /usr/lib/ruby/1.8/net/http.rb:560:in `connect'' > > from /usr/lib/ruby/1.8/net/http.rb:553:in `do_start'' > > from /usr/lib/ruby/1.8/net/http.rb:542:in `start'' > > from /usr/lib/ruby/1.8/open-uri.rb:242:in `open_http'' > > from /usr/lib/ruby/1.8/open-uri.rb:616:in `buffer_open'' > > from /usr/lib/ruby/1.8/open-uri.rb:164:in `open_loop'' > > from /usr/lib/ruby/1.8/open-uri.rb:162:in `catch'' > > from /usr/lib/ruby/1.8/open-uri.rb:162:in `open_loop'' > > from /usr/lib/ruby/1.8/open-uri.rb:132:in `open_uri'' > > from /usr/lib/ruby/1.8/open-uri.rb:518:in `open'' > > from /usr/lib/ruby/1.8/open-uri.rb:30:in `open'' > > from /usr/lib/ruby/1.8/facter/ec2.rb:10:in `can_connect?'' > > from /usr/lib/ruby/1.8/facter/ec2.rb:10:in `can_connect?'' > > from /usr/lib/ruby/1.8/facter/ec2.rb:33 > > from /usr/lib/ruby/1.8/facter/util/loader.rb:72:in `load'' > > from /usr/lib/ruby/1.8/facter/util/loader.rb:72:in `load_file'' > > from /usr/lib/ruby/1.8/facter/util/loader.rb:38:in `load_all'' > > from /usr/lib/ruby/1.8/facter/util/loader.rb:33:in `each'' > > from /usr/lib/ruby/1.8/facter/util/loader.rb:33:in `load_all'' > > from /usr/lib/ruby/1.8/facter/util/loader.rb:30:in `each'' > > from /usr/lib/ruby/1.8/facter/util/loader.rb:30:in `load_all'' > > from /usr/lib/ruby/1.8/facter/util/collection.rb:94:in `load_all'' > > from /usr/lib/ruby/1.8/facter.rb:91:in `to_hash'' > > from /usr/bin/facter:138 > > > facter with strace: > > It stops 1-2s, thats the output of strace..... > > > socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3 > > fcntl(3, F_GETFL) = 0x2 (flags O_RDWR) > > fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 > > connect(3, {sa_family=AF_INET, sin_port=htons(80), > > sin_addr=inet_addr("169.254.169.254")}, 16) = -1 EINPROGRESS > > (Operation now in progress) > > select(5, [], [3], [3], {1, 969055}^C <unfinished ...> > > > Puppet says, there is a problem with local facts, and I''m sure thats > > the facter problem ;) > > > And there is no problem with dns, all other servers with the same > > version of facter and puppet have no problems... The only thing I did > > on this server is an upgrade with apt-get, but facter and puppet are > > the same version as they are on the other servers > > > Thanks for your help > > You''ll want to keep an eye on the Ubuntu bug for this[0]. > > [0]https://bugs.launchpad.net/ubuntu/+source/facter/+bug/885998 > > -- > Jacob Helwighttp://about.me/jhelwig > > signature.asc > < 1KViewDownload-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
We had the same issue ... looks like a newer version has fixed it though: 1.5.6-2ubuntu2.3 On Nov 8, 6:48 am, raffis <raffael.sa...@gmail.com> wrote:> Yep thanks, the ubuntu package 1.5.6-2ubuntu2.2 was the problem. Roll- > back to 1.5.6-2ubuntu2 solved the facter bug. > > On Nov 8, 2:21 am, Jacob Helwig <ja...@puppetlabs.com> wrote: > > > > > > > > > On 2011-11-07 05:50 , raffis wrote: > > > > I have a problem with a new Ubuntu server (2.6.32-33-server) and > > > facter. > > > > Facter Version 1.5.6 > > > > root@web002:~# facter > > > /usr/lib/ruby/1.8/timeout.rb:60:in `open'': execution expired > > > (Timeout::Error) > > > from /usr/lib/ruby/1.8/net/http.rb:560:in `connect'' > > > from /usr/lib/ruby/1.8/timeout.rb:53:in `timeout'' > > > from /usr/lib/ruby/1.8/timeout.rb:93:in `timeout'' > > > from /usr/lib/ruby/1.8/net/http.rb:560:in `connect'' > > > from /usr/lib/ruby/1.8/net/http.rb:553:in `do_start'' > > > from /usr/lib/ruby/1.8/net/http.rb:542:in `start'' > > > from /usr/lib/ruby/1.8/open-uri.rb:242:in `open_http'' > > > from /usr/lib/ruby/1.8/open-uri.rb:616:in `buffer_open'' > > > from /usr/lib/ruby/1.8/open-uri.rb:164:in `open_loop'' > > > from /usr/lib/ruby/1.8/open-uri.rb:162:in `catch'' > > > from /usr/lib/ruby/1.8/open-uri.rb:162:in `open_loop'' > > > from /usr/lib/ruby/1.8/open-uri.rb:132:in `open_uri'' > > > from /usr/lib/ruby/1.8/open-uri.rb:518:in `open'' > > > from /usr/lib/ruby/1.8/open-uri.rb:30:in `open'' > > > from /usr/lib/ruby/1.8/facter/ec2.rb:10:in `can_connect?'' > > > from /usr/lib/ruby/1.8/facter/ec2.rb:10:in `can_connect?'' > > > from /usr/lib/ruby/1.8/facter/ec2.rb:33 > > > from /usr/lib/ruby/1.8/facter/util/loader.rb:72:in `load'' > > > from /usr/lib/ruby/1.8/facter/util/loader.rb:72:in `load_file'' > > > from /usr/lib/ruby/1.8/facter/util/loader.rb:38:in `load_all'' > > > from /usr/lib/ruby/1.8/facter/util/loader.rb:33:in `each'' > > > from /usr/lib/ruby/1.8/facter/util/loader.rb:33:in `load_all'' > > > from /usr/lib/ruby/1.8/facter/util/loader.rb:30:in `each'' > > > from /usr/lib/ruby/1.8/facter/util/loader.rb:30:in `load_all'' > > > from /usr/lib/ruby/1.8/facter/util/collection.rb:94:in `load_all'' > > > from /usr/lib/ruby/1.8/facter.rb:91:in `to_hash'' > > > from /usr/bin/facter:138 > > > > facter with strace: > > > It stops 1-2s, thats the output of strace..... > > > > socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3 > > > fcntl(3, F_GETFL) = 0x2 (flags O_RDWR) > > > fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 > > > connect(3, {sa_family=AF_INET, sin_port=htons(80), > > > sin_addr=inet_addr("169.254.169.254")}, 16) = -1 EINPROGRESS > > > (Operation now in progress) > > > select(5, [], [3], [3], {1, 969055}^C <unfinished ...> > > > > Puppet says, there is a problem with local facts, and I''m sure thats > > > the facter problem ;) > > > > And there is no problem with dns, all other servers with the same > > > version of facter and puppet have no problems... The only thing I did > > > on this server is an upgrade with apt-get, but facter and puppet are > > > the same version as they are on the other servers > > > > Thanks for your help > > > You''ll want to keep an eye on the Ubuntu bug for this[0]. > > > [0]https://bugs.launchpad.net/ubuntu/+source/facter/+bug/885998 > > > -- > > Jacob Helwighttp://about.me/jhelwig > > > signature.asc > > < 1KViewDownload-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
I had the same issue and the new lucid update of facter solved it. ---------- Forwarded message ---------- From: madAndroid <andrewstangl@gmail.com> Date: 8 November 2011 12:43 Subject: [Puppet Users] Re: puppet facter timeout To: Puppet Users <puppet-users@googlegroups.com> We had the same issue ... looks like a newer version has fixed it though: 1.5.6-2ubuntu2.3 On Nov 8, 6:48 am, raffis <raffael.sa...@gmail.com> wrote:> Yep thanks, the ubuntu package 1.5.6-2ubuntu2.2 was the problem. Roll- > back to 1.5.6-2ubuntu2 solved the facter bug. > > On Nov 8, 2:21 am, Jacob Helwig <ja...@puppetlabs.com> wrote: > > > > > > > > > On 2011-11-07 05:50 , raffis wrote: > > > > I have a problem with a new Ubuntu server (2.6.32-33-server) and > > > facter. > > > > Facter Version 1.5.6 > > > > root@web002:~# facter > > > /usr/lib/ruby/1.8/timeout.rb:60:in `open'': execution expired > > > (Timeout::Error) > > > from /usr/lib/ruby/1.8/net/http.rb:560:in `connect'' > > > from /usr/lib/ruby/1.8/timeout.rb:53:in `timeout'' > > > from /usr/lib/ruby/1.8/timeout.rb:93:in `timeout'' > > > from /usr/lib/ruby/1.8/net/http.rb:560:in `connect'' > > > from /usr/lib/ruby/1.8/net/http.rb:553:in `do_start'' > > > from /usr/lib/ruby/1.8/net/http.rb:542:in `start'' > > > from /usr/lib/ruby/1.8/open-uri.rb:242:in `open_http'' > > > from /usr/lib/ruby/1.8/open-uri.rb:616:in `buffer_open'' > > > from /usr/lib/ruby/1.8/open-uri.rb:164:in `open_loop'' > > > from /usr/lib/ruby/1.8/open-uri.rb:162:in `catch'' > > > from /usr/lib/ruby/1.8/open-uri.rb:162:in `open_loop'' > > > from /usr/lib/ruby/1.8/open-uri.rb:132:in `open_uri'' > > > from /usr/lib/ruby/1.8/open-uri.rb:518:in `open'' > > > from /usr/lib/ruby/1.8/open-uri.rb:30:in `open'' > > > from /usr/lib/ruby/1.8/facter/ec2.rb:10:in `can_connect?'' > > > from /usr/lib/ruby/1.8/facter/ec2.rb:10:in `can_connect?'' > > > from /usr/lib/ruby/1.8/facter/ec2.rb:33 > > > from /usr/lib/ruby/1.8/facter/util/loader.rb:72:in `load'' > > > from /usr/lib/ruby/1.8/facter/util/loader.rb:72:in `load_file'' > > > from /usr/lib/ruby/1.8/facter/util/loader.rb:38:in `load_all'' > > > from /usr/lib/ruby/1.8/facter/util/loader.rb:33:in `each'' > > > from /usr/lib/ruby/1.8/facter/util/loader.rb:33:in `load_all'' > > > from /usr/lib/ruby/1.8/facter/util/loader.rb:30:in `each'' > > > from /usr/lib/ruby/1.8/facter/util/loader.rb:30:in `load_all'' > > > from /usr/lib/ruby/1.8/facter/util/collection.rb:94:in `load_all'' > > > from /usr/lib/ruby/1.8/facter.rb:91:in `to_hash'' > > > from /usr/bin/facter:138 > > > > facter with strace: > > > It stops 1-2s, thats the output of strace..... > > > > socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3 > > > fcntl(3, F_GETFL) = 0x2 (flags O_RDWR) > > > fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 > > > connect(3, {sa_family=AF_INET, sin_port=htons(80), > > > sin_addr=inet_addr("169.254.169.254")}, 16) = -1 EINPROGRESS > > > (Operation now in progress) > > > select(5, [], [3], [3], {1, 969055}^C <unfinished ...> > > > > Puppet says, there is a problem with local facts, and I''m sure thats > > > the facter problem ;) > > > > And there is no problem with dns, all other servers with the same > > > version of facter and puppet have no problems... The only thing I did > > > on this server is an upgrade with apt-get, but facter and puppet are > > > the same version as they are on the other servers > > > > Thanks for your help > > > You''ll want to keep an eye on the Ubuntu bug for this[0]. > > > [0]https://bugs.launchpad.net/ubuntu/+source/facter/+bug/885998 > > > -- > > Jacob Helwighttp://about.me/jhelwig > > > signature.asc > > < 1KViewDownload-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.