Closed
Bug 906765
Opened 12 years ago
Closed 12 years ago
concatfragments.rb fails on first runs
Categories
(Infrastructure & Operations :: RelOps: Puppet, task)
Infrastructure & Operations
RelOps: Puppet
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dustin, Assigned: dustin)
References
Details
Attachments
(1 file)
732 bytes,
patch
|
Callek
:
review+
dustin
:
checked-in+
|
Details | Diff | Splinter Review |
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.
Comment 1•12 years ago
|
||
(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)
Assignee | ||
Comment 2•12 years ago
|
||
Looks like it's a forgotten dependency on fragments.concat.out.
Assignee | ||
Comment 3•12 years ago
|
||
And it's not a plugin
Assignee | ||
Comment 4•12 years ago
|
||
since you spoke up :)
Attachment #792440 -
Flags: review?(bugspam.Callek)
Updated•12 years ago
|
Attachment #792440 -
Flags: review?(bugspam.Callek) → review+
Assignee | ||
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•12 years ago
|
Attachment #792440 -
Flags: checked-in+
You need to log in
before you can comment on or make changes to this bug.
Description
•