Bug 1750905 - Data Center -> Guide me -> Configure storage does not let user create iSCSI volumes
Summary: Data Center -> Guide me -> Configure storage does not let user create iSCSI v...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: future
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ovirt-4.4.0
: ---
Assignee: Tal Nisan
QA Contact: Pavol Brilla
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-10 17:32 UTC by Pierre Lecomte
Modified: 2020-05-20 20:00 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-05-20 20:00:42 UTC
oVirt Team: Storage
Embargoed:
pm-rhel: ovirt-4.4+


Attachments (Terms of Use)
example error (42.62 KB, image/png)
2019-09-13 19:56 UTC, Pierre Lecomte
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 103240 0 'None' MERGED Unticking Discard After Delete has no effect In Data Center -> Guide me. 2020-02-18 14:38:59 UTC

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.


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