Closed Bug 906765 Opened 12 years ago Closed 12 years ago

concatfragments.rb fails on first runs

Categories

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

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dustin, Assigned: dustin)

References

Details

Attachments

(1 file)

I see a lot of this across operating systems: Thu Aug 15 07:37:57 -0700 2013 Puppet (err): "/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby" /var/lib/puppet/concat/bin/concatfragments.rb -o /var/lib/puppet/concat/_Users_cltbld_.ssh_authorized_keys/fragments.concat.out-d /var/lib/puppet/concat/_Users_cltbld_.ssh_authorized_keys returned 1 instead of one of [0] Thu Aug 15 07:37:57 -0700 2013 /Stage[main]/Users::Builder::Setup/Ssh::Userconfig[cltbld]/Concat[/Users/cltbld/.ssh/authorized_keys]/Exec[concat_/Users/cltbld/.ssh/authorized_keys]/returns(err): change from notrun to 0 failed: "/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby" /var/lib/puppet/concat/bin/concatfragments.rb -o /var/lib/puppet/concat/_Users_cltbld_.ssh_authorized_keys/fragments.concat.out-d /var/lib/puppet/concat/_Users_cltbld_.ssh_authorized_keys returned 1 instead of one of [0] Thu Aug 15 07:37:57 -0700 2013 /Stage[main]/Users::Builder::Setup/Ssh::Userconfig[cltbld]/Concat[/Users/cltbld/.ssh/authorized_keys]/Exec[concat_/Users/cltbld/.ssh/authorized_keys](err): Failed to call refresh: "/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby" /var/lib/puppet/concat/bin/concatfragments.rb -o /var/lib/puppet/concat/_Users_cltbld_.ssh_authorized_keys/fragments.concat.out-d /var/lib/puppet/concat/_Users_cltbld_.ssh_authorized_keys returned 1 instead of one of [0] Thu Aug 15 07:37:57 -0700 2013 /Stage[main]/Users::Builder::Setup/Ssh::Userconfig[cltbld]/Concat[/Users/cltbld/.ssh/authorized_keys]/Exec[concat_/Users/cltbld/.ssh/authorized_keys](err): "/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby" /var/lib/puppet/concat/bin/concatfragments.rb -o /var/lib/puppet/concat/_Users_cltbld_.ssh_authorized_keys/fragments.concat.out-d /var/lib/puppet/concat/_Users_cltbld_.ssh_authorized_keys returned 1 instead of one of [0] But it will work fine on the next run. It could be as simple as a missed dependency.
Blocks: 895885
(In reply to Dustin J. Mitchell [:dustin] from comment #0) > I see a lot of this across operating systems: > > But it will work fine on the next run. It could be as simple as a missed > dependency. I actually suspect this is what I warned you about elsewhere (even if I didn't word myself well). The idea of it being in a ruby plugin, means first-run needs to enable pluginsync first, and then actually sync it down, before it can actually be used. Feel free to correct me if I'm wrong. I also really want this to not error at us somehow (even if we have a soft, "firstrun" fact we use to switch on or something)
Looks like it's a forgotten dependency on fragments.concat.out.
And it's not a plugin
Attached patch bug906765.patchSplinter Review
since you spoke up :)
Attachment #792440 - Flags: review?(bugspam.Callek)
Attachment #792440 - Flags: review?(bugspam.Callek) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Attachment #792440 - Flags: checked-in+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: