<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.18.1">
</HEAD>
<BODY>
Hi,<BR>
<BR>
I found a strange thing with vzmigrate.<BR>
When I migrated a VE to an other node, the process destroyed the source, even I specified to keep the original one.<BR>
<BR>
I patched /usr/sbin/vzmigrate to avoid the legendary missing ']'.<BR>
I did not download the git version, because as I browsed the changelog, I did not find this problem in the descriptions.<BR>
(Anyway, this commit should win the competition: <A HREF="http://git.openvz.org/?p=vzctl;a=commitdiff;h=e0961ad15b8a6283f3a6dc1f2ef34ea6ef63905b">http://git.openvz.org/?p=vzctl;a=commitdiff;h=e0961ad15b8a6283f3a6dc1f2ef34ea6ef63905b</A> <BR>
It is really good ;)<BR>
<BR>
<BR>
Well, let's see the complete process (documentary):<BR>
<BR>
fujitsu / # vzlist -a<BR>
VEID NPROC STATUS IP_ADDR HOSTNAME <BR>
100 - stopped 10.0.1.100 gentoove <BR>
fujitsu / # vzmigrate -r no -v 192.168.0.200 100<BR>
OPT:-r<BR>
OPT:-v<BR>
OPT:192.168.0.200<BR>
Starting migration of VE 100 on 192.168.0.200<BR>
* status: started<BR>
Loading /etc/vz/vz.conf and /etc/vz/conf/100.conf files<BR>
Check IPs on destination node: 10.0.1.100<BR>
Preparing remote node<BR>
Copying config file<BR>
100.conf 100% 1208 1.2KB/s 00:00 <BR>
Name GentooVEi686 assigned<BR>
Saved parameters for VE 100<BR>
Creating remote VE root dir<BR>
Creating remote VE private dir<BR>
Initializing remote quota<BR>
Quota init<BR>
Turning remote quota on<BR>
Syncing private<BR>
Syncing 2nd level quota<BR>
Dumping 2nd level quota<BR>
Copying 2nd level quota<BR>
quotadump.100 100% 21 0.0KB/s 00:00 <BR>
Load 2nd level quota<BR>
Turning quota off<BR>
Cleanup<BR>
fujitsu / # vzlist -a<BR>
VEID NPROC STATUS IP_ADDR HOSTNAME <BR>
fujitsu / #<BR>
<BR>
<BR>
The version of vzctl:<BR>
<BR>
fujitsu / # eix vzctl<BR>
[I] sys-cluster/vzctl<BR>
Available versions: 3.0.18-r1 3.0.22 {bash-completion logrotate}<BR>
Installed versions: 3.0.22(10:37:34 02/03/08)(logrotate -bash-completion)<BR>
Homepage: <A HREF="http://openvz.org/">http://openvz.org/</A><BR>
Description: OpenVZ VE control utility<BR>
<BR>
My question, is this a new bug or I missed something?<BR>
<BR>
Cheers,<BR>
István<BR>
<BR>
<BR>
<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
--
BSA. Mert megérdemlitek.
Open Source. Mert megérdemlem.
--
BSA. They value it.
Open Source. The value. It.
--
<A HREF="http://www.osbusiness.hu">http://www.osbusiness.hu</A>
</PRE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>