Issue #17925 has been updated by Jeff McCune.
# Backtrace In Facter `1.6.16-18-g788642c` with an EC2 instance running Ubuntu 12.10 and `ruby 1.8.7 (2011-06-30 patchlevel 352)`, this error originates from: <pre> /usr/lib/ruby/1.8/open-uri.rb:277:in `open_http' /usr/lib/ruby/1.8/open-uri.rb:616:in `buffer_open' /usr/lib/ruby/1.8/open-uri.rb:164:in `open_loop' /usr/lib/ruby/1.8/open-uri.rb:162:in `catch' /usr/lib/ruby/1.8/open-uri.rb:162:in `open_loop' /usr/lib/ruby/1.8/open-uri.rb:132:in `open_uri' /usr/lib/ruby/1.8/open-uri.rb:518:in `open' /usr/lib/ruby/1.8/open-uri.rb:30:in `open' /workspace/puppet-3.x/src/facter/lib/facter/ec2.rb:24:in `userdata' /workspace/puppet-3.x/src/facter/lib/facter/util/resolution.rb:233:in `call' /workspace/puppet-3.x/src/facter/lib/facter/util/resolution.rb:233:in `value' /usr/lib/ruby/1.8/timeout.rb:53:in `timeout' /workspace/puppet-3.x/src/facter/lib/facter/util/resolution.rb:231:in `value' /workspace/puppet-3.x/src/facter/lib/facter/util/fact.rb:78:in `value' /workspace/puppet-3.x/src/facter/lib/facter/facterversion.rb:12:in `inject' /workspace/puppet-3.x/src/facter/lib/facter/util/fact.rb:74:in `each' /workspace/puppet-3.x/src/facter/lib/facter/util/fact.rb:74:in `inject' /workspace/puppet-3.x/src/facter/lib/facter/util/fact.rb:74:in `value' /workspace/puppet-3.x/src/facter/lib/facter/util/fact.rb:120:in `searching' /workspace/puppet-3.x/src/facter/lib/facter/util/fact.rb:70:in `value' /workspace/puppet-3.x/src/facter/lib/facter/util/collection.rb:107:in `to_hash' /workspace/puppet-3.x/src/facter/lib/facter/util/loader.rb:81:in `inject' /workspace/puppet-3.x/src/facter/lib/facter/util/collection.rb:106:in `each' /workspace/puppet-3.x/src/facter/lib/facter/util/collection.rb:106:in `inject' /workspace/puppet-3.x/src/facter/lib/facter/util/collection.rb:106:in `to_hash' /workspace/puppet-3.x/src/facter/lib/facter.rb:101:in `send' /workspace/puppet-3.x/src/facter/lib/facter.rb:101:in `to_hash' /workspace/puppet-3.x/src/facter/lib/facter/application.rb:26:in `run' /workspace/puppet-3.x/src/facter/bin/facter:71 Could not retrieve ec2_userdata: 404 Not Found </pre> ---------------------------------------- Bug #17925: Could not retrieve ec2_userdata: 404 Not Found https://projects.puppetlabs.com/issues/17925#change-78331 Author: Banio Carpenter Status: Accepted Priority: Normal Assignee: Category: cloud - ec2 Target version: 1.6.x Keywords: ec2 Branch: Affected Facter version: 1.6.16 # puppet agent --version 3.0.1 # facter --version 1.6.16 # ruby --version ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux] When puppet agent -t is run on my ec2 instances, it outputs on stderr: Could not retrieve ec2_userdata: 404 Not Found This appears to be due to the ec2_userdata function in: /usr/lib/ruby/site_ruby/1.8/facter/ec2.rb When I comment the function I no longer get the error. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
