Bug 832877

Summary: F17 GA-RC4: unhandled exception due to disk label commit error during installation on multipath disk
Product: [Fedora] Fedora Reporter: IBM Bug Proxy <bugproxy>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 17CC: anaconda-maint-list, g.kaviyarasu, jkachuck, jonathan, kamalesh, vanmeeuwen+fedora, wgomerin
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-24 15:12:16 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:
Attachments:
Description Flags
f17garc4-exception.png
none
f17garc4-exception-1.png
none
anaconda.log
none
program.log
none
anaconda-tb-5t6kGx
none
storage.state
none
syslog
none
storage.log none

Description IBM Bug Proxy 2012-06-18 06:01:26 UTC
== Comment: #0 - MANAS K. NAYAK <maknayak.com> - 2012-06-12 08:21:25 ==
While installing f17-20120608-GA-RC4 PPC64 from virtual DVD on P7 on one of the multipath disks attached to the server, noticed following unhandled exception during file systems changes being written to disk.

--- An unhandled exception ---

07:32:50,878 INFO anaconda: dispatch: moving (1) to step enablefilesystems
07:32:50,878 DEBUG anaconda: dispatch: enablefilesystems is a direct step
07:33:00,347 CRIT anaconda: anaconda 17.29 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/formats/disklabel.py", line 277, in commit
    raise DiskLabelCommitError(msg)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devices.py", line 1561, in _destroy
    self.disk.originalFormat.commit()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devices.py", line 831, in destroy
    self._destroy()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/deviceaction.py", line 286, in execute
    self.device.destroy()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicetree.py", line 325, in processActions
    action.execute(intf=self.intf)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 375, in doIt
    self.devicetree.processActions()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packages.py", line 122, in turnOnFilesystems
    anaconda.storage.doIt()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 383, in dispatch
    self.dir = self.steps[self.step].target(self.anaconda)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 247, in go_forward
    self.dispatch()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/gui.py", line 1201, in nextClicked
    self.anaconda.dispatch.go_forward()
DiskLabelCommitError: Could not commit to disk /dev/mapper/mpathd, (py_ped_disk_commit)


Installation was done by selecting "special storage type " , default lvm file system on multipath disk.

--- Logs attached ---
anaconda.log  anaconda-tb-5t6kGx  program.log  storage.log  storage.state  syslog

--- screenshot attached ---
f17garc4-exception-1.png  f17garc4-exception.png

== Comment: #9 - Kamalesh Babulal <kamaleshb.com> - 2012-06-13 00:21:40 ==
From pyanaconda/storage/formats/disklabel.py


   def commit(self):
        """ Commit the current partition table to disk and notify the OS. """
        log_method_call(self, device=self.device,
                        numparts=len(self.partitions))
        try:
            self.partedDisk.commit()
        except parted.DiskException as msg:
            raise DiskLabelCommitError(msg) <---------- expection
        else:
            udev_settle()


This issue looks similar to https://bugzilla.redhat.com/show_bug.cgi?id=650064

Comment 1 IBM Bug Proxy 2012-06-18 06:01:41 UTC
Created attachment 592528 [details]
f17garc4-exception.png

Comment 2 IBM Bug Proxy 2012-06-18 06:01:51 UTC
Created attachment 592529 [details]
f17garc4-exception-1.png

Comment 3 IBM Bug Proxy 2012-06-18 06:02:03 UTC
Created attachment 592530 [details]
anaconda.log

Comment 4 IBM Bug Proxy 2012-06-18 06:02:17 UTC
Created attachment 592531 [details]
program.log

Comment 5 IBM Bug Proxy 2012-06-18 06:02:32 UTC
Created attachment 592532 [details]
anaconda-tb-5t6kGx

Comment 6 IBM Bug Proxy 2012-06-18 06:02:46 UTC
Created attachment 592533 [details]
storage.state

Comment 7 IBM Bug Proxy 2012-06-18 06:03:01 UTC
Created attachment 592534 [details]
syslog

Comment 8 IBM Bug Proxy 2012-06-18 06:03:18 UTC
Created attachment 592535 [details]
storage.log

Comment 9 IBM Bug Proxy 2013-01-24 09:22:04 UTC
------- Comment From maknayak.com 2013-01-24 09:14 EDT-------
(In reply to comment #19)
Verfied with multipath diks installation, this issue is no more getting
produced with fedroa 18 ppc64 Beta .
I think this is fixed in beta now. We can close it.

# uname -a
Linux miz03.austin.ibm.com 3.6.6-3.fc18.ppc64p7 #1 SMP Fri Nov 9 11:18:55
MST 2012 ppc64 ppc64 ppc64 GNU/Linux

Thanks...
Manas

Comment 10 IBM Bug Proxy 2013-01-24 11:01:36 UTC
------- Comment From maknayak.com 2013-01-24 10:55 EDT-------
Reverfied using Fedora18 ppc64 GA build on P7 LPAR , and it gets installed succesfully on multipat disk.
This issue is fixed in GA build .

We can close the bug now.

Thanks...
Manas