Closed
Bug 1144897
Opened 11 years ago
Closed 11 years ago
checkout_tools should use bundles
Categories
(Release Engineering :: General, defect)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: rail, Assigned: rail)
Details
Attachments
(2 files)
|
1.92 KB,
patch
|
catlee
:
review+
rail
:
checked-in+
|
Details | Diff | Splinter Review |
|
4.42 KB,
patch
|
mrrrgn
:
review+
rail
:
checked-in+
|
Details | Diff | Splinter Review |
No description provided.
| Assignee | ||
Comment 1•11 years ago
|
||
I generated the bundles by https://hg.mozilla.org/build/braindump/rev/573fbe04db08, which should be automated as well.
Attachment #8579623 -
Flags: review?(catlee)
Updated•11 years ago
|
Attachment #8579623 -
Flags: review?(catlee) → review+
| Assignee | ||
Comment 2•11 years ago
|
||
Comment on attachment 8579623 [details] [diff] [review]
bundles.diff
remote: https://hg.mozilla.org/build/puppet/rev/d1edd1224e69
remote: https://hg.mozilla.org/build/puppet/rev/5b73832a3024
Attachment #8579623 -
Flags: checked-in+
Comment 3•11 years ago
|
||
[cltbld@bld-linux64-spot-381.build.releng.usw2.mozilla.com log]$ cat runner.log
2015-03-18 21:03:16,293 - INFO - iteration 1
Traceback (most recent call last):
File "<string>", line 1, in <module>
IOError: [Errno 13] Permission denied: '/etc/instance_metadata.json'
Comment 4•11 years ago
|
||
The mode of /etc/instance_metadata.json is 600, despite examples of 'chmod 644' in puppet/modules/instance_metadata/templates/*. The task appears to be running as cltbld.
Backing out for next golden AMI generation:
https://hg.mozilla.org/build/puppet/rev/4f5fd29e86a8
https://hg.mozilla.org/build/puppet/rev/59ad3b18e9bd
Working on killing bad golden AMIs and the instances running them.
Comment 5•11 years ago
|
||
Cleaned up the 4 variations for build/try and usw2/use1.
| Assignee | ||
Comment 6•11 years ago
|
||
It turns out we have a bunch of work arounds to chmod the file instead of fixing the root close. Let's do eet! This happens because tempfile.mkstemp()'s default is 600.
Attachment #8580014 -
Flags: review?(winter2718)
| Assignee | ||
Updated•11 years ago
|
Attachment #8579623 -
Flags: checked-in+ → checked-in-
Comment 7•11 years ago
|
||
Comment on attachment 8580014 [details] [diff] [review]
instance_metadata_chmod.diff
Makes sense!
Attachment #8580014 -
Flags: review?(winter2718) → review+
| Assignee | ||
Comment 8•11 years ago
|
||
Comment on attachment 8580014 [details] [diff] [review]
instance_metadata_chmod.diff
https://hg.mozilla.org/build/puppet/rev/05c4c8653bbf
Attachment #8580014 -
Flags: checked-in+
| Assignee | ||
Comment 9•11 years ago
|
||
Comment on attachment 8579623 [details] [diff] [review]
bundles.diff
Take 2!
remote: https://hg.mozilla.org/build/puppet/rev/e23ce2e2a677
remote: https://hg.mozilla.org/build/puppet/rev/d87126cde406
Attachment #8579623 -
Flags: checked-in- → checked-in+
| Assignee | ||
Comment 10•11 years ago
|
||
BTW, just found this
2015-03-19 08:00:39,158 - DEBUG - tasks: ['0-checkout_tools', '00-instance_metadata', '1-cleanslate', '1-cleanup', '1-mig_agent', '1-purge_builds', '3-config_mockbuild', '3-populate_shared_repos', '3-update_shared_repos', '4-buildbot.py', '99-post_flight']
00-instance_metadata runs after 0-checkout_tools, this is why the mode was not consistent.
I'm going to file another bug to fix that.
| Assignee | ||
Comment 11•11 years ago
|
||
bundleclone should handle this
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INCOMPLETE
Updated•8 years ago
|
Component: General Automation → General
You need to log in
before you can comment on or make changes to this bug.
Description
•