Bug 1464382 - _ped.PartitionException: Can't add a logical partition to /dev/vda, because there is no extended partition.
Summary: _ped.PartitionException: Can't add a logical partition to /dev/vda, because t...
Keywords:
Status: CLOSED DUPLICATE of bug 1440150
Alias: None
Product: Fedora
Classification: Fedora
Component: blivet-gui
Version: 26
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vojtech Trefny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:b0e41a0637b22cd0722b92ec2b4...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-23 09:55 UTC by ricky.tigg
Modified: 2017-06-23 10:03 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-23 10:03:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (456.18 KB, text/plain)
2017-06-23 09:55 UTC, ricky.tigg
no flags Details
File: environ (529 bytes, text/plain)
2017-06-23 09:55 UTC, ricky.tigg
no flags Details
File: lsblk_output (1.68 KB, text/plain)
2017-06-23 09:55 UTC, ricky.tigg
no flags Details
File: nmcli_dev_list (1.21 KB, text/plain)
2017-06-23 09:55 UTC, ricky.tigg
no flags Details
File: os_info (447 bytes, text/plain)
2017-06-23 09:55 UTC, ricky.tigg
no flags Details

Description ricky.tigg 2017-06-23 09:55:39 UTC
Description of problem:
Bug resulted in the Blivet-GUI, under an extended partition, by creating and selecting a logical partition’s filesystem as unformatted.

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

The following was filed automatically by anaconda:
anaconda 26.21.7-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.6/site-packages/blivetgui/blivetgui.py", line 219, in _reraise_exception
    raise type(exception)(str(exception) + "\n" + traceback)
  File "/usr/lib/python3.6/site-packages/blivetgui/blivetgui.py", line 448, in add_device
    self._reraise_exception(result.exception, result.traceback)
_ped.PartitionException: Can't add a logical partition to /dev/vda, because there is no extended partition.
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/blivetgui/blivet_utils.py", line 1146, in add_device
    blivet.partitioning.do_partitioning(self.storage)
  File "/usr/lib/python3.6/site-packages/blivet/partitioning.py", line 582, in do_partitioning
    allocate_partitions(storage, disks, partitions, free)
  File "/usr/lib/python3.6/site-packages/blivet/partitioning.py", line 961, in allocate_partitions
    _part.req_start_sector, _part.req_end_sector)
  File "/usr/lib/python3.6/site-packages/blivet/partitioning.py", line 446, in add_partition
    constraint=constraint)
  File "/usr/lib64/python3.6/site-packages/parted/decorators.py", line 42, in new
    ret = fn(*args, **kwds)
  File "/usr/lib64/python3.6/site-packages/parted/disk.py", line 245, in addPartition
    constraint.getPedConstraint())
_ped.PartitionException: Can't add a logical partition to /dev/vda, because there is no extended partition.


Additional info:
addons:         com_redhat_docker, com_redhat_kdump
cmdline:        /usr/libexec/system-python  /sbin/anaconda
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.11.0-2.fc26.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        26

Potential duplicate: bug 1442020

Comment 1 ricky.tigg 2017-06-23 09:55:45 UTC
Created attachment 1290955 [details]
File: anaconda-tb

Comment 2 ricky.tigg 2017-06-23 09:55:47 UTC
Created attachment 1290956 [details]
File: environ

Comment 3 ricky.tigg 2017-06-23 09:55:49 UTC
Created attachment 1290957 [details]
File: lsblk_output

Comment 4 ricky.tigg 2017-06-23 09:55:50 UTC
Created attachment 1290958 [details]
File: nmcli_dev_list

Comment 5 ricky.tigg 2017-06-23 09:55:52 UTC
Created attachment 1290959 [details]
File: os_info

Comment 6 Vojtech Trefny 2017-06-23 10:03:32 UTC

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


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