Bug 1403506 - ValueError: Cannot remove extended partition sda4. Logical partitions present.
Summary: ValueError: Cannot remove extended partition sda4. Logical partitions present.
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 25
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:f4555fb9df6c4f23a116260e451...
: 1428128 1435896 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-10 19:54 UTC by brain71
Modified: 2017-12-12 10:45 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-12 10:45:22 UTC
Type: ---


Attachments (Terms of Use)
File: anaconda-tb (859.88 KB, text/plain)
2016-12-10 19:54 UTC, brain71
no flags Details
File: anaconda.log (77.14 KB, text/plain)
2016-12-10 19:54 UTC, brain71
no flags Details
File: dnf.librepo.log (104.72 KB, text/plain)
2016-12-10 19:54 UTC, brain71
no flags Details
File: environ (482 bytes, text/plain)
2016-12-10 19:54 UTC, brain71
no flags Details
File: lsblk_output (1.93 KB, text/plain)
2016-12-10 19:54 UTC, brain71
no flags Details
File: nmcli_dev_list (1.25 KB, text/plain)
2016-12-10 19:54 UTC, brain71
no flags Details
File: os_info (449 bytes, text/plain)
2016-12-10 19:54 UTC, brain71
no flags Details
File: storage.log (159.58 KB, text/plain)
2016-12-10 19:54 UTC, brain71
no flags Details
File: syslog (309.87 KB, text/plain)
2016-12-10 19:54 UTC, brain71
no flags Details
File: ifcfg.log (2.42 KB, text/plain)
2016-12-10 19:54 UTC, brain71
no flags Details
File: packaging.log (1.23 KB, text/plain)
2016-12-10 19:54 UTC, brain71
no flags Details
File: program.log (58.03 KB, application/octet-stream)
2016-12-10 19:54 UTC, brain71
no flags Details

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.


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