Here are some notes on how to trigger various driver scripts:
Used in various places. Storage -> Images -> Clone
Storage -> Images -> Add Image -> Type: Readonly CD-ROM Datastore: linstor datastore
- Path from server Path: path to an uploaded iso on the server
-- Advance BUS: SCSI
???
Storage -> Images -> Add Image -> Type: Generic storage datablock Datastore: linstor datastore Persistent: yes
- Empty disk image
-- Advance BUS: virtio Image mapping driver: qcow2
Periodically called
Storage -> Images -> Trash symbol
Image needs to be unused and has snapshots.
Storage -> Images -> select image -> Snapshots -> delete
Image needs to be unused and has snapshots.
Storage -> Images -> select image -> Snapshots -> flatten
Image needs to be unused and has snapshots.
Storage -> Images -> select image -> Snapshots -> revert
Most of these functions will only be trigger if run in an linstor system datastore
???
Instantiate or migrate/live migrate a running VM to another host
Instances -> VM -> Running VM -> Storage -> Actions -> SaveAs(Disk symbol)
Instances -> VM -> Trash symbol
Instantiate a new VM with a image attached Or attaching a image to a VM
Periodically called
Migrate offline VM to another host
Detach image from VM
Live migrate VM
Live migrate VM
Called if a KVM migrate command failed, used for cleanup premigrate stuff
Instances -> VM -> (Running) VM -> Storage -> Actions -> resize
Instances -> VM -> Powered off VM -> Storage -> Actions -> snapshot
???
Instances -> VM -> Powered off VM -> Storage -> Actions -> delete snapshot
Instances -> VM -> Powered off VM -> Storage -> Actions -> revert to snapshot
Add a volatile disk to an VM and instantiate
Add a volatile non swap disk to an VM and instantiate