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.

Bug 1150043

Summary: ValueError: this device's formatting cannot be modified
Product: [Fedora] Fedora Reporter: Michal Sekletar <msekleta>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: anaconda-maint-list, g.kaviyarasu, jonathan, vanmeeuwen+fedora, vpodzime
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:82d09a1ead3b8e4dc9e251d1d8fa795b3d60448b683d64c569687fa9dcd9b103
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-07 11:28:12 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 Michal Sekletar 2014-10-07 10:29:10 UTC
Description of problem:
Start unattended installation of qemu-kvm guest using attached ks file.

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

The following was filed automatically by anaconda:
anaconda 22.7-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 608, in __init__
    raise ValueError("this device's formatting cannot be modified")
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 883, in initializeDisk
    destroy_action = ActionDestroyFormat(disk)
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 847, in clearPartitions
    self.initializeDisk(disk)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 589, in execute
    storage.clearPartitions()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 1932, in doKickstartStorage
    ksdata.clearpart.execute(storage, ksdata, instClass)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/spokes/storage.py", line 368, in execute
    doKickstartStorage(self.storage, self.data, self.instclass)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/hubs/summary.py", line 62, in setup
    spoke.execute()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/__init__.py", line 171, in setup
    should_schedule = obj.setup(self.ENVIRONMENT)
  File "/sbin/anaconda", line 1203, in <module>
    anaconda._intf.setup(ksdata)
ValueError: this device's formatting cannot be modified

Additional info:
addons:         com_redhat_kdump
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   inst.repo=http://download.eng.brq.redhat.com/pub/fedora/development/rawhide/x86_64/os/ ks=file:/minimal-install.ks       console=tty0 console=ttyS0,115200
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.17.0-0.rc7.git3.1.fc22.x86_64
product:        Fedora"
release:        Cannot get release name.
type:           anaconda
version:        Fedora

Comment 1 Michal Sekletar 2014-10-07 10:29:13 UTC
Created attachment 944511 [details]
File: anaconda-tb

Comment 2 Michal Sekletar 2014-10-07 10:29:14 UTC
Created attachment 944512 [details]
File: anaconda.log

Comment 3 Michal Sekletar 2014-10-07 10:29:15 UTC
Created attachment 944513 [details]
File: environ

Comment 4 Michal Sekletar 2014-10-07 10:29:16 UTC
Created attachment 944514 [details]
File: ks.cfg

Comment 5 Michal Sekletar 2014-10-07 10:29:17 UTC
Created attachment 944515 [details]
File: lsblk_output

Comment 6 Michal Sekletar 2014-10-07 10:29:19 UTC
Created attachment 944516 [details]
File: nmcli_dev_list

Comment 7 Michal Sekletar 2014-10-07 10:29:20 UTC
Created attachment 944517 [details]
File: os_info

Comment 8 Michal Sekletar 2014-10-07 10:29:22 UTC
Created attachment 944518 [details]
File: program.log

Comment 9 Michal Sekletar 2014-10-07 10:29:23 UTC
Created attachment 944519 [details]
File: storage.log

Comment 10 Michal Sekletar 2014-10-07 10:29:25 UTC
Created attachment 944520 [details]
File: syslog

Comment 11 Michal Sekletar 2014-10-07 10:29:26 UTC
Created attachment 944521 [details]
File: ifcfg.log

Comment 12 Michal Sekletar 2014-10-07 10:29:28 UTC
Created attachment 944522 [details]
File: packaging.log

Comment 13 Michal Sekletar 2014-10-07 10:48:58 UTC
I am able to install F21 Alpha using same kickstart file just fine.

Comment 14 Vratislav Podzimek 2014-10-07 11:28:12 UTC

*** This bug has been marked as a duplicate of bug 1148923 ***