Bug 1497499

Summary: [BUG] During hosted engine setup, datastore errors aren't shown in the cockpit UI
Product: Red Hat Enterprise Virtualization Manager Reporter: Bryan Yount <byount>
Component: cockpit-ovirtAssignee: Ryan Barry <rbarry>
Status: CLOSED DEFERRED QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.1.6CC: byount, dfediuck, didi, rmcswain, ylavi
Target Milestone: ---Flags: lsvaty: testing_plan_complete-
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-18 08:39:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bryan Yount 2017-10-01 04:25:28 UTC
Description of problem:
During the RHV 4.1 setup process, we used cockpit for the webUI deployment of hosted engine. After entering the NFS storage domain information and clicking "OK", we were taken back to the same "Enter storage domain" setup screen. No errors were presented to let us know what was going wrong. I was able to help the customer because I knew the common errors at this stage of installation, but if they were setting this up on their own, they wouldn't have known.

Version-Release number of selected component (if applicable):
cockpit-ovirt-0.10.7-0.0.21
ovirt-hosted-engine-setup-2.1.3.9-1

How reproducible:
Very

Steps to Reproduce:
1. Install RHEL 7.4
2. Install ovirt-hosted-engine-setup
3. Make sure cockpit is running
4. Begin cockpit-based hosted engine deployment
5. Select NFS as the storage domain
6. Configure a NFS mountpoint but don't properly set up permissions/ownership
7. Enter NFS location in cockpit UI
8. Click OK

Actual results:
Screen refreshes but puts the user back at the same "Please specify the full shared storage connection path to use" prompt.

Expected results:
The proper error message should appear on the screen telling the user they need to set the proper permissions on the NFS storage (36:36).

Additional info:
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.1/html/self-hosted_engine_guide/Deploying_Self-Hosted_Engine

Comment 6 Yaniv Lavi 2017-10-18 08:39:38 UTC
We are planning to improve this flow considerably in RHV 4.2 with a new wizard UX. Please track this RFE #1367457 for this. Closing this bug due to that.