Bug 1861777 - We must have an upper and minor version limit for podman package
Summary: We must have an upper and minor version limit for podman package
Keywords:
Status: CLOSED DUPLICATE of bug 1878187
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: rhosp-director
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: z2
: 16.1 (Train on RHEL 8.2)
Assignee: Lon Hohberger
QA Contact: David Rosenfeld
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-29 14:16 UTC by Cédric Jeanneret
Modified: 2022-01-13 10:39 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-01-13 10:33:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-5362 0 None None None 2022-01-13 10:39:08 UTC

Description Cédric Jeanneret 2020-07-29 14:16:41 UTC
Description of problem:
It might happen operator doesn't have the right repositories enabled, and it might lead to a wrong version of podman being pulled in.

This is shown for instance here:
https://bugzilla.redhat.com/show_bug.cgi?id=1860640

An idea would be to set that upper limit against paunch package, since it's installed everywhere (for now).

The version should prevent to install any other version than podman-1.6.4*

Cheers,

C.

Comment 1 Cédric Jeanneret 2020-07-30 08:59:59 UTC
Seems something has been corrected in the meantime, but having this security net wouldn't hurt:
https://bugzilla.redhat.com/show_bug.cgi?id=1858373

Comment 2 Cédric Jeanneret 2020-08-04 14:46:18 UTC
Upstream proposal: https://review.rdoproject.org/r/#/c/28853/

We probably want the same downstream.

Comment 3 Julie Pichon 2020-08-06 07:05:49 UTC
I think we want a minor version limit as well. Updates to 16.1 are getting set up with the wrong module streams, causing a podman version that's too old to get picked up (and with which new instances can't spawn).

https://bugzilla.redhat.com/show_bug.cgi?id=1866290
https://bugzilla.redhat.com/show_bug.cgi?id=1866479

We need podman-1.6.4-15 or higher.

Comment 5 Lon Hohberger 2021-02-16 14:03:25 UTC
Without turning things into modules, there's no simple way to hard-require modular content. Cedric and I had a proposal to fail the RPM transaction without the proper module stream being present, but it was rejected.

If we wanted, we could build a modular build of something - say, python-tripleoclient - with nothing in it but python3-tripleoclient.

That module could depend on specific module streams we need. This would fail the transaction if the incorrect module streams were enabled. However, it will not obviate any steps for the customer; they will still have to manually enable the correct modular streams as defined in our documentation.

There are other possibilities in flight at the moment, such as providing metadata that can be utilized via the validations framework.

Comment 8 Miguel Garcia 2022-01-13 10:33:05 UTC

*** This bug has been marked as a duplicate of bug 1878187 ***


Note You need to log in before you can comment on or make changes to this bug.