Proxmox VM Grpahs not updating

adamBB

New Member
Apr 29, 2015
9
0
1
Hi there

I have a little issue that the OpenVZ graphs (RRD) stopped udpating.

Here is my proxmox conf:

Code:
root@zh-px2:~# pveversion -v
proxmox-ve-2.6.32: 3.4-150 (running kernel: 2.6.32-37-pve)
pve-manager: 3.4-3 (running version: 3.4-3/2fc72fee)
pve-kernel-2.6.32-37-pve: 2.6.32-150
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.7-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.10-2
pve-cluster: 3.0-16
qemu-server: 3.4-3
pve-firmware: 1.1-4
libpve-common-perl: 3.0-24
libpve-access-control: 3.0-16
libpve-storage-perl: 3.0-32
pve-libspice-server1: 0.12.4-3
vncterm: 1.1-8
vzctl: 4.0-1pve6
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 2.2-8
ksm-control-daemon: 1.1-1
glusterfs-client: 3.5.2-1

I have tried the following:

Code:
[COLOR=#333333]# service pve-cluster restart[/COLOR]
[COLOR=#333333]# service pvestatd restart[/COLOR]
[COLOR=#333333]# service pvedaemon restart[/COLOR]

Still not working...

In the directory:
Code:
/var/lib/rrdcached/db/pve2-vm/

You can see only half of the OpenVZ VMs and they were all last updated 12 days ago.

I have even tried to reboot server. Still graphs not updating.

Any ideas?
 
Nothing special in syslog :(

but int he webUI I get these errors:

Code:
[B]Remote Address: [/B][FONT=Menlo]111.111.111.111:8006
[/FONT][B]Request URL: [/B][FONT=Menlo]https://111.111.111.111:8006/api2/png/nodes/zh-px2/openvz/103/rrd?ds=cpu&timeframe=hour&cf=AVERAGE&_dc=0
[/FONT][B]Request Method: [/B][FONT=Menlo]GET
[/FONT][B]Status Code: [/B][FONT=Menlo]500 RRD error: rrdc_flush (/var/lib/rrdcached/db/pve2-vm/103) failed with status -1.[/FONT]

And a bunch of other like that for the other graphs.

Any idea what I can do there?
 
is rrdcached running? What is the output of

# service rrdcached status

If stopped, try to start

# service rrdcached start
 
Seems it was alreayd running:

root@zh-px2:~# service rrdcached status
rrdcached (360664) is running.


I restarted anyways. But still nothing new?
Is there a way I can force to try to update the RRD files (I assume there is a cron somewhere?) if so I am sure when trying to do this ill be able to get some more debug feedback
 
What do you mean when you say "correct"?

Code:
root@zh-px2:~# date
Thu Apr 30 04:57:54 EDT 2015

Also do note that the RRD file in /var/lib/rrdcached/db/pve2-node dos get generated however non of the /var/lib/rrdcached/db/pve2-vm get generated?


Any ideas?

EDIT: Current this proxmox machine is not running in a cluster just by itself.
 
Code:
root@zh-px2:/var/lib/rrdcached/db/pve2-vm#  ls -l /var/lib/rrdcached/
total 8
drwxrwxrwx 5 root root 4096 Apr 16 05:44 db
drwxr-xr-x 2 root root 4096 Apr 30 05:17 journal

Is there a way to manually run the RRD generation?
 
The server was rebooted ~3 days ago and it did not fix the issue (which is older than 3 days)
The Proxmox machine is in production use currently so its pretty hard to do another reboot currently.
Is there anything else I can try?
Thank you for the help so far.