Bug 1139584 - XFS Label limitation in combination with diskimage-builder
Summary: XFS Label limitation in combination with diskimage-builder
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: diskimage-builder
Version: 5.0 (RHEL 7)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 5.0 (RHEL 7)
Assignee: Ben Nemec
QA Contact: yeylon@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-09 09:08 UTC by Josef Zimek
Modified: 2019-04-16 14:17 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-16 15:24:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Josef Zimek 2014-09-09 09:08:08 UTC
Description of problem:

XFS has label length limit of 12 characters while diskimage-builder uses a hardcoded label "cloudimg-rootfs" which is 15 characters long. It is impossible to build image with XFS filesystem as the diskimage-builder uses hardcoded filesystem label "cloudimg-rootfs" which exceeds the label length limit of 12 characters of XFS.

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

diskimage-builder-0.1.5-4.el7ost.noarch.rpm

How reproducible:
always

Steps to Reproduce:
1. build image with XFS filesystem with diskimage-builder
2.
3.

Actual results:
For root filesystem disk image builder uses LABEL cloudimg-rootfs. Eg, in /etc/fstab. With xfs filesystem we can use only a 12 character LABEL. Hence disk image builder does not work with xfs. 

Expected results:


Additional info:

Bug 1113787 might be related but doesn't contain much details

Comment 2 Ben Nemec 2014-09-16 19:57:40 UTC
Should be fixed by upstream change: https://review.openstack.org/#/c/121944/


Note You need to log in before you can comment on or make changes to this bug.