Bug 1802004

Summary: Unable to deploy gluster using the hyperconverged wizard
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Gobinda Das <godas>
Component: rhhiAssignee: Gobinda Das <godas>
Status: CLOSED ERRATA QA Contact: SATHEESARAN <sasundar>
Severity: high Docs Contact:
Priority: unspecified    
Version: rhhiv-1.7CC: admin, bugs, mwaykole, pestaa, rhs-bugs, sasundar
Target Milestone: ---   
Target Release: RHHI-V 1.8   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: cockpit-ovirt-0.14.3-1.el8ev Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 1789277 Environment:
Last Closed: 2020-08-04 14:51:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1789277    
Bug Blocks: 1779977, 1807828    

Description Gobinda Das 2020-02-12 06:02:59 UTC
Description of problem:
Gluster deployment wizard fails on "Check if provided hostnames are valid"

Version-Release number of selected component (if applicable):
ovirt-node-ng-4.4.0-0.20200109.0

How reproducible:
Same result when running wizard on any of the three nodes.

Steps to Reproduce:
1. Set up 3 oVirt nodes
2. Set up ssh-key on node 1 and copy to other nodes
3. Connect to admin console on node 1 and run hyperconverged deployment wizard

Actual results:
TASK [Check if provided hostnames are valid] ***********************************
task path: /usr/share/cockpit/ovirt-dashboard/ansible/hc_wizard.yml:29
fatal: [ovirt1.mylab]: FAILED! => {"msg": "The conditional check 'result.results[0]['stdout_lines'] > 0' failed. The error was: Unexpected templating type error occurred on ({% if result.results[0]['stdout_lines'] > 0 %} True {% else %} False {% endif %}): '>' not supported between instances of 'list' and 'int'"}
fatal: [ovirt3.mylab]: FAILED! => {"msg": "The conditional check 'result.results[0]['stdout_lines'] > 0' failed. The error was: Unexpected templating type error occurred on ({% if result.results[0]['stdout_lines'] > 0 %} True {% else %} False {% endif %}): '>' not supported between instances of 'list' and 'int'"}
fatal: [ovirt2.mylab]: FAILED! => {"msg": "The conditional check 'result.results[0]['stdout_lines'] > 0' failed. The error was: Unexpected templating type error occurred on ({% if result.results[0]['stdout_lines'] > 0 %} True {% else %} False {% endif %}): '>' not supported between instances of 'list' and 'int'"}

Expected results:
Hostnames are valid

Comment 2 SATHEESARAN 2020-02-27 15:34:01 UTC
*** Bug 1807828 has been marked as a duplicate of this bug. ***

Comment 3 SATHEESARAN 2020-02-27 15:35:17 UTC
*** Bug 1807855 has been marked as a duplicate of this bug. ***

Comment 5 SATHEESARAN 2020-03-30 07:51:28 UTC
Tested with cockpit-ovirt-dashboard-0.14.3

RHHI-V deployment ( only gluster deployment ) is successful with RHVH 4.4 based on el8.2

Comment 8 errata-xmlrpc 2020-08-04 14:51:32 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 (RHHI for Virtualization 1.8 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/RHEA-2020:3314