Closed Bug 621195 Opened 15 years ago Closed 15 years ago

ensure DocumentRoot exists on talos slaves

Categories

(Release Engineering :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dustin, Assigned: dustin)

Details

Attachments

(1 file, 2 obsolete files)

I'm seeing this on a staging slave Dec 23 00:01:55 talos-r3-leopard-002 com.apple.launchd[1] (org.apache.httpd[595]): Exited with exit code: 1 Dec 23 00:01:55 talos-r3-leopard-002 com.apple.launchd[1] (org.apache.httpd): Throttling respawn: Will start in 10 seconds Dec 23 00:02:05 talos-r3-leopard-002 org.apache.httpd[596]: Syntax error on line 163 of /private/etc/apache2/httpd.conf: Dec 23 00:02:05 talos-r3-leopard-002 org.apache.httpd[596]: DocumentRoot must be a directory Dec 23 00:02:05 talos-r3-leopard-002 com.apple.launchd[1] (org.apache.httpd[596]): Exited with exit code: 1 Dec 23 00:02:05 talos-r3-leopard-002 com.apple.launchd[1] (org.apache.httpd): Throttling respawn: Will start in 10 seconds ... The reference platforms wiki says that directory should exist (assuming I read "mozqa" as "cltbld"): https://wiki.mozilla.org/ReferencePlatforms/Test/Leopard#Apache_Setup but since it doesn't, puppet should probably create it.
This probably isn't a huge problem because: - the dir exists on ref images, in theory - the talos builds mkdir talos-data before they run so at worst, a newly-imaged machine would fail its first talos build on Fedora because apache wasn't running. From what I can tell, Fedora does not retry starting Apache after the initial failure. It might fail on leopard, too, but launchd is trying to start apache every 10 seconds, so if there's more than ten seconds between making the directory and needing to access it via apache, then the tests will succeed. Anyway, this is easy to fix in puppet.
Attachment #499552 - Flags: review?(bhearsum)
Comment on attachment 499552 [details] [diff] [review] m621195-puppet-manifests-r1.patch I don't think the "staff" group exists on fedora. Looks like we use cltbld:cltbld there.
Attachment #499552 - Flags: review?(bhearsum) → review-
Nice catch. Oddly, it did create the directory!
Attachment #499552 - Attachment is obsolete: true
Attachment #499582 - Flags: review?(bhearsum)
Comment on attachment 499582 [details] [diff] [review] m621195-puppet-manifests-r2.patch The directory should be 755, sorry I didn't catch that in the first round.
Attachment #499582 - Flags: review?(bhearsum) → review-
Actually, it's 775 the way the buildslave creates it.
r3's the charm...
Attachment #499582 - Attachment is obsolete: true
Attachment #500890 - Flags: review?(bhearsum)
Attachment #500890 - Flags: review?(bhearsum) → review+
ace8476f11bc Deployed to all four puppet masters. No drama.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: