Search Engine: Elastic

Article ID: 130008, created on Dec 15, 2016, last review on Aug 21, 2017

  • Applies to:
  • Operations Automation

Symptoms

Task "Collect resources usage statistics" fails with error:

exec /usr/local/pem/etc/web_cluster/lvestat.py at host 11068 failed: Traceback (most recent call last):
File "/usr/local/pem/etc/web_cluster/lvestat.py", line 4, in <module>
import lvehelper
ImportError: No module named lvehelper

Also the error could be:

exec /usr/local/pem/etc/web_cluster/lvestat.py at host 12 failed: Traceback (most recent call last):
...
TypeError: a class that defines __slots__ without defining __getstate__ cannot be pickled

Cause

As a result of 'lve-stats' upgrade, the necessary files (e.g. lvestat.py) were removed. Its absence causes the error.

The behavior is caused by software issue #POA-108900.

The fix is planned to be included in one of the future product updates.

Workaround

Downgrade lve-stats and the depending packages:

yum downgrade lve-utils-1.5-2.35.el6.cloudlinux.x86_64 alt-python27-cllib-1.2-11.3.el6.cloudlinux.noarch lve-stats-0.10-51.el6.noarch

caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 5356b422f65bdad1c3e9edca5d74a1ae

Email subscription for changes to this article
Save as PDF