Bug 1463577
Summary: | Elasticsearch not starting - dynamic pv not created: storageclass.storage.k8s.io "dynamic" not found | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Mike Fiedler <mifiedle> |
Component: | Installer | Assignee: | Kenny Woodson <kwoodson> |
Status: | CLOSED ERRATA | QA Contact: | Mike Fiedler <mifiedle> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.6.0 | CC: | aos-bugs, hekumar, jokerman, mmccomas |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-08-10 05:28:56 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
Mike Fiedler
2017-06-21 09:14:00 UTC
This is a "standard" openshift-ansible byo/config.yml install with a properly configured AWS cloud provider. Hemant, How should we be making use of https://github.com/openshift/openshift-ansible/pull/4262 to use the default storage class on a given environment? Should we actually be naming those storage classes 'default' rather than 'aws' and 'gcp' and then configure things like logging and metrics to use 'default' ? @Scott - can we not dynamically infer storageClass name that default class name will be `gp2` on AWS and `standard` on GCE? There was some discussion upstream and we chose not to name default classes `default` because it looks weird when you list them. ~> oc get storageclasses default(default) xxxxx Alternately, things like metrics and logging can skip storageclass annotation in their definition and that in turn will cause them to bind to default storageclass automatically (as Mike found out). I have performed a small refactor on this section of the code and removed the annotation. By removing the annotation, the pvc will use the default storage class. If you pass the dynamic option as false then it will set the storageClassName option to "" which in turns disables the storage class for that pvc. This time with github link: https://github.com/openshift/openshift-ansible/pull/4532 Not fixed in penshift-ansible.noarch 3.6.126-1.git.0.58d33f0.el7 Moving back to POST until available in a puddle. in openshift-ansible-3.6.123.1002-1.git.0.506cfa7.el7 verified on 3.6.126.1 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/RHEA-2017:1716 |