Article ID: 126898, created on Sep 15, 2015, last review on Sep 15, 2015

  • Applies to:
  • Operations Automation

Symptoms

Task for statistic collection failed:

Task ID 4828994
Task name   Collect resources usage statistics from Webserver #6132
Task description Collect resources usage statistics from Webserver #6132
Parent task ID  545
Queue status     Failed
Start not earlier than  December 03, 2013 18:05
Method name taskCollectResUsageFromWebserver on OBJREF:H2EClusterRegistrar:0:H2EResourceManager:0
Last execution output   Failed to read statistics from server

The following details can be found in /var/log/poa.debug.log:

Dec  3 18:05:18 osscore : DBG [1:22994:b3af0b90:1100746 1:23119:b1182b90 WebClustersc]: [task:4828994 H2E::H2EResourceManager_impl::task
CollectResUsageFromWebserver] Failed to read /proc/lve/usage
Dec  3 18:05:18 osscore : TRC [1:22994:b45fbb90:1066868 1:23155:af1eeb90 VPSManager]: <ns4:address>
Dec  3 18:05:18 osscore : TRC [1:22994:b45fbb90:1066868 1:23155:af1eeb90 VPSManager]: <ns4:netmask>255.255.240.0</ns4:netmask>
Dec  3 18:05:18 osscore : DBG [1:22994:b3af0b90:1100746 1:23119:b1182b90 lib]: [task:4828994 H2E::H2EResourceManager_impl::taskCollectResUsageFromWebserver] {module_id="H2E"; code="3"} Failed to read statistics from server
Dec  3 18:05:18 osscore : TRC [1:22994:b45fbb90:1066868 1:23155:af1eeb90 VPSManager]: <ns4:ip>40.50.68.79</ns4:ip>
Dec  3 18:05:18 osscore : TRC [1:22994:b45fbb90:1066868 1:23155:af1eeb90 VPSManager]: </ns4:address>
Dec  3 18:05:18 osscore : DBG [1:22994:b3af0b90:1100746 1:23119:b1182b90 WebClustersc]: [task:4828994 H2E::H2EResourceManager_impl::taskCollectResUsageFromWebserver] <=== EXIT (by exception) [0.032160]

Cause

lveusage file was not generated by LVE:

ls -al /proc/lve/usage
ls: /proc/lve/usage: No such file or directory

Resolution

1.Restart lvestats and lvectl service:

# /etc/init.d/lvestats restart
Stopping lvestats:                                         [  OK  ]
Starting lvestats:                                         [  OK  ]
# /etc/init.d/lvectl restart
Stopping lvectl:                                           [  OK  ]
Starting lvectl:                                           [  OK  ]

then restart the failed task. If it does not help, reboot the server and try to re-run the task again.

Search Words

lvestats

Failed to read statistics from server

caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 5356b422f65bdad1c3e9edca5d74a1ae

Email subscription for changes to this article
Save as PDF