Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 576145 - Do not try to commit diskLabels on non partitionable devices
Summary: Do not try to commit diskLabels on non partitionable devices
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: anaconda
Version: 6.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Hans de Goede
QA Contact: Release Test Team
URL:
Whiteboard: anaconda_trace_hash:ad44c8cc90cd6919f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-23 11:56 UTC by Jan F. Chadima
Modified: 2010-11-10 19:41 UTC (History)
3 users (show)

Fixed In Version: anaconda-13.21.23-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 577824 (view as bug list)
Environment:
Last Closed: 2010-11-10 19:41:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Attached traceback automatically from anaconda. (deleted)
2010-03-23 11:56 UTC, Jan F. Chadima
no flags Details

Description Jan F. Chadima 2010-03-23 11:56:41 UTC
The following was filed automatically by anaconda:
anaconda 13.21.20.1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.6/site-packages/parted/disk.py", line 213, in commit
    return self.__disk.commit()
  File "/usr/lib64/python2.6/site-packages/parted/decorators.py", line 30, in localeC
    ret = fn(*args, **kwds)
  File "<string>", line 2, in commit
  File "/usr/lib/anaconda/storage/formats/disklabel.py", line 245, in commit
    self.partedDisk.commit()
  File "/usr/lib/anaconda/storage/formats/disklabel.py", line 235, in destroy
    self.commit()
  File "/usr/lib/anaconda/storage/deviceaction.py", line 313, in execute
    self.origFormat.destroy()
  File "/usr/lib/anaconda/storage/devicetree.py", line 670, in processActions
    action.execute(intf=self.intf)
  File "/usr/lib/anaconda/storage/__init__.py", line 287, in doIt
    self.devicetree.processActions()
  File "/usr/lib/anaconda/packages.py", line 110, in turnOnFilesystems
    anaconda.id.storage.doIt()
  File "/usr/lib/anaconda/dispatch.py", line 205, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 126, in gotoNext
    self.moveStep()
  File "/usr/lib/anaconda/gui.py", line 1396, in setScreen
    self.anaconda.dispatch.gotoNext()
  File "/usr/lib/anaconda/gui.py", line 1309, in nextClicked
    self.setScreen ()
IOException: Error opening /dev/dm-1: No such file or directory

Comment 1 Jan F. Chadima 2010-03-23 11:56:45 UTC
Created attachment 402033 [details]
Attached traceback automatically from anaconda.

Comment 3 RHEL Program Management 2010-03-23 12:27:11 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 4 Hans de Goede 2010-03-29 11:41:15 UTC
There are 2 issues here:

1) We should not call partedDisk.commit on non partitionable devices which
   hold a disklabel, as the partition table reload ioctl will fail.

2) We should not store /dev/dm-# device node names in actions, but
   rather /dev/mapper/xxxxx-yyyyy names, as the /dev/dm-# name can change
   when we deactivate and re-activate things.

I'm going to clone this bug, and keep this one for issue 1 (for which I'll send a patch to the list for review).

I'm going to assign issue 2 to Dave Lehman who knows that part of the code
best.

Comment 5 Hans de Goede 2010-03-31 08:21:15 UTC
This is fixed in anaconda-13.21.23-1, moving to modified.

Comment 7 Alexander Todorov 2010-07-09 13:02:45 UTC
Jan,
do you remember how you triggered this? What kind of setup you had/what actions were performed?

Comment 8 Jan F. Chadima 2010-07-11 14:25:03 UTC
on disk arranging I've set use whole disc, and use disc without valid partition table.

Comment 9 Jan Stodola 2010-08-25 14:55:46 UTC
Successfully verified on build RHEL6.0-20100818.0 with anaconda-13.21.78-1.el6.

Moving to VERIFIED.

Comment 10 releng-rhel@redhat.com 2010-11-10 19:41:41 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.


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