Bug 707027

Summary: RFE: Installation on Z/VM EDEV failed during format
Product: [Fedora] Fedora Reporter: David Cantrell <dcantrell>
Component: partedAssignee: Brian Lane <bcl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: anaconda-maint-list, bcl, brueckner, dan, dhorak, hamzy, herrold, jjarvis, jkachuck, jstodola, mgrf, tao
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: s390x   
OS: Linux   
Whiteboard:
Fixed In Version: parted-3.1-8.fc18 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 606814 Environment:
Last Closed: 2012-12-20 15:26:27 UTC Type: ---
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: 707026    
Bug Blocks: 606814, 647893, 705163, 708145    
Attachments:
Description Flags
parted-3.1-libparted-add-support-for-implicit-FBA-DASD-partitions.patch
none
parted-3.1-libparted-mklabel-edev.patch none

Comment 1 Georg Markgraf 2012-09-21 13:33:21 UTC
The plan is (IBM) to post the patch (in the week of 9-24) to Fedora for discussion, when discussions complete Red Hat should post the patch for R 6.4
using the R 6.4 bugzilla 
 65219 - RH606814- Installation on Z/VM EDEV failed during format

Please request BZ 606814 as a blocker for R 6.4 (mentioned in bug call and Fedora call) to ensure it makes 6.4 when Fedora discussions are done

Comment 2 IBM Bug Proxy 2012-09-25 14:21:57 UTC
Created attachment 617070 [details]
parted-3.1-libparted-add-support-for-implicit-FBA-DASD-partitions.patch

Comment 3 Dan HorĂ¡k 2012-09-25 15:19:16 UTC
(In reply to comment #2)
> Created attachment 617070 [details]
> parted-3.1-libparted-add-support-for-implicit-FBA-DASD-partitions.patch

IBM, what's the upstream status of the attached patch?

Comment 4 IBM Bug Proxy 2012-10-09 15:51:14 UTC
Hi Dan,

(In reply to comment #5)
> (In reply to comment #2)
> > Created attachment 617070 [details]
> > parted-3.1-libparted-add-support-for-implicit-FBA-DASD-partitions.patch
>
> IBM, what's the upstream status of the attached patch?

The patches have been posted upstream:

http://lists.gnu.org/archive/html/bug-parted/2012-10/msg00013.html

Comment 5 Fedora Update System 2012-10-17 00:12:25 UTC
parted-3.1-8.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/parted-3.1-8.fc18

Comment 6 Fedora Update System 2012-10-17 03:18:31 UTC
Package parted-3.1-8.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing parted-3.1-8.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-16288/parted-3.1-8.fc18
then log in and leave karma (feedback).

Comment 7 IBM Bug Proxy 2012-10-29 21:20:36 UTC
Hello Red Hat,
The fix in parted got tested on fedora 18  - the parted fix seem to work (final confirmation to come)

But there is a problem in installer

Could be that the installer tries to low level format any emulated DASD it recognizes and with that makes the fix in parted unusable for the distribution ..
the installer fix cannot be integrated into RHEL 6.4 .. per our discussion...

So your plan is to send an updated ISO including the parted fix and the installer fix.  include parted in R 6.4 and later include the installer fix for RHEL 6.5
-> Is that still correct?
-> Do you have the installer fix already available?

Comment 8 IBM Bug Proxy 2012-11-07 13:41:42 UTC
For the record:
Based on tests performed at IBM
Testing EDEV support in parted
on Fedora 18
-> Identified installer problem - (installer changes on F18)
-> additional fix for parted in work at IBM
on RHEL 6.3
-> NO installer problems identified
-> the EDEV support in parted works without problems
the related R 6.3 BZ is
65219 - RH606814- Installation on Z/VM EDEV failed during format

Therefore the EDEV support can be included for R 6.4 without the requirement for installer fixes to be implemented with RHEL 6.5

Comment 9 IBM Bug Proxy 2012-12-07 11:02:21 UTC
Created attachment 659300 [details]
parted-3.1-libparted-mklabel-edev.patch





1. What is the problem?
Installation will fail with 'fresh/zeroing EDEV DASD'. Because 'mklabel' code path does not know how to handle 'EDEV DASD'.

2. When this problem occurs
Problem triggers with installation on 'fresh/zeroing EDEV DASD'

3. The attached patch fixes the above problem by reading/assigning correct meta-data to the EDEV DASD with 'mklabel' code path.

4. Test results
With this patch - installs successfully on 'fresh/zeroing EDEV DASD'

With out this patch - installation fails with the following error
"BUG: specified free space extent for deleting doesn't match free space currently shown in FMT7 DSCB!"


Please find the order of applying the patches.

1. parted-3.1-libparted-add-support-for-implicit-FBA-DASD-partitions.patch 
And the following (2, 3) two patches attached to "RH707032- Installation on EAV DASD failed"
2. parted-3.1-libparted-add-support-for-EAV-DASD-partitions.patch
3. parted-3.1-libparted-mklabel-eav.patch
4. parted-3.1-libparted-mklabel-edev.patch

Comment 10 Fedora Update System 2012-12-20 15:26:37 UTC
parted-3.1-8.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 IBM Bug Proxy 2014-03-19 12:10:15 UTC
This has been tested last year on fedora and R 7 alpha - also F18 is out of service
Closing BZ .. thx