Closed Bug 1331635 Opened 8 years ago Closed 8 years ago

error building docker bmoweb image

Categories

(MozReview Graveyard :: Testing / Development Environment, defect)

Development/Staging
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: imadueme, Assigned: imadueme)

Details

Attachments

(1 file, 1 obsolete file)

Attached patch bmoweb-mysql-mycnf-fix.patch (obsolete) — Splinter Review
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.
Assignee: nobody → imadueme
Attachment #8827659 - Flags: review?(mars) → review+
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
Attachment #8827452 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: