[openvps-dev] openvps-mon: ValueError: unpack list of wrong size

Gregory (Grisha) Trubetskoy grisha at ispol.com
Fri Jun 24 21:42:18 EDT 2005


Jen -

Most likely it calls vdlimit here and doesn't like its output. Before, 
vdlimit was a separate tool. Starting recently, it is included in 
util-vserver, but it takes different command-line arguments and produces 
different output. The latest versions of openvps are smart enough to deal 
with either, but the version that are pointed to in the openvps howto 
require the old vdlimit.

HTH,

Grisha

On Thu, 23 Jun 2005, Jen Carroll wrote:

> Hello...
>
> I am trying to get openvps up and running on my FC3 box and have run into a
> problem I can't solve. I have followed the how-to to the point of starting
> the virtual server. When I do this, this error appears repeatedly:
>
> Jun 22 21:35:02 test openvps-mon: Started.
> Jun 22 21:35:02 test openvps-mon: Traceback (most recent call last):
> Jun 22 21:35:02 test openvps-mon:   File "/usr/sbin/openvps-mon", line 205,
> in work     do_work()
> Jun 22 21:35:02 test openvps-mon:   File "/usr/sbin/openvps-mon", line 234,
> in do_work     vsmon.collect_stats()
> Jun 22 21:35:02 test openvps-mon:   File
> "/usr/lib/python2.3/site-packages/openvps/host/vsmon.py", line 278, in
> collect_stats     data.update(disk(xid))
> Jun 22 21:35:02 test openvps-mon:   File
> "/usr/lib/python2.3/site-packages/openvps/host/vsmon.py", line 184, in disk
> dl = vsutil.get_disk_limits(xid)
> Jun 22 21:35:02 test openvps-mon:   File
> "/usr/lib/python2.3/site-packages/openvps/host/vsutil.py", line 286, in
> get_disk_limits     key, val = line.split(': ')
> Jun 22 21:35:02 test openvps-mon: ValueError: unpack list of wrong size
> Jun 22 21:35:02 test openvps-mon: Exiting...
>
> I am not very familliar with python and don't know how to solve this
> problem. Can anyone point me in the right direction?
>
> Thanks
> Jen
>


More information about the dev mailing list