Commit graph

9846 commits

Author SHA1 Message Date
Patrick Uiterwijk
83948e50e3 Separate Pagure main and Pagure docs
RCA of issue sent on IRC:
It's a very interresting edge case and related to my previous diag.
In short: both the pagure main app and pagure docs app were using the same process pool (WSGIProcessDaemon).
As soon as they would both be loaded in the same thread, they would both load the FFI (C wrapper) code, and only the
latest process to load it would still have valid type references, the other would start sending wrong references,
which causes it to error out (correctly), because it doesn't know the types it got.
So basically, the fix I just applied is put pagure docs into its own WSGI daemon process, that keeps them nicely separated.
the reason that this didn't hit in staging and why it also worked *sometimes* in production is that it would only crash if:

1. both pagure main app and docs app were loaded in the thread that's used for the current request
2. pagure docs app was loaded last in the current thread, overriding the types for pagure main app, and
3. we have 4 processes with 4 threads each, so each request gets into one of 16 threads, making the staging
   not likely to hit the previous two conditions, but prod has so many requests it's likely to hit 1 and 2
2015-07-23 22:13:41 +00:00
Kevin Fenzi
74b1bcc53f Disable dns include for now and fix up some more nonagios conditionals 2015-07-23 21:10:04 +00:00
Kevin Fenzi
059638a80f Try and fix optional conditionals on vhost_update/reboot playbooks 2015-07-23 20:17:24 +00:00
Kevin Fenzi
9a8425fe55 Have all these use the same ntp config 2015-07-23 20:05:39 +00:00
Kevin Fenzi
c517b616f8 Add qadevel/qa-stg and comment cloud for now. 2015-07-23 19:19:19 +00:00
Kevin Fenzi
a059993c79 Add twisted-buildbots to master playbook 2015-07-23 19:15:54 +00:00
Luke Macken
6fd18a04ba bodhi2: Use our own mash.conf 2015-07-23 19:15:10 +00:00
Luke Macken
fc1cc7043c bodhi2: Remove duplicate *.mash task 2015-07-23 19:07:26 +00:00
Luke Macken
040a47fbd6 bodhi2: copy over the mash configs 2015-07-23 19:01:48 +00:00
Luke Macken
916b6c2113 bodhi2: add the f23 mash configs 2015-07-23 18:55:00 +00:00
Luke Macken
5df1297b17 bodhi2: remove the f20 mash configs 2015-07-23 18:54:21 +00:00
Luke Macken
67fd9ed100 bodhi2: Mash outside of /mnt/koji in staging 2015-07-23 18:38:07 +00:00
Kevin Fenzi
6ce06b4495 Fix security group for icmp 2015-07-23 17:39:41 +00:00
Kevin Fenzi
f25e24a935 Add inventory for twisted buildbots 2015-07-23 17:36:13 +00:00
Kevin Fenzi
fc61c82690 Indentation issues fixed. 2015-07-23 17:34:39 +00:00
Kevin Fenzi
64a1639e66 Add twisted buildbots to new cloud. 2015-07-23 17:32:58 +00:00
5d7eba1b16 updating variable to reflect db reality on qa-stg 2015-07-23 17:01:38 +00:00
a74ea88f32 updating conditional in phabricator conf to work with empty string for ssl intermediate file 2015-07-23 16:56:51 +00:00
68ff5c5d2a adding missing var for qa-stg 2015-07-23 16:54:12 +00:00
e485926b9b setting up mariadb backups for phabricator 2015-07-23 16:51:02 +00:00
Kevin Fenzi
bbb4a50c11 Move nfs vars for arm builders in compose channel to the new ones. 2015-07-23 15:23:32 +00:00
Valentin Gologuzov
a226798a30 typo 2015-07-23 13:43:13 +02:00
Valentin Gologuzov
edd69388fc [copr][dist-git] custom dist-git config, running dist-git init script; ssh config for copr-service 2015-07-23 13:27:05 +02:00
Valentin Gologuzov
4f257f6dd9 [copr][dist-git] change mode for /etc/copr/copr-dist-git.conf 2015-07-23 12:49:51 +02:00
Valentin Gologuzov
1b3d9c4d98 [copr][dist-git] chmod to 0775 for /var/lib/dist-git/git 2015-07-23 12:26:29 +02:00
Valentin Gologuzov
d3f6de0532 typo 2015-07-23 12:24:04 +02:00
Valentin Gologuzov
eb47a61a7f [copr][dist-git] add gitconfig for copr-service; change group of /var/lib/dist-git/git/ to packager 2015-07-23 12:20:01 +02:00
Patrick Uiterwijk
bceaf2c35c This instance does not need its extra storage in the end 2015-07-23 09:51:49 +00:00
Valentin Gologuzov
68bb45b037 [copr][dist-git] install config for copr-dist-git 2015-07-23 11:09:40 +02:00
Valentin Gologuzov
d32e32fdca [copr][dist-git] mount data volume 2015-07-23 10:55:35 +02:00
Valentin Gologuzov
1b0f0497ec typo 2015-07-23 10:39:32 +02:00
Valentin Gologuzov
0cfaa8595b [copr][dist-git] host_vars for prod instance 2015-07-23 10:35:17 +02:00
Pierre-Yves Chibon
20c9a3e6cb Works better w/o typo 2015-07-23 09:59:43 +02:00
Pierre-Yves Chibon
aab7b9e5fc Adjust the apache configuration of docs.pagure.org to be ssl only 2015-07-23 09:57:45 +02:00
Pierre-Yves Chibon
f900885937 Install the ssl certs for docs.pagure.org 2015-07-23 09:56:48 +02:00
Kevin Fenzi
1803473df8 Adjust pagure config to work. 2015-07-23 03:45:11 +00:00
2ada7bc4c9 setting correct color for production phabricator, enabling email 2015-07-23 02:45:43 +00:00
Kevin Fenzi
824a417e67 Revert non intential master commit 2015-07-23 02:15:59 +00:00
Kevin Fenzi
1d7bef2570 Disable these bodhi2 jobs for now. 2015-07-23 02:12:54 +00:00
b9ea3fb421 adding policycoreutils-python for semanage command in phabricator 2015-07-23 02:07:49 +00:00
c74f8f0ab4 adding deps required for selinux manipulation to phabricator 2015-07-23 02:04:29 +00:00
210fe1a3a1 adding selinux changes to allow for alternate port ssh with phabricator, declaring ssh port for qadevel, qa-stg 2015-07-23 02:01:16 +00:00
Kevin Fenzi
33560b4c09 Drop silly fedora user and sudo 2015-07-23 01:29:27 +00:00
5365129189 certs don't go in private/ 2015-07-23 01:13:55 +00:00
c4de140db9 adding docs static site to qadevel 2015-07-23 01:03:09 +00:00
d01db277a2 trying different conditional for intermediate cert 2015-07-23 00:46:27 +00:00
01b9efb375 copy ssl intermediate cert to qadevel when defined 2015-07-23 00:42:00 +00:00
e457a5dc90 fixing variable name for qadevel mariadb 2015-07-23 00:34:26 +00:00
313c7d0b12 updating settings for new qadevel instance 2015-07-23 00:05:56 +00:00
a4238e1df4 put the runroot bits on arm04 builders for compose
Signed-off-by: Dennis Gilmore <ausil@fedoraproject.org>
2015-07-22 22:08:27 +00:00