Ralph Bean
0023c53d81
Update resultsdb amqp urls
2020-06-10 17:18:03 -04:00
8c96b12e65
resultsdb: set sebool httpd_execmem=true for fedora-messaging
...
After the upgrade to fedora-messaging-2.0.1, we started seeing a bunch of 500s
coming out of resultsdb. Turns out that selinux was blocking part of the code
that was emitting messages on rabbitmq. This is apparently a known issue in
python-cryptography [1] and their docs say that the sebool deny_execmem needs
to be off.
Since this is executed by apache, this leads to httpd_execmem needing to be true.
I still don't understand why this started suddenly - the underlying issue in
python-cryptography has been there for a while. Either way, I'm changing the
sebool for resultsdb machines to make sure it doesn't continue to cause problems
for things that are submitting results to resultsdb.
2020-04-24 21:34:21 +02:00
fa73cd4d47
resultsdb: F31+ needs logrotate explicitly installed
2020-04-24 21:34:21 +02:00
b4d43cea42
resultsdb-backend: use python3-libsemanage for newer fedoras
2020-04-24 21:34:16 +02:00
Kevin Fenzi
81fb4582e7
ansible: change when conditions to use == instead of is when checking strings.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:10 +02:00
Karsten Hopp
c9ed62ac32
update ansible_distribution_major_version conditionals
...
Signed-off-by: Karsten Hopp <karsten@redhat.com>
2020-04-24 21:34:10 +02:00
304bb44d7a
taskotron: remove with_items
...
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2019-06-20 13:50:31 +00:00
6c2a23d44f
resultsdb-backend: undoing a url change for taskotron instance
...
Turns out that there are firewall changes needed for the Taskotron
instance of resultsdb to use the new rabbitmq uri.
Undoing that update until that change can be done
2019-05-24 00:09:30 +00:00
Josef Skladanka
d5118d18d8
Testdays - return yum-install to resultsdb
2019-05-23 09:06:09 +02:00
Pierre-Yves Chibon
1a09cff25c
resultsdb: Adjust the amqp_url on the fedora-messaging config
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-05-20 15:38:00 +02:00
Clement Verna
de0f2763a9
resultsbd: enbale fedora-messaging in prod
...
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-04-24 11:22:36 +02:00
Josef Skladanka
d826e19c62
Testdays - use dummy messaging plugin
2019-04-11 20:03:23 +02:00
Kamil Páral
780adf71a1
taskotron: upgrade production to F29
2019-04-09 19:27:11 +02:00
Kamil Páral
633f9fa564
taskotron: allow CRASHED outcome in ResultsDB
...
Task developers can then track crashed tests and spot the problems.
See https://pagure.io/task-abicheck/issue/19
2019-03-12 16:12:10 +01:00
Pierre-Yves Chibon
88e736ddac
taskotron/resultsdb-backend: Fix the mode to be string instead of integer
...
For unclear reason ansible seems to have issues with mode expressed
in integer while it seems to work much more nicely if they are
provided as string.
So moving to this for now.
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-03-07 12:36:12 +01:00
Pierre-Yves Chibon
5fc5e77269
taskotron/resultsdb-backend: fix the location of the key in the private repo
...
The certificates are in pki/issued while the keys are in pki/private.
The location to the CA cert is correct though.
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-03-07 12:27:06 +01:00
Pierre-Yves Chibon
d82304c936
taskotron/resultsdb-backend: the stg and prod certificates are named differently
...
The certificates are resultsdb.crt in prod while they are resultsdb.stg.crt in
staging so by using the ansible variable {{ env_suffix }} we're able to support
both files in one line.
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-03-07 12:24:50 +01:00
Pierre-Yves Chibon
480f5ce7c5
vars_files doesn't need to be specified in our roles
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-03-06 15:54:48 +01:00
Clement Verna
54b7b3b40e
resultsDB: Prepare for fedora-messaging in staging
...
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-03-06 10:13:32 +01:00
Josef Skladanka
dd7ded3ca5
Taskotron - fix resultsdb additional outcomes tuple
2019-02-20 13:35:13 +01:00
Kamil Páral
c65ca8cdae
taskotron-dev: allow CRASHED outcome in ResultsDB
2019-02-20 12:18:42 +01:00
Kamil Páral
49844e6252
taskotron-stg: update to F29
...
Re-use dev changes on stg server.
2019-02-18 16:51:07 +01:00
Kamil Páral
758c0d035e
taskotron: update dev to buildbot 1.7, Python3
...
Merges: https://pagure.io/fedora-qa/qa-ansible/pull-request/6
2019-02-06 10:49:48 +01:00
Kevin Fenzi
aa337313be
Drop enabledrepos extra_repos for now.
2018-10-05 05:13:41 +00:00
Kamil Páral
8561ed8031
resultsdb-dev: turn off fedmsg publishing
...
Turns out we don't want fedmsgs to be published from dev, we just added
a new config option that was not properly disabled on dev and that
caused the confusion.
2018-05-16 04:56:12 +02:00
Ralph Bean
14c64f25f7
Looks like this really needs a modname argument.
2018-04-05 11:54:50 +00:00
Ralph Bean
54136b60c9
Restore old taskotron messaging settings.
2018-04-05 11:47:47 +00:00
Kamil Páral
ef740c2147
fix typo in taskotron DBs and testdays configs
2018-02-16 16:55:10 +01: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
Patrick Uiterwijk
66172d7738
Use sane values for processess and threads for resultsdb
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-03-18 01:11:30 +00:00
1122f3cdba
bumping resultsdb wsgi resources again
2017-03-17 17:10:49 +00:00
727a6f75fb
bumping wsgi daemon to 100 thread, 5 processes in resultsdb prod, stg
2017-03-15 14:39:49 +00:00
b79d9d9010
ok, we do this in staging instead
2017-03-02 19:15:03 +00:00
99ba027989
get resultsdb-dev publishing to stg fedmsg bus
2017-03-02 18:36:48 +00:00
Martin Krizek
4b4cd4144f
Update resultsdb config file
2017-01-26 09:42:17 +00:00
Martin Krizek
66b02305a7
taskotron: start httpd where needed
2016-11-29 13:31:39 +00:00
Kevin Fenzi
1c6e9a11f4
Another pile of trailing whitespace fixes
2016-08-08 19:42:36 +00:00
Josef Skladanka
5fc16ef6a0
Fix small variable-name inconsistencies for resutlsdb
...
Gets rid of quite some of the conditionals and minimizes the
amount of different variable names used in result/execdb
2016-02-03 13:11:08 +00:00
Kevin Fenzi
9006a36832
Update all calls to sudo to use 'become' and sudo_user to 'become_user'
2016-02-02 21:24:45 +00:00
f8fecc2d42
fixing db uri for resultsdb local/dev
2016-02-02 09:11:16 +00:00
6bc0574521
use more intelligent tests for dnf/yum on resultsdb roles
2016-01-26 16:57:26 +00:00
Kevin Fenzi
f0c80375b5
Remove action: in all roles.
2016-01-06 21:58:31 +00:00
Kevin Fenzi
62e16bb9a4
Switch all these places to use dnf/yum state=present instead of latest. This prevents showing changes on package updates.
2016-01-04 18:52:27 +00:00
b0736cd244
enabling fedmsg on production resultsdb
2015-12-04 22:46:02 +00:00
Patrick Uiterwijk
08568865fe
Replace all restart httpd with reload httpd
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2015-11-04 23:40:01 +00:00
Martin Krizek
22a9d03240
resultsdb settings.py: Allow stg send fedmsgs
2015-10-07 18:30:55 +00:00
c1a0a783e8
fixed a hardcoded host setting in resultsdb
2015-10-06 20:01:53 +00:00
029119e78b
updating testdays settings, more refactoring to get rid of conditionals in taskotron roles
2015-10-05 15:33:40 +00:00
f081a1cf72
adding defaults to taskotron roles so playbooks don't need extra_enablerepos
2015-10-05 14:43:09 +00:00
4abf07bc65
fix formatting of install directives so taskotron roles match other infra roles
2015-10-01 19:15:30 +00:00