about cluster cloud-init in migrate error

haiwan

Active Member
Apr 23, 2019
234
1
38
36
2020-05-27 12:28:32 copying disk images
2020-05-27 12:28:32 starting VM 116 on remote node 'pve21'
2020-05-27 12:28:33 error with cfs lock 'storage-ceph-vm': rbd create vm-116-cloudinit' error: rbd: create error: (17) File exists
2020-05-27 12:28:33 ERROR: online migrate failure - command '/usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=pve21' root@192.168.100.21 qm start 116 --skiplock --migratedfrom pve20 --migration_type secure --stateuri unix --machine pc-i440fx-3.0' failed: exit code 255
2020-05-27 12:28:33 aborting phase 2 - cleanup resources
2020-05-27 12:28:33 migrate_cancel
2020-05-27 12:28:34 ERROR: migration finished with problems (duration 00:00:02)
TASK ERROR: migration problems
we just want remove this vm from cluster pve21 to pve22 .but happen error and task stop.
because we use cloud-init config ip address. use agent config ip addreee we still faile. no get good guide. tks
 
Hi,
could you share the VM configuration file /etc/pve/nodes/pve21/qemu-server/116.conf and your storage configuration /etc/pve/storage.cfg? Could you also share the exact command you used for the migration (or the parameters if you used the GUI)?
 
Hi,
could you share the VM configuration file /etc/pve/nodes/pve21/qemu-server/116.conf and your storage configuration /etc/pve/storage.cfg? Could you also share the exact command you used for the migration (or the parameters if you used the GUI)?
Code:
root@pve20:~# cat /etc/pve/nodes/pve20/qemu-server/116.conf
bootdisk: scsi0
cores: 1
ide0: ceph-vm:vm-116-cloudinit,media=cdrom,size=4M
ide2: none,media=cdrom
ipconfig0: ip=103.214.69.10/25,gw=103.214.69.1
memory: 4096
name: VM116
net0: virtio=4E:F1:82:6D:D7:4B,bridge=vmbr0,firewall=1,rate=10
numa: 0
ostype: l26
scsi0: ceph-vm:vm-116-disk-0,size=32G
scsihw: virtio-scsi-pci
smbios1: uuid=e01e4c73-46f1-47c8-af79-288fdf6b7462
sockets: 2
vmgenid: af47c000-eb0c-48e8-8991-ca4593cd6916
Code:
root@pve20:~# cat /etc/pve/storage.cfg
dir: local
        path /var/lib/vz
        content iso,backup,vztmpl

lvmthin: local-lvm
        thinpool data
        vgname pve
        content rootdir,images

rbd: ceph-vm
        content images
        krbd 0
        pool pveceph-vm
        
        root@pve21:~# cat /etc/pve/storage.cfg
dir: local
        path /var/lib/vz
        content iso,backup,vztmpl

lvmthin: local-lvm
        thinpool data
        vgname pve
        content rootdir,images

rbd: ceph-vm
        content images
        krbd 0
        pool pveceph-vm
 
we have update new version resolve.
tks. and i wish get about agent how to config ip demo , because doc no full and clear.
tks
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!