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
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"]} ...
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