I have template with disk in local storage DISK_TYPE=FILE. Image is download from another DS (ceph) via ssh deploy mode. I created VM with it and it’s fine. Next. I’m trying to add custom image from ceph storage (other tm_mad, tm_mad_system, datastore). I don’t find it in Sunstone so i was tried via pyone. Unfortunately it’s not working and i still can’t add new image.
id = 427 disk='DISK=[IMAGE_ID=147, CLONE=YES, CLONE_TARGET=SELF, DISCARD=unmap, IO=native, SIZE=2048, TM_MAD=ceph, TM_MAD_SYSTEM=ceph,TYPE=RBD, DISK_TYPE=RBD,LN_TARGET=NONE,ATTACH=YES,CACHE=none]' con.one.vm.attach(id,disk)
Command not return any error but my disk is still FILE.
There is any way to add disk at Ceph to VM with main disk local?