Remove old/not needed guides

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
Michal Konecny 2023-09-08 10:24:47 +02:00
parent 1d458e6d8a
commit 87dbf1c440
5 changed files with 1 additions and 72 deletions

View file

@ -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`.

View file

@ -6,10 +6,9 @@ Under the correct section add **require ip** ***<server_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
. <<generate_2fa_keys.adoc#>>
. <<generate_openvpn_keys.adoc#>>
. In the dns repo on batcave edit the file master/168.192.in-addr.arpa

View file

@ -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 <pod-name>`` (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?)

View file

@ -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 <hostname>
----
Add generated files to git index, commit, push:
----
git status
git add .
git commit -a -m "Add 2 FA key/cert for <hostname>"
git show
git push
----

View file

@ -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]