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

Bug 1637605

Summary: Unable to add gluster storage domain in RHV-M without comment
Product: [oVirt] ovirt-engine Reporter: bipin <bshetty>
Component: Frontend.WebAdminAssignee: bugs <bugs>
Status: CLOSED DUPLICATE QA Contact: Lukas Svaty <lsvaty>
Severity: high Docs Contact:
Priority: medium    
Version: futureCC: bugs, godas, mperina, sabose, sasundar
Target Milestone: ---Keywords: Regression
Target Release: ---Flags: rule-engine: ovirt-4.2+
rule-engine: blocker+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1637613 (view as bug list) Environment:
Last Closed: 2018-10-10 12:30:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1637613    
Attachments:
Description Flags
Engine.log
none
UI_Screenshot none

Description bipin 2018-10-09 14:48:47 UTC
Description of problem:
======================
While adding the gluster storage domain in RHV-M , it throws error. This was seen after creating additional gluster volumes and creating storage domains for those volumes.


Version-Release number of selected component (if applicable):
===========================================================
rhv-release-4.2.7-4-001


How reproducible:
================
2/2


Steps to Reproduce:
==================
1.Create additional gluster volumes via cockpit Day 2
2.While adding the new gluster storage domain it is unsuccessful.


Actual results:
==============
The storage domains cannot be added


Expected results:
================
The storage domains should be successfully added


Additional info:
===============

Comment 1 bipin 2018-10-09 14:56:14 UTC
Please reassign the component if not accurate.

Snippet from the log:
====================
2018-10-09 17:43:00,360+05 WARN  [org.ovirt.engine.core.bll.storage.domain.AddGlusterFsStorageDomainCommand] (default task-53) [b5ddffb2-d42b-434e-a722-2eb80ae91877] Validation of action 'AddGlusterFsStorageDomain' failed for user admin@internal-authz. Reasons: VAR__TYPE__STORAGE__DOMAIN,VAR__ACTION__ADD,may not be null,$message {javax.validation.constraints.NotNull.message},$payload [Ljava.lang.Class;@199300f9,$groups [Ljava.lang.Class;@3e83543c,ACTION_TYPE_FAILED_ATTRIBUTE_PATH,$path privateStorageDomain.comment,$validatedValue null

Comment 2 bipin 2018-10-09 14:58:56 UTC
Created attachment 1492115 [details]
Engine.log

Comment 3 bipin 2018-10-09 16:23:36 UTC
Created attachment 1492131 [details]
UI_Screenshot

Comment 4 bipin 2018-10-10 03:53:55 UTC
PS: Creating gluster volumes via RHV-M and then adding the gluster storage domain also gives the same error as mentioned above.

Comment 5 Gobinda Das 2018-10-10 04:46:04 UTC
Bipin, I think it's expecting Comment from UI. If you will provide Comment then it should work. I am not sure why it's mandatory even though it's not marked as mandatory from UI.

Comment 6 bipin 2018-10-10 04:54:09 UTC
Gobinda,

That worked. But while adding the storage domains during deployment i didn't see similar error. Was there any change?

Comment 7 Gobinda Das 2018-10-10 07:27:12 UTC
Bipin, I could be UI issue, need to check. Auto creation SD does not use UI, it uses backend api.

Comment 8 Red Hat Bugzilla Rules Engine 2018-10-10 08:47:55 UTC
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.

Comment 9 Martin Perina 2018-10-10 12:30:55 UTC

*** This bug has been marked as a duplicate of bug 1633232 ***