#7695 Ansible Spring Cleaning: Fixing Upgrade Scripts
Opened 3 months ago by smooge. Modified 2 months ago

Describe what you would like us to do:

Currently we have a lot of moving parts which need careful work when we do upgrades and updates. There were playbooks put in place back in 2015/2016 to help deal with this but many of them have not been touched in a while. We need to do a spring cleaning

  1. Who is responsible for the maintenance and upkeep of these files
  2. What upgrades should be retired
  3. What upgrades still work?
  4. Are the playbooks commented to explain what they do so that someone can take over maintenance or run it before a monthly upgrade/reboot cycle.

Here are the current scripts.
playbooks/manual/upgrade/autocloud.yml
playbooks/manual/upgrade/badges.yml
playbooks/manual/upgrade/bodhi.yml
playbooks/manual/upgrade/bugyou.yml
playbooks/manual/upgrade/bugzilla2fedmsg.yml
playbooks/manual/upgrade/copr.yml
playbooks/manual/upgrade/datagrepper.yml
playbooks/manual/upgrade/datanommer.yml
playbooks/manual/upgrade/fedimg.yml
playbooks/manual/upgrade/fedmsg.yml
playbooks/manual/upgrade/fmn.yml
playbooks/manual/upgrade/hotness.yml
playbooks/manual/upgrade/java-deptools.yml
playbooks/manual/upgrade/koji.yml
playbooks/manual/upgrade/koschei-testing.yml
playbooks/manual/upgrade/koschei.yml
playbooks/manual/upgrade/mbs.yml
playbooks/manual/upgrade/mote.yml
playbooks/manual/upgrade/odcs.yml
playbooks/manual/upgrade/packages.yml
playbooks/manual/upgrade/pagure.yml
playbooks/manual/upgrade/pdc.yml


When do you need this to be done by? (YYYY/MM/DD)

2019-05-07 for next-next upgrade/reboot cycle



playbooks/manual/upgrade/hotness.yml is now migrated to OpenShift. I already have OpenShift instance deployed on staging, but I'm waiting till Fedora Messaging will be ready on production.

So this playbook will be probably obsolete on next upgrade/reboot cycle.

Thanks. when it is just do a rm of the file so it can be gone.

  • playbooks/manual/upgrade/java-deptools.yml
  • playbooks/manual/upgrade/koschei-testing.yml
  • playbooks/manual/upgrade/koschei.yml

The above three are still used, should still be working and are maintained by sysadmin-koschei-members. I can be considered as primary maintainer for them.

On Fri, 2019-04-05 at 15:44 +0000, Stephen J Smoogen wrote:

playbooks/manual/upgrade/bodhi.yml

I use this one regularly and it seems to work OK.

@smooge what are next steps here? propose ones to remove?

Metadata Update from @kevin:
- Issue priority set to: Waiting on Assignee (was: Needs Review)

3 months ago

Propose to remove the following as no one claimed them:

playbooks/manual/upgrade/autocloud.yml
playbooks/manual/upgrade/badges.yml

playbooks/manual/upgrade/bugyou.yml
playbooks/manual/upgrade/bugzilla2fedmsg.yml

playbooks/manual/upgrade/datagrepper.yml
playbooks/manual/upgrade/datanommer.yml
playbooks/manual/upgrade/fedimg.yml
playbooks/manual/upgrade/fedmsg.yml
playbooks/manual/upgrade/fmn.yml
playbooks/manual/upgrade/hotness.yml

playbooks/manual/upgrade/koji.yml

playbooks/manual/upgrade/mbs.yml
playbooks/manual/upgrade/mote.yml
playbooks/manual/upgrade/odcs.yml
playbooks/manual/upgrade/packages.yml

playbooks/manual/upgrade/pdc.yml

I can be the main poc for

playbooks/manual/upgrade/badges.yml
playbooks/manual/upgrade/packages.yml

I think these are still useful:

playbooks/manual/upgrade/bugzilla2fedmsg.yml
playbooks/manual/upgrade/datagrepper.yml
playbooks/manual/upgrade/datanommer.yml
playbooks/manual/upgrade/koji.yml - I have used this one and it works.
playbooks/manual/upgrade/mbs.yml
playbooks/manual/upgrade/mote.yml
playbooks/manual/upgrade/odcs.yml
playbooks/manual/upgrade/pdc.yml

We are down to:

playbooks/manual/upgrade/autocloud.yml
playbooks/manual/upgrade/bugyou.yml
playbooks/manual/upgrade/fedimg.yml
playbooks/manual/upgrade/fedmsg.yml
playbooks/manual/upgrade/fmn.yml
playbooks/manual/upgrade/hotness.yml

hotness could be removed now, it is now running in OpenShift in both production and staging.

We are down to:
playbooks/manual/upgrade/autocloud.yml

I haven't used it in a long time but since Autocloud is still in production till F29 EOLs. I can be the POC till that time, and will remove when deprecating Autocloud

playbooks/manual/upgrade/bugyou.yml

Bugyou is not longer in use and can be removed.

playbooks/manual/upgrade/fedimg.yml

Fedimg is still in production. I use this frequently, but fedimg will also be gone soon. I will remove while deprecating Fedimg.

Login to comment on this ticket.

Metadata