-
Bug
-
Resolution: Unresolved
-
Critical
-
rhel-10.2
-
None
-
python-blivet-3.13.0-4.el10
-
None
-
Important
-
rhel-storage-management
-
22
-
0
-
False
-
False
-
-
No
-
None
-
Pass
-
RegressionOnly
-
Unspecified Release Note Type - Unknown
-
Unspecified
-
Unspecified
-
Unspecified
-
None
What were you trying to do that didn't work?
What is the impact of this issue to you?
Please provide the package NVR for which the bug is seen:
How reproducible is this bug?:
Steps to reproduce
Expected results
Actual results
DEBUG:anaconda.modules.storage.bootloader.execution:Use the first usable drive. DEBUG:anaconda.modules.storage.bootloader.execution:Using a boot drive: sdb DEBUG:blivet: DeviceTree.get_device_by_name: name: sdb ; incomplete: False ; hidden: False ; DEBUG:blivet: DeviceTree.get_device_by_name returned existing 447.13 GiB disk sdb (4) with existing gpt disklabel DEBUG:blivet:resolved 'sdb' to 'sdb' (disk) DEBUG:anaconda.modules.storage.partitioning.custom.custom_partitioning:Executing the custom partitioning. DEBUG:blivet: DiskDevice.read_current_size: exists: True ; path: /dev/sda ; sysfs_path: /sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.2/1-2.2:1.1/host1/target1:0:0/1:0:0:0/block/sda ; DEBUG:testdata:sysfs attr /sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.2/1-2.2:1.1/host1/target1:0:0/1:0:0:0/block/sda/size: 300a INFO:blivet:Skipping disk: sda: No media present DEBUG:blivet: Ext4FS.supported: supported: True ; DEBUG:blivet:get_format('ext4') returning Ext4FS instance with object id 205 DEBUG:blivet: DeviceTree.get_device_by_name: name: sda ; incomplete: False ; hidden: False ; DEBUG:blivet: DeviceTree.get_device_by_name returned existing 0 B disk sda (34) DEBUG:blivet:resolved 'sda' to 'sda' (disk) ERROR:anaconda.modules.storage.partitioning.base_partitioning:Storage configuration has failed: Disk "sda" in part command is not partitioned. INFO:anaconda.core.threads:Thread Failed: AnaTaskThread-CustomPartitioningTask-1 (140552753862336) ERROR:anaconda.modules.common.task.task:Thread AnaTaskThread-CustomPartitioningTask-1 has failed: Traceback (most recent call last): File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/storage/partitioning/base_partitioning.py", line 56, in run self._run(self._storage) File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/storage/partitioning/automatic/noninteractive_partitioning.py", line 43, in _run self._configure_partitioning(storage) File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/storage/partitioning/custom/custom_partitioning.py", line 99, in _configure_partitioning self._execute_partition(storage, data) File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/storage/partitioning/custom/custom_partitioning.py", line 145, in _execute_partition self._execute_partition_data(storage, data, partition_data) File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/storage/partitioning/custom/custom_partitioning.py", line 327, in _execute_partition_data raise StorageError( blivet.errors.StorageError: Disk "sda" in part command is not partitioned. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib64/python3.12/site-packages/pyanaconda/core/threads.py", line 281, in run threading.Thread.run(self) File "/usr/lib64/python3.12/threading.py", line 1012, in run self._target(*self._args, **self._kwargs) File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/task.py", line 97, in _thread_run_callback self._task_run_callback() File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/task.py", line 110, in _task_run_callback self._set_result(self.run()) ^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/storage/partitioning/base_partitioning.py", line 64, in run self._handle_storage_error(e, str(e)) File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/storage/partitioning/base_partitioning.py", line 86, in _handle_storage_error raise StorageConfigurationError(message) from exception pyanaconda.modules.common.errors.configuration.StorageConfigurationError: Disk "sda" in part command is not partitioned. INFO:anaconda.core.threads:Thread Done: AnaTaskThread-CustomPartitioningTask-1 (140552753862336) WARNING:dasbus.server.handler:The call org.fedoraproject.Anaconda.Task.Finish has failed with an exception: Traceback (most recent call last): File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/storage/partitioning/base_partitioning.py", line 56, in run self._run(self._storage) File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/storage/partitioning/automatic/noninteractive_partitioning.py", line 43, in _run self._configure_partitioning(storage) File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/storage/partitioning/custom/custom_partitioning.py", line 99, in _configure_partitioning self._execute_partition(storage, data) File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/storage/partitioning/custom/custom_partitioning.py", line 145, in _execute_partition self._execute_partition_data(storage, data, partition_data) File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/storage/partitioning/custom/custom_partitioning.py", line 327, in _execute_partition_data raise StorageError( blivet.errors.StorageError: Disk "sda" in part command is not partitioned. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/dasbus/server/handler.py", line 455, in _method_callback result = self._handle_call( ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/dasbus/server/handler.py", line 265, in _handle_call return handler(*parameters, **additional_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/task_interface.py", line 115, in Finish self.implementation.finish() File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/task.py", line 176, in finish thread_manager.raise_if_error(self._thread_name) File "/usr/lib64/python3.12/site-packages/pyanaconda/core/threads.py", line 172, in raise_if_error raise exc_info[1] File "/usr/lib64/python3.12/site-packages/pyanaconda/core/threads.py", line 281, in run threading.Thread.run(self) File "/usr/lib64/python3.12/threading.py", line 1012, in run self._target(*self._args, **self._kwargs) File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/task.py", line 97, in _thread_run_callback self._task_run_callback() File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/task.py", line 110, in _task_run_callback self._set_result(self.run()) ^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/storage/partitioning/base_partitioning.py", line 64, in run self._handle_storage_error(e, str(e)) File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/storage/partitioning/base_partitioning.py", line 86, in _handle_storage_error raise StorageConfigurationError(message) from exception pyanaconda.modules.common.errors.configuration.StorageConfigurationError: Disk "sda" in part command is not partitioned. DEBUG:anaconda.modules.storage.bootloader.bootloader:Drive is set to ''. DEBUG:anaconda.modules.storage.disk_selection.selection:Exclusive disks are set to '[]'. DEBUG:anaconda.storage:Creating a copy of the storage model. DEBUG:blivet:starting Blivet copy DEBUG:blivet: PartitionDevice._set_parted_partition: nvme7n1p1 ; DEBUG:blivet:device nvme7n1p1 new parted_partition parted.Partition instance -- disk: <parted.disk.Disk object at 0x7fd4fc7633b0> fileSystem: <parted.filesystem.FileSystem object at 0x7fd4fc54fb60> number: 1 path: /dev/nvme7n1p1 type: 0 name: EFI System Partition active: True busy: False geometry: <parted.geometry.Geometry object at 0x7fd4fc54f860> PedPartition: <_ped.Partition object at 0x7fd4fd268770> DEBUG:blivet: PartitionDevice._set_parted_partition: nvme7n1p2 ; DEBUG:blivet:device nvme7n1p2 new parted_partition parted.Partition instance -- disk: <parted.disk.Disk object at 0x7fd4fc7633b0> fileSystem: <parted.filesystem.FileSystem object at 0x7fd4fc54fbf0> number: 2 path: /dev/nvme7n1p2 type: 0 name: active: True busy: False geometry: <parted.geometry.Geometry object at 0x7fd4fc54f9b0> PedPartition: <_ped.Partition object at 0x7fd4fc712b10> DEBUG:blivet: PartitionDevice._set_parted_partition: nvme7n1p3 ; DEBUG:blivet:device nvme7n1p3 new parted_partition parted.Partition instance -- disk: <parted.disk.Disk object at 0x7fd4fc7633b0> fileSystem: None number: 3 path: /dev/nvme7n1p3 type: 0 name: active: True busy: False geometry: <parted.geometry.Geometry object at 0x7fd4fc54fd10> PedPartition: <_ped.Partition object at 0x7fd4fc764220> DEBUG:blivet: PartitionDevice._set_parted_partition: sdb1 ; DEBUG:blivet:device sdb1 new parted_partition parted.Partition instance -- disk: <parted.disk.Disk object at 0x7fd4fc74e4b0> fileSystem: <parted.filesystem.FileSystem object at 0x7fd4fc560050> number: 1 path: /dev/sdb1 type: 0 name: EFI System Partition active: True busy: False geometry: <parted.geometry.Geometry object at 0x7fd4fc54ff80> PedPartition: <_ped.Partition object at 0x7fd4fd0098a0> DEBUG:blivet: PartitionDevice._set_parted_partition: sdb2 ; DEBUG:blivet:device sdb2 new parted_partition parted.Partition instance -- disk: <parted.disk.Disk object at 0x7fd4fc74e4b0> fileSystem: <parted.filesystem.FileSystem object at 0x7fd4fc5600e0> number: 2 path: /dev/sdb2 type: 0 name: active: True busy: False geometry: <parted.geometry.Geometry object at 0x7fd4fc54fe90> PedPartition: <_ped.Partition object at 0x7fd4fd0082c0> DEBUG:blivet:finished Blivet copy DEBUG:anaconda.storage:Finished a copy of the storage model. DEBUG:dasbus.connection:Publishing an object at /org/fedoraproject/Anaconda/Modules/Storage/Task/3. INFO:anaconda.core.threads:Running Thread: AnaTaskThread-ScanDevicesTask-2 (140552753862336) INFO:anaconda.modules.common.task.task:Scan all devices INFO:program:Running... systemctl start iscsi-init.service DEBUG:program:Return code: 0 INFO:blivet:no initiator set INFO:anaconda.core.threads:Thread Failed: AnaTaskThread-ScanDevicesTask-2 (140552753862336) ERROR:anaconda.modules.common.task.task:Thread AnaTaskThread-ScanDevicesTask-2 has failed: Traceback (most recent call last): File "/usr/lib64/python3.12/site-packages/pyanaconda/core/threads.py", line 281, in run threading.Thread.run(self) File "/usr/lib64/python3.12/threading.py", line 1012, in run self._target(*self._args, **self._kwargs) File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/task.py", line 97, in _thread_run_callback self._task_run_callback() File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/task.py", line 110, in _task_run_callback self._set_result(self.run()) ^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/storage/reset.py", line 64, in run self._reset_storage(self._storage) File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/storage/reset.py", line 84, in _reset_storage storage.reset() File "/usr/lib/python3.12/site-packages/blivet/threads.py", line 48, in run_with_lock return m(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/storage/devicetree/model.py", line 266, in reset self.save_passphrase(device) File "/usr/lib/python3.12/site-packages/blivet/threads.py", line 48, in run_with_lock return m(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/blivet/blivet.py", line 367, in save_passphrase luks_data.save_passphrase(device) File "/usr/lib/python3.12/site-packages/blivet/static_data/luks_data.py", line 89, in save_passphrase passphrase = pctx._passphrase ^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute '_passphrase' INFO:anaconda.core.threads:Thread Done: AnaTaskThread-ScanDevicesTask-2 (140552753862336) WARNING:dasbus.server.handler:The call org.fedoraproject.Anaconda.Task.Finish has failed with an exception: Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/dasbus/server/handler.py", line 455, in _method_callback result = self._handle_call( ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/dasbus/server/handler.py", line 265, in _handle_call return handler(*parameters, **additional_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/task_interface.py", line 115, in Finish self.implementation.finish() File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/task.py", line 176, in finish thread_manager.raise_if_error(self._thread_name) File "/usr/lib64/python3.12/site-packages/pyanaconda/core/threads.py", line 172, in raise_if_error raise exc_info[1] File "/usr/lib64/python3.12/site-packages/pyanaconda/core/threads.py", line 281, in run threading.Thread.run(self) File "/usr/lib64/python3.12/threading.py", line 1012, in run self._target(*self._args, **self._kwargs) File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/task.py", line 97, in _thread_run_callback self._task_run_callback() File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/task.py", line 110, in _task_run_callback self._set_result(self.run()) ^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/storage/reset.py", line 64, in run self._reset_storage(self._storage) File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/storage/reset.py", line 84, in _reset_storage storage.reset() File "/usr/lib/python3.12/site-packages/blivet/threads.py", line 48, in run_with_lock return m(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/storage/devicetree/model.py", line 266, in reset self.save_passphrase(device) File "/usr/lib/python3.12/site-packages/blivet/threads.py", line 48, in run_with_lock return m(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/blivet/blivet.py", line 367, in save_passphrase luks_data.save_passphrase(device) File "/usr/lib/python3.12/site-packages/blivet/static_data/luks_data.py", line 89, in save_passphrase passphrase = pctx._passphrase ^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute '_passphrase' DEBUG:anaconda.modules.common.base.base:Generating kickstart...
looks the 'sda' is not normal disk.
[anaconda root@smicro-s110p-01 ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS loop0 7:0 0 765.3M 1 loop /run/rootfsbase sda 8:0 1 0B 0 disk sdb 8:16 0 447.1G 0 disk ├─sdb1 8:17 0 512M 0 part └─sdb2 8:18 0 512M 0 part sr0 11:0 1 1024M 0 rom nvme7n1 259:0 0 931.5G 0 disk ├─nvme7n1p1 259:2 0 600M 0 part ├─nvme7n1p2 259:3 0 1G 0 part └─nvme7n1p3 259:4 0 929.9G 0 part nvme0n1 259:1 0 3.5T 0 disk nvme1n1 259:5 0 3.5T 0 disk nvme5n1 259:6 0 931.5G 0 disk nvme6n1 259:7 0 931.5G 0 disk nvme4n1 259:8 0 931.5G 0 disk nvme2n1 259:9 0 931.5G 0 disk nvme3n1 259:10 0 931.5G 0 disk [anaconda root@smicro-s110p-01 ~]#
https://beaker.engineering.redhat.com/recipes/20464770#installation
- links to
-
RHBA-2025:155709
python-blivet update