Announcement

Collapse
No announcement yet.

lvestats error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • lvestats error

    During last update I think, the following error is generated in /var/log/lve-stats.log:
    2016-12-13 01:44:50,818: (main_loop.plugin_executor.process) [ERROR] Other exception during execution of plugin
    Traceback (most recent call last):
    File "/opt/alt/python27/lib/python2.7/site-packages/lvestats/eventloop/plugin_executors.py", line 196, in _in_separate_process
    plugin_instance.execute(lve_data)
    File "/opt/alt/python27/lib/python2.7/site-packages/lvestats/plugins/generic/dbsaver_x60.py", line 117, in execute
    self.aggregate_new(dt_x1_max, dt_x1_min, dt_x60_max)
    File "/opt/alt/python27/lib/python2.7/site-packages/lvestats/plugins/generic/dbsaver_x60.py", line 137, in aggregate_new
    self.aggregate_db_data_by_hours(dt_x60_max, dt_x1_max)
    File "/opt/alt/python27/lib/python2.7/site-packages/lvestats/plugins/generic/dbsaver_x60.py", line 76, in aggregate_db_data_by_hours
    one_insert_values[cpu] *= 100
    TypeError: unsupported operand type(s) for *=: NoneType and int
    2016-12-13 01:44:51,843: (main.loop) [ERROR] Error during execution of /opt/alt/python27/lib/python2.7/site-packages/lvestats/plugins/generic/dbsaver_x60.pyBSaverX60
    Traceback (most recent call last):
    File "/opt/alt/python27/lib/python2.7/site-packages/lvestats/eventloop/main_loop.py", line 98, in run
    self.executor.execute(plugin, now, timeout)
    File "/opt/alt/python27/lib/python2.7/site-packages/lvestats/eventloop/plugin_executors.py", line 372, in execute
    raise PluginExecutionException(ex)
    PluginExecutionException: unsupported operand type(s) for *=: NoneType and int
    2016-12-13 01:44:51,879: (init_db_engine) [INFO] Connecting to database: sqlite
    Similar errors are generated in /var/log/messages:
    Dec 13 01:47:27 lve-stats: (main.loop) [ERROR] Error during execution of /opt/alt/python27/lib/python2.7/site-packages/lvestats/plugins/generic/dbsaver_x60.pyBSaverX60#012Traceback
    (most recent call last):#012 File "/opt/alt/python27/lib/python2.7/site-packages/lvestats/eventloop/main_loop.py", line 98, in run#012 self.executor.execute(plugin, now, timeout)#012
    File "/opt/alt/python27/lib/python2.7/site-packages/lvestats/eventloop/plugin_executors.py", line 372, in execute#012 raise PluginExecutionException(ex)
    #012PluginExecutionException: unsupported operand type(s) for *=: NoneType and int

    Dec 13 01:47:31 lve-stats: (main_loop.plugin_executor.process) [ERROR] Other exception during execution of plugin
    #012Traceback (most recent call last):#012 File "/opt/alt/python27/lib/python2.7/site-packages/lvestats/eventloop/plugin_executors.py", line 196, in _in_separate_process#012
    plugin_instance.execute(lve_data)#012 File "/opt/alt/python27/lib/python2.7/site-packages/lvestats/plugins/generic/dbsaver_x60.py", line 117, in execute#012
    self.aggregate_new(dt_x1_max, dt_x1_min, dt_x60_max)#012 File "/opt/alt/python27/lib/python2.7/site-packages/lvestats/plugins/generic/dbsaver_x60.py", line 137,
    in aggregate_new#012 self.aggregate_db_data_by_hours(dt_x60_max, dt_x1_max)#012 File "/opt/alt/python27/lib/python2.7/site-packages/lvestats/plugins/generic/dbsaver_x60.py",
    line 76, in aggregate_db_data_by_hours#012 one_insert_values[cpu] *= 100#012TypeError: unsupported operand type(s) for *=: NoneType and intI tried restarting lvestats but nothing changed. Version of lve-stats is

    lve-stats.noarch 2.4-6.el6 @cloudlinux-x86_64-server-6

    Before the update version was 0.10-51.el6:

    [2016-12-09 03:04:32 -0500] [135739] ---> Package lve-stats.noarch 0:0.10-51.el6 will be updated
    [2016-12-09 03:04:32 -0500] [135739] ---> Package lve-stats.noarch 0:2.4-6.el6 will be an update

    Is there someone else with similar errors or know resolution of the problem?

  • #2
    I think I fixed the problem by downgrade the module to version 0.10 and then upgrade it again. Now the errors don appear in logs.

    Comment


    • #3
      The error should be fixed for good in beta package released today. Most probably you updated to it already.

      Comment

      Working...
      X