Commit graph

17957 commits

Author SHA1 Message Date
Jan Kaluža
14417c5f18 ODCS: use the same user/group on every machine. 2020-04-24 21:34:27 +02:00
Kevin Fenzi
2c9b262b39 storinator: Make sure to export the volumes you create.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:27 +02:00
Stephen Smoogen
efcd9b0ead the problem was that some of the host names were listed as cloud-noc01.fedorainfracloud.org and others were named cloud-noc01.cloud.fedoraproject.org. Move to 1 name throughout ansible 2020-04-24 21:34:27 +02:00
Stephen Smoogen
228f977ca5 add 10disk boot for RHEL-8 2020-04-24 21:34:27 +02:00
Stephen Smoogen
7c3f7b1b8d Add first commit for copr-vmhost to dhcp 2020-04-24 21:34:26 +02:00
Kevin Fenzi
80477848ae s3-mirror: fix missing trailing /
This is causing f31 updates to not be synced. The cron job reports:

Subject: Cron <s3-mirror@mm-backend01> /usr/local/bin/lock-wrapper s3sync-updates-current "/usr/local/bin/s3-sync-path.sh /pub/fedora/linux/updates/31/Everything/x86_64/os" 2>&1 |
        /usr/local/bin/nag-once s3-updates-current.sh 1d 2>&1

Syntax: /usr/local/bin/s3-sync-path.sh /pub/path/to/sync/
NOTE! Path must end with a trailing /

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:26 +02:00
Dominik Turecek
14c85a0c55 copr: patch API to provide build_chroot status 2020-04-24 21:34:26 +02:00
Jan Kaluža
a9da2ee4d9 ODCS: restart the celery backend after db upgrade 2020-04-24 21:34:26 +02:00
Jan Kaluža
3b17b92e20 ODCS: Stop calling useles db-migrate command. 2020-04-24 21:34:26 +02:00
Jan Kaluža
af92d2582a ODCS: Add extra compose target directory for private composes. 2020-04-24 21:34:26 +02:00
Stephen Smoogen
d9aee1fc32 add cloudvmhost-aarch64 to inventories so it can be done stuff to 2020-04-24 21:34:26 +02:00
Stephen Smoogen
c3f5874d89 this will get ips for the cloud box 2020-04-24 21:34:26 +02:00
Stephen Smoogen
7681b1e1e2 add in permission for proxy31 ip 2020-04-24 21:34:26 +02:00
Kevin Fenzi
93cfa0134d rabbitmq: adjust things to avoid messy partitions
We have been having the cluster fall over for still unknown reasons,
but this patch should at least help prevent them:

first we increase the net_ticktime parameter from it's default of 60 to 120.
rabbitmq sends 4 'ticks' to other cluster members over this time and if 25%
of them are lost it assumes that cluster member is down. All these vm's are
on the same net and in the same datacenter, but perhaps heavy load
from other vm's causes them to sometimes not get a tick in time?
http://www.rabbitmq.com/nettick.html

Also, set our partitioning strategy to autoheal. Currently if some cluster
member gets booted out, it gets paused, and stops processing at all.
With autoheal it will try and figure out a 'winning' partition and restart
all the nodes that are not in that partition.
https://www.rabbitmq.com/partitions.html

Hopefully the first thing will make partitions less likely and the second
will make them repair without causing massive pain to the cluster.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:26 +02:00
Adam Williamson
a6b9c5392d openqa/worker: disable aarch64-02 with a special worker class
openqa-aarch64-02.qa is broken in some very mysterious way:
https://pagure.io/fedora-infrastructure/issue/8750
until we can figure that out, this should prevent it picking up
normal jobs, but let us manually target a job at it whenever we
need to for debugging.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-04-24 21:34:26 +02:00
Clement Verna
05905e6904 koji_hub: try to setup the loglevel in staging
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:26 +02:00
Stephen Smoogen
2b9f82f9f4 proxy31 2020-04-24 21:34:26 +02:00
Miroslav Suchý
21170d4680 retrace: remove f29 from faf 2020-04-24 21:34:26 +02:00
Michal Fabik
ce47bc3544 retrace: Add Fedora 32 to retrace
Signed-off-by: Michal Fabik <mfabik@redhat.com>
Signed-off-by: Miroslav Suchý <msuchy@redhat.com>
2020-04-24 21:34:26 +02:00
Kevin Fenzi
96190cec94 Revert "Revert "s3-mirror: Split things into 2 sync runs, one without repodata and delete, the other with both.""
This reverts commit 0798930ebea639871194525789061161b2c19bf9.

