Closed Bug 1290455 Opened 8 years ago Closed 8 years ago

Add legacy MDC files to MDN developer3-6

Categories

(Infrastructure & Operations Graveyard :: WebOps: Other, task)

All
Other
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jwhitlock, Assigned: fox2mike)

References

Details

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

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
Blocks: 1288157
Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/3268]
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.
Assignee: server-ops-webops → smani
Submitted CHG0010604 for Monday, Aug 1st 1300 PDT.
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.
This was pushed out via puppet successfully and tested.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.