From 96007a14149adb842123559e5abff162c9fbc807 Mon Sep 17 00:00:00 2001 From: Michal Konečný Date: May 15 2023 17:09:54 +0000 Subject: [PATCH 1/2] Update koji SOP I recently fixed some issue with disk space on koji builder and found out that this guide is outdated. So here is update to make it up to date. Signed-off-by: Michal Konečný --- diff --git a/modules/sysadmin_guide/pages/koji.adoc b/modules/sysadmin_guide/pages/koji.adoc index 89e8559..ab2b995 100644 --- a/modules/sysadmin_guide/pages/koji.adoc +++ b/modules/sysadmin_guide/pages/koji.adoc @@ -78,10 +78,10 @@ echo "select procpid from pg_stat_activity where usename='koji' and now() - quer === Disk Space Issues -The builders use a lot of temporary storage. Failed builds and old mock buildroots should be automatic cleaned, but in case it doesn't remove /var/lib/mock/* and restart kojid: +The builders use a lot of temporary storage. Failed builds and old mock buildroots should be automatic cleaned, but in case it doesn't, remove /var/lib/mock/* and restart kojid on the affected builder: .... -/etc/init.d/kojid restart +systemctl restart kojid .... [IMPORTANT] From 3e16c0b7d889f4e42d1b0e98e920a6335b2b8f56 Mon Sep 17 00:00:00 2001 From: Michal Konečný Date: May 15 2023 17:09:54 +0000 Subject: [PATCH 2/2] Update koji SOP I recently fixed some issue with disk space on koji builder and found out that this guide is outdated. So here is update to make it up to date. Signed-off-by: Michal Konečný --- diff --git a/modules/sysadmin_guide/pages/koji.adoc b/modules/sysadmin_guide/pages/koji.adoc index ab2b995..0cce86d 100644 --- a/modules/sysadmin_guide/pages/koji.adoc +++ b/modules/sysadmin_guide/pages/koji.adoc @@ -1,24 +1,15 @@ = Koji Infrastructure SOP -[NOTE] -==== -We are transitioning from two buildsystems, koji for Fedora and plague -for EPEL, to just using koji. This page documents both. -==== - -Koji and plague are our buildsystems. They share some of the same -machines to do their work. - == Contents * <<_contact_information>> * <<_description>> * <<_add_packages_into_buildroot>> * <<_troubleshooting_and_resolution>> -** <<_restarting_koji>> ** <<_kojid_wont_start_or_some_builders_wont_connect>> ** <<_disk_space_issues>> -** <<_checking builders are all checking in correctly>> +** <<_checking_builders_are_all_checking_in_correctly>> + == Contact Information Owner:: @@ -41,13 +32,6 @@ Users submit builds to _koji.fedoraproject.org_ or _buildsys.fedoraproject.org_. From there it gets passed on to the builders. -[IMPORTANT] -==== -At present plague and koji are unaware of each other. A result of this -may be an overloaded builder. A easy fix for this is not clear at this -time -==== - == Add packages into Buildroot Some contributors may have the need to build packages against fresh