Commit Graph

38152 Commits

Author SHA1 Message Date
Pavel Raiskup
b8d01fe722 copr-be-dev-temp once more 2022-11-23 18:44:02 +01:00
Aurélien Bompard
712d991fc8 Fix env var
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-11-23 16:30:58 +01:00
Aurélien Bompard
f2cb2df066 Syntax error
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-11-23 16:05:31 +01:00
Aurélien Bompard
719a58388e FMN: add redis for caching
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-11-23 15:55:46 +01:00
Pavel Raiskup
5023fd5142 copr-be-dev: test c7g instance
https://lists.fedoraproject.org/archives/list/buildsys@lists.fedoraproject.org/thread/VUAOXQ3BNXDZMVFR2PJCBQYWGWOIYMPD/
2022-11-23 15:33:35 +01:00
Pavel Raiskup
e804c8ff01 ipa/service: add missing tags for the "fail" task 2022-11-23 15:07:46 +01:00
Pavel Raiskup
dc860c9e9d copr-fe: flag the keytab/service call with krb5 tag 2022-11-23 15:06:17 +01:00
Pavel Raiskup
c59e68a986 ipa/service: don't fail if service already exists
Relates: https://pagure.io/fedora-infra/ansible/pull-request/1259
2022-11-23 15:03:41 +01:00
Pavel Raiskup
8d3cbc375e ipa/service: drop the PR I merged
The 'stat' can't work because "{{ service }}/{{ host }}" isn't a real
path name.

Revert "check if ipa service entry exists"

This reverts commit 98475f6ae4.
2022-11-23 14:50:50 +01:00
Seddik Alaoui Ismaili
98475f6ae4 check if ipa service entry exists 2022-11-23 13:31:10 +00:00
Jakub Kadlcik
648f128f80 copr: drop birhday for copr-fe-dev 2022-11-23 14:30:22 +01:00
Pavel Raiskup
161545b81c copr-be-dev: no birthday again 2022-11-23 13:21:41 +01:00
Pavel Raiskup
7f832fdf20 copr: typo in variable definition 2022-11-23 13:14:40 +01:00
Pavel Raiskup
50a7bd5e58 basessh: invent no_ed25519_key option
And re-configure copr-be-dev.
2022-11-23 13:10:13 +01:00
Pavel Raiskup
e18fb4f5f3 copr-be: don't restart node exporter over again 2022-11-23 12:49:15 +01:00
Pavel Raiskup
96b00cbd33 copr-base: don't reconfigure ipv6 over again 2022-11-23 12:42:10 +01:00
Pavel Raiskup
a1b7c1102a copr/base, copr-fe: don't restart prometheus exporter all the time 2022-11-23 12:17:34 +01:00
Pavel Raiskup
094242ecc6 copr/base: drop an unused resolv.conf hack
This was long time ago used with the Fedora Infra OpenStack.
2022-11-23 12:12:13 +01:00
Pavel Raiskup
364ec6efbc copr-be: pre-create resalloc_provision directory
Fixes a "rsync" breakage after 4fd58b6c40.
2022-11-23 12:07:31 +01:00
Pavel Raiskup
a66661070e Revert "copr-be-dev: birthday again?"
This reverts commit c3c693df00.
2022-11-23 11:56:23 +01:00
Pavel Raiskup
c3c693df00 copr-be-dev: birthday again?
Getting:

TASK [gather facts] ***********************************************************
Wednesday 23 November 2022  10:30:57 +0000 (0:00:00.098)       0:00:00.997 ****
Wednesday 23 November 2022  10:30:57 +0000 (0:00:00.098)       0:00:00.996 ****
The authenticity of host 'copr-be-dev.aws.fedoraproject.org (18.208.10.131)' can't be established.
ED25519 key fingerprint is SHA256:0FAk4qNLXN6uCdH34Ki+EmBwu6ZI4PzpWbAMKJf7lvM.
Are you sure you want to continue connecting (yes/no/[fingerprint])?
2022-11-23 11:32:57 +01:00
Pavel Raiskup
093a5aceb7 backend: fix Python 3.12 warning on F37
/var/lib/resallocserver/provision/libvirt-new:17: DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13
  import pipes
2022-11-23 11:28:55 +01:00
Pavel Raiskup
4fd58b6c40 copr-be: use resalloc-aws-wait-for-ssh from resalloc-aws
Instead of copy-pasted wait-for-ssh one in this repo.  Long term it
would be better if we moved the script into 'resalloc-server' or
'resalloc-server-helpers' (or alike).
2022-11-23 11:27:03 +01:00
Lukas Holecek
c3942af631 waiverdb: Update command for the new container image 2022-11-23 09:51:26 +00:00
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
Francois Andrieu
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