vzmigrate -script contains wrong paths to gentoo distribution. Reproducible: Always
Which ebuild and version is this about? Which wrong paths, you get some errors, or?
Well, look at: script vzmigrate at variables confdir and vzconf confdir="/etc/sysconfig/vz-scripts" vzconf="/etc/sysconfig/vz" Gentoo uses /etc/vz by default, not /etc/sysconfig/* , it spill out error, if you try to use it I changed it to /etc/vz/ and it worked, but still get some error. vzctl is version 3.0.0.8 which is latest stable.
(In reply to comment #2) > Well, look at: I really can't have a look if I even don't know which ebuild is this about; please don't assume that everyone must be familiar with some weird cluster stuff next time.
ok. my patch follows, don't know if it still works correctly, but it worked better on my system. If paths are incorrect, it does not work at all. vz is virtualmachine, not clustering stuff. vzmigrate is stuff where you can move node to other vz machine, online or offline. --- /usr/sbin/vzmigrate.backup 2006-12-13 21:31:50.000000000 +0200 +++ /usr/sbin/vzmigrate 2007-05-29 21:33:39.000000000 +0300 @@ -61,8 +61,8 @@ keep_dst=0 debug=0 out="/dev/null" -confdir="/etc/sysconfig/vz-scripts" -vzconf="/etc/sysconfig/vz" +confdir="/etc/vz" +vzconf="/etc/vz" tmpdir="/var/tmp" # Errors:
just a little note, I am not *vz* guru, just run one of vz boxes on top of gentoo and this night I migrate it to other node. It worked with this modification
Could you please try the latest stable and see if it works for you in that regard ? Thanks.