Bug 902417
| Summary: | ValueError: cannot initialize a disk that has partitions | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Bill Sanford <bsanford> | ||||||||||||||||||||||
| Component: | python-blivet | Assignee: | David Lehman <dlehman> | ||||||||||||||||||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Release Test Team <release-test-team-automation> | ||||||||||||||||||||||
| Severity: | high | Docs Contact: | |||||||||||||||||||||||
| Priority: | high | ||||||||||||||||||||||||
| Version: | 7.0 | CC: | bsanford, dblechte, jburke, jstancek, lkardos, mkrcmari, pvine, sbueno, vbenes, vipatel | ||||||||||||||||||||||
| Target Milestone: | rc | Keywords: | Reopened, Triaged | ||||||||||||||||||||||
| Target Release: | 7.0 | ||||||||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||||||||
| OS: | Linux | ||||||||||||||||||||||||
| Whiteboard: | abrt_hash:a4f5bbf06d01dcbbdf1c93ba9794217a9b13b15980107beff15fa343959d3b68 | ||||||||||||||||||||||||
| Fixed In Version: | python-blivet-0.18.15-1 | Doc Type: | Bug Fix | ||||||||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||||||||
| Last Closed: | 2014-06-13 13:19:24 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: | |||||||||||||||||||||||||
| Bug Blocks: | 782468 | ||||||||||||||||||||||||
| Attachments: |
|
||||||||||||||||||||||||
Created attachment 684389 [details]
File: anaconda-tb
Created attachment 684390 [details]
File: anaconda.log
Created attachment 684391 [details]
File: environ
Created attachment 684392 [details]
File: ifcfg.log
Created attachment 684393 [details]
File: packaging.log
Created attachment 684394 [details]
File: program.log
Created attachment 684395 [details]
File: storage.log
Created attachment 684396 [details]
File: syslog
from distro RHEL-7.0-20130502.n.0 Server x86_64:
anaconda 19.23-1 exception report
Traceback (most recent call first):
File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 803, in initializeDisk
raise ValueError("cannot initialize a disk that has partitions")
File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 778, in clearPartitions
self.initializeDisk(disk)
File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 414, in execute
storage.clearPartitions()
File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 1559, in doKickstartStorage
ksdata.clearpart.execute(storage, ksdata, instClass)
File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/spokes/storage.py", line 251, in execute
doKickstartStorage(self.storage, self.data, self.instclass)
File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/hubs/summary.py", line 50, in setup
spoke.execute()
File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/__init__.py", line 167, in setup
obj.setup(self.ENVIRONMENT)
File "/sbin/anaconda", line 1078, in <module>
anaconda._intf.setup(ksdata)
ValueError: cannot initialize a disk that has partitions
I expect/hope this is fixed in recent trees. The related fedora bugs were 966162 and 957188. Please retest and update accordingly. I see it sporadically on s390x, not sure what triggers it.
This is with distro: RHEL-7.0-20131107.1 Server s390x
anaconda[1362]: Starting automated install..
anaconda[1362]: ** (anaconda:1362): WARNING **: Could not open X display
anaconda[1362]: Generating updated storage configuration
anaconda[1362]: An unknown error has occured, look at the /tmp/anaconda-tb* file
(s) for more details
anaconda[1362]: ================================================================
===============
anaconda[1362]: An unknown error has occurred
anaconda[1362]: ================================================================
===============
anaconda[1362]: anaconda 19.31.33-1 exception report
anaconda[1362]: Traceback (most recent call first):
anaconda[1362]: File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line
822, in initializeDisk
anaconda[1362]: raise ValueError("cannot initialize a disk that has partitions")
anaconda[1362]: File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line
797, in clearPartitions
anaconda[1362]: self.initializeDisk(disk)
anaconda[1362]: File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py
", line 519, in execute
anaconda[1362]: storage.clearPartitions()
anaconda[1362]: File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py
", line 1720, in doKickstartStorage
anaconda[1362]: ksdata.clearpart.execute(storage, ksdata, instClass)
anaconda[1362]: File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/spoke
s/storage.py", line 255, in execute
anaconda[1362]: doKickstartStorage(self.storage, self.data, self.instclass)
anaconda[1362]: File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/hubs/
summary.py", line 49, in setup
anaconda[1362]: spoke.execute()
anaconda[1362]: File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/__ini
t__.py", line 169, in setup
anaconda[1362]: obj.setup(self.ENVIRONMENT)
anaconda[1362]: File "/usr/sbin/anaconda", line 1084, in <module>
anaconda[1362]: anaconda._intf.setup(ksdata)
anaconda[1362]: ValueError: cannot initialize a disk that has partitions
anaconda[1362]: What do you want to do now?
anaconda[1362]: 1) Report Bug
anaconda[1362]: 2) Debug
anaconda[1362]: 3) Quit
anaconda[1362]: Please make your choice from above: Traceback (most recent call
last):
anaconda[1362]: File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py",
line 168, in run
anaconda[1362]: threading.Thread.run(self, *args, **kwargs)
anaconda[1362]: File "/usr/lib64/python2.7/threading.py", line 764, in run
anaconda[1362]: self.__target(*self.__args, **self.__kwargs)
anaconda[1362]: File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/simpl
eline/base.py", line 161, in _thread_input
anaconda[1362]: data = raw_input()
anaconda[1362]: EOFError: EOF when reading a line
This seems to be fixed in later releases. It is reproducible. I hit this error during kickstart installation from hdd source. cmdline: /usr/bin/python /sbin/anaconda cmdline_file: BOOT_IMAGE=/kernel repo=hd:/dev/disk/by-uuid/d8669894-0e5b-42f7-a261-c3f07c2b9f54:/ lang=en_US.UTF-8 keymap=us ip=eth0:dhcp ifname=eth0:52:54:00:12:34:56 ks=http://rtt1.s390.bos.redhat.com/nb/10.0.0.11-1386161797 hashmarkername: anaconda kernel: 3.10.0-54.0.1.el7.x86_64 package: anaconda-19.31.36-1 product: Red Hat Enterprise Linux reason: ValueError: cannot initialize a disk that has partitions release: Red Hat Enterprise Linux Server release 7.0 Beta (Maipo) version: 7.0 Created attachment 832642 [details]
kickstart
Could you also attach the anaconda traceback? Created attachment 833044 [details]
anaconda-tb-lkardos
Verified on python-blivet-0.18.23-1 (RHEL-7.0-20140206.0). This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |
Description of problem: Installing RHEL 7 The following was filed automatically by anaconda: anaconda 18.37.11 exception report Traceback (most recent call first): File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 832, in initializeDisk raise ValueError("cannot initialize a disk that has partitions") File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 807, in clearPartitions self.initializeDisk(disk) File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 445, in execute storage.clearPartitions() File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 1480, in doKickstartStorage ksdata.clearpart.execute(storage, ksdata, instClass) File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 399, in _doExecute doKickstartStorage(self.storage, self.data, self.instclass) File "/usr/lib64/python2.7/threading.py", line 504, in run self.__target(*self.__args, **self.__kwargs) File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 91, in run threading.Thread.run(self, *args, **kwargs) ValueError: cannot initialize a disk that has partitions Version-Release number of selected component: anaconda-18.37.11 Additional info: cmdline: /usr/bin/python /sbin/anaconda cmdline_file: initrd=/distrotrees/62387/initrd method=http://download.eng.bos.redhat.com/rel-eng/RHEL-7.0-20130120.0/compose/Server/x86_64/os/ repo=http://download.eng.bos.redhat.com/rel-eng/RHEL-7.0-20130120.0/compose/Server/x86_64/os/ BOOT_IMAGE=/distrotrees/62387/kernel executable: /sbin/anaconda hashmarkername: anaconda kernel: 3.7.0-0.32.el7.x86_64 other involved packages: product: Red Hat Enterprise Linux release: Red Hat Enterprise Linux ComputeNode release 7.0 Alpha3 (Maipo) type: libreport version: 7.0