Tendrl / gluster-integration

Extracts all data from a Gluster cluster for consumption by Tendrl
GNU Lesser General Public License v2.1
6 stars 20 forks source link

[RFE] Support for gluster installed from source code #654

Open dahorak opened 6 years ago

dahorak commented 6 years ago

It might be worth to consider also support for gluster installed from source code. Now only installation from RPM packages is supported.

It is not even possible to detect gluster, because of following error:

May 29 02:56:21 ci-usm5-gl2 journal: 2018-05-29 06:56:21.128275+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: list index out of range 
- IndexError: 
[
  {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': 94, u'file': u'/usr/lib/python2.7/site-packages/tendrl/node_agent/discovery/sds/plugins/discover_gluster_sds_details.py', u'statement': u"min_ver = version_det.split('.')[1]"}
]

Of course, I consider this RFE as low priority.