Got some +1s, so pushing this now.
2020-04-24 21:34:26 +02:00
Stephen Smoogen
32e021d89f fix typo in previous post 2020-04-24 21:34:26 +02:00
Brendan Early
afc687c77f fix mixed content 2020-04-24 21:34:26 +02:00
Silvie Chlupova
f7d564993c copr-be: prod: inherit CDN cache config from stg 2020-04-24 21:34:26 +02:00
Kevin Fenzi
5ad2eb94d9 fas_server / staging: reset the verify server_url to point to the right place
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:26 +02:00
Kevin Fenzi
191149f391 fas_server / staging: adjust yubikey uri in staging fas
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:26 +02:00
Miro Hrončok
bd59cac72d FTBFS reminder: Deal with week numbers 01 to 09 correctly
Apparently, date +%W gives week number with leading zero and there is no alternative.

Shell math's % cannot deal with that, so we sed the zero out.

Signed-off-by: Miro Hrončok <miro@hroncok.cz>

Consider my patch Public Domain or CC0.
2020-04-24 21:34:26 +02:00
75881318a7 Add myself as admin for the badge app 2020-04-24 21:34:26 +02:00
Clement Verna
7b63816be7 review-stats: add the configmap with the config
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:26 +02:00
Clement Verna
9891f7a69d review-stats: create an OpenShift application in staging
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:26 +02:00
Kevin Fenzi
76fb2e0871 Revert "s3-mirror: Split things into 2 sync runs, one without repodata and delete, the other with both."
This reverts commit 626c976f8ce616750a56cd0de7847beeaf3924f7.
2020-04-24 21:34:26 +02:00
Kevin Fenzi
899d1767eb s3-mirror: Split things into 2 sync runs, one without repodata and delete, the other with both.
In order to make sure the s3 mirror always is consistent, split out the commands
to make it sync without repodata and delete, then do another run with those, then finally
invalidate all the repodata/* files.

Some of the cron jobs are adjusted to allow the repodata invalidation.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:26 +02:00
Stephen Smoogen
4164c240d8 add a specific hosts file because our script assumes all staging is in phoenix. this is going to be fun to fix after move 2020-04-24 21:34:26 +02:00
Pavel Raiskup
d562bde01e copr: be: more careful periodic cleanup of VMs
Never remove CoprPurpose=infrastructure, only builders.
2020-04-24 21:34:26 +02:00
Kamil Páral
53a64f1143 taskotron-trigger: disable rpmdeplint temporarily
Because of https://github.com/fedora-infra/bodhi/issues/3944
2020-04-24 21:34:26 +02:00
Clement Verna
2cbf8600f0 Bodhi: remove old buildconfig for images that are not used anymore
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:26 +02:00
Clement Verna
7ffa111de9 Bodhi: deploy latest develop of bodhi in staging
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:26 +02:00
Miroslav Suchý
6fc7230adb retrace: create /srv/faf
addressing:
TASK [abrt/faf : run database migrations] *******************************************************************************
Friday 06 March 2020  07:56:21 +0000 (0:00:00.045)       0:04:59.958 **********
fatal: [retrace-stg.aws.fedoraproject.org]: FAILED! => {"ansible_facts": {"discovered_interpreter_python": "/usr/libexec/platform-python"}, "changed": true, "cmd": ["faf-migrate-db"], "delta": "0:00:01.301859", "end": "2020-03-06 07:56:23.505802", "msg": "non-zero return code", "rc": 1, "start": "2020-03-06 07:56:22.203943", "stderr": "[2020-03-06 07:56:23] ERROR:faf.SaveReports: Required directories can't be created: Required directory '/srv/faf/reports/incoming' does not exist and can't be created: Permission denied\nTraceback (most recent call last):\n  File \"/usr/lib/python3.6/site-packages/pyfaf/common.py\", line 140, in ensure_dirs\n    os.makedirs(dirname)\n  File \"/usr/lib64/python3.6/os.py\", line 210, in makedirs\n    makedirs(head, mode, exist_ok)\n  File \"/usr/lib64/python3.6/os.py\", line 210, in makedirs\n    makedirs(head, mode, exist_ok)\n  File \"/usr/lib64/python3.6/os.py\", line 220, in makedirs\n    mkdir(name, mode)\nPermissionError: [Errno 13] Permission denied: '/srv/faf'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File \"/bin/faf-migrate-db\", line 27, in <module>\n    from pyfaf.common import get_connect_string\n  File \"/usr/lib/python3.6/site-packages/pyfaf/__init__.py\", line 25, in <module>\n    from . import cmdline\n  File \"/usr/lib/python3.6/site-packages/pyfaf/cmdline.py\", line 22, in <module>\n    from pyfaf.actions import actions\n  File \"/usr/lib/python3.6/site-packages/pyfaf/actions/__init__.py\", line 106, in <module>\n    load_plugins(Action, actions)\n  File \"/usr/lib/python3.6/site-packages/pyfaf/common.py\", line 113, in load_plugins\n    result[plugin.name] = plugin()\n  File \"/usr/lib/python3.6/site-packages/pyfaf/actions/save_reports.py\", line 69, in __init__\n    self.dir_attach_saved, self.dir_attach_deferred])\n  File \"/usr/lib/python3.6/site-packages/pyfaf/common.py\", line 145, in ensure_dirs\n    .format(dirname, ex.strerror))\npyfaf.common.FafError: Required directory '/srv/faf/reports/incoming' does not exist and can't be created: Permission denied", "stderr_lines": ["[2020-03-06 07:56:23] ERROR:faf.SaveReports: Required directories can't be created: Required directory '/srv/faf/reports/incoming' does not exist and can't be created: Permission denied", "Traceback (most recent call last):", "  File \"/usr/lib/python3.6/site-packages/pyfaf/common.py\", line 140, in ensure_dirs", "    os.makedirs(dirname)", "  File \"/usr/lib64/python3.6/os.py\", line 210, in makedirs", "    makedirs(head, mode, exist_ok)", "  File \"/usr/lib64/python3.6/os.py\", line 210, in makedirs", "    makedirs(head, mode, exist_ok)", "  File \"/usr/lib64/python3.6/os.py\", line 220, in makedirs", "    mkdir(name, mode)", "PermissionError: [Errno 13] Permission denied: '/srv/faf'", "", "During handling of the above exception, another exception occurred:", "", "Traceback (most recent call last):", "  File \"/bin/faf-migrate-db\", line 27, in <module>", "    from pyfaf.common import get_connect_string", "  File \"/usr/lib/python3.6/site-packages/pyfaf/__init__.py\", line 25, in <module>", "    from . import cmdline", "  File \"/usr/lib/python3.6/site-packages/pyfaf/cmdline.py\", line 22, in <module>", "    from pyfaf.actions import actions", "  File \"/usr/lib/python3.6/site-packages/pyfaf/actions/__init__.py\", line 106, in <module>", "    load_plugins(Action, actions)", "  File \"/usr/lib/python3.6/site-packages/pyfaf/common.py\", line 113, in load_plugins", "    result[plugin.name] = plugin()", "  File \"/usr/lib/python3.6/site-packages/pyfaf/actions/save_reports.py\", line 69, in __init__", "    self.dir_attach_saved, self.dir_attach_deferred])", "  File \"/usr/lib/python3.6/site-packages/pyfaf/common.py\", line 145, in ensure_dirs", "    .format(dirname, ex.strerror))", "pyfaf.common.FafError: Required directory '/srv/faf/reports/incoming' does not exist and can't be created: Permission denied"], "stdout": "", "stdout_lines": []}
2020-04-24 21:34:26 +02:00
Miroslav Suchý
a41c1c217f retrace: checkpoint_segments does not exists in PG10 2020-04-24 21:34:26 +02:00
Miroslav Suchý
b7ccda8f59 retrace: do not init pg twice 2020-04-24 21:34:26 +02:00
Miroslav Suchý
103e5fd3f0 retrace: make sure posgresql data dir is available 2020-04-24 21:34:26 +02:00
Stephen Smoogen
bcb8e2995a correct non-existant hostname in dhcp 2020-04-24 21:34:26 +02:00
Adam Williamson
793b69e105 openqa/dispatcher: test everything and workstation on ppc64le
As requested by Michel in
https://pagure.io/fedora-qa/fedora_openqa/pull-request/77 (we
shadow changes to that here for $REASONS)

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-04-24 21:34:26 +02:00
Adam Williamson
063548a931 openqa/dispatcher: drop --nodeps from setup.py install
This was an old fedmsg Python 2 vs. Python 3 thing that's no
longer needed.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-04-24 21:34:26 +02:00
Adam Williamson
52d7450a9c openqa, check-compose, relvalconsumer: drop remaining fedmsg bits
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-04-24 21:34:26 +02:00
Miroslav Suchý
39d42c6a4d copr: yum is dead Dave 2020-04-24 21:34:26 +02:00
Miroslav Suchý
373773deb2 copr: create users for keygen 2020-04-24 21:34:26 +02:00
Clement Verna
14e9ba6eef review-stats: rollback the old cron until the new app is fixed
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:26 +02:00
Clement Verna
c5c61ae463 review-stats: fix the new app path in the cronjob
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:26 +02:00
Clement Verna
e09e7758df review-stats: fix the name of the rpm package
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:26 +02:00
Clement Verna
13f4934ac4 review-stats: deploy new version of the app in staging
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:26 +02:00