Bug 1651939 - a new size of the direct LUN not updated in Admin Portal
Summary: a new size of the direct LUN not updated in Admin Portal
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 4.2.7
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ovirt-4.4.0
: 4.3.0
Assignee: Fedor Gavrilov
QA Contact: meital avital
URL:
Whiteboard:
Depends On:
Blocks: 1741153 1741155
TreeView+ depends on / blocked
 
Reported: 2018-11-21 09:24 UTC by Olimp Bockowski
Modified: 2023-03-24 14:22 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1741153 1741155 (view as bug list)
Environment:
Last Closed: 2020-08-04 13:16:18 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:
lsvaty: testing_plan_complete-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 3708571 0 None None None 2018-11-26 08:00:16 UTC
Red Hat Product Errata RHSA-2020:3247 0 None None None 2020-08-04 13:16:43 UTC
oVirt gerrit 100871 0 'None' MERGED webadmin: a button to refresh lun size in admin portal 2021-02-01 13:02:28 UTC
oVirt gerrit 101283 0 'None' MERGED core: allow multiple direct LUNs to be refreshed at once 2021-02-01 13:02:29 UTC

Description Olimp Bockowski 2018-11-21 09:24:45 UTC
Description of problem:
The direct LUN is extended on a storage device. Since the Bug 1155275 "[RFE][Cinder] - Online update LUN size to the Guest after LUN resize" 
(https://bugzilla.redhat.com/show_bug.cgi?id=1155275) is not implemented yet, there is a recommendation to put the VM down and start again to have a new size:
https://access.redhat.com/solutions/1230283
The new size is ok for VM and is seen on the hypervisor, multipathd shows the proper size as well, but still in the Admin Portal the LUN size is not updated. 


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

How reproducible:
always

Steps to Reproduce:
1. expand LUN on a storage device
2. put the Vm down and start again
3. check and confirm the size inside the VM, even some VG increase can be performed, check on hypervisor the LUN size in multipathd
4. check GUI and confirm it is not updated.

Actual results:
not updated in Admin Portal only

Expected results:
it is updated everywhere

Additional info:
The problems seems to be lack of action "refreshlun" 
I fixed the problem running REST API request:

curl --request POST  --header "Accept: application/xml" --header "Host: ${FQDN}" --header "Authorization: Bearer  ${TOKEN}"  --cacert /etc/pki/ovirt-engine/apache-ca.pem https://${FQDN}:443/ovirt-engine/api/disks/${LUNID}/refreshlun --header "Content-Type: application/xml" --data "<action><host id='${HOSTID}'/></action>"

Comment 1 Tal Nisan 2018-11-25 15:17:10 UTC
Hi Olimp,
In that case I think the right way is to update the docs with the last step you mentioned, isn't it?

Comment 8 Sandro Bonazzola 2019-01-28 09:44:03 UTC
This bug has not been marked as blocker for oVirt 4.3.0.
Since we are releasing it tomorrow, January 29th, this bug has been re-targeted to 4.3.1.

Comment 10 Marina Kalinin 2019-02-26 15:17:54 UTC
How about adding a button to UI "refresh lun" that will run this API command per user request?

Comment 12 Nir Soffer 2019-02-26 16:00:49 UTC
Adding an easy way to refresh LUN size sounds like a good idea, something
like "Refresh Host Capabilities".

Comment 13 Daniel Gur 2019-08-28 13:13:07 UTC
sync2jira

Comment 14 Daniel Gur 2019-08-28 13:17:20 UTC
sync2jira

Comment 17 RHV bug bot 2019-12-13 13:16:12 UTC
WARN: Bug status (ON_QA) wasn't changed but the folowing should be fixed:

[Found non-acked flags: '{}', ]

For more info please contact: rhv-devops: Bug status (ON_QA) wasn't changed but the folowing should be fixed:

[Found non-acked flags: '{}', ]

For more info please contact: rhv-devops

Comment 18 RHV bug bot 2019-12-20 17:45:41 UTC
WARN: Bug status (ON_QA) wasn't changed but the folowing should be fixed:

[Found non-acked flags: '{}', ]

For more info please contact: rhv-devops: Bug status (ON_QA) wasn't changed but the folowing should be fixed:

[Found non-acked flags: '{}', ]

For more info please contact: rhv-devops

Comment 19 RHV bug bot 2020-01-08 14:47:51 UTC
WARN: Bug status (ON_QA) wasn't changed but the folowing should be fixed:

[Found non-acked flags: '{}', ]

For more info please contact: rhv-devops: Bug status (ON_QA) wasn't changed but the folowing should be fixed:

[Found non-acked flags: '{}', ]

For more info please contact: rhv-devops

Comment 20 RHV bug bot 2020-01-08 15:17:45 UTC
WARN: Bug status (ON_QA) wasn't changed but the folowing should be fixed:

[Found non-acked flags: '{}', ]

For more info please contact: rhv-devops: Bug status (ON_QA) wasn't changed but the folowing should be fixed:

[Found non-acked flags: '{}', ]

For more info please contact: rhv-devops

Comment 21 RHV bug bot 2020-01-24 19:49:36 UTC
WARN: Bug status (ON_QA) wasn't changed but the folowing should be fixed:

[Found non-acked flags: '{}', ]

For more info please contact: rhv-devops: Bug status (ON_QA) wasn't changed but the folowing should be fixed:

[Found non-acked flags: '{}', ]

For more info please contact: rhv-devops

Comment 22 Daniel 2020-03-04 09:05:27 UTC
Verified via web admin and logs on version 4.4.0-0.24.master.el8ev.
Refresh LUN button works and refresh the LUN disk as expected.
Current bug is closed as verified - button works as it should and really refresh LUN disk and the size changed as it should.

At the end of the refresh process, an UI error raised both on web admin and logs. Thus, a bug with the complete details and scenario will be open.

Comment 29 errata-xmlrpc 2020-08-04 13:16:18 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: RHV Manager (ovirt-engine) 4.4 security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

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

https://access.redhat.com/errata/RHSA-2020:3247


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