Bug 1947985 - dasbus.error.DBusError: Could not align down to sector
Summary: dasbus.error.DBusError: Could not align down to sector
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-blivet
Version: 34
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vojtech Trefny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:3d000cb426ed5f62efe1b8037f3...
: 1828614 1936146 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-09 16:54 UTC by David Agardh
Modified: 2021-05-07 15:43 UTC (History)
14 users (show)

Fixed In Version: python-blivet-3.4.0-1.fc35
Clone Of:
Environment:
Last Closed: 2021-05-07 15:43:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (1.45 MB, text/plain)
2021-04-09 16:54 UTC, David Agardh
no flags Details
File: anaconda.log (27.39 KB, text/plain)
2021-04-09 16:55 UTC, David Agardh
no flags Details
File: dbus.log (2.99 KB, text/plain)
2021-04-09 16:55 UTC, David Agardh
no flags Details
File: dnf.librepo.log (3.60 KB, text/plain)
2021-04-09 16:55 UTC, David Agardh
no flags Details
File: environ (659 bytes, text/plain)
2021-04-09 16:55 UTC, David Agardh
no flags Details
File: lorax-packages.log (23.93 KB, text/plain)
2021-04-09 16:55 UTC, David Agardh
no flags Details
File: lsblk_output (4.20 KB, text/plain)
2021-04-09 16:55 UTC, David Agardh
no flags Details
File: nmcli_dev_list (2.31 KB, text/plain)
2021-04-09 16:55 UTC, David Agardh
no flags Details
File: os_info (727 bytes, text/plain)
2021-04-09 16:55 UTC, David Agardh
no flags Details
File: program.log (15.72 KB, text/plain)
2021-04-09 16:55 UTC, David Agardh
no flags Details
File: storage.log (301.43 KB, text/plain)
2021-04-09 16:55 UTC, David Agardh
no flags Details
File: syslog (995.97 KB, text/plain)
2021-04-09 16:55 UTC, David Agardh
no flags Details
File: packaging.log (13.06 KB, text/plain)
2021-04-09 16:55 UTC, David Agardh
no flags Details

Description David Agardh 2021-04-09 16:54:43 UTC
Description of problem:
I'm trying to install fedora. When I get to the step of selecting drives I get an error. This has happened with two different ISOs of fedora 34.

Version-Release number of selected component:
anaconda-34.24.8

