Closed
Bug 1331635
Opened 8 years ago
Closed 8 years ago
error building docker bmoweb image
Categories
(MozReview Graveyard :: Testing / Development Environment, defect)
MozReview Graveyard
Testing / Development Environment
Development/Staging
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: imadueme, Assigned: imadueme)
Details
Attachments
(1 file, 1 obsolete file)
Using the vagrant image in https://hg.mozilla.org/hgcustom/version-control-tools/ and running the `create-test-environment` script as the docs at http://mozilla-version-control-tools.readthedocs.io/en/latest/devguide/environment.html suggest leads to the script crashing saying that the bmoweb builder couldn't be built because the bmoweb container terminated unexpectedly.
Upon investigation, the cause seems to be the fact that mysql is improperly configured within the bmoweb container - causing it to timeout on connection retries. MySQL doesn't get configured because the `my.cnf` file is too accessible, so it is ignored: `bmoweb> [91mWarning: World-writable config file '/etc/mysql/my.cnf' is ignored`.
Attached a patch that restricts the permissions on the my.cnf file causing mysql to be configured properly and bmoweb to be built correctly.
Comment hidden (mozreview-request) |
Updated•8 years ago
|
Assignee: nobody → imadueme
Comment 2•8 years ago
|
||
mozreview-review |
Comment on attachment 8827659 [details]
Bug 1331635 - error building docker bmoweb image.
https://reviewboard.mozilla.org/r/105282/#review106324
LGTM
Attachment #8827659 -
Flags: review?(mars) → review+
Comment 3•8 years ago
|
||
mozreview-review |
Comment on attachment 8827659 [details]
Bug 1331635 - error building docker bmoweb image.
https://reviewboard.mozilla.org/r/105282/#review106326
Attachment #8827659 -
Flags: review+
Pushed by mcote@mozilla.com:
https://hg.mozilla.org/hgcustom/version-control-tools/rev/815f0daf91f3
error building docker bmoweb image. r=mars,mcote
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Attachment #8827452 -
Attachment is obsolete: true
You need to log in
before you can comment on or make changes to this bug.
Description
•