action #48791

Offer a way for admins to delete stale workers

Added by coolo 12 months ago. Updated 10 months ago.

Status:ResolvedStart date:07/03/2019
Priority:NormalDue date:
Assignee:Xiaojing_liu% Done:

100%

Category:Feature requests
Target version:Current Sprint
Difficulty:easy
Duration:

Description

Sometimes we want to remove workers that are no longer in use, e.g. on hosts we renamed. Currently there is no way to do this (beside manual DELETE calls in the DB).

Acceptance criteria:
* Have a button in the admin interface of a worker (e.g. https://openqa.suse.de/admin/workers/885)
* Only visible to adminstrators
* Audit log is created for this action

History

#1 Updated by coolo 12 months ago

  • Assignee set to Xiaojing_liu

#2 Updated by coolo 12 months ago

I forgot one thing that was too obvious to me: the worker has to be offline to be deleted.

#3 Updated by Xiaojing_liu 12 months ago

  • % Done changed from 0 to 30

#4 Updated by mkittler 11 months ago

  • Status changed from New to In Progress

We usually don't take the effort to estimate the progress percentage. Instead it would be useful to set the status to "In Progress" and to reference the (WIP) PR like this:

PR: https://github.com/os-autoinst/openQA/pull/2027

#5 Updated by mkittler 11 months ago

PR implementing/commenting outstanding issues: https://github.com/os-autoinst/openQA/pull/2047

#6 Updated by Xiaojing_liu 10 months ago

PR fix remaining issues about row remove and delete link: https://github.com/os-autoinst/openQA/pull/2049

#7 Updated by Xiaojing_liu 10 months ago

  • Status changed from In Progress to Resolved
  • % Done changed from 30 to 100

Also available in: Atom PDF