proxmox-operator icon indicating copy to clipboard operation
proxmox-operator copied to clipboard

import-from with vm disks

Open AlinaNova21 opened this issue 2 years ago • 0 comments

Proxmox's API supports a special import-from option for disks, I am able to make it work by using options

options:
  scsi0: vms:0,import-from=vms:vm-9999-disk-0

But once proxmox takes over, it swaps the value for the created disk, causing another update as the operator tries to sync again, this results in a loop of disks being created. I've got a hacky workaround where I wait for the initial creation then swap the value.

It would be nice if this had builtin support, or a way to ignore fields (in this case scsi0) for the out of sync check.

AlinaNova21 avatar Sep 22 '23 23:09 AlinaNova21