[Bug 732953] Re: can_connect function inside ec2.rb always return false

2011-11-07 Thread Paul Hirst
I think this fix may have just broken puppet running on a non EC2 instance. On real hardware we now get the following output from puppet: root@uk-sofalive1:/usr/share/doc/facter# puppetd --test notice: Ignoring --listen on onetime run info: Retrieving plugin err: Could not run Puppet

[Bug 732953] Re: can_connect function inside ec2.rb always return false

2011-11-07 Thread Ben Davis
I'm currently getting this error on a Rackspace Cloud instance, using facter 1.5.8-2ubuntu2.1 # facter -p /usr/lib/ruby/1.8/timeout.rb:64: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

[Bug 732953] Re: can_connect function inside ec2.rb always return false

2011-11-07 Thread Craig Miskell
Confirmed here; same symptoms, breaking the puppet client. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to facter in Ubuntu. https://bugs.launchpad.net/bugs/732953 Title: can_connect function inside ec2.rb always return false To

[Bug 732953] Re: can_connect function inside ec2.rb always return false

2011-11-07 Thread Adam Gandelman
Regression confirmed and currently being tracked in bug #885998. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to facter in Ubuntu. https://bugs.launchpad.net/bugs/732953 Title: can_connect function inside ec2.rb always return false

[Bug 732953] Re: can_connect function inside ec2.rb always return false

