Sheepdog storage image migration/creation bug

Toshik

Member
Jun 13, 2012
22
0
21
Hello!

I have encountered strange bug in storage migration system (or gui?)

I have VM with two HDD:
vm-500-disk-1
vm-500-disk-2

I have migrated "vm-500-disk-1" to sheepdog storage, now I click on "vm-500-disk-2" and start migration.
Here is error:
Code:
[COLOR=#000000][FONT=tahoma]create full clone of drive virtio1 (local:500/vm-500-disk-2.raw)[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]TASK ERROR: storage migration failed: sheepdog create vm-500-disk-1' error: Failed to create VDI vm-500-disk-1: VDI exists already[/FONT][/COLOR]

It seems that Proxmox trying to migrate wrong image

Update:

Also I can't create second HDD on sheepdog storage:
Code:
sheepdog create vm-112-disk-1' error: Failed to create VDI vm-112-disk-1: VDI exists already (500)

Here I add "vm-112-disk-2", but Proxmox tries to add "vm-112-disk-1"
 
Last edited:
Re: Live storage migration bug

Yes, I have refreshed it. Tried other VMs with 2 HDD configuration - same error
Tried other cluster nodes - same error
 
Re: Live storage migration bug

Also I can't create second HDD on sheepdog storage:
sheepdog create vm-112-disk-1' error: Failed to create VDI vm-112-disk-1: VDI exists already (500)

Here I add "vm-112-disk-2", but Proxmox tries to add "vm-112-disk-1"
 
Re: Live storage migration bug

Hi,

I can't reproduce it here, it's working fine.
(sheepdog 0.6 - last pve).

Can you post the result of "collie vdi list" command ?

Here it is:

Code:
#collie vdi list
  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
  vm-108-disk-1     0  8.0 GB  1.1 GB  0.0 MB 2013-06-20 14:35   943022     2   
  vm-112-disk-1     0  8.0 GB  1.2 GB  0.0 MB 2013-06-20 13:30   b58a3b     2   
  vm-107-disk-1     0  4.0 GB  1.9 GB  0.0 MB 2013-06-20 13:35   d17c91     2   
  vm-500-disk-1     0  8.0 GB  4.0 GB  0.0 MB 2013-06-20 17:36   ea1176     2   
  vm-109-disk-1     0  6.0 GB  3.3 GB  0.0 MB 2013-06-20 17:23   fc0d17     2

/Also attached info to issue in Bugzilla