Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1593450

Summary: RestURL of CNS storageClass should be service URL not route
Product: OpenShift Container Platform Reporter: Ryan Howe <rhowe>
Component: InstallerAssignee: Jose A. Rivera <jarrpa>
Status: CLOSED ERRATA QA Contact: Wenkai Shi <weshi>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.9.0CC: aos-bugs, jokerman, mmccomas, scuppett
Target Milestone: ---   
Target Release: 3.10.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-13 15:58:31 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 Ryan Howe 2018-06-20 21:05:03 UTC
Description of problem:

When the install configures the storageclass for CNS it should use the ServiceURL not a route. When a route is used the SC provisioner is dependant on the router working / running in order to work. While using the ServiceURL or ServiceIP allows the provisioner to only be dependant on the kubeproxy working. 

https://github.com/openshift/openshift-ansible/blob/master/roles/openshift_storage_glusterfs/templates/glusterfs-storageclass.yml.j2#L12

Comment 3 Jose A. Rivera 2018-08-20 20:59:17 UTC
Seems several fixes were made in master to address this, but the backports failed auto-merge and were never followed up on. I've created the following PR to address that:

https://github.com/openshift/openshift-ansible/pull/9685

Comment 5 Wenkai Shi 2018-09-06 09:35:48 UTC
Verified with version openshift-ansible-3.10.43-1.git.0.4794155.el7.noarch, code has effect.

# oc describe sc glusterfs-storage | grep resturl
Parameters:            resturl=http://heketi-storage.glusterfs.svc:8080,restuser=admin,secretName=heketi-storage-admin-secret,secretNamespace=glusterfs

Comment 8 errata-xmlrpc 2018-09-13 15:58:31 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:2695