Article ID: 130008, created on Dec 15, 2016, last review on Apr 5, 2017

  • Applies to:
  • Operations Automation 7.0
  • Operations Automation 6.0
  • Operations Automation 5.5

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

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 to version 0.10-51:

yum downgrade lve-stats

Note: If you get this error when trying the above workaround:

Error: alt-python27-cllib conflicts with lve-stats-0.10-51.el6.noarch
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Try downgrading all depending packages with:

yum downgrade lve-stats-0.10-51.el6 alt-python27-cllib lve-utils

Search Words

Collect resources usage statistics

ImportError: No module named lvehelper

No module named lvehelper

-

During a patch

Cloudlinux moved to python 2.7 Odin scripts not working properly

0871c0b47b3b86ae3b1af4c2942cd0ce caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 5356b422f65bdad1c3e9edca5d74a1ae 1941880841f714e458ae4dc3d9f3062d 5b048d9bddf8048a00aba7e0bdadef37 2554725ed606193dd9bbce21365bed4e 956c448bddc7e1f3585373687602379f 6f1456866eed87488c0f02b298a741c0

Email subscription for changes to this article
Save as PDF