Bug 1349727
Summary: | Pod will not be running if using ebs volume second time with different fsType | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Chao Yang <chaoyang> |
Component: | Documentation | Assignee: | brice <bfallonf> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Chao Yang <chaoyang> |
Severity: | medium | Docs Contact: | Vikram Goyal <vigoyal> |
Priority: | medium | ||
Version: | 3.3.0 | CC: | aos-bugs, bfallonf, chaoyang, jokerman, jsafrane, lxia, mmccomas, wmeng |
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: | 2016-07-28 00:07: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
Chao Yang
2016-06-24 06:20:37 UTC
> But format volume from ext3 to ext4 and mount volume is OK on the openshift.
ext4 is backward compatible with ext3, i.e. devices formatted with ext3 can be mounted by ext4 kernel driver.
As Brice pointed out, changing fsType is a dangerous operation and IMO we should *not* blindly reformat user data with another filesystem. There may be precious data on the device!
OK. I think I'm understanding this correctly. I've submitted a PR for this: https://github.com/openshift/openshift-docs/pull/2469 Chao Yang, do you think this is enough to fulfil this BZ, or do you think extra is needed? Thanks for the extra information, all! I don't think pod should fail when re-formated volume according to https://bugzilla.redhat.com/show_bug.cgi?id=1349727#c5 so I will assign this bug to storage team Chao, Kubernetes/OpenShift *must* fail here otherwise it will overwrite user data. It could fail with a better message, but it should not reformat the volume. OK. It sounds like what I've documented is still correct, but I'll not merge yet if we're still thinking about the direction. If this is indeed a product BZ and not a docs BZ, it might be worthwhile to merge it the PR. Please let me know when we come to a decision. Hi Jan, I will re-assign this bug to Doc team and open a new enhanced bug for storage team to update to a better message when reformat the volume, what do you think? Hi brice, I will assigh this to you according to the https://bugzilla.redhat.com/show_bug.cgi?id=1349727#c8 Chao, OK, I'll go ahead with this. I agree creating another BZ for the product is a good idea. Thanks for the information. Commit pushed to master at https://github.com/openshift/openshift-docs https://github.com/openshift/openshift-docs/commit/1e662b262da881392fc83fae1b0015b1712af4ff Merge pull request #2469 from bfallonf/bz1349727 Bug 1349727 added important box about changing fstype field |