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 1525712 - AttributeError: '_ped.Partition' object has no attribute 'setName'
Summary: AttributeError: '_ped.Partition' object has no attribute 'setName'
Keywords:
Status: CLOSED DUPLICATE of bug 1323012
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 28
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:07cf64197a98af226f9b22a0611...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-13 22:02 UTC by Alessio
Modified: 2018-12-13 17:20 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-12-13 17:20:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (deleted)
2017-12-13 22:04 UTC, Alessio
no flags Details
File: anaconda.log (deleted)
2017-12-13 22:04 UTC, Alessio
no flags Details
File: dnf.librepo.log (deleted)
2017-12-13 22:05 UTC, Alessio
no flags Details
File: environ (deleted)
2017-12-13 22:05 UTC, Alessio
no flags Details
File: hawkey.log (deleted)
2017-12-13 22:05 UTC, Alessio
no flags Details
File: lorax-packages.log (deleted)
2017-12-13 22:05 UTC, Alessio
no flags Details
File: lsblk_output (deleted)
2017-12-13 22:05 UTC, Alessio
no flags Details
File: lvm.log (deleted)
2017-12-13 22:05 UTC, Alessio
no flags Details
File: nmcli_dev_list (deleted)
2017-12-13 22:05 UTC, Alessio
no flags Details
File: os_info (deleted)
2017-12-13 22:05 UTC, Alessio
no flags Details
File: program.log (deleted)
2017-12-13 22:05 UTC, Alessio
no flags Details
File: storage.log (deleted)
2017-12-13 22:05 UTC, Alessio
no flags Details
File: syslog (deleted)
2017-12-13 22:06 UTC, Alessio
no flags Details
File: ifcfg.log (deleted)
2017-12-13 22:06 UTC, Alessio
no flags Details
File: packaging.log (deleted)
2017-12-13 22:06 UTC, Alessio
no flags Details

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 ***


Note You need to log in before you can comment on or make changes to this bug.