[Users] trouble with veth device in combination with long veid
Nils Domrose
nils at domrose.net
Wed Jun 6 11:14:57 EDT 2007
Hi,
we are facing a problem with veth device in combination with long veids.
if we configure a veth device as described in the wiki, we are unable
to start that VE with the following error:
xnetadm:/etc/vz/conf# vzctl start 249104
Starting VE ...
VE is mounted
Setting CPU units: 23945
Configure meminfo: 655360
Set hostname: vz-netnagios
File resolv.conf was modified
Configure veth devices: veth104.0
debug veid 24910 vznetcfg
debug veid 24910 vznetaddroute
/usr/sbin/vznetaddroute: line 6: /etc/vz/conf/24910.conf: No such
file or directory
According to /etc/vz/conf/24910.conf VE has no veth IPs configured.
/usr/sbin/vznetcfg exited with error
VE start failed
Stopping VE ...
VE was stopped
VE is unmounted
Note that we are echoing the $VEID in vznetcfg and vznetaddroute for
debugging reasons and we noticed that the last character is cut off.
This is also the reason why the scripts fail. We have not yet fihured
out if vznetcfg is called by vzctl directly.
This does not happen if we use a shorter veid like 104.
Maybe someone has an idea what is causing the issue.
Here is the vzctl log output.
2007-06-06T16:23:28+0200 vzctl : VE 249104 : Starting VE ...
2007-06-06T16:23:28+0200 vzctl : VE 249104 : VE is mounted
2007-06-06T16:23:28+0200 vzctl : VE 249104 : Setting CPU units: 23945
2007-06-06T16:23:28+0200 vzctl : VE 249104 : Configure meminfo: 655360
2007-06-06T16:23:28+0200 vzctl : VE 249104 : Set hostname: vz-netnagios
2007-06-06T16:23:28+0200 vzctl : VE 249104 : File resolv.conf was
modified
2007-06-06T16:23:28+0200 vzctl : VE 249104 : Configure veth devices:
veth104.0
2007-06-06T16:23:28+0200 vzctl : VE 249104 : /usr/sbin/vznetcfg
exited with error
2007-06-06T16:23:28+0200 vzctl : VE 249104 : VE start failed
2007-06-06T16:23:28+0200 vzctl : VE 249104 : Stopping VE ...
2007-06-06T16:23:28+0200 vzctl : VE 249104 : VE was stopped
2007-06-06T16:23:29+0200 vzctl : VE 249104 : VE is unmounted
kernel version:
Linux xnetadm 2.6.18-028stab033.1-ovz-smp #1 SMP Thu May 31 10:29:27
CEST 2007 x86_64 GNU/Linux
vzctl version:
xnetadm:/usr/lib/vzctl/scripts# vzctl --version
vzctl version 3.0.16-5dso1
Nils
More information about the Users
mailing list