#9991 Bodhi Greenwave queries for EPEL 8 Next 404ing because of release name
Closed: Fixed by kevin. Opened by adamwill.

The Bodhi 'release' for EPEL 8 Next has been created with the long name "Epel 8 Next". Bodhi derives the product_version it uses for Greenwave queries from this value: return self.release.long_name.lower().replace(' ', '-'). So the product_version used for Greenwave queries for updates for that release is epel-8-next.

However, that matches nothing in our Greenwave policy. We have catchall 'no requirements' policies that we expect all updates to match on if they don't match on anything else, but they specify product_versions as fedora-*.

For other EPEL releases this is not an issue as their long names start with "Fedora". e.g. the long name for EPEL 8 is "Fedora EPEL 8", so the product_version used for Greenwave queries is fedora-epel-8. This matches the "no requirements" wildcard policies and no other policies, so those updates are never gated.

We could fix this by:

  1. Renaming the release to e.g. "Fedora EPEL 8 Next".
  2. Adding epel-* to the product_versions for the 'no requirements' policies in Greenwave config.
  3. Changing how Bodhi generates the product_version for Greenwave queries somehow.

@kevin suggests going with 1, seems fine to me.


To be clear on the impact of this: it means updates can't be pushed to testing or to stable. They will be stuck in 'waiting' gating status forever. There is no waiver you can grant to fix this, because the issue is that the greenwave query 404s, not that there is a failed test result in the response.

Oh, BTW, I filed an issue on Bodhi unconditionally treating an error response from Greenwave as 'waiting' last week already: https://github.com/fedora-infra/bodhi/issues/4223 . Funny to see it happening 'in production' so soon afterwards.

ok, because I want to actually you know push updates... I went with solution 1. :)

If someone disagrees we can revisit. :)

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

Metadata