fun fact ? create a VDI in an ISO SR is possible
-
Hi,
We stumbled upon what I would call a lack of check.. or a bug ?
You can create a VDI of a VM in an ISO shared SR...
We did it unexpectedly..rpc("disk.create", { name, size, sr, vm: vm.id, bootable: false, mode: "RW", })disk.create name=<string> size=<integer|string> sr=<string> [vm=<string>] [bootable=<boolean>] [mode=<string>] [position=<string>] create a new disk on a SRthis is permitted, it should not ?
it was a 50Gb CIFS ISO SR, and we could create a 100GB VDI, appearing as a 100GB .img file in the SR



totally broken UI

in DISK tab of the VM :

and it is really an ISO SR !

should this not be prevented ?