Jeremy Cline
e41fd13b9a
Drop the distributed lock for FMN's redis caching
...
By default, locks in redis never expire. This can lead to a deadlock if
a worker dies unexpectedly while trying to create a cache entry, which
leaves the lock in redis for the rest of time. When a worker attempts to
refresh the cache later, it'll wait on the lock permanently. We could
set the "lock_timeout" key in the dogpile.cache configuration, but
realistically we don't need to lock at all. Populating the cache is a
single GET request and we only have a couple workers so if they happen
to try the same entry at the same time, we'll just have 4-5 requests
instead of 1.
2018-05-11 19:36:25 +00:00
Jeremy Cline
f5d5e8e39e
Whitelist org.release-monitoring topics
...
Notifications from anitya have been broken because
org.release-monitoring wasn't in the topic subscription list.
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2018-04-02 17:44:24 +00:00
Kevin Fenzi
f0e21b57f1
convert this synchronize into a copy to make it idempotent
2017-11-21 20:52:43 +00:00
Kevin Fenzi
df30abd43c
the default rsyslog logrotate in f27 is rsyslog, not syslog
2017-11-20 16:49:34 +00:00
Jeremy Cline
f71d96a74a
Bump the redis cache expiration to 24 hours for fmn
...
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-11-17 18:08:36 +00:00
Jeremy Cline
86e40cf9e3
Don't overwrite default fedmsg log file
2017-11-16 20:27:49 +00:00
Jeremy Cline
3e7da2ef63
Adjust FMN logging so moksha doesn't log DEBUG
...
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-11-16 19:55:20 +00:00
Jeremy Cline
f56b1ecd83
Update FMN roles for 2.0.0
2017-11-15 18:12:11 +00:00
Jeremy Cline
d064359e01
Disable fmn android on stg
...
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-10-31 21:28:55 +00:00
Jeremy Cline
7b08ff9c88
Remove the apparently unused custom dogpile lock
...
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-10-31 20:36:47 +00:00
Jeremy Cline
a746737520
Start celerybeat on the staging notif backend
...
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-10-31 20:21:19 +00:00
Patrick Uiterwijk
5acb12063d
Totally drop rubygems copr info
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-10-16 22:31:18 +00:00
Jeremy Cline
053940fdac
Update fmn IRC user to fedora-notif
...
I asked for fedora-notif to be registered rather than fedora-notifs.
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-10-09 20:15:14 +00:00
Jeremy Cline
7e4d0959dc
Configure FMN prod to auth with nickserv
...
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-10-09 13:46:18 +00:00
Patrick Uiterwijk
936e8b261a
yum accepted pkg=, package calls it name=
...
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2017-10-09 00:38:26 +02:00
Patrick Uiterwijk
adcbf72f03
Packageize this, packageize that, packageize the world
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-10-08 22:25:52 +00:00
Pierre-Yves Chibon
87f8f19ae0
Sync the configuration from fmn.backend to fmn.web
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2017-09-29 16:05:50 +02:00
Jeremy Cline
b020a8e0cf
Change - to _ in fmn irc variable
...
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-09-12 19:33:17 +00:00
Jeremy Cline
a4a7df0794
Remove some weird - characters
...
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-09-12 19:02:26 +00:00
Jeremy Cline
e65dc733c8
Add a trailing comma to the fmn config
...
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-09-12 18:55:39 +00:00
Jeremy Cline
2c9e0110b1
Configure fmn staging to auth with nickserv
...
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-09-12 18:26:49 +00:00
Jeremy Cline
394a9bec4c
Alter fmn prod config for 1.4.1
...
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-08-21 18:19:28 +00:00
Jeremy Cline
3cd0c523dd
Add tcp://fedmsg-relay.ci.centos.org:9940 to fmn endpoints
...
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-08-16 15:29:11 +00:00
Jeremy Cline
843c4db006
Make FMN use Pagure dist-git in stg
...
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-08-16 13:30:49 +00:00
Jeremy Cline
3263b7b76c
Adjust the notifs roles for the new release
...
The new release of fmn merges fmn.web with fmn and several paths need
adjusting.
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-06-20 14:40:29 +00:00
Jeremy Cline
1628b579b3
Copy the fmn WSGI app to the right location in stg
...
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-06-15 13:33:04 +00:00
Jeremy Cline
e60bfd37c7
Fix the static path for fmn.web in non-staging
...
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-06-15 12:35:56 +00:00
Jeremy Cline
c217e26f73
Update fmn Apache conf for staging
...
Static files have moved from fmn.web to fmn, so this fixes the Apache
httpd configuration to point to the new locations in staging.
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-06-12 20:36:21 +00:00
Jeremy Cline
a61d1b560e
Adjust symlinking bootstrap in staging for FMN
...
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-06-01 14:18:15 +00:00
Jeremy Cline
6c8f5e2e81
Install FMN from epel-testing in staging
...
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-06-01 14:11:37 +00:00
Jeremy Cline
71de1cd8ea
Revert "Revert "Adjust the FMN roles and playbook for FMN 1.2""
...
This reverts commit b6baefa344
.
Conflicts:
playbooks/manual/upgrade/fmn.yml
roles/notifs/backend/tasks/main.yml
2017-05-15 21:52:38 +00:00
Jeremy Cline
1d91cae257
Revert "Ensure new python-fmn is gone"
...
This reverts commit dc3150567f
.
Conflicts:
roles/notifs/backend/tasks/main.yml
roles/notifs/frontend/tasks/main.yml
2017-05-15 21:50:29 +00:00
Jeremy Cline
4233f7536b
fix python-fmn to python2-fmn
...
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-05-15 21:16:15 +00:00
Jeremy Cline
dc3150567f
Ensure new python-fmn is gone
...
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-05-15 21:11:39 +00:00
Jeremy Cline
b6baefa344
Revert "Adjust the FMN roles and playbook for FMN 1.2"
...
This reverts commit f44727c3e2
.
2017-05-15 21:09:11 +00:00
Jeremy Cline
f44727c3e2
Adjust the FMN roles and playbook for FMN 1.2
...
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-05-15 20:12:15 +00:00
Kevin Fenzi
8a6e51a9a6
change state=running to start=started as the old one is going away in ansible 2.7
2017-04-13 01:37:21 +00:00
Jeremy Cline
b1d69ac2bc
Update the FMN role and playbook for 1.2.0
...
Packages have been combined, some new configuration files are required,
and database migrations have been relocated.
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
2017-04-10 19:42:22 +00:00
Pierre-Yves Chibon
182eb3516a
Set myself as admin of FMN
2016-09-05 12:14:05 +02:00
Pierre-Yves Chibon
965a09211a
Fix indentation breakage due to jinja
2016-07-27 11:12:58 +02:00
Pierre-Yves Chibon
37a7e3b021
New FMN prefers to use redis directly
2016-07-25 19:32:44 +02:00
Pierre-Yves Chibon
e5bc13f648
Start preparing the move to prod of the new FMN
2016-07-25 18:30:30 +02:00
Pierre-Yves Chibon
d96e6b0cd0
Start the fmn-workers and the fmn-backend on FMN stg
2016-07-18 15:40:06 +02:00
Kevin Fenzi
c22d37865d
Make myself a FMN admin so I can adjust scm commits some.
2016-06-22 20:24:18 +00:00
dbaaf8d307
add missing dep, and make python-flask-openid come from epel-testing
...
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2015-10-06 02:50:19 +00:00
Ralph Bean
2b3967274f
Update bootstrap symlink.
2015-07-08 19:52:18 +00:00
Ralph Bean
95501eb7e3
Move fmn.web fedmsg endpoints into the dynamically generated set.
2015-06-20 04:52:06 +00:00
Kevin Fenzi
2d34c72c58
Override the default syslog logrotate on notifs-backend01 as its messaages log grows
...
very very large over time. Rotate it daily, compress with xz and only keep 7 days.
Can adjust from there.
2015-06-04 20:53:39 +00:00
Ralph Bean
1b6dd66d03
Fix that.
2015-06-01 19:33:51 +00:00
Ralph Bean
bb8c8dcfa3
Make this thing jsonifiable so "fedmsg-config" works again.
2015-06-01 19:27:19 +00:00