Commit graph

38328 commits

Author SHA1 Message Date
Pavel Raiskup
3228a3646a copr-be: virt-install failure on F37
WARNING  --os-type is deprecated and does nothing. Please stop using it.
WARNING
--os-variant/--osinfo OS name is required, but no value was
set or detected.

This is now a fatal error. Specifying an OS name is required
for modern, performant, and secure virtual machine defaults.

You can see a full list of possible OS name values with:

   virt-install --osinfo list

If your Linux distro is not listed, try one of generic values
such as: linux2022, linux2020, linux2018, linux2016

If you just need to get the old behavior back, you can use:

  --osinfo detect=on,require=off

Or export VIRTINSTALL_OSINFO_DISABLE_REQUIRE=1

WARNING  VIRTINSTALL_OSINFO_DISABLE_REQUIRE set. Skipping fatal error.
WARNING  Using --osinfo generic, VM performance may suffer. Specify an accurate OS for optimal results.
2022-11-23 10:38:08 +01:00
Pavel Raiskup
33019b3d83 copr-be: fix Ansible deprecation warnings
[DEPRECATION WARNING]:
"include" is deprecated, use include_tasks/import_tasks instead. See
https://docs.ansible.com/ansible-core/2.14/user_guide/playbooks_reuse_includes.html
for details. This feature will be removed in version 2.16. Deprecation
warnings can be disabled by setting deprecation_warnings=False in
ansible.cfg.
2022-11-23 10:20:22 +01:00
Pavel Raiskup
9de140addf copr-be: fix Ansible deprecation warning
[DEPRECATION WARNING]:
[defaults]callback_whitelist option, normalizing names to new standard,
use callbacks_enabled instead. This feature will be removed from
ansible-core in version 2.15. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.
2022-11-23 10:15:49 +01:00
Pavel Raiskup
f41ea9d060 Revert "copr-be-dev: birthday"
This reverts commit fd817345fd.
2022-11-23 00:58:35 +01:00
Pavel Raiskup
fd817345fd copr-be-dev: birthday 2022-11-23 00:57:36 +01:00
Pavel Raiskup
3928830e4f inventory: copr-be-dev-temp dropped again 2022-11-23 00:55:52 +01:00
Pavel Raiskup
75c74f3166 copr-be-dev: reenable services 2022-11-23 00:28:19 +01:00
Pavel Raiskup
0b7c3fdd95 copr-be-dev: new IP addresses 2022-11-22 23:37:52 +01:00
Pavel Raiskup
84386e8b4f copr_base: install acl package 2022-11-22 23:29:56 +01:00
Pavel Raiskup
8be315160c copr_dev_aws: override 'env' from inventory/group_vars/all 2022-11-22 22:41:05 +01:00
Pavel Raiskup
4814bd7513 copr-be-dev-temp: disable birthday 2022-11-22 22:15:43 +01:00
28f2aba744 discourse2fedmsg: disable secure cookie 2022-11-22 21:14:37 +00:00
Pavel Raiskup
d7a9f80857 copr-be: better check for the ext4 filesystem 2022-11-22 22:12:55 +01:00
Pavel Raiskup
ac8790a775 inventory: copr-be-dev-temp.aws.fedoraproject.org 2022-11-22 21:59:12 +01:00
Pavel Raiskup
171a7ca245 copr-be: don't do the mdadm dance when not needed 2022-11-22 21:57:23 +01:00
Pavel Raiskup
dac0349ae4 copr-be-dev: unblock the raid config 2022-11-22 20:21:53 +01:00
Pavel Raiskup
218121b948 copr-be-dev: use raid10 (same pattern as prod) 2022-11-22 19:53:28 +01:00
Aurélien Bompard
7ae8318f59
FMN: mount the ipa directory
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-11-22 18:35:45 +01:00
Aurélien Bompard
aa43c7a742
Ipsilon: set CORS headers for OIDC
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-11-22 18:35:44 +01:00
Jakub Kadlcik
5ef9e5130d copr: drop birthday, enable services for keygen-dev and distgit-dev 2022-11-22 17:25:57 +01:00
Jakub Kadlcik
60095d77cc copr: disable services for dev instances 2022-11-22 15:33:23 +01:00
Jakub Kadlcik
5af5bec6cd copr: set birthday for dev instances 2022-11-22 15:30:54 +01:00
Aurélien Bompard
a5a3f05999
FMN: fix sendria and sender-email containers
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-11-22 12:51:36 +01:00
Sandro
96856df3e4 Add additional scripts
Both scripts help when cleaning up badges. All authorizations and
all invitations as well as awardees need to be removed before the
badge itself can be removed.