The following was filed automatically by anaconda:
anaconda 34.24.8 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.9/site-packages/dasbus/client/handler.py", line 497, in _handle_method_error
    raise exception from None
  File "/usr/lib/python3.9/site-packages/dasbus/client/handler.py", line 477, in _get_method_reply
    return self._handle_method_error(error)
  File "/usr/lib/python3.9/site-packages/dasbus/client/handler.py", line 444, in _call_method
    return self._get_method_reply(
  File "/usr/lib64/python3.9/site-packages/pyanaconda/ui/gui/spokes/lib/resize.py", line 232, in _add_partition
    size_limits = self._device_tree.GetDeviceSizeLimits(device_name)
  File "/usr/lib64/python3.9/site-packages/pyanaconda/ui/gui/spokes/lib/resize.py", line 206, in _add_disk
    free_size = self._add_partition(itr, child_name)
  File "/usr/lib64/python3.9/site-packages/pyanaconda/ui/gui/spokes/lib/resize.py", line 144, in populate
    disk_reclaimable_space = self._add_disk(disk_name)
  File "/usr/lib64/python3.9/site-packages/pyanaconda/ui/gui/spokes/lib/resize.py", line 427, in refresh
    self.populate(self._disks)
  File "/usr/lib64/python3.9/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 801, in _skip_to_automatic_partitioning
    dialog.refresh()
  File "/usr/lib64/python3.9/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 686, in on_back_clicked
    self._skip_to_automatic_partitioning()
dasbus.error.DBusError: Could not align down to sector

Additional info:
addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora-E-dvd-x86_64-34 rd.live.check quiet
executable:     /sbin/anaconda
hashmarkername: anaconda
hawkey.log:     2021-04-09T16:49:23+0000 INFO === Started libdnf-0.60.0 ===
kernel:         5.11.11-300.fc34.x86_64
product:        Fedora
release:        Fedora release 34 (Thirty Four)
release_type:   pre-release
type:           anaconda
version:        34

Comment 1 David Agardh 2021-04-09 16:54:59 UTC
Created attachment 1770707 [details]
File: anaconda-tb

Comment 2 David Agardh 2021-04-09 16:55:01 UTC
Created attachment 1770708 [details]
File: anaconda.log

Comment 3 David Agardh 2021-04-09 16:55:02 UTC
Created attachment 1770709 [details]
File: dbus.log

Comment 4 David Agardh 2021-04-09 16:55:03 UTC
Created attachment 1770710 [details]
File: dnf.librepo.log

Comment 5 David Agardh 2021-04-09 16:55:04 UTC
Created attachment 1770711 [details]
File: environ

Comment 6 David Agardh 2021-04-09 16:55:06 UTC
Created attachment 1770712 [details]
File: lorax-packages.log

Comment 7 David Agardh 2021-04-09 16:55:07 UTC
Created attachment 1770713 [details]
File: lsblk_output

Comment 8 David Agardh 2021-04-09 16:55:08 UTC
Created attachment 1770714 [details]
File: nmcli_dev_list

Comment 9 David Agardh 2021-04-09 16:55:09 UTC
Created attachment 1770715 [details]
File: os_info

Comment 10 David Agardh 2021-04-09 16:55:11 UTC
Created attachment 1770716 [details]
File: program.log

Comment 11 David Agardh 2021-04-09 16:55:14 UTC
Created attachment 1770717 [details]
File: storage.log

Comment 12 David Agardh 2021-04-09 16:55:22 UTC
Created attachment 1770718 [details]
File: syslog

Comment 13 David Agardh 2021-04-09 16:55:23 UTC
Created attachment 1770719 [details]
File: packaging.log

Comment 14 Vendula Poncova 2021-04-12 10:50:45 UTC
From storage.log:

WARNING:dasbus.server.handler:The call org.fedoraproject.Anaconda.Modules.Storage.DeviceTree.Resizable.GetDeviceSizeLimits has failed with an exception:
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/dasbus/server/handler.py", line 418, in _method_callback
    result = self._handle_call(
  File "/usr/lib/python3.9/site-packages/dasbus/server/handler.py", line 234, in _handle_call
    return handler(*parameters)
  File "/usr/lib64/python3.9/site-packages/pyanaconda/modules/storage/partitioning/automatic/resizable_interface.py", line 62, in GetDeviceSizeLimits
    return self.implementation.get_device_size_limits(device_name)
  File "/usr/lib64/python3.9/site-packages/pyanaconda/modules/storage/partitioning/automatic/resizable_module.py", line 91, in get_device_size_limits
    return device.min_size.get_bytes(), device.max_size.get_bytes()
  File "/usr/lib/python3.9/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.9/site-packages/blivet/devices/partition.py", line 938, in max_size
    return self.align_target_size(unaligned_max)
  File "/usr/lib/python3.9/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.9/site-packages/blivet/devices/partition.py", line 280, in align_target_size
    (_constraint, geometry) = self._compute_resize(self.parted_partition,
  File "/usr/lib/python3.9/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.9/site-packages/blivet/devices/partition.py", line 699, in _compute_resize
    new_geometry.end = align(align_geom, new_geometry.end)
  File "/usr/lib64/python3.9/site-packages/parted/decorators.py", line 42, in new
    ret = fn(*args, **kwds)
  File "/usr/lib64/python3.9/site-packages/parted/alignment.py", line 93, in alignDown
    return self.__alignment.align_down(geom.getPedGeometry(), sector)
ArithmeticError: Could not align down to sector

It seems to be an issue in the storage configuration library. Reassigning to blivet.

Comment 15 Vojtech Trefny 2021-04-12 11:30:59 UTC
*** Bug 1936146 has been marked as a duplicate of this bug. ***

Comment 17 Vojtech Trefny 2021-04-30 05:19:47 UTC
*** Bug 1828614 has been marked as a duplicate of this bug. ***


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