Bug 979264

Summary: ValueError: cannot initialize a disk that has partitions
Product: Red Hat Enterprise Linux 7 Reporter: Xiaowei Li <xiaoli>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Release Test Team <release-test-team-automation>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.0CC: qcai, sbueno, xiaoli
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:546b3931b3e1eb2b2718a73f4948b41a743e2d2604738024c3a9b0e4029028c4
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-10 20:16: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
File: anaconda-tb
none
File: anaconda.log
none
File: environ
none
File: ks.cfg
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: syslog
none
File: ifcfg.log
none
File: packaging.log none

Description Xiaowei Li 2013-06-28 06:14:18 UTC
Description of problem:


Version-Release number of selected component:
anaconda-19.30.7-1

The following was filed automatically by anaconda:
anaconda 19.30.7-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 810, in initializeDisk
    raise ValueError("cannot initialize a disk that has partitions")
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 785, in clearPartitions
    self.initializeDisk(disk)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 488, in execute
    storage.clearPartitions()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 1639, in doKickstartStorage
    ksdata.clearpart.execute(storage, ksdata, instClass)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/spokes/storage.py", line 253, in execute
    doKickstartStorage(self.storage, self.data, self.instclass)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/hubs/summary.py", line 49, in setup
    spoke.execute()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/__init__.py", line 165, in setup
    obj.setup(self.ENVIRONMENT)
  File "/sbin/anaconda", line 1086, in <module>
    anaconda._intf.setup(ksdata)
ValueError: cannot initialize a disk that has partitions

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=/images/storageqe-17.rhts.eng.bos.redhat.com/initrd console=ttyS1,115200 ks=http://beaker.engineering.redhat.com/kickstart/354832 ksdevice=E8:39:35:2D:2C:04 mpath nostorage serial netboot_method=pxe BOOT_IMAGE=/images/storageqe-17.rhts.eng.bos.redhat.com/kernel BOOTIF=01-e8-39-35-2d-2c-04 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.10.0-0.rc5.61.el7.x86_64
product:        Red Hat Enterprise Linux
release:        Red Hat Enterprise Linux Client release 7.0 Beta (Maipo)
type:           anaconda
version:        7.0

Comment 1 Xiaowei Li 2013-06-28 06:14:22 UTC
Created attachment 766415 [details]
File: anaconda-tb

Comment 2 Xiaowei Li 2013-06-28 06:14:25 UTC
Created attachment 766416 [details]
File: anaconda.log

Comment 3 Xiaowei Li 2013-06-28 06:14:27 UTC
Created attachment 766417 [details]
File: environ

Comment 4 Xiaowei Li 2013-06-28 06:14:30 UTC
Created attachment 766418 [details]
File: ks.cfg

Comment 5 Xiaowei Li 2013-06-28 06:14:33 UTC
Created attachment 766419 [details]
File: lsblk_output

Comment 6 Xiaowei Li 2013-06-28 06:14:36 UTC
Created attachment 766420 [details]
File: nmcli_dev_list

Comment 7 Xiaowei Li 2013-06-28 06:14:38 UTC
Created attachment 766421 [details]
File: os_info

Comment 8 Xiaowei Li 2013-06-28 06:14:41 UTC
Created attachment 766422 [details]
File: program.log

Comment 9 Xiaowei Li 2013-06-28 06:14:44 UTC
Created attachment 766423 [details]
File: storage.log

Comment 10 Xiaowei Li 2013-06-28 06:14:47 UTC
Created attachment 766424 [details]
File: syslog

Comment 11 Xiaowei Li 2013-06-28 06:14:50 UTC
Created attachment 766425 [details]
File: ifcfg.log

Comment 12 Xiaowei Li 2013-06-28 06:14:52 UTC
Created attachment 766426 [details]
File: packaging.log

Comment 13 Xiaowei Li 2013-06-28 06:17:33 UTC
(Pdb) l
809             if disk.partitioned and disk.format.partitions:
810  ->             raise ValueError("cannot initialize a disk that has partitions")
(Pdb) p disk.partitioned
True
(Pdb) p disk.format.partitions
[<parted.partition.Partition object at 0x7f58524b3190>, <parted.partition.Partition object at 0x7f58524b3550>]

Comment 15 Samantha N. Bueno 2013-07-02 03:51:21 UTC
Can you provide us with the steps you took to produce this error?

Comment 16 David Cantrell 2014-01-10 20:16:16 UTC
This one has been in needinfo for six months with no response.  Closing this bug.  If the reporter can provide the information requested in comment #15, feel free to reopen the bug.

Comment 17 Red Hat Bugzilla 2023-09-14 01:47:18 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days