Bug 2083139

Summary: Can't change iSCSI Initiator Name once "Start Discovery" has been hit once
Product: Red Hat Enterprise Linux 8 Reporter: Renaud Métrich <rmetrich>
Component: python-blivetAssignee: Vojtech Trefny <vtrefny>
Status: VERIFIED --- QA Contact: Release Test Team <release-test-team>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.5CC: japokorn, jfindysz, jikortus, jkonecny, jstodola, mfalz, rvykydal, sbarcomb, tbzatek, vtrefny
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: python-blivet-3.6.0-7.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2221935 2223980 (view as bug list) Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2084043, 2223980    
Attachments:
Description Flags
Initial "ADD iSCSI STORAGE TARGET"
none
After clicking the "Start Discovery"
none
Field grayed out none

Description Renaud Métrich 2022-05-09 12:34:22 UTC
Description of problem:

After having hit "Start Discovery" button in "ADD iSCSI STORAGE TARGET" panel, it's not possible to change the "iSCSI Initiator Name" because it's grayed out.
This is an issue when a configuration mistake has been done (e.g. Network didn't get configured at that time the configuration was attempted).


Version-Release number of selected component (if applicable):

anaconda RHEL 8.5.0


How reproducible:

Always

Steps to Reproduce:
1. Boot a system on the DVD for installation
2. Add "Target IP Address" but don't change "iSCSI Initiator Name"
3. Hit "Start Discovery"

  Discovery will fail because there is no network configured at that time

4. Configure the network and go back to "ADD iSCSI STORAGE TARGET" panel

Actual results:

No way to change "iSCSI Initiator Name"

Expected results:

Can change "iSCSI Initiator Name"

Additional info:

Comment 1 Renaud Métrich 2022-05-09 12:37:28 UTC
Created attachment 1878084 [details]
Initial "ADD iSCSI STORAGE TARGET"

In this initial configuration I changed Target IP Address but "forgot" to change the initiator

Comment 2 Renaud Métrich 2022-05-09 12:38:37 UTC
Created attachment 1878085 [details]
After clicking the "Start Discovery"

Because network is down, "Start Discovery" failed. Starting now, initiator field is always grayed out.

Comment 3 Renaud Métrich 2022-05-09 12:39:34 UTC
Created attachment 1878086 [details]
Field grayed out

Can't change Initiator after having brought the network up

Comment 11 Vojtech Trefny 2023-03-27 13:25:14 UTC
upstream PR: https://github.com/storaged-project/blivet/pull/1112

Comment 14 Jan Stodola 2023-07-11 10:35:08 UTC
rhel-9 clone: bug 2221935

Comment 16 Vojtech Trefny 2023-07-20 12:00:06 UTC
upstream PR for RHEL 8: https://github.com/storaged-project/blivet/pull/1146

updates image for RHEL 8.8 (blivet + anaconda changes): https://vtrefny.fedorapeople.org/img/rhbz2084043_8-8.img

Comment 21 Jan Stodola 2023-08-14 09:18:00 UTC
Checked that anaconda-33.16.9.4-1.el8 and python-blivet-3.6.0-7.el8 are in nightly compose RHEL-8.9.0-20230812.18.

Executed automated iSCSI tests using compose RHEL-8.9.0-20230812.18 and no regressions have been found.

Moving to VERIFIED.