Bug 1403506

Summary: ValueError: Cannot remove extended partition sda4. Logical partitions present.
Product: [Fedora] Fedora Reporter: brain71 <quentin.garnier71>
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: 25CC: anaconda-maint-list, bugiardolr, g.kaviyarasu, jonathan, mkolman, vanmeeuwen+fedora, vponcova
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:f4555fb9df6c4f23a116260e451193f4f296baaca21639fbc969a842b1008eb6;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-12 10:45:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: dnf.librepo.log
none
File: environ
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: storage.log
none
File: syslog
none
File: ifcfg.log
none
File: packaging.log
none
File: program.log none

Description brain71 2016-12-10 19:54:04 UTC
Description of problem:
during the installation, when i choose "normal partition" i have seen this message

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

The following was filed automatically by anaconda:
anaconda 25.20.8-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.5/site-packages/blivet/devices/partition.py", line 523, in remove_hook
    "Logical partitions present." % self.name)
  File "/usr/lib/python3.5/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.5/site-packages/blivet/devicetree.py", line 194, in _remove_device
    dev.remove_hook(modparent=modparent)
  File "/usr/lib/python3.5/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.5/site-packages/blivet/devicetree.py", line 302, in _register_action
    self._remove_device(action.device)
  File "/usr/lib/python3.5/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.5/site-packages/blivet/actionlist.py", line 72, in add
    self._add_func(action)
  File "/usr/lib/python3.5/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.5/site-packages/blivet/blivet.py", line 1120, in destroy_device
    self.devicetree.actions.add(action)
  File "/usr/lib/python3.5/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.5/site-packages/blivet/partitioning.py", line 515, in update_extended_partitions
    storage.destroy_device(part)
  File "/usr/lib/python3.5/site-packages/blivet/partitioning.py", line 606, in do_partitioning
    update_extended_partitions(storage, disks)
  File "/usr/lib/python3.5/site-packages/blivet/autopart.py", line 508, in do_autopart
    do_partitioning(storage)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2459, in _do_autopart
    min_luks_entropy=crypto.MIN_CREATE_ENTROPY)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 136, in decorated
    return func(*args, **kwargs)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2506, in on_create_clicked
    self._do_autopart()
ValueError: Cannot remove extended partition sda4.  Logical partitions present.

Additional info:
addons:         com_redhat_kdump, com_redhat_docker
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora-WS-dvd-x86_64-25 quiet
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.8.6-300.fc25.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        25

Comment 1 brain71 2016-12-10 19:54:21 UTC
Created attachment 1230385 [details]
File: anaconda-tb

Comment 2 brain71 2016-12-10 19:54:24 UTC
Created attachment 1230386 [details]
File: anaconda.log

Comment 3 brain71 2016-12-10 19:54:27 UTC
Created attachment 1230387 [details]
File: dnf.librepo.log

Comment 4 brain71 2016-12-10 19:54:28 UTC
Created attachment 1230388 [details]
File: environ

Comment 5 brain71 2016-12-10 19:54:31 UTC
Created attachment 1230389 [details]
File: lsblk_output

Comment 6 brain71 2016-12-10 19:54:32 UTC
Created attachment 1230390 [details]
File: nmcli_dev_list

Comment 7 brain71 2016-12-10 19:54:34 UTC
Created attachment 1230391 [details]
File: os_info

Comment 8 brain71 2016-12-10 19:54:38 UTC
Created attachment 1230392 [details]
File: storage.log

Comment 9 brain71 2016-12-10 19:54:44 UTC
Created attachment 1230393 [details]
File: syslog

Comment 10 brain71 2016-12-10 19:54:46 UTC
Created attachment 1230394 [details]
File: ifcfg.log

Comment 11 brain71 2016-12-10 19:54:47 UTC
Created attachment 1230395 [details]
File: packaging.log

Comment 12 brain71 2016-12-10 19:54:50 UTC
Created attachment 1230396 [details]
File: program.log

Comment 13 Bugiardo 2017-03-01 20:39:16 UTC
*** Bug 1428128 has been marked as a duplicate of this bug. ***

Comment 14 Bugiardo 2017-03-25 17:33:31 UTC
*** Bug 1435896 has been marked as a duplicate of this bug. ***

Comment 15 Fedora End Of Life 2017-11-16 19:35:15 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. 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 '25'.

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 25 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 16 Fedora End Of Life 2017-12-12 10:45:22 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 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.