Bug 1906806 - Allow installing extra packages in ironic container images
Summary: Allow installing extra packages in ironic container images
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Bare Metal Hardware Provisioning
Version: 4.7
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 4.7.0
Assignee: Riccardo Pittau
QA Contact: Lubov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-11 13:14 UTC by Riccardo Pittau
Modified: 2021-02-24 15:42 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-24 15:42:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift ironic-image pull 129 0 None closed Bug 1906806: Introduce separate ARG for extra packages list 2021-01-18 17:23:27 UTC
Red Hat Product Errata RHSA-2020:5633 0 None None None 2021-02-24 15:42:46 UTC

Description Riccardo Pittau 2020-12-11 13:14:54 UTC
To be able to install and test new versions of the ironic project software packages, we need to refactor the logic of the Dockerfile used to build the images.

Comment 2 Lubov 2020-12-14 06:41:56 UTC
Please, provide instructions how can it be verified

Comment 3 Riccardo Pittau 2020-12-15 08:16:40 UTC
To verify the new argument you need to build the image specifying the argument in the command line, for example:
podman build -f Dockerfile.ocp --build-arg EXTRA_PKGS_LIST=extra-packages-list.txt

can test with different scenarios:
- extra-packages-list.txt doesn't exist
- extra-packages-list.txt exists but it's empty
- extra-packages-list.txt exists and it's not empty (one or multiple packages, one per line)

the latter should end up copying the list in the container and installing whatever package is specified in it

Comment 7 errata-xmlrpc 2021-02-24 15:42:30 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:5633


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