Bug 1469001
Summary: | [RFE] Allow to specify global default FSType for volumes | ||||||
---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Eduardo Minguez <eminguez> | ||||
Component: | Storage | Assignee: | Jan Safranek <jsafrane> | ||||
Status: | CLOSED ERRATA | QA Contact: | Jianwei Hou <jhou> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 3.5.0 | CC: | aos-bugs, bchilds, wehe, xtian | ||||
Target Milestone: | --- | Keywords: | NeedsTestCase | ||||
Target Release: | 3.7.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | v3.7.0-0.158.0 | Doc Type: | Enhancement | ||||
Doc Text: |
Feature:
Storage classes now support configuration of filesystem that should be created on dynamically provisioned volumes. In previous releases it was hardcoded to "ext4", which might not be optimal for some applications.
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2017-11-28 22:00:46 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
Eduardo Minguez
2017-07-10 08:28:22 UTC
Created attachment 1295728 [details]
master api and controller logs, node logs.
I think there is an upstream PR related https://github.com/kubernetes/kubernetes/pull/45345 Indeed, we're working on this upstream and we need it merged there first, as it changes API. The feature wont be available until 1.8 and is RFE. Tested on v3.7.0-0.143.1 On OpenStack and vSphere it works well. On Azure, it failed with 'invalid option "fstype" for volume plugin kubernetes.io/azure-disk': Name: pvc-454ge Namespace: 454ge StorageClass: storageclass-454ge Status: Pending Volume: Labels: name=dynamic-pvc Annotations: volume.beta.kubernetes.io/storage-provisioner=kubernetes.io/azure-disk Capacity: Access Modes: Events: FirstSeen LastSeen Count From SubObjectPath Type Reason Message --------- -------- ----- ---- ------------- -------- ------ ------- 19s <invalid> 3 persistentvolume-controller Warning ProvisioningFailed Failed to provision volume with StorageClass "storageclass-454ge": invalid option "fstype" for volume plugin kubernetes.io/azure-disk StorageClass: ``` --- apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: storageclass-454ge annotations: storageclass.beta.kubernetes.io/is-default-class: 'false' provisioner: kubernetes.io/azure-disk parameters: fstype: xfs ``` I checked the code in v3.7.0-0.158.0 and it looks like this has been fixed in rebase to latest Kubernetes 1.7.x. Verified that fstype is supported in the storageclass and works for the block devices. 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/RHSA-2017:3188 |