Bug 1501831

Summary: The openshift_logging_elasticsearch_proxy_image_prefix shouldn't be image name
Product: OpenShift Container Platform Reporter: Anping Li <anli>
Component: InstallerAssignee: ewolinet
Status: CLOSED ERRATA QA Contact: Anping Li <anli>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.7.0CC: aos-bugs, jokerman, mmccomas
Target Milestone: ---   
Target Release: 3.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-28 22:16:57 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 Anping Li 2017-10-13 09:32:04 UTC
Description of problem:
The default value of openshift_logging_elasticsearch_proxy_image_prefix is a image name openshift/oauth-proxy.  In general, The image_prefix of Logging/metrics is $registryURL/$namespace rather than $imageName.
For example:
openshift_logging_elasticsearch_image_prefix: "{{ openshift_logging_image_prefix | default(__openshift_logging_image_prefix) }}"
openshift_logging_kibana_image_prefix: "{{ openshift_logging_image_prefix | default(__openshift_logging_image_prefix) }}"
openshift_metrics_image_prefix: "{{ openshift_metrics_image_prefix | default(__openshift_metrics_image_prefix) }}"



Version-Release number of the following components:
openshift-ansible-3.7.0-0.148.0

How reproducible:
always

Steps to Reproduce:
1. grep -r image_prefix /root/openshift-ansible/roles/openshift_logging_elasticsearch/


Actual results:
# grep -r image_prefix /root/openshift-ansible/roles/openshift_logging_elasticsearch/
/root/openshift-ansible/roles/openshift_logging_elasticsearch/defaults/main.yml:openshift_logging_elasticsearch_image_prefix: "{{ openshift_logging_image_prefix | default(__openshift_logging_image_prefix) }}"
/root/openshift-ansible/roles/openshift_logging_elasticsearch/defaults/main.yml:openshift_logging_elasticsearch_proxy_image_prefix: "openshift/oauth-proxy"
/root/openshift-ansible/roles/openshift_logging_elasticsearch/tasks/main.yaml:    image: "{{ openshift_logging_elasticsearch_image_prefix }}logging-elasticsearch:{{ openshift_logging_elasticsearch_image_version }}"
/root/openshift-ansible/roles/openshift_logging_elasticsearch/templates/es.j2:          image: {{openshift_logging_elasticsearch_proxy_image_prefix}}:{{openshift_logging_elasticsearch_proxy_image_version}}

Expected results:

Additional info:
openshift_logging_elasticsearch_proxy_image_prefix should be $registryURL/$namespace

Comment 3 Anping Li 2017-10-24 04:22:37 UTC
The openshift_logging_elasticsearch_proxy_image_prefix is $registryURL/$namespace  in openshift-ansible-3.7.0-0.174.0

Comment 6 errata-xmlrpc 2017-11-28 22:16:57 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, 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-2017:3188