Bug 1854000

Summary: Updating storage domain throws error dialog, but the path information gets updated
Product: [oVirt] ovirt-engine Reporter: SATHEESARAN <sasundar>
Component: Frontend.WebAdminAssignee: Ahmad Khiet <akhiet>
Status: CLOSED CURRENTRELEASE QA Contact: SATHEESARAN <sasundar>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.4.0CC: aefrat, akhiet, bugs, dfodor, godas, rhs-bugs, sfishbai, tnisan
Target Milestone: ovirt-4.4.3Flags: sasundar: ovirt-4.4?
pm-rhel: planning_ack+
pm-rhel: devel_ack+
sasundar: testing_ack+
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: rhv-4.4.3-9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1853995 Environment:
Last Closed: 2020-10-26 11:32:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1853995    
Attachments:
Description Flags
Error screenshot
none
Recording of editing the glusterfs storage domain
none
engine.log.tar.gz none

Description SATHEESARAN 2020-07-06 05:35:41 UTC
Description of problem:
------------------------
As part of replace host workflow, the particular case here is replacing the primary volfile server (ie) the server used to mount the gluster volume corresponding to the storage domain.

When its replaced, the storage domains needs to be edited to contain the new server info. When updating the storage domain, it throws 'operation cancelled dialog box', but still the value is updated and storage domain is rightly mounted

Version-Release number of selected component (if applicable):
--------------------------------------------------------------
RHV 4.4.1
RHHI-V 1.8

How reproducible:
-----------------
Always

Steps to Reproduce:
---------------------
1. Poweroff the VMs running on the storage domain
2. Move the storage domain to maintenance
3. Click on 'Manage domain' and edit the path field to point to different gluster storage server / HC host
4. Press ok

Actual results:
---------------
Error dialog opens with 'operation cancelled', but path gets updated 

Expected results:
-----------------
No error dialog box, and path should get update as it is now

--- Additional comment from RHEL Program Management on 2020-07-06 05:12:43 UTC ---

This bug is automatically being proposed for RHHI-V 1.8 release at Red Hat Hyperconverged Infrastructure for Virtualization product, by setting the release flag 'rhiv‑1.8' to '?'.

If this bug should be proposed for a different release, please manually change the proposed release flag.

--- Additional comment from SATHEESARAN on 2020-07-06 05:13:55 UTC ---

Comment 1 Ahmad Khiet 2020-08-24 15:28:29 UTC
can you please attach a screenshot of the bug, also the error logs from the engine?
Thanks

Comment 2 SATHEESARAN 2020-09-03 06:54:53 UTC
(In reply to Ahmad Khiet from comment #1)
> can you please attach a screenshot of the bug, also the error logs from the
> engine?
> Thanks

Hello Ahmad. I will attach the screenshot shortly, but I do not have engine logs.
My bad, that I felt that the issue was straight forward and haven't captured the engine log.

Comment 3 SATHEESARAN 2020-09-03 06:57:06 UTC
Created attachment 1713550 [details]
Error screenshot

Comment 4 SATHEESARAN 2020-09-03 07:00:08 UTC
Hello Ahmad,

Let me know, if you still need engine.log, I can reproduce the issue and attach the required logs.
Advance Thanks.

Comment 5 Ahmad Khiet 2020-09-03 14:26:31 UTC
Hi,
The screenshot really helped to investigate the bug, I need one more screenshot for the screen where you edit the path of a working glusterfs storage.
Thank you

Comment 6 SATHEESARAN 2020-09-09 14:08:21 UTC
Created attachment 1714287 [details]
Recording of editing the glusterfs storage domain

Recording of the issue is attached here

Comment 7 SATHEESARAN 2020-09-09 14:12:27 UTC
Created attachment 1714288 [details]
engine.log.tar.gz

Comment 8 SATHEESARAN 2020-09-09 14:13:23 UTC
(In reply to SATHEESARAN from comment #7)
> Created attachment 1714288 [details]
> engine.log.tar.gz

Hello Ahmad,

I have also captured engine.log and attached to the bug

Comment 9 Ahmad Khiet 2020-09-10 13:57:29 UTC
(In reply to SATHEESARAN from comment #8)
> (In reply to SATHEESARAN from comment #7)
> > Created attachment 1714288 [details]
> > engine.log.tar.gz
> 
> Hello Ahmad,
> 
> I have also captured engine.log and attached to the bug

Hi SATHEESARAN, 

Are all the glusterfs storages are identical in block size configuration? is the new changed storage has different block size value than the current storage?

can you please attach vdsm logs?

Comment 10 SATHEESARAN 2020-09-14 11:56:24 UTC
(In reply to Ahmad Khiet from comment #9)
> (In reply to SATHEESARAN from comment #8)
> > (In reply to SATHEESARAN from comment #7)
> > > Created attachment 1714288 [details]
> > > engine.log.tar.gz
> > 
> > Hello Ahmad,
> > 
> > I have also captured engine.log and attached to the bug
> 
> Hi SATHEESARAN, 
> 
> Are all the glusterfs storages are identical in block size configuration? is
> the new changed storage has different block size value than the current
> storage?
> 
> can you please attach vdsm logs?

Hi Ahmad,

Yes, all glusterfs storages are identical in block size configuration.

I'm just changing the server that I used to mount, the gluster volume remains the same before and after that edit in the storage domain.
Its only the gluster volfile server FQDN is updated, so that the mount will happen from new server, on the existing host. Nothing else changes.

I do not have vdsm logs, its quite easily always reproducible.

Comment 11 Gobinda Das 2020-09-16 07:31:22 UTC
Any update on this?

Comment 12 Ahmad Khiet 2020-10-13 10:31:26 UTC
I'm submitting a patch fixing this bug soon.

Comment 14 SATHEESARAN 2020-11-08 01:57:56 UTC
Tested with RHV 4.4.3 ( 4.4.3.10-0.1.el8ev )

1. Poweroff the VMs running on the storage domain
2. Move the storage domain to maintenance
3. Click on 'Manage domain' and edit the path field to point to different gluster storage server / HC host
4. Press ok

No error dialog is seen

Comment 15 Sandro Bonazzola 2020-11-11 06:45:42 UTC
This bugzilla is included in oVirt 4.4.3 release, published on November 10th 2020.

Since the problem described in this bug report should be resolved in oVirt 4.4.3 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.