Bug 1862079

Summary: image_serve validation doesn't properly work
Product: Red Hat OpenStack Reporter: Cédric Jeanneret <cjeanner>
Component: openstack-tripleo-validationsAssignee: Cédric Jeanneret <cjeanner>
Status: CLOSED ERRATA QA Contact: nlevinki <nlevinki>
Severity: high Docs Contact:
Priority: high    
Version: 16.1 (Train)CC: gchamoul, jhajyahy, jjoyce, jschluet, slinaber, tvignaud
Target Milestone: z3Keywords: Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-validations-11.3.2-1.20200916153435.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-15 18:35:45 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:

Description Cédric Jeanneret 2020-07-30 11:45:10 UTC
The validation doesn't use the actual vhost configuration, and uses an IP, usually wrong.

It should parse in some way the /etc/httpd/conf.d/image-serve.conf file in order to extract the VirtualHostname and use it in order to check if we get a working registry.

This correction is now on review on upstream Master, and is a good candidate for a backport down to train/osp-16.1: https://review.opendev.org/#/c/743956/

Comment 5 Jad Haj Yahya 2020-11-15 10:16:21 UTC
openstack tripleo validator run --validation image-serve Passed

Comment 13 errata-xmlrpc 2020-12-15 18:35:45 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 (Red Hat OpenStack Platform 16.1.3 bug fix and enhancement advisory), 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/RHEA-2020:5413