We cannot delete any host. If BrewQE tests addHost API call, we cannot clean up after the test case.
this would be helpful for https://github.com/ktdreyer/koji-ansible as well.
Host entries are referenced:
This means that most host entries can never really be deleted, because they are part of the history of the system. This is why there is no call to do so.
I've considered adding a way to de-list them. I'd previously thought this would involve a new flag in the db, but now that host data is versioned in the host_config table, we could simply revoke that entry, similar to how we "delete" tags.
host_config
Regardless of what we do, the data will still be there in some form. QE should account for that fact that adding and deleting a host leaves the system in a different state than never adding in the first place.
After discuss with @tkopecek I close this issue. We don't need to add this API call.
Metadata Update from @jcupova: - Custom field Size adjusted to None - Issue close_status updated to: Invalid - Issue status updated to: Closed (was: Open)
This issue has been migrated to Fedora Forge: https://forge.fedoraproject.org/koji/koji/issues/1144
Please continue any further discussion there.