GitHub user jvdbic created a discussion: CLVM(ng) enhanced and instance 
snapshots

With the enhanced CLVM implementation from 
https://github.com/apache/cloudstack/pull/12617 it's clearly noted that 
incremental snapshots are not supported.

However, I did not expect instance snapshots to not be supported either. On a 
machine with a single (root) CLVM_NG volume:

```
(localcloud) 🐱 > create vmsnapshot 
virtualmachineid=8a39d020-992e-4051-a13b-2ab498ef9845 name=test 
snapshotmemory=false
🙈 Error: (HTTP 530, error code 4350) Failed to create Instance Snapshot: VM 
snapshots are not yet supported on CLVM_NG storage pools. This feature will be 
available in a future release.
```

On a machine with a single (root) CLVM volume:

```
(localcloud) 🐱 > create vmsnapshot 
virtualmachineid=99afff26-b559-43ff-910f-17a6bce58824 name=test 
snapshotmemory=false
{
  "account": "admin",
  "accountid": "1ba81f53-5447-11f1-bac6-ce5970c26b75",
  "cmd": 
"org.apache.cloudstack.api.command.user.vmsnapshot.CreateVMSnapshotCmd",
  "completed": "2026-07-01T12:54:00+0000",
  "created": "2026-07-01T12:53:59+0000",
  "domainid": "e47c17dc-5446-11f1-bac6-ce5970c26b75",
  "domainpath": "ROOT",
  "jobid": "5321b33c-7da7-4d09-ad25-00e05020b063",
  "jobinstancetype": "VmSnapshot",
  "jobprocstatus": 0,
  "jobresult": {
    "errorcode": 530,
    "errortext": "Failed to create Instance Snapshot: [VMSnapshot 
{\"id\":13,\"name\":\"i-2-316-VM_VS_20260701125359\",\"uuid\":\"5adc7d4a-67da-464d-9d57-5309c7e70a2a\",\"vmId\":316}]
 due to: Can't find Instance Snapshot strategy for vmsnapshot: VMSnapshot 
{\"id\":13,\"name\":\"i-2-316-VM_VS_20260701125359\",\"uuid\":\"5adc7d4a-67da-464d-9d57-5309c7e70a2a\",\"vmId\":316}"
  },
  "jobresultcode": 530,
  "jobresulttype": "object",
  "jobstatus": 2,
  "userid": "1ba8869d-5447-11f1-bac6-ce5970c26b75"
}
```

This is a feature I hope would be implemented soon, but currently I'm not fully 
clear on what the direction for this would be. Does anyone have insights if 
instance snapshots would be supported in a future release as well?

GitHub link: https://github.com/apache/cloudstack/discussions/13523

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to