Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1501831 - The openshift_logging_elasticsearch_proxy_image_prefix shouldn't be image name
The openshift_logging_elasticsearch_proxy_image_prefix shouldn't be image name
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer (Show other bugs)
3.7.0
Unspecified Unspecified
unspecified Severity high
: ---
: 3.7.0
Assigned To: ewolinet
Anping Li
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-10-13 05:32 EDT by Anping Li
Modified: 2017-11-28 17:16 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-11-28 17:16:57 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3188 normal SHIPPED_LIVE Moderate: Red Hat OpenShift Container Platform 3.7 security, bug, and enhancement update 2017-11-28 21:34:54 EST

  None (edit)
Description Anping Li 2017-10-13 05:32:04 EDT
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 00:22:37 EDT
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 17:16:57 EST
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.