Bug 1139584

Summary: XFS Label limitation in combination with diskimage-builder
Product: Red Hat OpenStack Reporter: Josef Zimek <pzimek>
Component: diskimage-builderAssignee: Ben Nemec <bnemec>
Status: CLOSED WONTFIX QA Contact: yeylon <yeylon>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.0 (RHEL 7)CC: ebarrera, kari.hautio, pcaruana, srevivo, yeylon
Target Milestone: ---Keywords: ZStream
Target Release: 5.0 (RHEL 7)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-16 15:24:05 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 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/