#8417 Grant Koji admin permission to mizdebsk
Closed: Fixed 4 years ago by mohanboddu. Opened 4 years ago by mizdebsk.

I am planning to work on upgrading Koji builders.

In order not to cause user-visible outage, the upgrade process is typically done in the following (or similar) way:

  1. disable half of builders (with koji disable-host command) so that they stop accepting new tasks
  2. wait for disabled builders to complete their tasks
  3. destroy and reinstall disabled builders
  4. re-enable reinstalled builders (koji enable-host command)
  5. repeat steps 1 through 4 for the other half of builders

Steps 1 and 4 enabling and disabling require admin permission.
To see that @kevin (who usually does the reinstalls) indeed disables and then re-enables hosts, you can check Koji history: koji list-history -s host_config --all

Because of the above I think it would be beneficial to grant me admin permission in Koji.


@mizdebsk Now you have admin permissions in koji. These permissions will be removed once you are done with the upgrade.

Thanks for you help on upgrading builders.

$koji list-permissions --user mizdebsk
admin
infra

disable half of builders (with koji disable-host command) so that they stop accepting new tasks
wait for disabled builders to complete their tasks

Note you can also 'free-task' to move those builds to other enabled builders. Of course they will start again...

ARM7 buildvms were upgraded. You can revoke my admin permission now.

@mizdebsk Thanks for your help and the admin permission is revoked.

$ koji list-permissions --user mizdebsk
infra

Metadata Update from @mohanboddu:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

4 years ago

Login to comment on this ticket.

Metadata