Bug 1206676
Summary: | mkfs options must be extensible to allow RHEL 6 images to be built from RHEL 7 | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Elise Gafford <egafford> |
Component: | diskimage-builder | Assignee: | Ben Nemec <bnemec> |
Status: | CLOSED ERRATA | QA Contact: | Luigi Toscano <ltoscano> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.0 (Juno) | CC: | bnemec, egafford, lhh, mlopes, morazi, sgordon, yeylon |
Target Milestone: | z3 | Keywords: | Triaged, ZStream |
Target Release: | 6.0 (Juno) | Flags: | yeylon:
needinfo-
|
Hardware: | noarch | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | diskimage-builder-0.1.34-21.el7ost | Doc Type: | Bug Fix |
Doc Text: |
Prior to this update, freeform options could not be passed to MKFS from DIB, even though the FS type was modifiable.
Consequently, when building an ext4 FS on Red Hat Enterprise Linux (RHEL) 6 from a RHEL 7 build host, the 64-bit flag was set, resulting in a non-booting VM.
This fix addresses this issue by adding the mkfs-options arg to the disk-image-create script, allowing arbitrary user-defined options to be passed to mkfs.
As a result, fully booting ext4 FS can be built on RHEL 6 from RHEL 7, and as a side benefit, users now have a hook to specify many properties of their filesystem which were previously locked without code modification.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2015-05-05 13:31:08 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: | |||
Bug Depends On: | |||
Bug Blocks: | 1207369 |
Description
Elise Gafford
2015-03-27 18:03:49 UTC
The patch adds a new option which removes the 64 bit flag. The generation of RHEL6 images from RHEL7 has been successfully tested with: `disk-image-create "rhel vm" --mkfs-options "-O ^64bit" -n -o rhel6.qcow2` The patch does not change the default behavior (for example, a simple `disk-image-create -o fedora-20-dib.qcow2 vm fedora` works as before ) diskimage-builder-0.1.34-21.el7ost.noarch 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://rhn.redhat.com/errata/RHBA-2015-0928.html |