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
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
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
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
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
Confirmed here; same symptoms, breaking the puppet client.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/732953
Title:
can_connect function inside ec2.rb always return false
To manage
Regression confirmed and currently being tracked in bug #885998.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/732953
Title:
can_connect function inside ec2.rb always return false
To manage
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
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
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
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:
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
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:
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
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:
** 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
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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/732953
Title:
can_connect function
** Tags removed: verification-needed
** Tags added: verification-done
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/732953
Title:
can_connect function inside ec2.rb always return false
To manage
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!
**
** 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
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!
** 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
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!
**
** 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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/732953
Title:
can_connect function inside ec2.rb
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!
** Branch linked: lp:ubuntu/maverick-proposed/facter
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/732953
Title:
can_connect function inside ec2.rb always return false
To manage notifications
** 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
** 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
** Branch linked: lp:~gandelman-a/ubuntu/maverick/facter/lp732953_876130
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/732953
Title:
can_connect function inside ec2.rb always return false
To
** Branch linked: lp:~gandelman-a/ubuntu/lucid/facter/lp732953_876130
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/732953
Title:
can_connect function inside ec2.rb always return false
To manage
** 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
** 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
** 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
** 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)
** 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:
** 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
** 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
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
** Changed in: facter (Ubuntu)
Status: Confirmed = In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/732953
Title:
can_connect function inside ec2.rb always return false
To manage
** 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
** 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
** 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)
** 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:
** 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
** Changed in: facter (Ubuntu Oneiric)
Status: New = Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/732953
Title:
can_connect function inside ec2.rb always return false
To
The linked branches also resolve Bug #876130
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/732953
Title:
can_connect function inside ec2.rb always return false
To manage notifications about this
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
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
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
** 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
** 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.
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
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
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
** Branch linked:
lp:~gandelman-a/ubuntu/oneiric/facter/lp732953_lp876130
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/732953
Title:
can_connect function inside ec2.rb always return false
To
** 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
Bugs, which is subscribed to Ubuntu.
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
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
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
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
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
**
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
**
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
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
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
**
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
Bugs, which is subscribed to Ubuntu.
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
Bugs, which is subscribed to Ubuntu.
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
**
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.
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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/732953
Title:
70 matches
Mail list logo