2011-11-06 Thread Launchpad Bug Tracker
This bug was fixed in the package facter - 1.5.6-2ubuntu2.2 --- facter (1.5.6-2ubuntu2.2) lucid-proposed; urgency=low * lib/facter/ec2.rb: Properly handle ip+port when testing connectivity of ec2 metadata service.(LP: #732953) * lib/facter/util/collection.rb: Backported fix

[Bug 732953] Re: can_connect function inside ec2.rb always return false

2011-11-06 Thread Launchpad Bug Tracker
This bug was fixed in the package facter - 1.5.7-1ubuntu1.2 --- facter (1.5.7-1ubuntu1.2) maverick-proposed; urgency=low * lib/facter/ec2.rb: Properly handle ip+port when testing connectivity of ec2 metadata service.(LP: #732953) * lib/facter/util/collection.rb: Backported

[Bug 732953] Re: can_connect function inside ec2.rb always return false

2011-11-06 Thread Launchpad Bug Tracker
This bug was fixed in the package facter - 1.5.8-2ubuntu2.1 --- facter (1.5.8-2ubuntu2.1) natty-proposed; urgency=low * debian/patches/reload_all_facts.patch: Reload all facts if the requested fact is not found. Ensures consistency after facts have been cleared. (LP:

[Bug 732953] Re: can_connect function inside ec2.rb always return false

2011-11-02 Thread Jacob Helwig
I can confirm that the packages in lucid-proposed, natty-proposed, and mverick-proposed fix this issue for me. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to facter in Ubuntu. https://bugs.launchpad.net/bugs/732953 Title:

[Bug 732953] Re: can_connect function inside ec2.rb always return false

2011-11-02 Thread Jean-Baptiste Lallement
** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to facter in Ubuntu. https://bugs.launchpad.net/bugs/732953 Title: can_connect function inside ec2.rb always return

[Bug 732953] Re: can_connect function inside ec2.rb always return false

2011-10-31 Thread Martin Pitt
Hello Juan, or anyone else affected, Accepted facter into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! **

[Bug 732953] Re: can_connect function inside ec2.rb always return false

2011-10-31 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/natty-proposed/facter ** Branch linked: lp:ubuntu/lucid-proposed/facter -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to facter in Ubuntu. https://bugs.launchpad.net/bugs/732953 Title: can_connect

[Bug 732953] Re: can_connect function inside ec2.rb always return false

2011-10-31 Thread Martin Pitt
Hello Juan, or anyone else affected, Accepted facter into maverick-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

[Bug 732953] Re: can_connect function inside ec2.rb always return false

2011-10-31 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/maverick-proposed/facter -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to facter in Ubuntu. https://bugs.launchpad.net/bugs/732953 Title: can_connect function inside ec2.rb always return false To manage

[Bug 732953] Re: can_connect function inside ec2.rb always return false

2011-10-25 Thread Launchpad Bug Tracker
** Branch linked: lp:~gandelman-a/ubuntu/maverick/facter/lp732953_876130 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to facter in Ubuntu. https://bugs.launchpad.net/bugs/732953 Title: can_connect function inside ec2.rb always

[Bug 732953] Re: can_connect function inside ec2.rb always return false

2011-10-25 Thread Launchpad Bug Tracker
** Branch linked: lp:~gandelman-a/ubuntu/lucid/facter/lp732953_876130 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to facter in Ubuntu. https://bugs.launchpad.net/bugs/732953 Title: can_connect function inside ec2.rb always return

[Bug 732953] Re: can_connect function inside ec2.rb always return false

2011-10-20 Thread Adam Gandelman
** Changed in: facter (Ubuntu) Status: Confirmed = In Progress -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to facter in Ubuntu. https://bugs.launchpad.net/bugs/732953 Title: can_connect function inside ec2.rb always return

[Bug 732953] Re: can_connect function inside ec2.rb always return false

2011-10-20 Thread Launchpad Bug Tracker
** Branch linked: lp:~gandelman-a/ubuntu/lucid/facter/lp876130_lp732953 ** Branch linked: lp:~gandelman-a/ubuntu/maverick/facter/lp876130_lp732953 ** Branch linked: lp:~gandelman-a/ubuntu/natty/facter/lp876130_lp732953 -- You received this bug notification because you are a member of Ubuntu

[Bug 732953] Re: can_connect function inside ec2.rb always return false

2011-10-20 Thread Chuck Short
** Also affects: facter (Ubuntu Lucid) Importance: Undecided Status: New ** Also affects: facter (Ubuntu Maverick) Importance: Undecided Status: New ** Also affects: facter (Ubuntu Natty) Importance: Undecided Status: New -- You received this bug notification

[Bug 732953] Re: can_connect function inside ec2.rb always return false

2011-10-20 Thread Adam Gandelman
** Description changed: Binary package hint: facter the can_connect function in ec2.rb always return false. I modified the code as follows and it seems to have fixed the issue: Before (Line 9 in ec2.rb): Timeout::timeout(wait_sec) {open(ip, port)} After: Timeout::timeout(wait_sec)

[Bug 732953] Re: can_connect function inside ec2.rb always return false

2011-10-20 Thread Adam Gandelman
** Changed in: facter (Ubuntu Lucid) Importance: Undecided = High ** Changed in: facter (Ubuntu Lucid) Status: New = Triaged ** Changed in: facter (Ubuntu Maverick) Importance: Undecided = High ** Changed in: facter (Ubuntu Maverick) Status: New = Triaged ** Changed in:

[Bug 732953] Re: can_connect function inside ec2.rb always return false

2011-10-20 Thread Chuck Short
** Also affects: facter (Ubuntu Oneiric) Importance: Undecided Status: New ** Also affects: facter (Ubuntu Precise) Importance: High Assignee: Adam Gandelman (gandelman-a) Status: Fix Released -- You received this bug notification because you are a member of Ubuntu

[Bug 732953] Re: can_connect function inside ec2.rb always return false

2011-10-20 Thread Adam Gandelman
** Changed in: facter (Ubuntu Oneiric) Status: New = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to facter in Ubuntu. https://bugs.launchpad.net/bugs/732953 Title: can_connect function inside ec2.rb always

[Bug 732953] Re: can_connect function inside ec2.rb always return false

2011-10-20 Thread Adam Gandelman
The linked branches also resolve Bug #876130 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to facter in Ubuntu. https://bugs.launchpad.net/bugs/732953 Title: can_connect function inside ec2.rb always return false To manage

[Bug 732953] Re: can_connect function inside ec2.rb always return false

2011-10-18 Thread Adam Gandelman
Confirming that this bug still exists in natty (facter 1.5.8-2ubuntu2) but has since been fixed upstream. The issue exists in the can_connect? method and has little to do with the actual URL elsewhere, though changing the meta-data URL to use /latest instead of /2008-02-01 provides a few more

[Bug 732953] Re: can_connect function inside ec2.rb always return false

2011-10-18 Thread Ubuntu QA's Bug Bot
The attachment repatch of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug

Re: [Bug 732953] Re: can_connect function inside ec2.rb always return false

2011-10-18 Thread David Lowes
Hi, Is there any chance you can backport your fix to lucid or integrate my patch into lucid? Please advise me. David Lowes On Mon, Oct 17, 2011 at 11:44 PM, Adam Gandelman 732...@bugs.launchpad.netwrote: Confirming that this bug still exists in natty (facter 1.5.8-2ubuntu2) but has since been

[Bug 732953] Re: can_connect function inside ec2.rb always return false

2011-10-18 Thread Launchpad Bug Tracker
** Branch linked: lp:~gandelman-a/ubuntu/oneiric/facter/lp732953_lp876130 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to facter in Ubuntu. https://bugs.launchpad.net/bugs/732953 Title: can_connect function inside ec2.rb always

[Bug 732953] Re: can_connect function inside ec2.rb always return false

2011-10-18 Thread Adam Gandelman
** Changed in: facter (Ubuntu) Importance: Low = High ** Changed in: facter (Ubuntu) Assignee: David Lowes (davidl-david) = Adam Gandelman (gandelman-a) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to facter in Ubuntu.

[Bug 732953] Re: can_connect function inside ec2.rb always return false

2011-10-02 Thread David Lowes
the port number in the can_connect ruby function should be specified without quotation marks. The attached patch resolved the issue for me. ** Patch added: ubuntu732953-suggestedsolution.diff

[Bug 732953] Re: can_connect function inside ec2.rb always return false

2011-04-21 Thread James D. Nurmi
This bug was not fixed, the part that needs fixing is the 'can_connect' function Patch attached. ** Attachment added: repatch https://bugs.launchpad.net/ubuntu/+source/facter/+bug/732953/+attachment/2081311/+files/repatch -- You received this bug notification because you are a member of

[Bug 732953] Re: can_connect function inside ec2.rb always return false

2011-04-04 Thread Launchpad Bug Tracker
This bug was fixed in the package facter - 1.5.8-2ubuntu2 --- facter (1.5.8-2ubuntu2) natty; urgency=low * lib/facter/ec2.rb: Use the latest-meta api so it always does not return false. (LP: #732953) -- Chuck Short zul...@ubuntu.com Mon, 04 Apr 2011 11:34:30 -0400 **

[Bug 732953] Re: can_connect function inside ec2.rb always return false

2011-03-14 Thread Chuck Short
Juan, Can you provide a patch please? Thanks chuck ** Changed in: facter (Ubuntu) Importance: Undecided = Low ** Changed in: facter (Ubuntu) Status: New = Incomplete -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to facter

[Bug 732953] Re: can_connect function inside ec2.rb always return false

2011-03-14 Thread Juan L. Negron
Here is the modified file. -Juan ** Attachment added: Modified ec2 facter module https://bugs.launchpad.net/ubuntu/+source/facter/+bug/732953/+attachment/1909110/+files/ec2.rb -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to

Re: [Bug 732953] Re: can_connect function inside ec2.rb always return false

2011-03-14 Thread Juan L. Negron
I attached the modified file to the bug. I am attaching to this email as well. -- Thanks, Juan Juan, Can you provide a patch please? Thanks chuck ** Changed in: facter (Ubuntu) Importance: Undecided = Low ** Changed in: facter (Ubuntu) Status: New = Incomplete **

[Bug 732953] Re: can_connect function inside ec2.rb always return false

2011-03-10 Thread Juan L. Negron
The meta-data URL also seems to be wrong: http://169.254.169.254/2008-02-01/meta-data It should be: http://169.254.169.254/latest/meta-data -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to facter in ubuntu.