From 0673035bd52e2ce57ce6f5e6b5e61f025f253835 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Kone=C4=8Dn=C3=BD?= Date: Mon, 23 Aug 2021 15:29:47 +0200 Subject: [PATCH] Review fmn SOP MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Konečný --- modules/sysadmin_guide/nav.adoc | 2 +- modules/sysadmin_guide/pages/fmn.adoc | 36 +++++++++++---------------- 2 files changed, 16 insertions(+), 22 deletions(-) diff --git a/modules/sysadmin_guide/nav.adoc b/modules/sysadmin_guide/nav.adoc index c586a26..8b27539 100644 --- a/modules/sysadmin_guide/nav.adoc +++ b/modules/sysadmin_guide/nav.adoc @@ -35,7 +35,7 @@ ** xref:fedocal.adoc[Fedocal - SOP] ** xref:fedora-releases.adoc[Fedora Release Infrastructure - SOP] ** xref:fedorawebsites.adoc[Websites Release - SOP] -** xref:fmn.adoc[fmn - SOP in review ] +** xref:fmn.adoc[FedMsg Notifications (FMN) - SOP] ** xref:gather-easyfix.adoc[gather-easyfix - SOP in review ] ** xref:gdpr_delete.adoc[gdpr_delete - SOP in review ] ** xref:gdpr_sar.adoc[gdpr_sar - SOP in review ] diff --git a/modules/sysadmin_guide/pages/fmn.adoc b/modules/sysadmin_guide/pages/fmn.adoc index 6b68480..0c309b6 100644 --- a/modules/sysadmin_guide/pages/fmn.adoc +++ b/modules/sysadmin_guide/pages/fmn.adoc @@ -24,17 +24,17 @@ ____ Production servers: ____ -* notifs-backend01.phx2.fedoraproject.org (RHEL 7) -* notifs-web01.phx2.fedoraproject.org (RHEL 7) -* notifs-web02.phx2.fedoraproject.org (RHEL 7) +* notifs-backend01.iad2.fedoraproject.org (RHEL 7) +* notifs-web01.iad2.fedoraproject.org (RHEL 7) +* notifs-web02.iad2.fedoraproject.org (RHEL 7) ____ Staging servers: ____ -* notifs-backend01.stg.phx2.fedoraproject.org (RHEL 7) -* notifs-web01.stg.phx2.fedoraproject.org (RHEL 7) -* notifs-web02.stg.phx2.fedoraproject.org (RHEL 7) +* notifs-backend01.stg.iad2.fedoraproject.org (RHEL 7) +* notifs-web01.stg.iad2.fedoraproject.org (RHEL 7) +* notifs-web02.stg.iad2.fedoraproject.org (RHEL 7) ____ === Purpose @@ -78,10 +78,10 @@ db01.phx2.fedoraproject.org. This host runs: * A Python WSGI application via Apache httpd that serves the -https://apps.fedoraproject.org/notifications%3E[FMN web user interface]. +https://apps.fedoraproject.org/notifications[FMN web user interface]. This host relies on a PostgreSQL database running on -db01.phx2.fedoraproject.org. +db01.iad2.fedoraproject.org. == Deployment @@ -94,11 +94,11 @@ new version can be built an deployed into Fedora infrastructure. === Building FMN is packaged in Fedora and EPEL as -https://admin.fedoraproject.org/pkgdb/package/rpms/python-fmn/[python-fmn] +https://src.fedoraproject.org/rpms/python-fmn/[python-fmn] (the backend), -https://admin.fedoraproject.org/pkgdb/package/rpms/python-fmn-web/[python-fmn-web] +https://src.fedoraproject.org/rpms/python-fmn-web/[python-fmn-web] (the frontend), and the optional -https://admin.fedoraproject.org/pkgdb/package/rpms/python-fmn-sse/[python-fmn-sse]. +https://src.fedoraproject.org/rpms/python-fmn-sse/[python-fmn-sse]. Since all the hosts run RHEL 7, you need to build all these packages for EPEL 7. @@ -107,7 +107,7 @@ EPEL 7. If there are any configuration updates required by the new version of FMN, update the `notifs` Ansible roles on -batcave01.phx2.fedoraproject.org. Remember to use: +batcave01.iad2.fedoraproject.org. Remember to use: .... {% if env == 'staging' %} @@ -130,10 +130,10 @@ Simply drop the `-l staging` to update the production configuration. === Upgrading To upgrade the -https://admin.fedoraproject.org/pkgdb/package/rpms/python-fmn/[python-fmn], -https://admin.fedoraproject.org/pkgdb/package/rpms/python-fmn-web/[python-fmn-web], +https://src.fedoraproject.org/rpms/python-fmn/[python-fmn], +https://src.fedoraproject.org/rpms/python-fmn-web/[python-fmn-web], and -https://admin.fedoraproject.org/pkgdb/package/rpms/python-fmn-sse/[python-fmn-sse] +https://src.fedoraproject.org/rpms/python-fmn-sse/[python-fmn-sse] packages, apply configuration changes, and restart the services, you should use the manual upgrade playbook: @@ -173,12 +173,6 @@ $ ls /etc/fedmsg.d/ $ sudo fedmsg-config | less .... -Monitor performance: - -.... -http://threebean.org/fedmsg-health-day.html#FMN -.... - Upgrade (from batcave): ....