[Bug 36422] easily reload all apaches
https://bugzilla.wikimedia.org/show_bug.cgi?id=36422 Antoine hashar Musso (WMF) has...@free.fr changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #20 from Antoine hashar Musso (WMF) has...@free.fr --- Seems it is fixed now :) Thank you Bryan. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36422] easily reload all apaches
https://bugzilla.wikimedia.org/show_bug.cgi?id=36422 Bryan Davis bda...@wikimedia.org changed: What|Removed |Added Status|PATCH_TO_REVIEW |NEW Assignee|bda...@wikimedia.org|wikibugs-l@lists.wikimedia. ||org --- Comment #19 from Bryan Davis bda...@wikimedia.org --- My patch was merged, but puppet-salt integration is disabled/broken due to race conditions that occur when new instances are added and need their salt client certs to be accepted on the salt master. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36422] easily reload all apaches
https://bugzilla.wikimedia.org/show_bug.cgi?id=36422 --- Comment #18 from Gerrit Notification Bot gerritad...@wikimedia.org --- Change 125888 merged by Alexandros Kosiaris: beta: New script to restart apaches https://gerrit.wikimedia.org/r/125888 -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36422] easily reload all apaches
https://bugzilla.wikimedia.org/show_bug.cgi?id=36422 Gerrit Notification Bot gerritad...@wikimedia.org changed: What|Removed |Added Status|NEW |PATCH_TO_REVIEW -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36422] easily reload all apaches
https://bugzilla.wikimedia.org/show_bug.cgi?id=36422 --- Comment #17 from Gerrit Notification Bot gerritad...@wikimedia.org --- Change 125888 had a related patch set uploaded by BryanDavis: beta: New script to restart apaches https://gerrit.wikimedia.org/r/125888 -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36422] easily reload all apaches
https://bugzilla.wikimedia.org/show_bug.cgi?id=36422 --- Comment #16 from Antoine hashar Musso has...@free.fr --- Great! Would it be worth adding a few shell wrappers such as: beta-apaches (restart|reload|graceful|stop|start) ? Not sure if it is worth it, but sounds easier to remember than the salt command. -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36422] easily reload all apaches
https://bugzilla.wikimedia.org/show_bug.cgi?id=36422 --- Comment #15 from Bryan Davis bda...@wikimedia.org --- Salt has a built in module for communicating with apache [0]. Our puppet configuration now creates a salt grain for each system role [1]. Putting the two of these together allows us to send all apaches acting as application servers a restart signal from deployment-salt.eqiad.wmflabs: sudo salt -G 'rolename:role::applicationserver::appserver::beta' apache.signal restart All apache instances across the whole beta cluster could be restarted as well: sudo salt -G '*' apache.signal restart [0]: http://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.apache.html [1]: https://gerrit.wikimedia.org/r/#/c/107831/ -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36422] easily reload all apaches
https://bugzilla.wikimedia.org/show_bug.cgi?id=36422 Bryan Davis bda...@wikimedia.org changed: What|Removed |Added Assignee|benap...@gmail.com |bda...@wikimedia.org --- Comment #14 from Bryan Davis bda...@wikimedia.org --- The eqiad instances of deployment-prep now have a local salt master. I'll take a stab at making this a reality. -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36422] easily reload all apaches
https://bugzilla.wikimedia.org/show_bug.cgi?id=36422 Bryan Davis bda...@wikimedia.org changed: What|Removed |Added CC||bda...@wikimedia.org --- Comment #13 from Bryan Davis bda...@wikimedia.org --- Ryan and I are working on adding a dedicated salt master for the beta cluster. When this is doing it should be fairly trivial to implement a script that will tell each apache host to perform a graceful restart. -- You are receiving this mail because: You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36422] easily reload all apaches
https://bugzilla.wikimedia.org/show_bug.cgi?id=36422 --- Comment #12 from Antoine hashar Musso has...@free.fr --- Asked salt status in labs on the labs mailing list: http://permalink.gmane.org/gmane.org.wikimedia.labs/1077 -- You are receiving this mail because: You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36422] easily reload all apaches
https://bugzilla.wikimedia.org/show_bug.cgi?id=36422 jeremyb bugzilla+org.wikime...@tuxmachine.com changed: What|Removed |Added CC||bugzilla+org.wikimedia@tuxm ||achine.com --- Comment #11 from jeremyb bugzilla+org.wikime...@tuxmachine.com --- I'm not sure what the current state of salt in labs is but this seems like a perfect case to use salt. -- You are receiving this mail because: You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36422] easily reload all apaches
https://bugzilla.wikimedia.org/show_bug.cgi?id=36422 Damian Z dam...@damianzaremba.co.uk changed: What|Removed |Added CC||dam...@damianzaremba.co.uk --- Comment #10 from Damian Z dam...@damianzaremba.co.uk 2012-10-11 09:26:50 UTC --- Pulling the data from LDAP into a static file via a script could work. In theory you could do it based off puppet classes, for not-yet-puppetized things you'd have to go off hostname formats or such. Assuming you don't mind forwarding keys to the deployment 'bastion' host allowing ssh should be possible. The alternative would be to look at using Salt once there is an API in place to allow authentication via Nova (I believe production is moving towards Salt for deployment anyway). -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36422] easily reload all apaches
https://bugzilla.wikimedia.org/show_bug.cgi?id=36422 --- Comment #9 from Antoine hashar Musso has...@free.fr 2012-05-30 08:01:26 UTC --- dsh does support netgroups which could be provided through LDAP. But that would require a LDAP schema change. Meanwhile, we will have to edit and maintain some flat file in /etc/dsh/group or something. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36422] easily reload all apaches
https://bugzilla.wikimedia.org/show_bug.cgi?id=36422 Platonides platoni...@gmail.com changed: What|Removed |Added CC||platoni...@gmail.com --- Comment #8 from Platonides platoni...@gmail.com 2012-05-29 22:00:35 UTC --- We should first have a list of all apaches. Maybe there's a ldap magic command we could use? -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36422] easily reload all apaches
https://bugzilla.wikimedia.org/show_bug.cgi?id=36422 Antoine hashar Musso has...@free.fr changed: What|Removed |Added Blocks||37081 --- Comment #7 from Antoine hashar Musso has...@free.fr 2012-05-24 11:21:38 UTC --- We might want to import/reuse the apache* production scripts in /home/wikipedia/bin -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36422] easily reload all apaches
https://bugzilla.wikimedia.org/show_bug.cgi?id=36422 Mark A. Hershberger m...@everybody.org changed: What|Removed |Added Priority|Unprioritized |Normal CC||m...@everybody.org -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36422] easily reload all apaches
https://bugzilla.wikimedia.org/show_bug.cgi?id=36422 --- Comment #1 from Sam Reed (reedy) s...@reedyboy.net 2012-05-02 13:15:18 UTC --- Fenari has a script for doing this: /home/wikipedia/bin/apache-graceful-all No point reinventing the wheel -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36422] easily reload all apaches
https://bugzilla.wikimedia.org/show_bug.cgi?id=36422 --- Comment #2 from Peter Bena benap...@gmail.com 2012-05-02 13:50:06 UTC --- It's cool fenari has it, but as long as it's not open source which is publicly available it's not of much use... -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36422] easily reload all apaches
https://bugzilla.wikimedia.org/show_bug.cgi?id=36422 --- Comment #3 from Peter Bena benap...@gmail.com 2012-05-02 13:50:36 UTC --- it doesn't really need to be open source, but if that code was public it would be enough -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36422] easily reload all apaches
https://bugzilla.wikimedia.org/show_bug.cgi?id=36422 --- Comment #4 from Sam Reed (reedy) s...@reedyboy.net 2012-05-02 13:54:24 UTC --- http://noc.wikimedia.org/~reedy/apache-graceful-all http://noc.wikimedia.org/~reedy/apache-graceful http://noc.wikimedia.org/~reedy/apache-sanity-check (In reply to comment #2) It's cool fenari has it, but as long as it's not open source which is publicly available it's not of much use... It was directed at Antoine, as he does -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36422] easily reload all apaches
https://bugzilla.wikimedia.org/show_bug.cgi?id=36422 --- Comment #5 from Sam Reed (reedy) s...@reedyboy.net 2012-05-02 13:55:42 UTC --- Bleh, this is a crappy script dependency tree... -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36422] easily reload all apaches
https://bugzilla.wikimedia.org/show_bug.cgi?id=36422 --- Comment #6 from Antoine hashar Musso has...@free.fr 2012-05-02 14:01:40 UTC --- The problem is not that much about having the apache-graceful scripts but more about setting up a system that would let us ssh on the other hosts. Currently dsh is of no use :-/ -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l