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

Bug 1445071

Summary: Installer is tacking on additional -volume string to persistent volume names
Product: OpenShift Container Platform Reporter: Chris Callegari <ccallega>
Component: InstallerAssignee: ewolinet
Status: CLOSED NOTABUG QA Contact: Johnny Liu <jialiu>
Severity: low Docs Contact:
Priority: low    
Version: 3.5.0CC: aos-bugs, jokerman, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-18 14:18:25 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:
Attachments:
Description Flags
Ansible hosts file none

Description Chris Callegari 2017-04-24 20:58:09 UTC
Created attachment 1273712 [details]
Ansible hosts file

Description of problem:
Installer is tacking on additional -volume string to persistent volume names. 

This is creating confusion when setting...
openshift_hosted_logging_storage_volume_name=logging
openshift_hosted_metrics_storage_volume_name=metrics


Version-Release number of selected component (if applicable):
3.5


How reproducible:
Always


Steps to Reproduce:
1. Use attached Ansible hosts file
2.  ansible-playbook playbooks/byo/openshift-cluster/config.yml
3.


Actual results:
# oc get pv
NAME             CAPACITY   ACCESSMODES   RECLAIMPOLICY   STATUS    CLAIM                              REASON    AGE
logging-volume-volume   1000Gi     RWO           Retain          Bound     logging/logging-es-0                         1h
metrics-volume   1000Gi     RWO           Retain          Bound     openshift-infra/metrics-volume-volume-1             1h


Notice the -volume-volume in the persistent volume name??

It's being caused by oo_filters.py line 730 & 745


Expected results:
# oc get pv
NAME             CAPACITY   ACCESSMODES   RECLAIMPOLICY   STATUS    CLAIM                              REASON    AGE
logging-volume   1000Gi     RWO           Retain          Bound     logging/logging-es-0                         1h
metrics-volume   1000Gi     RWO           Retain          Bound     openshift-infra/metrics-volume-1             1h


Additional info:

Comment 1 Scott Dodson 2017-05-24 13:05:13 UTC
possibly a dupe of https://bugzilla.redhat.com/show_bug.cgi?id=1442277

Comment 2 ewolinet 2017-07-11 21:15:51 UTC
Not a dupe, but we would need to make sure that changing this does not cause any regressions with prior and future pv generation

Comment 3 Chris Callegari 2018-07-18 14:18:25 UTC
This BZ is no longer an issue and can be closed.