Bug 1916419

Summary: [sig-devex][Feature:ImageEcosystem][Slow] openshift images should be SCL enabled returning s2i usage when running the image
Product: OpenShift Container Platform Reporter: Gabe Montero <gmontero>
Component: SamplesAssignee: Gabe Montero <gmontero>
Status: CLOSED ERRATA QA Contact: XiuJuan Wang <xiuwang>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.7CC: pknezevi
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-24 15:53:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1916687    

Description Gabe Montero 2021-01-14 18:11:58 UTC
The image eco e2e [sig-devex][Feature:ImageEcosystem][Slow] openshift images should be SCL enabled returning s2i usage when running the image

has started failing for registry.redhat.io/rhscl/php-73-rhel7 and registry.redhat.io/rhscl/python-27-rhel7 because recent changes to their usage message no longer match the pattern check for in the e2e.

That said, their usage messages seem fine:

Python 2.7

This is a S2I python-2.7 rhel base image:
There are multiple ways how to run the image, see documentation at:
https://github.com/sclorg/s2i-python-container/blob/master/2.7/README.md

To use it in Openshift, run:
oc new-app python:2.7~https://github.com/sclorg/s2i-python-container.git --context-dir=2.7/test/setup-test-app/

You can then run the resulting image via:
oc get pods
oc exec <pod> -- curl 127.0.0.1:8080

PHP 7.3

This is a S2I PHP-7.3 rhel base image:

To use it in Openshift, run:

oc new-app php:7.3~https://github.com/sclorg/cakephp-ex.git

To access the application:

oc get pods
oc exec <pod> -- curl 127.0.0.1:8080

Alternatively, to run the image directly using podman or docker, or how to use it as a parent image in a Dockerfile, see documentation at
https://github.com/sclorg/s2i-php-container/blob/master/7.3/README.md

So we'll either expand the acceptable text test or remove that part of the verification in the upcoming PR

Comment 2 Gabe Montero 2021-01-15 12:36:45 UTC
Test only change ... PR e2e's the only required verification

Comment 5 errata-xmlrpc 2021-02-24 15:53:18 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