Red Hat Bugzilla – Bug 991459
Distro trees with no URLs are never expired
Last modified: 2014-12-07 20:15:32 EST
Description of problem:
If a distro tree has its URL entries removed, then beaker-expire-distro will not remove it
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Remove all the URLs for a distro tree
2. run beaker-expire-distro
Distro is not expired
Should be expired
If a distro tree has no URLs it should warrant it being expired.
I don't understand this bug...
(In reply to Raymond Mancy from comment #0)
> Steps to Reproduce:
> 1. Remove all the URLs for a distro tree
Do you mean, remove all the lab controller associations for a distro tree, from the Lab Controllers tag on the distro tree page? So that there are no URLs associated with the distro tree in the Beaker database?
In that case it *is* expired, by definition. That's what beaker-expire-distros does. There is no separate mechanism to mark a distro as expired apart from removing all its lab controller associations.
Or, are you saying that beaker-expire-distros is failing to remove the lab controller associations when the tree is removed and the URLs start returning 404?
Sorry I think I was starting to fade when I filed this and this bug makes no sense.