There's no functionality in the web interface to see who's
authorized for particular badges.

Invitations are a bit of an undocumented feature. But I stumbled
upon it trying to delete an old badge.
2022-11-22 10:03:02 +00:00
Pavel Raiskup
d0f7c7ca30 copr: use again a deterministic nrpe UID
It was notoriously colliding with other system users like copr-signer
and others.

Revert "copr: test without nrpe_client_uid specified"

This reverts commit 435b71a695.
2022-11-22 10:54:00 +01:00
Pavel Raiskup
e61a356554 copr-base: test ipv6 manual 2022-11-22 10:49:19 +01:00
Pavel Raiskup
e8c4a1512a copr-keygen-dev: drop birthday=1 2022-11-22 10:42:50 +01:00
Aurélien Bompard
347658eef7
FMN: try to fix the sendria setup
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-11-22 10:41:56 +01:00
Pavel Raiskup
435b71a695 copr: test without nrpe_client_uid specified
Revert "copr: define nrpe_client_uid=500"

This reverts commit fa5cd7344c.
2022-11-22 10:41:26 +01:00
Pavel Raiskup
fa5cd7344c copr: define nrpe_client_uid=500 2022-11-22 10:37:15 +01:00
Pavel Raiskup
baa6a0dff0 nagios_client: typo s/null/omit/ 2022-11-22 10:25:54 +01:00
Pavel Raiskup
2627babd44 nagios_client: precreate nrpe client
With a specific UID if {{ nrpe_client_uid }} is defined.
2022-11-22 10:16:14 +01:00
Jakub Kadlcik
44d826078b copr: move user creation back to copr/keygen role 2022-11-22 10:13:40 +01:00
Aurélien Bompard
d993a9c122
small fixup
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-11-22 09:41:23 +01:00
Aurélien Bompard
4e6247c9f3
FMN: build the sendria image to workaround a bug
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-11-22 09:36:53 +01:00
Jakub Kadlcik
32b72e13dd copr: hmm, I guess those comments needs to be under tasks 2022-11-22 04:19:22 +01:00
Jakub Kadlcik
076777af9f copr: trying to fix a syntax error 2022-11-22 04:12:44 +01:00
Jakub Kadlcik
067f4e7998 copr: that was probably a wrong place to create users 2022-11-22 04:07:00 +01:00
Jakub Kadlcik
1d58562bfa copr: pre-create users and groups with specifics UIDs and GIDs 2022-11-22 04:00:10 +01:00
Aurélien Bompard
78d1c02b50
typo
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-11-21 18:24:33 +01:00
Aurélien Bompard
561826cfab
FMN: update the liveness & readiness checks for the API
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-11-21 17:59:02 +01:00
Aurélien Bompard
5f90f16ec7
FMN: add an env variable to build for staging
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-11-21 13:35:21 +01:00
Aurélien Bompard
6b201157a0
FMN: syntax error
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-11-21 13:17:11 +01:00
Aurélien Bompard
d1d7760d91
FMN: add db migration
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-11-21 13:03:12 +01:00
Aurélien Bompard
9a22e3d63f
FMN: fix database host
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-11-21 12:48:15 +01:00
Aurélien Bompard
86af4472ad
FMN: fix ports and rename config file
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-11-21 12:31:11 +01:00
Aurélien Bompard
2d40bf9eae
Fix FMN queue name
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-11-21 12:24:35 +01:00
Aurélien Bompard
6871f63bdf
Register FMN with IPA
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-11-21 12:21:40 +01:00
Jakub Kadlcik
428cdbe1e3 copr: there is python3.11 on F37 2022-11-21 11:38:33 +01:00
Jakub Kadlcik
070a99e324 copr: use nmcli to configure IPv6
The best conversion table I found is here
https://networkmanager.dev/docs/api/latest/nm-settings-ifcfg-rh.html
See: Table 23. ipv6 setting
2022-11-21 11:16:12 +01:00