Bug 1575485

Summary: Import of Gluster Cluster fails with "Error: Node doesnt have network details populated"
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Shekhar Berry <shberry>
Component: web-admin-tendrl-uiAssignee: Neha Gupta <negupta>
Status: CLOSED NOTABUG QA Contact: sds-qe-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rhgs-3.4CC: mpillai, nthomas, psuriset, rhs-bugs, rsussman, sankarshan, shberry
Target Milestone: ---   
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: 2018-05-07 13:47:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Shekhar Berry 2018-05-07 05:05:00 UTC
Created attachment 1432495 [details]
Failure Task screenshot

Description of problem:

While trying to import 6 node Gluster cluster, the import fails.

Version-Release number of selected component (if applicable):

On Tendrl Server
================

tendrl-node-agent-1.6.3-3.el7rhgs.noarch
tendrl-selinux-1.5.4-2.el7rhgs.noarch
tendrl-commons-1.6.3-3.el7rhgs.noarch
tendrl-api-1.6.3-2.el7rhgs.noarch
tendrl-ui-1.6.3-1.el7rhgs.noarch
tendrl-monitoring-integration-1.6.3-1.el7rhgs.noarch
tendrl-api-httpd-1.6.3-2.el7rhgs.noarch
tendrl-grafana-plugins-1.6.3-1.el7rhgs.noarch
tendrl-notifier-1.6.3-2.el7rhgs.noarch
tendrl-ansible-1.6.3-2.el7rhgs.noarch
tendrl-grafana-selinux-1.5.4-2.el7rhgs.noarch

On Tendrl Nodes
===============

tendrl-commons-1.6.3-3.el7rhgs.noarch
tendrl-collectd-selinux-1.5.4-2.el7rhgs.noarch
tendrl-selinux-1.5.4-2.el7rhgs.noarch
tendrl-node-agent-1.6.3-3.el7rhgs.noarch

How reproducible:
Always

Steps to Reproduce:
1. Create a Gluster Cluster
2. Setup tendrl using above mentioned packages
3. Try to import the gluster cluster

Actual results:

Import Fails.See Screenshot attached

Expected results:

Import should have been successful

Additional info:

Comment 2 Shekhar Berry 2018-05-07 05:50:58 UTC
Hi,

I uninstalled tendrl and rebuilt it with latest build made available today morning and it gives me same error message while importing gluster cluster:

 error
Failure in Job 040343e1-3b6b-47c9-b9fb-ffacd5982364 Flow tendrl.flows.ImportCluster with error: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/tendrl/commons/jobs/__init__.py", line 233, in process_job the_flow.run() File "/usr/lib/python2.7/site-packages/tendrl/commons/flows/import_cluster/__init__.py", line 123, in run raise ex AtomExecutionFailedError: Atom Execution failed. Error: Node doesnt have network details populated 

Version
=======

On Tendrl Server
================

tendrl-node-agent-1.6.3-4.el7rhgs.noarch
tendrl-selinux-1.5.4-2.el7rhgs.noarch
tendrl-commons-1.6.3-4.el7rhgs.noarch
tendrl-api-1.6.3-3.el7rhgs.noarch
tendrl-ui-1.6.3-1.el7rhgs.noarch
tendrl-monitoring-integration-1.6.3-2.el7rhgs.noarch
tendrl-api-httpd-1.6.3-3.el7rhgs.noarch
tendrl-grafana-plugins-1.6.3-2.el7rhgs.noarch
tendrl-notifier-1.6.3-2.el7rhgs.noarch
tendrl-ansible-1.6.3-2.el7rhgs.noarch
tendrl-grafana-selinux-1.5.4-2.el7rhgs.noarch

On Tendrl Node
==============

tendrl-node-agent-1.6.3-4.el7rhgs.noarch
tendrl-commons-1.6.3-4.el7rhgs.noarch
tendrl-collectd-selinux-1.5.4-2.el7rhgs.noarch
tendrl-selinux-1.5.4-2.el7rhgs.noarch

Comment 4 Shekhar Berry 2018-05-07 06:24:53 UTC
As per Tendrl Dev Engineering recommendation I downgraded Ansible from 2.5.x to 2.4.x to overcome the issue. But the issue still persists.

See attachment in Comment 3.

Comment 5 Nishanth Thomas 2018-05-07 13:47:53 UTC
Latest tendrl packages work with latest ansible from rhel-7-server-ansible-2-rpms channel. The issue was using the older version ansible. Closing this issue