Bug 1680548 - Successful gluster deployment message is displayed when an ansible syntax error is encountered.
Summary: Successful gluster deployment message is displayed when an ansible syntax err...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhhi
Version: rhhiv-1.6
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: RHHI-V 1.6
Assignee: Sahina Bose
QA Contact: Mugdha Soni
URL:
Whiteboard:
Depends On: 1680551
Blocks: RHHI-V-1-6-Engineering-InFlight-BZs
TreeView+ depends on / blocked
 
Reported: 2019-02-25 10:05 UTC by Mugdha Soni
Modified: 2019-05-09 06:09 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1680551 (view as bug list)
Environment:
Last Closed: 2019-05-09 06:09:09 UTC
Embargoed:


Attachments (Terms of Use)
Screen-recording of the issue (3.42 MB, application/octet-stream)
2019-02-25 16:41 UTC, SATHEESARAN
no flags Details
Bug Verification screenshot (52.31 KB, image/png)
2019-03-20 12:23 UTC, Mugdha Soni
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2019:1121 0 None None None 2019-05-09 06:09:21 UTC

Description Mugdha Soni 2019-02-25 10:05:49 UTC
Description of problem:
---------------------------------
The successful gluster deployment message is  displayed in cockpit UI  when an ansible syntax error in encountered if user edit's the inventory file in review tab.
There are no volumes created and user is allowed to proceed with hosted engine deployment.

Version-Release number of selected component:
----------------------------------------------
rhvh-4.3.0.5-0.20190221
glusterfs-server-3.12.2-45
cockpit-ovirt-dashboard-0.12.2-1
gluster-ansible-cluster-1.0-1.el7

How reproducible:
-----------------
Everytime

Steps to Reproduce:
-------------------
1.Configure all the parameters required for gluster deployment in cockpit UI.
2.Add some parameter with wrong syntax in the generated ansible wizard inventory file in review tab.
3.Click on save and then deploy button.

Actual results:
------------------
The cockpit UI shows successful gluster deployment even though there are volumes created.

Expected results:
------------------
Proper error message should be displayed when there is an ansible syntax error.



-

Comment 1 SATHEESARAN 2019-02-25 16:41:55 UTC
Created attachment 1538511 [details]
Screen-recording of the issue

Comment 2 Mugdha Soni 2019-03-20 12:23:54 UTC
Created attachment 1546055 [details]
Bug Verification screenshot

Comment 3 Mugdha Soni 2019-03-20 12:24:50 UTC
Tested with the following:-
glusterfs-server-3.12.2-47.el7rhgs
gluster-ansible-repositories-1.0-1.el7rhgs.noarch
gluster-ansible-maintenance-1.0.1-1.el7rhgs.noarch
gluster-ansible-features-1.0.4-5.el7rhgs.noarch
gluster-ansible-cluster-1.0-1.el7rhgs.noarch
gluster-ansible-roles-1.0.4-4.el7rhgs.noarch
gluster-ansible-infra-1.0.3-3.el7rhgs.noarch

rhvh-4.3.0.5-0.20190313

If there is any syntax error then the deployment fails at the very initial point saying "ERROR! No inventory was parsed, please check your configuration and options. Could be problem in inventory file."
Error message  is displayed and the deployment doesn't proceed .

Hence ,moving the bug to verified state.

Comment 5 errata-xmlrpc 2019-05-09 06:09:09 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, 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/RHEA-2019:1121


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