Bug 1389455 - Trying to use extended LUN size results in REFRESH_LUN_ERROR
Summary: Trying to use extended LUN size results in REFRESH_LUN_ERROR
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Storage
Version: 4.0.4.4
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-4.0.5
: 4.0.5.5
Assignee: Fred Rolland
QA Contact: Kevin Alon Goldblatt
URL:
Whiteboard:
Depends On:
Blocks: 1397950
TreeView+ depends on / blocked
 
Reported: 2016-10-27 15:28 UTC by Barak Korren
Modified: 2016-11-24 09:40 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
: 1397950 (view as bug list)
Environment:
Last Closed: 2016-11-24 09:40:34 UTC
oVirt Team: Storage
Embargoed:
amureini: ovirt-4.0.z?
amureini: blocker?
rule-engine: planning_ack?
amureini: devel_ack+
rule-engine: testing_ack+


Attachments (Terms of Use)
engine.log of the failed command (23.55 KB, text/plain)
2016-10-27 15:28 UTC, Barak Korren
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 65819 0 master MERGED engine: Refresh LUN size fails to validate 2020-03-18 15:39:48 UTC
oVirt gerrit 65855 0 ovirt-engine-4.0 MERGED engine: Refresh LUN size fails to validate 2020-03-18 15:39:48 UTC
oVirt gerrit 65859 0 master MERGED core: Add test fo RefreshLunsSizeCommandTest::getFailedLuns 2020-03-18 15:39:44 UTC
oVirt gerrit 65865 0 ovirt-engine-4.0.5 MERGED engine: Refresh LUN size fails to validate 2020-03-18 15:39:44 UTC

Description Barak Korren 2016-10-27 15:28:40 UTC
Created attachment 1214657 [details]
engine.log of the failed command

Description of problem:
When trying to have engine make use of some extra space added to a pre-existing iSCSI LUN, the adding of space fails with REFRESH_LUN_ERROR.

Looking at engine.log the following error shows up:
  Failed to refresh LUNs. Not all VDS are seeing the same size

Comparing device sizes that show up on the engine.log (as output of the "GetDeviceListVDSCommand"), all sizes look the same on all hosts.

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

How reproducible:
seems easily

Steps to Reproduce:
1. setup a system with iSCSI storage and multiple hosts
2. extend an iSCSI lun in the storage
3. Go into "Manage Domain" for the domain containing the LUN, the added capacity should show up in the "Additional Size" column.
4. Click on the button showing the additional size and click ok

Actual results:
After a few minutes and error message will pop up

Expected results:
The storage domain should have the new capacity.

Additional info:
relevant engine.log section will be attached.

The following command could be used to compare device sized as reported in the log:

grep -o "deviceSize='[^']*'" engine.log-74331481

Comment 3 Kevin Alon Goldblatt 2016-11-08 17:01:42 UTC
Tested with the following code:
----------------------------------------
rhevm-4.0.5.5-0.1.el7ev.noarch
vdsm-4.18.15.2-1.el7ev.x86_64

Tested with the following scenario:

Steps to Reproduce:
Steps to Reproduce:
1. setup a system with iSCSI storage and multiple hosts
2. extend an iSCSI lun in the storage
3. Go into "Manage Domain" for the domain containing the LUN, the added capacity should show up in the "Additional Size" column.
4. Click on the button showing the additional size and click ok

Actual results:
The storage domain should NOW HAS the new capacity.
grep -o "deviceSize='[^']*'" engine.log reports the correct old and new LUN sizes

Expected results:



Moving to VERIFIED!

Comment 4 Allon Mureinik 2016-11-24 09:40:34 UTC
4.0.5 has been released, closing.


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