Closed Bug 946872 Opened 11 years ago Closed 10 years ago

Upgrade to puppet-3.4.2 / Facter-1.7.5

Categories

(Infrastructure & Operations :: RelOps: Puppet, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dustin, Assigned: dustin)

References

Details

Attachments

(3 files)

This upgrade should also include the fix for http://projects.puppetlabs.com/issues/22107 on Mavericks, meaning custom-built DMGs.
The custom-built DMG should also contain the patch for the recent ruby vulns, whatever they may be when I get around to this (collect them all!!)
Summary: Upgrade to puppet-3.4.0 → Upgrade to puppet-3.4.1
Depends on: 938629
The combination of Puppet-3.4.2 and Facter-1.7.5 should be mavericky-compatible (but needs testing!)
Summary: Upgrade to puppet-3.4.1 → Upgrade to puppet-3.4.3 / Facter-1.7.5
Blocks: 938629
No longer depends on: 938629
I'll find a way to test this out in relabs, once we have more of the relabs systems up and running.
OK, this is running in my environment in relabs.  I'll need to spin up some OS X and Ubuntu systems to check those out, then I can ship it.

File syncing from moco to relabs is disabled temporarily.
Summary: Upgrade to puppet-3.4.3 / Facter-1.7.5 → Upgrade to puppet-3.4.2 / Facter-1.7.5
Depends on: 971187
Depends on: 971944
Hm, those minis seem to have corrupt filesystems..
Depends on: 974970
Depends on: 978947
Works fine on Mountain Lion.
The upgrade was a little rocky on Mavericks - some ruby errors about modules not existing.  I assume those are from require's that occur after the upgrade of puppet, and thus don't find the right source code.  That run of puppet failed, but the next one succeeded.
..and verified on Ubuntu as well.

I think we're ready to go here!  We can do one operating system at a time, starting with CentOS (so the masters get updated).
Attached patch bug946872.patchSplinter Review
Attachment #8386175 - Flags: review?(bugspam.Callek)
Oh, I'll only bump the yum repoflag; ignore the other hunk.
Comment on attachment 8386175 [details] [diff] [review]
bug946872.patch

Review of attachment 8386175 [details] [diff] [review]:
-----------------------------------------------------------------

r+ without the deb repoflag change as discussed

::: modules/packages/manifests/puppet.pp
@@ +15,5 @@
> +    $old_facter_version = "1.7.1"
> +    $new_facter_version = "1.7.5"
> +    $facter_dmg_version = "${old_facter_version}"
> +    $facter_rpm_version = "${new_facter_version}-1.el6"
> +    $facter_deb_version = "${old_facter_version}-1puppetlabs1"

nit: drop "new_" from these vars, not worth the confusion once we drop "old_"

If you have a compelling reason to leave as-is it's acceptable though
Attachment #8386175 - Flags: review?(bugspam.Callek) → review+
I'm going to keep new until they're all new, then drop it.
Notice: /Stage[main]/Packages::Puppet/Package[facter]/ensure: ensure changed '1.7.1-1.el6' to '1.7.5-1.el6'
Notice: /Stage[main]/Packages::Puppet/Package[puppet]/ensure: ensure changed '3.2.2-1.el6' to '3.4.2-1.el6'
Notice: Finished catalog run in 26.62 seconds

re-run works fine.

Things went a little less well on the puppet masters.  I think what happened is this: the upgrade of puppet caused an upgrade of puppet-server as well, but to the latest version in the repo (3.4.3).  The later attempt to "upgrade" puppet-server to 3.4.2 failed because by then it was a downgrade.  I manually ran 'yum downgrade' on the puppet masters (along with a manual 'service httpd restart') and this seemed to fix it.

I emailed the list.
Attachment #8386842 - Flags: review?(bugspam.Callek)
Attachment #8386842 - Flags: review?(bugspam.Callek) → review+
Ubuntu repos are sync'd, ready to roll on Monday.
Comment on attachment 8386842 [details] [diff] [review]
bug946872-p1.patch

[root@talos-linux64-ix-011.test.releng.scl3.mozilla.com ~]# puppet --version
3.4.2

looks fine from here
Attachment #8386842 - Flags: checked-in+
..and finally, OS X.
Attachment #8389291 - Flags: review?(bugspam.Callek)
Comment on attachment 8389291 [details] [diff] [review]
bug946872-p2.patch

Review of attachment 8389291 [details] [diff] [review]:
-----------------------------------------------------------------

feel free to deploy this today, just ping in #releng so I know
Attachment #8389291 - Flags: review?(bugspam.Callek) → review+
Attachment #8389291 - Flags: checked-in+
I'm not seeing any errors, so I'm going to cautiously call this fixed.  Yay!
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Worth noting here: this facter upgrade is to the newest version, but it still doesn't get the ec2_* facts.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: