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 1153530

Summary: ValueError: this device's formatting cannot be modified
Product: [Fedora] Fedora Reporter: Petr Spacek <pspacek>
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: 21CC: anaconda-maint-list, g.kaviyarasu, jonathan, vanmeeuwen+fedora
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-18 00:12:35 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: 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 Petr Spacek 2014-10-16 07:11:09 UTC
Description of problem:
I'm trying to install Fedora 21 using kickstart which worked three weeks ago, on 2014-09-24.

The only storage-related thing which was changed in the kickstart from 2014-09-24 that:
"volgroup vg_root pv.01"
was replaced with
"volgroup vg_root pv.01 --pesize=4096"

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

The following was filed automatically by anaconda:
anaconda 21.48.8-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 617, in __init__
    raise ValueError("this device's formatting cannot be modified")
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 892, in initializeDisk
    destroy_action = ActionDestroyFormat(disk)
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 856, in clearPartitions
    self.initializeDisk(disk)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 595, in execute
    storage.clearPartitions()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 1929, in doKickstartStorage
    ksdata.clearpart.execute(storage, ksdata, instClass)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/spokes/storage.py", line 372, in execute
    doKickstartStorage(self.storage, self.data, self.instclass)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/hubs/summary.py", line 53, in setup
    spoke.execute()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/__init__.py", line 170, in setup
    should_schedule = obj.setup(self.ENVIRONMENT)
  File "/sbin/anaconda", line 1362, 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.sshd dhcpclass=ipa-lab-vms ks=http://gordo.idm.lab.bos.redhat.com/cblr/svc/op/ks/profile/Fedora-21-x86_64-developer-brq
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.17.0-301.fc21.x86_64
product:        Fedora"
release:        Cannot get release name.
type:           anaconda
version:        Fedora

Potential duplicate: bug 1150043

Comment 1 Petr Spacek 2014-10-16 07:11:13 UTC
Created attachment 947467 [details]
File: anaconda-tb

Comment 2 Petr Spacek 2014-10-16 07:11:14 UTC
Created attachment 947468 [details]
File: anaconda.log

Comment 3 Petr Spacek 2014-10-16 07:11:15 UTC
Created attachment 947469 [details]
File: environ

Comment 5 Petr Spacek 2014-10-16 07:11:18 UTC
Created attachment 947471 [details]
File: lsblk_output

Comment 6 Petr Spacek 2014-10-16 07:11:19 UTC
Created attachment 947472 [details]
File: nmcli_dev_list

Comment 7 Petr Spacek 2014-10-16 07:11:20 UTC
Created attachment 947473 [details]
File: os_info

Comment 8 Petr Spacek 2014-10-16 07:11:22 UTC
Created attachment 947474 [details]
File: program.log

Comment 9 Petr Spacek 2014-10-16 07:11:23 UTC
Created attachment 947475 [details]
File: storage.log

Comment 10 Petr Spacek 2014-10-16 07:11:25 UTC
Created attachment 947476 [details]
File: syslog

Comment 11 Petr Spacek 2014-10-16 07:11:26 UTC
Created attachment 947477 [details]
File: ifcfg.log

Comment 12 Petr Spacek 2014-10-16 07:11:27 UTC
Created attachment 947478 [details]
File: packaging.log

Comment 14 Petr Spacek 2014-10-16 07:59:24 UTC
I re-tried installation with kickstart from 2014-09-24 and it fails too so it is not caused by change in volgroup settings.

Comment 15 Brian Lane 2014-10-18 00:12:35 UTC

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