Hello
I have a 2 nodes cluster. I can´t migrate neither online nor offline some OpenVZ containers. I have no problem with VMs.
To solve the problem I disabled quotas in /etc/vz/vz.conf with the DISK_QUOTA=no directive and I restarted all CTs but the problem persist.
Should I restart the server to take effect disk quota option?
So, What can I do?
Thanks
I have the following message:
Dec 12 14:56:33 starting migration of CT 120 to node 'proxmox' (192.168.2.4)
Dec 12 14:56:33 starting rsync phase 1
Dec 12 14:56:33 # /usr/bin/rsync -aHAX --delete --numeric-ids --sparse /var/log/disco4/private/120 root@192.168.2.4:/var/log/disco4/private
Dec 12 14:56:34 dump 2nd level quota
Dec 12 14:56:34 # vzdqdump 120 -U -G -T > /var/log/disco4/dump/quotadump.120
Dec 12 14:56:34 ERROR: Failed to dump 2nd level quota: vzquota : (error) Can't open quota file for id 120, maybe you need to reinitialize quota: No such file or directory
Dec 12 14:56:34 aborting phase 1 - cleanup resources
Dec 12 14:56:34 removing copied files on target node
Dec 12 14:56:34 start final cleanup
Dec 12 14:56:34 ERROR: migration aborted (duration 00:00:02): Failed to dump 2nd level quota: vzquota : (error) Can't open quota file for id 120, maybe you need to reinitialize quota: No such file or directory
TASK ERROR: migration aborted
The outpup output of pveversion
root@proxmox:~# pveversion -v
pve-manager: 2.2-31 (pve-manager/2.2/e94e95e9)
running kernel: 2.6.32-11-pve
proxmox-ve-2.6.32: 2.2-82
pve-kernel-2.6.32-11-pve: 2.6.32-66
pve-kernel-2.6.32-16-pve: 2.6.32-82
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.4-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.93-2
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.9-1
pve-cluster: 1.0-33
qemu-server: 2.0-69
pve-firmware: 1.0-21
libpve-common-perl: 1.0-39
libpve-access-control: 1.0-25
libpve-storage-perl: 2.0-36
vncterm: 1.0-3
vzctl: 4.0-1pve2
vzprocps: 2.0.11-2
vzquota: 3.1-1
pve-qemu-kvm: 1.2-7
ksm-control-daemon: 1.1-1
root@proxmox:/etc/init.d# cat /etc/cluster/cluster.conf
<?xml version="1.0"?>
<cluster name="clusterklon" config_version="2">
<cman keyfile="/var/lib/pve-cluster/corosync.authkey">
</cman>
<clusternodes>
<clusternode name="proxklon" votes="1" nodeid="1"/>
<clusternode name="proxmox" votes="1" nodeid="2"/></clusternodes>
</cluster>
I have a 2 nodes cluster. I can´t migrate neither online nor offline some OpenVZ containers. I have no problem with VMs.
To solve the problem I disabled quotas in /etc/vz/vz.conf with the DISK_QUOTA=no directive and I restarted all CTs but the problem persist.
Should I restart the server to take effect disk quota option?
So, What can I do?
Thanks
I have the following message:
Dec 12 14:56:33 starting migration of CT 120 to node 'proxmox' (192.168.2.4)
Dec 12 14:56:33 starting rsync phase 1
Dec 12 14:56:33 # /usr/bin/rsync -aHAX --delete --numeric-ids --sparse /var/log/disco4/private/120 root@192.168.2.4:/var/log/disco4/private
Dec 12 14:56:34 dump 2nd level quota
Dec 12 14:56:34 # vzdqdump 120 -U -G -T > /var/log/disco4/dump/quotadump.120
Dec 12 14:56:34 ERROR: Failed to dump 2nd level quota: vzquota : (error) Can't open quota file for id 120, maybe you need to reinitialize quota: No such file or directory
Dec 12 14:56:34 aborting phase 1 - cleanup resources
Dec 12 14:56:34 removing copied files on target node
Dec 12 14:56:34 start final cleanup
Dec 12 14:56:34 ERROR: migration aborted (duration 00:00:02): Failed to dump 2nd level quota: vzquota : (error) Can't open quota file for id 120, maybe you need to reinitialize quota: No such file or directory
TASK ERROR: migration aborted
The outpup output of pveversion
root@proxmox:~# pveversion -v
pve-manager: 2.2-31 (pve-manager/2.2/e94e95e9)
running kernel: 2.6.32-11-pve
proxmox-ve-2.6.32: 2.2-82
pve-kernel-2.6.32-11-pve: 2.6.32-66
pve-kernel-2.6.32-16-pve: 2.6.32-82
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.4-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.93-2
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.9-1
pve-cluster: 1.0-33
qemu-server: 2.0-69
pve-firmware: 1.0-21
libpve-common-perl: 1.0-39
libpve-access-control: 1.0-25
libpve-storage-perl: 2.0-36
vncterm: 1.0-3
vzctl: 4.0-1pve2
vzprocps: 2.0.11-2
vzquota: 3.1-1
pve-qemu-kvm: 1.2-7
ksm-control-daemon: 1.1-1
root@proxmox:/etc/init.d# cat /etc/cluster/cluster.conf
<?xml version="1.0"?>
<cluster name="clusterklon" config_version="2">
<cman keyfile="/var/lib/pve-cluster/corosync.authkey">
</cman>
<clusternodes>
<clusternode name="proxklon" votes="1" nodeid="1"/>
<clusternode name="proxmox" votes="1" nodeid="2"/></clusternodes>
</cluster>