Comment 2 for bug 885998

Revision history for this message
Steve Huff (shuff) wrote :

I can confirm that rolling back to facter_1.5.6-2ubuntu2 resolves the issue on 10.04 LTS.

I'm using puppet 2.6.1-0ubuntu2 from the lucid-backports repo.

In addition, I see the following traceback using facter_1.5.6-2ubuntu2.2 when running `facter --debug`:

# facter --debug
/usr/lib/ruby/1.8/timeout.rb:60:in `rbuf_fill': execution expired (Timeout::Error)
 from /usr/lib/ruby/1.8/timeout.rb:62:in `timeout'
 from /usr/lib/ruby/1.8/timeout.rb:93:in `timeout'
 from /usr/lib/ruby/1.8/net/protocol.rb:134:in `rbuf_fill'
 from /usr/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'
 from /usr/lib/ruby/1.8/net/protocol.rb:126:in `readline'
 from /usr/lib/ruby/1.8/net/http.rb:2024:in `read_status_line'
 from /usr/lib/ruby/1.8/net/http.rb:2013:in `read_new'
 from /usr/lib/ruby/1.8/net/http.rb:1050:in `request'
 from /usr/lib/ruby/1.8/open-uri.rb:248:in `open_http'
 from /usr/lib/ruby/1.8/net/http.rb:543: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

Note the calls to ec2.rb; I would look first at the changes implemented in this branch:

https://code.launchpad.net/~gandelman-a/ubuntu/lucid/facter/lp732953_876130

-Steve