Description of problem: /var/log/messages on RHGS WA server contains lots of errors like this (split to multiple lines for better readability): ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Apr 26 04:20:35 dahorak-usm1-server journal: 2018-04-26 08:20:35.454841+00:00 - node_agent - /usr/lib/python2.7/site-packages/tendrl/node_agent/node_sync/sds_detect.py:263 - sync - ERROR - node_sync SDS detection failed: need more than 0 values to unpack - ValueError: [{ u'function': u'__bootstrap', u'line': 785, u'file': u'/usr/lib64/python2.7/threading.py', u'statement': u'self.__bootstrap_inner()'}, { u'function': u'__bootstrap_inner', u'line': 812, u'file': u'/usr/lib64/python2.7/threading.py', u'statement': u'self.run()'}, { u'function': u'run', u'line': 765, u'file': u'/usr/lib64/python2.7/threading.py', u'statement': u'self.__target(*self.__args, **self.__kwargs)'}, { u'function': u'sync', u'line': 41, u'file': u'/usr/lib/python2.7/site-packages/tendrl/node_agent/node_sync/sds_detect.py', u'statement': u'sds_details = plugin.discover_storage_system()'}, { u'function': u'discover_storage_system', u'line': 48, u'file': u'/usr/lib/python2.7/site-packages/tendrl/node_agent/discovery/sds/plugins/discover_gluster_sds_details.py', u'statement': u'cluster_id, gfs_peers = self._derive_cluster_id()'}] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Version-Release number of selected component (if applicable): tendrl-ansible-1.6.3-2.el7rhgs.noarch tendrl-api-1.6.3-2.el7rhgs.noarch tendrl-api-httpd-1.6.3-2.el7rhgs.noarch tendrl-commons-1.6.3-2.el7rhgs.noarch tendrl-grafana-plugins-1.6.3-1.el7rhgs.noarch tendrl-grafana-selinux-1.5.4-2.el7rhgs.noarch tendrl-monitoring-integration-1.6.3-1.el7rhgs.noarch tendrl-node-agent-1.6.3-2.el7rhgs.noarch tendrl-notifier-1.6.3-2.el7rhgs.noarch tendrl-selinux-1.5.4-2.el7rhgs.noarch tendrl-ui-1.6.3-1.el7rhgs.noarch How reproducible: 100% Steps to Reproduce: 1. Install and configure Gluster cluster 2. Install and configure RHGS WA 3. Import Gluster cluster into RHGS WA 4. check /var/log/messages on RHGS WA Server Actual results: The log contains lots of errors mentioned above. Expected results: There should be no such errors in the logs. Additional info:
Rohan this because of ansible version problem, Martin can you please update ansible version and then recheck it. we actually did some fix to work tendrl with new ansible version. It won't work with an old version. please update ansible version of server and storage nodes and try it again. I faced the same issue with an old version.
For the latest version, this problem has occurred so we did some change. So this is fixed in new release. Please make sure you are using new release and a new version of Ansible. Rohan, please comment here.
Tested and VERIFIED on few clusters, there is no such sync error in /var/log/messages. Version-Release number of selected component: Red Hat Enterprise Linux Server release 7.5 (Maipo) # rpm -qa | grep -e tendrl -e etcd -e ansbile -e collect | sort collectd-5.7.2-3.1.el7rhgs.x86_64 collectd-ping-5.7.2-3.1.el7rhgs.x86_64 etcd-3.2.7-1.el7.x86_64 libcollectdclient-5.7.2-3.1.el7rhgs.x86_64 libcollection-0.7.0-29.el7.x86_64 python-etcd-0.4.5-2.el7rhgs.noarch rubygem-etcd-0.3.0-2.el7rhgs.noarch tendrl-ansible-1.6.3-3.el7rhgs.noarch tendrl-api-1.6.3-3.el7rhgs.noarch tendrl-api-httpd-1.6.3-3.el7rhgs.noarch tendrl-commons-1.6.3-4.el7rhgs.noarch tendrl-grafana-plugins-1.6.3-2.el7rhgs.noarch tendrl-grafana-selinux-1.5.4-2.el7rhgs.noarch tendrl-monitoring-integration-1.6.3-2.el7rhgs.noarch tendrl-node-agent-1.6.3-4.el7rhgs.noarch tendrl-notifier-1.6.3-2.el7rhgs.noarch tendrl-selinux-1.5.4-2.el7rhgs.noarch tendrl-ui-1.6.3-1.el7rhgs.noarch >> VERIFIED
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/RHSA-2018:2616