Bug 1544358 - [openshift-ansible] setup-openshift-heketi-storage improper image
Summary: [openshift-ansible] setup-openshift-heketi-storage improper image
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 3.7.z
Assignee: Jose A. Rivera
QA Contact: Prasanth
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-12 09:34 UTC by Sudarshan Chaudhari
Modified: 2018-08-29 11:39 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2018-08-29 11:39:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Sudarshan Chaudhari 2018-02-12 09:34:09 UTC
Description of problem:

The setup-openshift-heketi-storage command creates a job/pod resource without specifying an image. It then uses the heketi/heketi:dev image that is hardcoded into the binary. This behavior becomes problematic when working in an isolated enterprise environment and it can't connect to docker hub. Additionally, for users of openshift enterprise this is a security/support issue.

The Issue has been raised and the pull request for this issue addresses on the GitHub to: https://github.com/openshift/openshift-ansible/issues/7036

Comment 9 Wenkai Shi 2018-08-27 05:25:44 UTC
Verified with version openshift-ansible-3.7.62-1.git.0.48dbebc.el7.noarch, code has merged, it can use image defined by customer. Default is "rhgs3/rhgs-volmanager-rhel7".

...
TASK [openshift_storage_glusterfs : Create heketi DB volume] *******************
Monday 27 August 2018  12:12:52 +0800 (0:00:06.447)       0:20:25.703 ********* 

changed: [qe-weshi-cns37-master-etcd-1.0827-nsd.qe.rhcloud.com] => {"changed": true, "cmd": ["oc", "--config=/tmp/openshift-glusterfs-ansible-VjFydz/admin.kubeconfig", "rsh", "--namespace=glusterfs", "deploy-heketi-storage-1-dk6m2", "heketi-cli", "-s", "http://localhost:8080", "--user", "admin", "--secret", "SmTjD/PxB/OWnHRYcq7eaamG85iOnHrtiFmXqCLcw4I=", "setup-openshift-heketi-storage", "--image", "rhgs3/rhgs-volmanager-rhel7:latest", "--listfile", "/tmp/heketi-storage.json"], "delta": "0:00:07.597231", "end": "2018-08-27 00:12:59.506962", "rc": 0, "start": "2018-08-27 00:12:51.909731", "stderr": "", "stderr_lines": [], "stdout": "Saving /tmp/heketi-storage.json", "stdout_lines": ["Saving /tmp/heketi-storage.json"]}
...

Comment 11 errata-xmlrpc 2018-08-29 11:39:55 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/RHBA-2018:2547


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