Bug 1000307
Summary: | cannot install RHEL5.10 host with customized xfs partition | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Eryu Guan <eguan> | ||||
Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> | ||||
Status: | CLOSED NOTABUG | QA Contact: | Release Test Team <release-test-team-automation> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 5.10 | CC: | aigao, asaha, dcallagh, dshea, eguan, llim, ncoghlan, qwan, rmancy | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-08-23 15:53:32 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: |
|
The traceback suggests a possible anaconda bug, particularly since the ext* filesystems are working correctly. Is there any further information in the log files? (In reply to Eryu Guan from comment #0) > <partitions> > <partition fs="xfs" name="/mnt/testarea" size="10" type="part"/> > </partitions> Beaker produced in the kickstart: part /boot --size 200 --recommended --asprimary part / --size 1024 --grow part swap --recommended part /mnt/testarea --size=10240 --fstype xfs which looks fine to me. > +---------------+ Exception Occurred +---------------+ > | | > | Traceback (most recent call first): ^ | > | File "/usr/lib64/python2.4/subprocess.py", # | > | line 996, in _execute_child : | > | raise child_exception : | > | File "/usr/lib64/python2.4/subprocess.py", : | > | line 550, in __init__ : | > | errread, errwrite) : | > | File "/usr/lib/anaconda/iutil.py", line 60, : | > | in execWithRedirect : | > | stderr=stderr, preexec_fn=chroot, cwd=root) : | > | File "/usr/lib/anaconda/fsset.py", line 472, : | > | in formatDevice v | > | | > | +----+ +-------+ | > | | OK | | Debug | | > | +----+ +-------+ | > | | > | | > +----------------------------------------------------+ The complete exception is in anaconda.log: 04:44:09 CRITICAL: Traceback (most recent call first): File "/usr/lib64/python2.4/subprocess.py", line 996, in _execute_child raise child_exception File "/usr/lib64/python2.4/subprocess.py", line 550, in __init__ errread, errwrite) File "/usr/lib/anaconda/iutil.py", line 60, in execWithRedirect stderr=stderr, preexec_fn=chroot, cwd=root) File "/usr/lib/anaconda/fsset.py", line 472, in formatDevice stderr = "/dev/tty5") File "/usr/lib/anaconda/fsset.py", line 1914, in formatEntry entry.fsystem.formatDevice(entry, self.progressWindow, chroot) File "/usr/lib/anaconda/fsset.py", line 1991, in makeFilesystems self.formatEntry(entry, chroot) File "/usr/lib/anaconda/packages.py", line 162, in turnOnFilesystems anaconda.id.fsset.makeFilesystems (anaconda.rootPath) File "/usr/lib/anaconda/dispatch.py", line 207, in moveStep rc = stepFunc(self.anaconda) File "/usr/lib/anaconda/dispatch.py", line 130, in gotoNext self.moveStep() File "/usr/lib/anaconda/text.py", line 728, in run anaconda.dispatch.gotoNext() File "/usr/bin/anaconda", line 980, in ? anaconda.intf.run(anaconda) RuntimeError: /usr/sbin/mkfs.xfs can not be run I don't think this is Beaker's fault, re-assigning to Anaconda. Hi everyone, XFS is available in RHEL5 only as an add-on product. The XFS utilities can be installed on a RHEL-5 system, but XFS is not available during installation. The interactive installer does not allow partitions to be created with XFS, but the kickstart install puts more of the verification onus on the kickstart writer, so it doesn't check for whether the filesystem picked is actually supported. Anyway, I guess re-open the bug if this is something that needs to be disabled in beaker. |
Created attachment 789490 [details] sample job xml Description of problem: I have the following partition in my job xml, and all my jobs aborted <partitions> <partition fs="xfs" name="/mnt/testarea" size="10" type="part"/> </partitions> +---------------+ Exception Occurred +---------------+ | | | Traceback (most recent call first): ^ | | File "/usr/lib64/python2.4/subprocess.py", # | | line 996, in _execute_child : | | raise child_exception : | | File "/usr/lib64/python2.4/subprocess.py", : | | line 550, in __init__ : | | errread, errwrite) : | | File "/usr/lib/anaconda/iutil.py", line 60, : | | in execWithRedirect : | | stderr=stderr, preexec_fn=chroot, cwd=root) : | | File "/usr/lib/anaconda/fsset.py", line 472, : | | in formatDevice v | | | | +----+ +-------+ | | | OK | | Debug | | | +----+ +-------+ | | | | | +----------------------------------------------------+ If I change fs type to ext* other than xfs, OS can be installed. Version-Release number of selected component (if applicable): 0.14.1 How reproducible: always Steps to Reproduce: 1. add the partitions from description in job xml and submit a job to install RHEL5.10 hosts 2. I upload a sample job xml 3. Actual results: Expected results: Additional info: Not sure if it's really a beaker bug, correct me if I was wrong