Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
We have customers preparing for our migration to OpenShift 4.x. As part of this process, we are having customers update their base images of application languages to later versions.
A recent customer ran into an issue where packages were not available in the updated RHEL8/php-74 image (https://catalog.redhat.com/software/containers/rhel8/php-74/5f5211e39df2542e4756afd1?container-tabs=packages)
Due to this, their build is failing when attempting to change their buildconfig to target the later image. Note that this functions in PHP-72/PHP-73 on RHEL7 variants. The error message the customer gets when performing a build is:
~~~
- php-webdriver/webdriver 1.8.3 requires ext-zip * -> it is missing from your system. Install or enable PHP's zip extension
~~~
When looking into this issue, we noticed that the packages installed for the rhel7 php extensions were not included in the RHEL8/UBI8 variants.
Two examples of the php72/php73 php-zip package:
~~~
rh-php72-php-zip-7.2.24-1.el7.x86_64
rh-php73-php-zip-7.3.20-1.el7.x86_64
~~~
For scenarios in which packages are missing from the updated images being published, what is the supported course of action for the developer to take? Specifically, a course of action that enables the developer to continue using the RH-provided base images instead of having to learn how to build and maintain their own images.
Version-Release number of selected component (if applicable):
OCP 3.11
RHEL8/UBI8 Images
How reproducible:
Steps to Reproduce:
1. see description
2.
3.
Actual results:
Packages are missing in RHEL8/UBI8 images
Expected results:
Packages mentioned above should be present in RHEL8/UBI8 images
Additional info:
These containers are not related to the OCP product. I am reassigning to the appropriate product for followup if needed.
Changes in the supported set of packages are pretty common between platform versions, especially between versions of RHEL. To me the obvious path forward would be to use the [1] ubi7/php-73 image. If you really must use php-74, then either the customer will need to layer on the necessary package(s), or the RHEL team will need to include them in the shipped image.
By the way, note that technically images based on RHEL 8 are not supported when running on RHEL 7 hosts (which I assume is the case here if you're using OCP 3.11).
[1] https://catalog.redhat.com/software/containers/ubi7/php-73/5da0228fdd19c70159f4601b
The packages are still available in RHEL8, the package name is php-pecl-zip now rather than php-zip since the extension is no longer included with PHP itself.
We can look at adding them to the container images.
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 (new and updated Application Stream container images), 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/RHBA-2021:4559