Add legacy MDC files to MDN developer3-6

RESOLVED FIXED

Status

Infrastructure & Operations
WebOps: Other
RESOLVED FIXED
a year ago
a year ago

People

(Reporter: jwhitlock, Assigned: fox2mike)

Tracking

Details

(Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/3268])

(Reporter)

Description

a year ago
The Apache configuration for developer.mozilla.org is at:

/etc/httpd/mozilla/domains/developer.mozilla.org.conf

It includes some paths for legacy MDC files:

  Alias /presentations /data/www/presentations
  Alias /samples /data/www/samples
  Alias /diagrams /data/www/diagrams

These paths do not exist on the new web servers setup with bug 1273527:

developer4.webapp.scl3.mozilla.com
developer5.webapp.scl3.mozilla.com
developer6.webapp.scl3.mozilla.com

They should be created the same as on developer1, at soft links to the netapp mount:

samples -> /mnt/netapp/developer.mozilla.org/public/samples
presentations -> /mnt/netapp/developer.mozilla.org/public/presentations
diagrams -> /mnt/netapp/developer.mozilla.org/public/diagrams

This is causing intermittent issues with these pages, as reported in bug 1288157
(Reporter)

Updated

a year ago
Blocks: 1288157

Updated

a year ago
Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/3268]
(Assignee)

Comment 1

a year ago
Possible fix :

shyam@quorra ~/mozilla/repos/svn/sysadmins/puppet/trunk/modules/webapp/manifests/developer $ svn diff
Index: prod.pp
===================================================================
--- prod.pp	(revision 120501)
+++ prod.pp	(working copy)
@@ -81,7 +81,24 @@
       }
     }

+    file {'/data/www/diagrams':
+        ensure  => 'link',
+        target  => '/mnt/netapp/developer.mozilla.org/public/diagrams',
+        require => Mount['/mnt/netapp'];
+    }

+    file {'/data/www/presentations':
+        ensure  => 'link',
+        target  => '/mnt/netapp/developer.mozilla.org/public/presentations',
+        require => Mount['/mnt/netapp'];
+    }
+
+    file {'/data/www/samples':
+        ensure  => 'link',
+        target  => '/mnt/netapp/developer.mozilla.org/public/samples',
+        require => Mount['/mnt/netapp'];
+    }
+
     class { 'webapp::util::log_status': }

 }

I'm not going to push this out on a Friday evening, we'll review and push this out on Monday. Moving into the current sprint, though.

Updated

a year ago
Assignee: server-ops-webops → smani
(Assignee)

Comment 2

a year ago
Submitted CHG0010604 for Monday, Aug 1st 1300 PDT.
(Reporter)

Comment 3

a year ago
https://developer.mozilla.org/samples/cssref/border.html is a URL that is backed by the samples mount, and is a good test to ensure the files are present.
(Assignee)

Comment 4

a year ago
This was pushed out via puppet successfully and tested.
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.