2011-10-17 01:47:43 |
Jacob Helwig |
bug |
|
|
added bug |
2011-10-17 19:31:21 |
William Van Hevelingen |
facter (Ubuntu): status |
New |
Confirmed |
|
2011-10-17 19:33:26 |
William Van Hevelingen |
bug |
|
|
added subscriber Reid Vandewiele |
2011-10-17 19:33:34 |
William Van Hevelingen |
bug |
|
|
added subscriber Spencer Krum |
2011-10-17 19:33:43 |
William Van Hevelingen |
bug |
|
|
added subscriber William Van Hevelingen |
2011-10-17 19:46:53 |
Jean-Baptiste Lallement |
facter (Ubuntu): importance |
Undecided |
High |
|
2011-10-17 19:46:53 |
Jean-Baptiste Lallement |
facter (Ubuntu): status |
Confirmed |
Triaged |
|
2011-10-18 00:49:22 |
Launchpad Janitor |
branch linked |
|
lp:~gandelman-a/ubuntu/oneiric/facter/lp876130 |
|
2011-10-18 01:01:10 |
Adam Gandelman |
facter (Ubuntu): status |
Triaged |
In Progress |
|
2011-10-18 01:01:10 |
Adam Gandelman |
facter (Ubuntu): assignee |
|
Adam Gandelman (gandelman-a) |
|
2011-10-18 23:40:32 |
Launchpad Janitor |
branch linked |
|
lp:~gandelman-a/ubuntu/oneiric/facter/876130 |
|
2011-10-18 23:45:36 |
Adam Gandelman |
nominated for series |
|
Ubuntu Lucid |
|
2011-10-18 23:45:36 |
Adam Gandelman |
nominated for series |
|
Ubuntu Maverick |
|
2011-10-18 23:45:36 |
Adam Gandelman |
nominated for series |
|
Ubuntu Natty |
|
2011-10-18 23:45:36 |
Adam Gandelman |
nominated for series |
|
Ubuntu Precise |
|
2011-10-18 23:45:36 |
Adam Gandelman |
nominated for series |
|
Ubuntu Oneiric |
|
2011-10-18 23:51:22 |
Launchpad Janitor |
branch linked |
|
lp:~gandelman-a/ubuntu/lucid/facter/876130 |
|
2011-10-19 02:04:23 |
Launchpad Janitor |
branch linked |
|
lp:~gandelman-a/ubuntu/oneiric/facter/lp732953_lp876130 |
|
2011-10-20 17:54:22 |
Launchpad Janitor |
branch linked |
|
lp:~gandelman-a/ubuntu/oneiric/facter/lp876130 |
|
2011-10-20 17:56:25 |
Launchpad Janitor |
branch linked |
|
lp:~gandelman-a/ubuntu/maverick/facter/lp876130_lp732953 |
|
2011-10-20 17:56:28 |
Launchpad Janitor |
branch linked |
|
lp:~gandelman-a/ubuntu/natty/facter/lp876130_lp732953 |
|
2011-10-20 18:01:06 |
Adam Gandelman |
branch linked |
|
lp:~gandelman-a/ubuntu/lucid/facter/lp876130_lp732953 |
|
2011-10-20 18:06:41 |
Chuck Short |
bug task added |
|
facter (Ubuntu Lucid) |
|
2011-10-20 18:06:43 |
Dave Walker |
bug task added |
|
facter (Ubuntu Precise) |
|
2011-10-20 18:06:52 |
Chuck Short |
bug task added |
|
facter (Ubuntu Maverick) |
|
2011-10-20 18:06:54 |
Dave Walker |
bug task added |
|
facter (Ubuntu Oneiric) |
|
2011-10-20 18:07:05 |
Chuck Short |
bug task added |
|
facter (Ubuntu Natty) |
|
2011-10-20 18:07:21 |
Dave Walker |
facter (Ubuntu Precise): status |
In Progress |
Fix Released |
|
2011-10-20 18:26:54 |
Adam Gandelman |
description |
Facter will report the wrong operatingsystem when queried from a puppet agent run.
To demonstrate this:
$ irb
irb(main):001:0> require 'facter'
=> true
irb(main):002:0> Facter.version
=> "1.5.9"
irb(main):003:0> Facter["operatingsystem"].value
=> "Ubuntu"
irb(main):004:0> Facter.clear
=> nil
irb(main):005:0> Facter["operatingsystem"].value
=> "Debian"
irb(main):006:0>
This has been fixed upstream in Facter 1.6.0+.
% RUBYLIB=`pwd`/lib irb
>> require 'facter'
> true
>> Facter.version
> "1.6.0"
>> Facter["operatingsystem"].value
> "Ubuntu"
>> Facter.clear
> nil
>> Facter["operatingsystem"].value
> "Ubuntu"
For the upstream bug see: http://projects.puppetlabs.com/issues/7670 |
Facter will report the wrong operatingsystem when queried from a puppet agent run.
To demonstrate this:
$ irb
irb(main):001:0> require 'facter'
=> true
irb(main):002:0> Facter.version
=> "1.5.9"
irb(main):003:0> Facter["operatingsystem"].value
=> "Ubuntu"
irb(main):004:0> Facter.clear
=> nil
irb(main):005:0> Facter["operatingsystem"].value
=> "Debian"
irb(main):006:0>
This has been fixed upstream in Facter 1.6.0+.
% RUBYLIB=`pwd`/lib irb
>> require 'facter'
> true
>> Facter.version
> "1.6.0"
>> Facter["operatingsystem"].value
> "Ubuntu"
>> Facter.clear
> nil
>> Facter["operatingsystem"].value
> "Ubuntu"
For the upstream bug see: http://projects.puppetlabs.com/issues/7670
======
IMPACT:
* Puppet users who make use of a puppetmaster and pluginsync can be bitten by this bug. After the master has synced plugins down to clients, facter clears its fact database. Some facts are inconsistent after clearing (see example above). Later puppet runs of modules and configuration that make use of facter facts will produce unexpected outcomes and system configuration.
ADDRESSED:
* This bug has been fixed upstream and merged into Ubuntu Precise. The fix has can be cherry picked and applied to oneiric series and backported to earlier series.
REPRODUCE:
* The irb test above can be used to reliably test whether a version is affected or not.
REGRESSION POTENTIAL:
* The chances of regression are minimal. The upstream patch cherry-picked into the oneiric branch contains a fix and modification to unit tests. Previous versions contain a minimal patch that only contains the fix and does not touch unit tests as they did not exist in those versions.
====== |
|
2011-10-20 18:27:37 |
Adam Gandelman |
facter (Ubuntu Oneiric): importance |
Undecided |
High |
|
2011-10-20 18:27:37 |
Adam Gandelman |
facter (Ubuntu Oneiric): status |
New |
Triaged |
|
2011-10-20 18:27:47 |
Adam Gandelman |
facter (Ubuntu Natty): importance |
Undecided |
High |
|
2011-10-20 18:27:47 |
Adam Gandelman |
facter (Ubuntu Natty): status |
New |
Triaged |
|
2011-10-20 18:27:59 |
Adam Gandelman |
facter (Ubuntu Maverick): importance |
Undecided |
High |
|
2011-10-20 18:27:59 |
Adam Gandelman |
facter (Ubuntu Maverick): status |
New |
Triaged |
|
2011-10-20 18:28:08 |
Adam Gandelman |
facter (Ubuntu Lucid): importance |
Undecided |
High |
|
2011-10-20 18:28:08 |
Adam Gandelman |
facter (Ubuntu Lucid): status |
New |
Triaged |
|
2011-10-20 18:28:26 |
Adam Gandelman |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2011-10-21 05:09:24 |
Adam Gandelman |
bug |
|
|
added subscriber Adam Gandelman |
2011-10-25 17:36:25 |
Launchpad Janitor |
branch linked |
|
lp:~gandelman-a/ubuntu/lucid/facter/lp732953_876130 |
|
2011-10-25 17:45:24 |
Launchpad Janitor |
branch linked |
|
lp:~gandelman-a/ubuntu/maverick/facter/lp732953_876130 |
|
2011-10-31 19:34:03 |
Martin Pitt |
facter (Ubuntu Oneiric): status |
Triaged |
Fix Committed |
|
2011-10-31 19:34:07 |
Martin Pitt |
bug |
|
|
added subscriber SRU Verification |
2011-10-31 19:34:13 |
Martin Pitt |
tags |
|
verification-needed |
|
2011-10-31 19:51:57 |
Martin Pitt |
facter (Ubuntu Lucid): status |
Triaged |
Fix Committed |
|
2011-10-31 19:53:34 |
Martin Pitt |
facter (Ubuntu Natty): status |
Triaged |
Fix Committed |
|
2011-10-31 20:18:23 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/natty-proposed/facter |
|
2011-10-31 20:18:36 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/oneiric-proposed/facter |
|
2011-10-31 20:18:42 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/lucid-proposed/facter |
|
2011-10-31 20:38:59 |
Martin Pitt |
facter (Ubuntu Maverick): status |
Triaged |
Fix Committed |
|
2011-10-31 20:44:24 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/maverick-proposed/facter |
|
2011-11-02 20:30:46 |
Martin Pitt |
tags |
verification-needed |
verification-done |
|
2011-11-07 05:27:47 |
Launchpad Janitor |
facter (Ubuntu Lucid): status |
Fix Committed |
Fix Released |
|
2011-11-07 05:27:52 |
Launchpad Janitor |
facter (Ubuntu Maverick): status |
Fix Committed |
Fix Released |
|
2011-11-07 05:28:06 |
Launchpad Janitor |
facter (Ubuntu Natty): status |
Fix Committed |
Fix Released |
|
2011-11-07 05:28:12 |
Launchpad Janitor |
facter (Ubuntu Oneiric): status |
Fix Committed |
Fix Released |
|