Last modified: 2013-04-22 16:15:21 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 T40996, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38996 - [OPS] apache2 need manual start
[OPS] apache2 need manual start
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
deployment-prep (beta) (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Antoine "hashar" Musso (WMF)
: ops
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-03 08:47 UTC by Antoine "hashar" Musso (WMF)
Modified: 2013-04-22 16:15 UTC (History)
6 users (show)

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


Attachments

Description Antoine "hashar" Musso (WMF) 2012-08-03 08:47:05 UTC
The apache2 is disabled per the puppet manifest. Whenever our apache boxes reboot, they end up not listening to HTTP traffic.  This is caused by the puppet production lass which exec mw-sync before starting the apache2 service. That is done in production to ensure we do not add in the pool an out of sync apache.

We have to manually restart apache2 on all apaches:

 sudo service apache2 start
Comment 1 Platonides 2012-08-04 08:45:25 UTC
I see apache-trigger-mw-sync is defined as 
   exec { 'apache-trigger-mw-sync':
      command => '/bin/true',
which is exactly what I was going to suggest (symlink mw-sync to /bin/true in labs).

So it should just be a matter of disabling mediawiki::sync ?
Comment 2 Andre Klapper 2012-12-18 22:01:07 UTC
Is this still the setup?
Comment 3 Antoine "hashar" Musso (WMF) 2013-02-07 12:18:14 UTC
Fake sync is proposed with https://gerrit.wikimedia.org/r/#/c/47398
Comment 4 Antoine "hashar" Musso (WMF) 2013-02-11 15:03:48 UTC
Pending ops review
Comment 5 Antoine "hashar" Musso (WMF) 2013-02-15 15:36:54 UTC
Change merged by mutante:

puppet brings up the apache2 service on labs:

 notice: /Stage[main]/Applicationserver::Config::Apache/Exec[Fake sync apache wmf config on beta]/returns: executed successfully
 notice: /Stage[main]/Applicationserver::Service/Service[apache]/ensure: ensure changed 'stopped' to 'running'

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


Navigation
Links