Bug 1466108

Summary: AttributeError: 'Disk' object has no attribute 'getMaxLogicalPartitions'
Product: [Fedora] Fedora Reporter: Joseph D. Wagner <joe>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: anaconda-maint-list, g.kaviyarasu, jonathan, mkolman, vanmeeuwen+fedora, vponcova
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:be349ea2b7e87616778d0e419a0c0473ab9b39b825782681083429ddf96d06d0;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-30 17:37:02 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: environ
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info none

Description Joseph D. Wagner 2017-06-29 05:02:28 UTC
Version-Release number of selected component:
anaconda-27.16-1

The following was filed automatically by anaconda:
anaconda 27.16-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.6/site-packages/blivet/partitioning.py", line 140, in get_next_partition_type
    max_logicals = disk.getMaxLogicalPartitions()
  File "/usr/lib/python3.6/site-packages/blivet/partitioning.py", line 769, in allocate_partitions
    new_part_type = get_next_partition_type(disklabel.parted_disk)
  File "/usr/lib/python3.6/site-packages/blivet/partitioning.py", line 604, in do_partitioning
    allocate_partitions(storage, disks, partitions, free)
  File "/usr/lib/python3.6/site-packages/blivet/autopart.py", line 514, in do_autopart
    do_partitioning(storage)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/ui/gui/spokes/custom_storage.py", line 2461, in _do_autopart
    min_luks_entropy=crypto.MIN_CREATE_ENTROPY)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/ui/gui/spokes/custom_storage.py", line 135, in decorated
    return func(*args, **kwargs)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/ui/gui/spokes/custom_storage.py", line 2504, in on_create_clicked
    self._do_autopart()
AttributeError: 'Disk' object has no attribute 'getMaxLogicalPartitions'

Additional info:
addons:         com_redhat_kdump, com_redhat_docker
cmdline:        /usr/libexec/system-python  /sbin/anaconda
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.12.0-0.rc6.git3.1.fc27.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        rawhide

Comment 1 Joseph D. Wagner 2017-06-29 05:02:32 UTC
Created attachment 1292780 [details]
File: anaconda-tb

Comment 2 Joseph D. Wagner 2017-06-29 05:02:33 UTC
Created attachment 1292781 [details]
File: environ

Comment 3 Joseph D. Wagner 2017-06-29 05:02:34 UTC
Created attachment 1292782 [details]
File: lsblk_output

Comment 4 Joseph D. Wagner 2017-06-29 05:02:35 UTC
Created attachment 1292783 [details]
File: nmcli_dev_list

Comment 5 Joseph D. Wagner 2017-06-29 05:02:36 UTC
Created attachment 1292784 [details]
File: os_info

Comment 6 Jan Kurik 2017-08-15 06:35:20 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle.
Changing version to '27'.

Comment 7 Ben Cotton 2018-11-27 18:39:40 UTC
This message is a reminder that Fedora 27 is nearing its end of life.
On 2018-Nov-30  Fedora will stop maintaining and issuing updates for
Fedora 27. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora  'version' of '27'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 27 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 8 Ben Cotton 2018-11-30 17:37:02 UTC
Fedora 27 changed to end-of-life (EOL) status on 2018-11-30. Fedora 27 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.