Bug 1525712

Summary: AttributeError: '_ped.Partition' object has no attribute 'setName'
Product: [Fedora] Fedora Reporter: Alessio <alciregi>
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: 28CC: anaconda-maint-list, brentonhorne77, jonathan, kellin, strelok5771, vanmeeuwen+fedora, vponcova, wwoods
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:07cf64197a98af226f9b22a06114213dc746661683d31aa9199282380dd397e7;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-12-13 17:20:42 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: dnf.librepo.log
none
File: environ
none
File: hawkey.log
none
File: lorax-packages.log
none
File: lsblk_output
none
File: lvm.log
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 Alessio 2017-12-13 22:02:42 UTC
Description of problem:
Fedora Rawhide Workstation netinst. KVM UEFI
During Creating efi on /dev/sda1 this error pop up.

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

The following was filed automatically by anaconda:
anaconda 28.13-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.6/site-packages/pyanaconda/storage/osinstall.py", line 1250, in do_it
    ped_partition.setName(dev.format.name)
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/storage/osinstall.py", line 2096, in turn_on_filesystems
    storage.do_it(callbacks)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 438, in run_task
    self._task(*self._task_args, **self._task_kwargs)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 472, in start
    self.run_task()
  File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 304, in start
    item.start()
  File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 304, in start
    item.start()
  File "/usr/lib64/python3.6/site-packages/pyanaconda/installation.py", line 366, in doInstall
    installation_queue.start()
  File "/usr/lib64/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/threading.py", line 288, in run
    threading.Thread.run(self)
AttributeError: '_ped.Partition' object has no attribute 'setName'

Additional info:
addons:         com_redhat_docker, com_redhat_kdump
blivet-gui-utils.log: 
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora-WS-dvd-x86_64-rawh rd.live.check quiet
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.15.0-0.rc3.git1.1.fc28.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        rawhide

Comment 1 Alessio 2017-12-13 22:04:47 UTC
Created attachment 1367609 [details]
File: anaconda-tb

Comment 2 Alessio 2017-12-13 22:04:51 UTC
Created attachment 1367610 [details]
File: anaconda.log

Comment 3 Alessio 2017-12-13 22:05:03 UTC
Created attachment 1367611 [details]
File: dnf.librepo.log

Comment 4 Alessio 2017-12-13 22:05:06 UTC
Created attachment 1367612 [details]
File: environ

Comment 5 Alessio 2017-12-13 22:05:08 UTC
Created attachment 1367613 [details]
File: hawkey.log

Comment 6 Alessio 2017-12-13 22:05:11 UTC
Created attachment 1367614 [details]
File: lorax-packages.log

Comment 7 Alessio 2017-12-13 22:05:13 UTC
Created attachment 1367615 [details]
File: lsblk_output

Comment 8 Alessio 2017-12-13 22:05:28 UTC
Created attachment 1367616 [details]
File: lvm.log

Comment 9 Alessio 2017-12-13 22:05:30 UTC
Created attachment 1367617 [details]
File: nmcli_dev_list

Comment 10 Alessio 2017-12-13 22:05:32 UTC
Created attachment 1367618 [details]
File: os_info

Comment 11 Alessio 2017-12-13 22:05:36 UTC
Created attachment 1367619 [details]
File: program.log

Comment 12 Alessio 2017-12-13 22:05:47 UTC
Created attachment 1367620 [details]
File: storage.log

Comment 13 Alessio 2017-12-13 22:06:11 UTC
Created attachment 1367621 [details]
File: syslog

Comment 14 Alessio 2017-12-13 22:06:13 UTC
Created attachment 1367622 [details]
File: ifcfg.log

Comment 15 Alessio 2017-12-13 22:06:16 UTC
Created attachment 1367623 [details]
File: packaging.log

Comment 16 Alessio 2017-12-13 22:19:48 UTC
Similar problem has been detected:

It is reproducible

addons:         com_redhat_docker, com_redhat_kdump
blivet-gui-utils.log: 
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora-WS-dvd-x86_64-rawh rd.live.check quiet
hashmarkername: anaconda
kernel:         4.15.0-0.rc3.git1.1.fc28.x86_64
package:        anaconda-28.13-1
product:        Fedora
reason:         AttributeError: '_ped.Partition' object has no attribute 'setName'
release:        Cannot get release name.
version:        rawhide

Comment 17 Brenton Horne 2017-12-18 11:37:25 UTC
Similar problem has been detected:

Boot the netinstall image for Fedora Rawhide 20171217. Then select details I must admit I don't recall, but what I do recall is setting the disk set up to be as:

/dev/sda1 - /boot/efi (shared by other distros)
/dev/sda10 - Boot partition (ext4, 1GB size)
/dev/sda11 - root partition (Btrfs, 20GB size)

chose to install from network. My network connection was wired. I make my live USB live by running:

dd if=ISO of=/dev/sdc bs=4M status=progress && sync


addons:         com_redhat_kdump, com_redhat_docker
blivet-gui-utils.log: 
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora-WS-dvd-x86_64-rawh rd.live.check quiet
hashmarkername: anaconda
kernel:         4.15.0-0.rc3.git4.1.fc28.x86_64
package:        anaconda-28.13-1
product:        Fedora
reason:         AttributeError: '_ped.Partition' object has no attribute 'setName'
release:        Cannot get release name.
version:        rawhide

Comment 18 Brenton Horne 2017-12-18 12:03:16 UTC
Tried using just a /boot/efi and ext4 root partition and the same bug existed. These same settings with Fedora 27 work fine so it seems to just be a rawhide problem.

Comment 19 Fedora End Of Life 2018-02-20 15:23:06 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.

Comment 20 Vendula Poncova 2018-12-13 17:20:42 UTC

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