Page MenuHomePhabricator

Remove Gerrit motd plugin
Closed, ResolvedPublic

Description

We have the motd Gerrit plugin installed. That was done back in 2018 as a potential way to inform people having trouble to fetch when a branch got removed: T190810. We never used the feature and should remove it.

  • remove motd from the the wmf/stable-* branches
  • remove etc/motd.config from the deploy/wmf/stable-* branches
  • remove the Puppet managed symlink from $GERRIT_SITE/etc/motd.config to the deployed file
  • ensure both plugins/motd.jar and etc/motd.config are gone after deployment

Related Objects

Event Timeline

Change 843945 had a related patch set uploaded (by Hashar; author: Hashar):

[operations/software/gerrit@wmf/stable-3.4] Remove motd plugin

https://gerrit.wikimedia.org/r/843945

Change 843946 had a related patch set uploaded (by Hashar; author: Hashar):

[operations/software/gerrit@deploy/wmf/stable-3.4] Remove motd plugin and its config

https://gerrit.wikimedia.org/r/843946

Change 843947 had a related patch set uploaded (by Hashar; author: Hashar):

[operations/software/gerrit@wmf/stable-3.5] Remove motd plugin

https://gerrit.wikimedia.org/r/843947

Change 843948 had a related patch set uploaded (by Hashar; author: Hashar):

[operations/software/gerrit@deploy/wmf/stable-3.5] Remove motd plugin and its config

https://gerrit.wikimedia.org/r/843948

Change 843949 had a related patch set uploaded (by Hashar; author: Hashar):

[operations/puppet@production] gerrit: remove etc/motd.config

https://gerrit.wikimedia.org/r/843949

@demon you got the motd plugin added to Gerrit back in 2018 via T190810 but we never used it. I am thus going to remove it if that sounds good to you ;)

Change 843946 merged by jenkins-bot:

[operations/software/gerrit@deploy/wmf/stable-3.4] Remove motd plugin and its config

https://gerrit.wikimedia.org/r/843946

Change 843948 merged by jenkins-bot:

[operations/software/gerrit@deploy/wmf/stable-3.5] Remove motd plugin and its config

https://gerrit.wikimedia.org/r/843948

Mentioned in SAL (#wikimedia-operations) [2022-10-18T15:49:58Z] <hashar@deploy1002> Started deploy [gerrit/gerrit@da5de16]: gerrit2002: remove motd plugin and its config # T321075

Mentioned in SAL (#wikimedia-operations) [2022-10-18T15:50:08Z] <hashar@deploy1002> Finished deploy [gerrit/gerrit@da5de16]: gerrit2002: remove motd plugin and its config # T321075 (duration: 00m 10s)

Mentioned in SAL (#wikimedia-operations) [2022-10-18T15:51:22Z] <hashar@deploy1002> Started deploy [gerrit/gerrit@da5de16]: gerrit1001: remove motd plugin and its config # T321075

Mentioned in SAL (#wikimedia-operations) [2022-10-18T15:51:30Z] <hashar@deploy1002> Finished deploy [gerrit/gerrit@da5de16]: gerrit1001: remove motd plugin and its config # T321075 (duration: 00m 08s)

On gerrit2002 (replica)

[2022-10-18T15:50:10.886Z] [PluginScanner] INFO com.google.gerrit.server.plugins.PluginLoader : Unloading plugin motd, version 3d174f8

On gerrit1001 (primary)

[2022-10-18T15:51:56.462Z] [PluginScanner] INFO com.google.gerrit.server.plugins.PluginLoader : Unloading plugin motd, version 3d174f8

Rest of plugins got unloaded/reloaded as well.

Change 843947 merged by jenkins-bot:

[operations/software/gerrit@wmf/stable-3.5] Remove motd plugin

https://gerrit.wikimedia.org/r/843947

Change 843949 merged by Dzahn:

[operations/puppet@production] gerrit: remove etc/motd.config

https://gerrit.wikimedia.org/r/843949

Change 843945 merged by jenkins-bot:

[operations/software/gerrit@wmf/stable-3.4] Remove motd plugin

https://gerrit.wikimedia.org/r/843945

hashar claimed this task.
hashar updated the task description. (Show Details)