From 78b96618b0b7e8383eb6d1b500151afee55c93ca Mon Sep 17 00:00:00 2001 From: Alex Iribarren <alex.iribarren@cern.ch> Date: Tue, 23 Mar 2021 09:29:44 +0000 Subject: [PATCH] Update upgrading.md --- docs/koji/upgrading.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docs/koji/upgrading.md b/docs/koji/upgrading.md index 98b8fde..cd4ed51 100644 --- a/docs/koji/upgrading.md +++ b/docs/koji/upgrading.md @@ -21,6 +21,16 @@ see [https://gitlab.cern.ch/linuxsupport/rpms/koji](https://gitlab.cern.ch/linux !!! Note "" Don't forget to tag the build as needed **before** shutting down Koji! +## Disable alerts + +Make sure Roger knows something is going on: + +``` +roger update --all_alarms false --message OTG0062870 --duration 2h koji{10,11,20,21,22,30,31,32,33,34,35,40,41} +``` + +(If you change the appstate, the machines would be removed from the LB alias and the intervention will take longer) + ## Shutdown Koji *puppet (disable)* @@ -86,3 +96,12 @@ mco shell run '/usr/bin/yum clean all && /usr/local/sbin/distro_sync.sh' --dm pu mco puppet enable --dm puppetdb -T lsb -F 'hostgroup_1=test2' mco puppet runonce --dm puppetdb -T lsb -F 'hostgroup_1=test2' ``` + +(You can also reboot the nodes to get the latest kernel, etc.) + +## Re-enable puppet and all_alarms + +``` +mco puppet enable --dm puppetdb -T lsb -F 'hostgroup_1=test2' +roger update --all_alarms true koji{10,11,20,21,22,30,31,32,33,34,35,40,41} +``` -- GitLab