Bug: pvedaemon - WARNING: unable to parse line

tux

Member
Jul 21, 2009
54
0
6
Hi,

after upgrade from 1.4 to 1.5 i have this warning in my syslog:

Code:
Feb 8 18:43:59     pvedaemon    12986     WARNING: unable to parse line: 900001101:openvz:28:running:xxx.xxx.xxx.xxx:xxx.xxx.xxx.xxx:123:768:571:2048:0:10252:: at /usr/share/perl5/PVE/Config.pm line 449, <GEN5936> line 7.
Feb 8 18:43:59     pvedaemon    12986     WARNING: unable to parse line: 900001102:openvz:79:running:xxx.xxx.xxx.xxx:xxx.xxx.xxx.xxx:435:768:752:2048:0:10235:: at /usr/share/perl5/PVE/Config.pm line 449, <GEN5936> line 8.
The source :

Code:
    if ($line =~ m/^(\d+):([a-z]+):(\d+):(\S+):(\S+):(\S+):(\d+):(\d+):(\d+):(\d+):(\d+):(\d+):(\d+):$/) {
        my $d = {};
        $d->{type} = $2;
        $d->{nproc} = $3;
        $d->{status} = $4;
        $d->{ip} = $5;
        $d->{name} = $6;
        $d->{mem} = $7;
        $d->{maxmem} = $8;
        $d->{disk} = $9;
        $d->{maxdisk} = $10;
        $d->{pctcpu} = $11;
        $d->{uptime} = $12;
        $d->{relcpu} = $13;
        
        $res->{"CID_$cid"}->{"VEID_$1"} = $d;
    } else {
        warn "unable to parse line: $line";
    }
I think, the regexp is not correct at $d->{relcpu} - no relcpu is saved.
 
I think, the regexp is not correct at $d->{relcpu} - no relcpu is saved.

relcpu is always saved - I have nod idea why it does not contain any value at your installation.

What is the output of

# pveversion -v
 
Code:
system1:~# pveversion -v
pve-manager: 1.5-6 (pve-manager/1.5/4655)
running kernel: 2.6.18-2-pve
proxmox-ve-2.6.18: 1.5-5
pve-kernel-2.6.18-2-pve: 2.6.18-5
pve-kernel-2.6.24-8-pve: 2.6.24-16
qemu-server: 1.1-11
pve-firmware: 1.0-3
libpve-storage-perl: 1.0-9
vncterm: 0.9-2
vzctl: 3.0.23-1pve8
vzdump: 1.2-5
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm-2.6.18: 0.9.1-5
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!