From 87dbf1c44080affc09601724507e217a6deef068 Mon Sep 17 00:00:00 2001 From: Michal Konecny Date: Fri, 8 Sep 2023 10:24:47 +0200 Subject: [PATCH] Remove old/not needed guides Signed-off-by: Michal Konecny --- .../pages/activate_a_spamcheck_account.adoc | 5 --- .../pages/add_external_hardware_to_vpn.adoc | 3 +- .../pages/fix_bugzilla_aws_saml_login.adoc | 29 ---------------- modules/howtos/pages/generate_2fa_keys.adoc | 33 ------------------- modules/sysadmin_guide/pages/index.adoc | 3 -- 5 files changed, 1 insertion(+), 72 deletions(-) delete mode 100644 modules/howtos/pages/activate_a_spamcheck_account.adoc delete mode 100644 modules/howtos/pages/fix_bugzilla_aws_saml_login.adoc delete mode 100644 modules/howtos/pages/generate_2fa_keys.adoc diff --git a/modules/howtos/pages/activate_a_spamcheck_account.adoc b/modules/howtos/pages/activate_a_spamcheck_account.adoc deleted file mode 100644 index d06b407..0000000 --- a/modules/howtos/pages/activate_a_spamcheck_account.adoc +++ /dev/null @@ -1,5 +0,0 @@ -= How to activate a FAS account that was marked as `spamcheck_awaiting` - -For this you need to be in the `accounts` FAS group that will give you admin permission in FAS. -Then log to https://admin.fedoraproject.org/accounts[https://admin.fedoraproject.org/accounts], -search for the user profile and edit it to set the status to `active`. diff --git a/modules/howtos/pages/add_external_hardware_to_vpn.adoc b/modules/howtos/pages/add_external_hardware_to_vpn.adoc index 991031a..ffb5c39 100644 --- a/modules/howtos/pages/add_external_hardware_to_vpn.adoc +++ b/modules/howtos/pages/add_external_hardware_to_vpn.adoc @@ -6,10 +6,9 @@ Under the correct section add **require ip** ****** . When this change is pushed run the batcave ansible playbook on the batcave. You will need sysadmin-main access for this -. Create openvpn and 2fa certificates for the new server. +. Create openvpn certificates for the new server. This requires sysadmin main access -. <> . <> . In the dns repo on batcave edit the file master/168.192.in-addr.arpa diff --git a/modules/howtos/pages/fix_bugzilla_aws_saml_login.adoc b/modules/howtos/pages/fix_bugzilla_aws_saml_login.adoc deleted file mode 100644 index cee49a0..0000000 --- a/modules/howtos/pages/fix_bugzilla_aws_saml_login.adoc +++ /dev/null @@ -1,29 +0,0 @@ -= How to fix SAML login in bugzilla/AWS - -Basically, we've observed that every now and then one of the ipsilon pod looses -its config (or so it seems) which leads to make that pod unable to properly -serve SAML requests. - -Here are the steps to debug and fix this situation: - -. Open all the web pod of Ipsilon in different tabs - open the logs tab for - each -. Open https://bugzilla.redhat.com in a tab using the private browser mode -. Try logging into bugzilla using the Fedora contributor button in the drop-down -. Check the recent logs of the pods and find the one saying something like: -+ ----- -DEBUG(providers/saml2/auth.py:176 Redirect.saml2login()): saml2: 'NoneType' object has no attribute 'get_login_handler' ----- -. Copy the name of that pod -. Go to the openshift's main node -. Delete the pod using: -+ ----- -oc -n ipsilon delete pod `` (for example: ``oc -n ipsilon delete pod ipsilon-24-8ztdd``) ----- -+ -Openshift will automatically spawn a new one - -. Try login on bugzilla again - it should work (or maybe another pod is mis-behaving?) - diff --git a/modules/howtos/pages/generate_2fa_keys.adoc b/modules/howtos/pages/generate_2fa_keys.adoc deleted file mode 100644 index 7917c6c..0000000 --- a/modules/howtos/pages/generate_2fa_keys.adoc +++ /dev/null @@ -1,33 +0,0 @@ -= How to generate 2 Factor Authentication key and certificate - -Doing this requires membership in sysadmin-main FAS group. - -All the following commands should be ran on one of batcave hosts. - -Clone `ansible-private` repo: - ----- -git clone /srv/git/ansible-private ----- - -Change into `files/vpn` subdirectory in cloned repo: - ----- -cd ansible-private/files/2fa-certs ----- - -The process is described in the README but is basically: - ----- -. ./vars; ./build-and-sign-key ----- - -Add generated files to git index, commit, push: - ----- -git status -git add . -git commit -a -m "Add 2 FA key/cert for " -git show -git push ----- diff --git a/modules/sysadmin_guide/pages/index.adoc b/modules/sysadmin_guide/pages/index.adoc index e0f5d7a..a931d55 100644 --- a/modules/sysadmin_guide/pages/index.adoc +++ b/modules/sysadmin_guide/pages/index.adoc @@ -199,7 +199,6 @@ In this section is list of guides for common tasks that are done in Fedora Infra * xref:howtos:access_rabbitmq_ui.adoc[How to access the rabbitmq administrative UI] * xref:howtos:archive-old-fedora.adoc[How to Archive Old Fedora Releases] -* xref:howtos:activate_a_spamcheck_account.adoc[How to activate a FAS account that was marked as spamcheck_awaiting] * xref:howtos:add_a_package_to_infra_tag.adoc[How to add a package to an infra tag] * xref:howtos:add_external_hardware_to_vpn.adoc[Add external servers to vpn] * xref:howtos:build_against_infra_tags.adoc[How to build against an infra tag in koji] @@ -213,10 +212,8 @@ In this section is list of guides for common tasks that are done in Fedora Infra * xref:howtos:destroy_a_virt_instance.adoc[How to destroy a virt instance] * xref:howtos:discourse_spam.adoc[How to deal with spam posts on discourse] * xref:howtos:fedora_messaging_certificates.adoc[How to create TLS certificates for fedora-messaging] -* xref:howtos:fix_bugzilla_aws_saml_login.adoc[How to fix SAML login in bugzilla/AWS] * xref:howtos:fix_robosignatory.adoc[How to check/fix robosignatory] * xref:howtos:free_space_in_openshift.adoc[How to free some space in OpenShift] -* xref:howtos:generate_2fa_keys.adoc[How to generate 2 Factor Authentication key and certificate] * xref:howtos:generate_openvpn_keys.adoc[How to generate private key and certificate for OpenVPN client] * xref:howtos:get_logs_pod_openshift.adoc[How to get logs of a pod in OpenShift] * xref:howtos:give_groups_dist_git.adoc[How to give a group from someone to someone else in dist-git]