Bug 1501831 - The openshift_logging_elasticsearch_proxy_image_prefix shouldn't be image name
Summary: The openshift_logging_elasticsearch_proxy_image_prefix shouldn't be image name
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 3.7.0
Assignee: ewolinet
QA Contact: Anping Li
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-13 09:32 UTC by Anping Li
Modified: 2017-11-28 22:16 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2017-11-28 22:16:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3188 0 normal SHIPPED_LIVE Moderate: Red Hat OpenShift Container Platform 3.7 security, bug, and enhancement update 2017-11-29 02:34:54 UTC

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


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