Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1750905

Summary: Data Center -> Guide me -> Configure storage does not let user create iSCSI volumes
Product: [oVirt] ovirt-engine Reporter: Pierre Lecomte <pierre.lecomte>
Component: Frontend.WebAdminAssignee: Tal Nisan <tnisan>
Status: CLOSED CURRENTRELEASE QA Contact: Pavol Brilla <pbrilla>
Severity: medium Docs Contact:
Priority: unspecified    
Version: futureCC: bugs, sleviim, tnisan
Target Milestone: ovirt-4.4.0Flags: pm-rhel: ovirt-4.4+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-20 20:00:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
example error none

Description Pierre Lecomte 2019-09-10 17:32:53 UTC
In the engine Dashboard, when navigating to :

Compute -> Data Center -> Guide me -> Configure storage

And selecting iSCSI

It is not possible to add the iSCSI storage, error reported is :

"Cannot add Storage. Discard after delete is not supported by underlying
Storage"

This was originally thought that it was only after a fresh install, but you
can reproduce this if you have already a NFS storage configured.

This reproduced consistently across various setups, including bug filer
reproducing it on his own environment.

This bug is reported as dashboard bug because attempting to perform the same
operation through the following path :

Storage -> Storage Domains -> New Domain

It works without any kind of issue(s).

I do not believe there is a point in providing logs considering how easy it
is to reproduce and the fact that it reproduces systematically.

The workaround is to use Storage -> Storage Domains -> New Domain and then
the operation succeeds.

The problem is a bug causing the value of "DiscardAfterDelete" among others not being propagated from the front end. Irrespective of the checkbox being checked or not, it behaves as if Discard After Delete was ticked.

I have a patch for this which I unit tested against 4.2.8.2-1.0.8.el7 and which stops the problem. I would like to submit it myself to Gerrit.

Comment 1 Pierre Lecomte 2019-09-10 18:49:26 UTC
Submitted change 103240 .

Comment 2 Pierre Lecomte 2019-09-13 19:56:44 UTC
Created attachment 1614983 [details]
example error

Comment 3 shani 2020-02-05 12:25:01 UTC
Verified (rhev Software Version:4.4.0-0.17.master.el7):

1. Data canter > Guide me > add more storage
2. Choose a LUN and create an iSCSI SD
3. SD was created successfully.

Comment 4 Sandro Bonazzola 2020-05-20 20:00:42 UTC
This bugzilla is included in oVirt 4.4.0 release, published on May 20th 2020.

Since the problem described in this bug report should be
resolved in oVirt 4.4.0 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.