Hi all,
I am currently testing iSCSI with Proxmox VE 1.5 and kernel 2.6.32.
I followed the wiki 'Use iSCSI LUN for LVM base', to add a LVM group on an iSCSI target. It succeded and I indeed see a storage, iscsi-test, type LVM, with a capacity of 929 GB.
Then I tried to install a VM (KVM) on this storage, a CentOS 5.4 64 bits, but it crashed after package selection. It will be perhaps the subject of another thread.
Then I tried an Ubuntu Server 8.04 64 bits, and this one succeded. I had network and was able to connect via ssh.
Next test was to try to migrate the VM to another server connected to the iSCSI storage, but it complained about missing open-issci package. So I installed it, and discovered the targets :
# apt-get install open-iscsi
hertz:~# iscsiadm -m discovery -t sendtargets -p 192.168.2.1
192.168.2.1:3260,1 iqn.2010-1.fr.upmc.lpp:RAID.iscsi0.vg0.isgi
192.168.2.1:3260,1 iqn.2010-1.fr.upmc.lpp:RAID.iscsi1.vg0.vmtest
First question : why the open-iscsi package is not installed by default on the slave node, as it is on the master node ? An iSCSI target is meant to be shared...
Then live migration succeedded within a few seconds (7). But I was unable to connect by ssh. I migrated it back to the original server, but was still unable to connect via ssh, and more problematic, via VNC interface.
I tried to restart the VM (109) but it stayed in the state 'restarting' and after a few minutes, if it was visible in the web interface, I coulde no more interact with this machine, nor edit his settings. So I can not even remove the machine.
With command line, I get :
srv-kvm1:~# qm shutdown 109
trying to aquire lock...got timeout
On the other server, I get :
hertz:~# qm shutdown 109
unable to read config for VM 109
So I think it is a lock problem.
How I can fix it ?
Here is my configuration :
srv-kvm1:~# pveversion -v
pve-manager: 1.5-5 (pve-manager/1.5/4627)
running kernel: 2.6.32-1-pve
proxmox-ve-2.6.32: 1.5-4
pve-kernel-2.6.32-1-pve: 2.6.32-4
pve-kernel-2.6.24-9-pve: 2.6.24-18
pve-kernel-2.6.24-8-pve: 2.6.24-16
qemu-server: 1.1-11
pve-firmware: 1.0-3
libpve-storage-perl: 1.0-8
vncterm: 0.9-2
vzctl: 3.0.23-1pve8
vzdump: 1.2-5
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.11.1-2
ksm-control-daemon: 1.0-2
Thanks for your help
I am currently testing iSCSI with Proxmox VE 1.5 and kernel 2.6.32.
I followed the wiki 'Use iSCSI LUN for LVM base', to add a LVM group on an iSCSI target. It succeded and I indeed see a storage, iscsi-test, type LVM, with a capacity of 929 GB.
Then I tried to install a VM (KVM) on this storage, a CentOS 5.4 64 bits, but it crashed after package selection. It will be perhaps the subject of another thread.
Then I tried an Ubuntu Server 8.04 64 bits, and this one succeded. I had network and was able to connect via ssh.
Next test was to try to migrate the VM to another server connected to the iSCSI storage, but it complained about missing open-issci package. So I installed it, and discovered the targets :
# apt-get install open-iscsi
hertz:~# iscsiadm -m discovery -t sendtargets -p 192.168.2.1
192.168.2.1:3260,1 iqn.2010-1.fr.upmc.lpp:RAID.iscsi0.vg0.isgi
192.168.2.1:3260,1 iqn.2010-1.fr.upmc.lpp:RAID.iscsi1.vg0.vmtest
First question : why the open-iscsi package is not installed by default on the slave node, as it is on the master node ? An iSCSI target is meant to be shared...
Then live migration succeedded within a few seconds (7). But I was unable to connect by ssh. I migrated it back to the original server, but was still unable to connect via ssh, and more problematic, via VNC interface.
I tried to restart the VM (109) but it stayed in the state 'restarting' and after a few minutes, if it was visible in the web interface, I coulde no more interact with this machine, nor edit his settings. So I can not even remove the machine.
With command line, I get :
srv-kvm1:~# qm shutdown 109
trying to aquire lock...got timeout
On the other server, I get :
hertz:~# qm shutdown 109
unable to read config for VM 109
So I think it is a lock problem.
How I can fix it ?
Here is my configuration :
srv-kvm1:~# pveversion -v
pve-manager: 1.5-5 (pve-manager/1.5/4627)
running kernel: 2.6.32-1-pve
proxmox-ve-2.6.32: 1.5-4
pve-kernel-2.6.32-1-pve: 2.6.32-4
pve-kernel-2.6.24-9-pve: 2.6.24-18
pve-kernel-2.6.24-8-pve: 2.6.24-16
qemu-server: 1.1-11
pve-firmware: 1.0-3
libpve-storage-perl: 1.0-8
vncterm: 0.9-2
vzctl: 3.0.23-1pve8
vzdump: 1.2-5
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.11.1-2
ksm-control-daemon: 1.0-2
Thanks for your help