Last modified: 2013-04-22 16:14:26 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T46041, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44041 - [OPS] adapt varnish mobile puppet class on beta
[OPS] adapt varnish mobile puppet class on beta
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
deployment-prep (beta) (Other open bugs)
unspecified
All All
: Normal enhancement
: ---
Assigned To: Antoine "hashar" Musso (WMF)
: ops
Depends on:
Blocks: 40605
  Show dependency treegraph
 
Reported: 2013-01-16 18:46 UTC by Antoine "hashar" Musso (WMF)
Modified: 2013-04-22 16:14 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Antoine "hashar" Musso (WMF) 2013-01-16 18:46:44 UTC
This is more of a self reminder.

Adapt varnish mobile puppet class on beta.  This is tracked in Mobile as a scrum sprint:

https://mingle.corp.wikimedia.org/projects/mobile/cards/378
Comment 1 Antoine "hashar" Musso (WMF) 2013-01-21 13:44:46 UTC
Puppet change is https://gerrit.wikimedia.org/r/44709
Comment 2 Antoine "hashar" Musso (WMF) 2013-01-21 14:05:00 UTC
Patchset 13 let puppet run properly on the instance and also have the backend/frontend varnish services to run.
Things that are still lacking:
varnishncsa is not running so we have no log at all. We need a varnishncsa that write logs to the local filesystem under /var/log/varnish/
varnish gives out a 503 error:
 $ curl -x 208.80.153.143:80 'http://en.wikipedia.beta.wmflabs.org/'
 <?xml version="1.0" encoding="utf-8"?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html>
  <head>
    <title>503 Service Unavailable</title>
  </head>
  <body>
    <h1>Error 503 Service Unavailable</h1>
    <p>Service Unavailable</p>
    <h3>Guru Meditation:</h3>
    <p>XID: 1535339352</p>
    <hr>
    <p>Varnish cache server</p>
  </body>
 </html>
Comment 3 Antoine "hashar" Musso (WMF) 2013-01-21 14:13:27 UTC
Mailed Andrew / Mark to get more clue :-]
Comment 4 Antoine "hashar" Musso (WMF) 2013-01-27 19:18:28 UTC
I figured it out (I think). https://gerrit.wikimedia.org/r/44709 at patchset 19 manages to get a "Unconfigured domain" error which is the default docroot ;-)

Tested URL:
http://en.wikipedia.m.beta.wmflabs.org/
Comment 5 Antoine "hashar" Musso (WMF) 2013-01-28 15:49:06 UTC
updated mingle card.
Comment 6 Antoine "hashar" Musso (WMF) 2013-02-08 15:50:51 UTC
Everything working fine for now. The URL scheme has been slightly altered to use http://en.m.wikipedia.beta.wmflabs.org/ just like it is in production.

The varnish changes still have to be validated by ops but have been deployed on the labs instance.

I am lowering the priority since all that is left to do is having the deployed changes to be merged.
Comment 7 Antoine "hashar" Musso (WMF) 2013-02-11 10:46:46 UTC
This is pending ops review.
Comment 8 Antoine "hashar" Musso (WMF) 2013-04-15 20:32:46 UTC
I have finally rebased all the pending varnish patches today.  I have created a new instance to test out the class, will get them reviewed / merged as soon as I have verified they are properly working.
Comment 9 Gerrit Notification Bot 2013-04-16 09:11:18 UTC
https://gerrit.wikimedia.org/r/44709 (Gerrit Change I198e5ae4cdea89af82901ddc1461ef4701e9e1cc) | change APPROVED and MERGED [by Mark Bergsma]
Comment 10 Antoine "hashar" Musso (WMF) 2013-04-18 18:03:20 UTC
Finally managed to rebase the changes and talk with mark. He merged the changes :-]  There is nothing left to do now I guess.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links