This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2165290 - Anaconda can not detecate 2 vdx disks for RAID1
Summary: Anaconda can not detecate 2 vdx disks for RAID1
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: python-blivet
Version: 8.8
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Blivet Maintenance Team
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks: 2165306
TreeView+ depends on / blocked
 
Reported: 2023-01-29 07:07 UTC by Fine Fan
Modified: 2023-09-23 12:35 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2165306 (view as bug list)
Environment:
Last Closed: 2023-09-23 12:35:35 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)
anaconda.log (18.35 KB, text/plain)
2023-02-02 12:50 UTC, Jan Stodola
no flags Details
storage.log (144.45 KB, text/plain)
2023-02-02 12:50 UTC, Jan Stodola
no flags Details
syslog (475.90 KB, text/plain)
2023-02-02 12:51 UTC, Jan Stodola
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker   RHEL-8025 0 None Migrated None 2023-09-23 12:35:33 UTC
Red Hat Issue Tracker RHELPLAN-146809 0 None None None 2023-01-29 07:09:10 UTC

Description Fine Fan 2023-01-29 07:07:51 UTC
Description of problem:
Trying to install the OS with RAID1 on vdx disks.


Version-Release number of selected component (if applicable):
guest OS: RHEL-8.8.0-20230127.0


How reproducible:


Steps to Reproduce:
1.Create VM with 4 vdx disks (vd[a-d])
2.Boot the VM with that RHEL-8.8.0-20230127.0 ISO.
3.Click into the "Installation Destination" page
4.On the "Installation Destination" page, in "Local Standard Disks" field, Check "vda" "vdb", In the bottom "Storage Configuration" field , Chose "Custom", then click left upper "Done" button going into "Manual Partitioning" page.
5.In the "Manual Partitioning" page, select "Standard Partition" in the drop down list. Then Click "Click here to create them automatically".
6.Waiting for auto create finished, make sure "/boot" is highlighted. On right side Select "RAID" from "Device Type" 's drop down list.  Make sure the popup "RAID Level" is "RAID1"
7.Click "Update Settings".

Actual results:
Anaconda give out an Error Said:
"Device reconfiguration failed. Click for details."
When click , pop window said:
"raid1 requires at least 2 disks"

Expected results:
Anaconda will change the device type to RAID1 on "/boot"


Additional info:
When Changing the "Device Type" , sometime just don't click the "/boot" first, it will go though.

Comment 1 Jan Stodola 2023-02-02 12:50:23 UTC
Created attachment 1941773 [details]
anaconda.log

Reproduced in a VM with 2 disks. Compose RHEL-8.8.0-20230201.0 with anaconda-33.16.8.6-1.el8, python-blivet-3.6.0-3.el8.

Comment 2 Jan Stodola 2023-02-02 12:50:48 UTC
Created attachment 1941774 [details]
storage.log

Comment 3 Jan Stodola 2023-02-02 12:51:17 UTC
Created attachment 1941775 [details]
syslog

Comment 4 Jiri Konecny 2023-02-09 09:40:54 UTC
Hi Vendy, could you please take a look if you can spot what is the root cause?

Comment 5 Vendula Poncova 2023-03-13 17:07:00 UTC
From anaconda.log:

07:44:52,685 DBG ui.gui.spokes.lib.accordion: Select device: vda1
07:45:05,046 DBG ui.gui.spokes.custom_storage: Saving the right side for device: vda1
07:45:05,047 DBG ui.gui.spokes.custom_storage: Device request: {
container-encrypted = False
container-name = ''
container-raid-level = ''
container-size-policy = 0
container-spec = ''
device-encrypted = False
device-name = 'vda1' -> 'boot'
device-raid-level = '' -> 'raid1'
device-size = 1073741824
device-spec = 'vda1'
device-type = 2 -> 1
disks = ['vda', 'vdb']
format-type = 'xfs'
label = ''
luks-version = ''
mount-point = '/boot'
reformat = True
}

From storage.log:

DEBUG:anaconda.modules.storage.partitioning.interactive.utils:Generated factory arguments: {
device_type = 1,
device = None,
disks = [DiskDevice instance (0x7f231421f908) --
  name = vda  status = True  id = 4
  children = ['non-existent 2.52 GiB partition vda2 (142) with non-existent swap']
  parents = []
  uuid = None  size = 20 GiB
  format = non-existent msdos disklabel
  major = 252  minor = 0  exists = True  protected = False
  sysfs path = /sys/devices/pci0000:00/0000:00:02.4/0000:05:00.0/virtio4/block/vda
  target size = 20 GiB  path = /dev/vda
  format args = []  original_format = None  removable = False  wwn = None, DiskDevice instance (0x7f231421ffd0) --
  name = vdb  status = True  id = 9
  children = ['non-existent 20 GiB partition vdb1 (135) with non-existent xfs filesystem '
 'mounted at /']
  parents = []
  uuid = None  size = 20 GiB
  format = non-existent msdos disklabel
  major = 252  minor = 16  exists = True  protected = False
  sysfs path = /sys/devices/pci0000:00/0000:00:02.5/0000:06:00.0/virtio5/block/vdb
  target size = 20 GiB  path = /dev/vdb
  format args = []  original_format = None  removable = False  wwn = None],
mountpoint = '/boot',
fstype = 'xfs',
label = None,
luks_version = None,
device_name = 'boot',
size = Size (1024 MiB),
raid_level = <blivet.devicelibs.raid.RAID1 object at 0x7f2318a7bac8>,
encrypted = False,
container_name = None,
container_size = 0,
container_raid_level = None,
container_encrypted = False
}

The device request and the arguments generated for the Blivet's factory look good to me. It seems to be an issue in the Blivet library.

Comment 6 Jan Stodola 2023-03-14 08:54:04 UTC
Reassigning to blivet based on comment 5.

Comment 7 RHEL Program Management 2023-09-23 12:34:33 UTC
Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug.

Comment 8 RHEL Program Management 2023-09-23 12:35:35 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.

Due to differences in account names between systems, some fields were not replicated.  Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer.  You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.


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