apache / apache/cloudstack

Snapshot Request failed. (431)

Offen
#12,080 6 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
status:needs-investigation
Vorherrschende Sprache
Java
Sterne
3.1k
Forks
1.4k
Ø Merge
6 T. 19 Std.
Gemergte PRs (30 T.)
32

Beschreibung

### problem

When trying to take a Volume Snapshot from an Instance Snapshot a error ```Request failed. (431)
Cannot perform this operation, unsupported VM snapshot type.``` is thrown.

Detailed message from the management-server.log

```2025-11-14 08:05:07,308 DEBUG [c.c.a.ApiServlet] (qtp1438988851-5668:[ctx-e91e0099]) (logid:aef6a687) ===START=== 2a02:cd8:aee:40:ac69:f1d1:ec68:e5e6 -- POST
command=createSnapshotFromVMSnapshot
response=json
name=filesystem
volumeid=0fc1970c-cb19-4951-9302-5d39eb081228
vmsnapshotid=7e9e742f-e91d-47b0-b520-c4e03d16e9d7
sessionkey=iV5uiXxxAz-L4VPr7q5U0lNKgNU

2025-11-14 08:05:07,308 DEBUG [c.c.a.ApiServlet] (qtp1438988851-5668:[ctx-e91e0099]) (logid:aef6a687) Two factor authentication is already verified for the user 2, so skipping
2025-11-14 08:05:07,311 DEBUG [c.c.a.ApiServer] (qtp1438988851-5668:[ctx-e91e0099, ctx-2765e599]) (logid:aef6a687) CIDRs from which account 'Account [{"accountName":"admin","id":2,"uuid":"76d6398e-8fc0-11f0-8bb8-02eebb877a77"}]' is allowed to perform API calls: 0.0.0.0/0,::/0
2025-11-14 08:05:07,312 INFO [o.a.c.a.DynamicRoleBasedAPIAccessChecker] (qtp1438988851-5668:[ctx-e91e0099, ctx-2765e599]) (logid:aef6a687) Account for user id 76d67b18-8fc0-11f0-8bb8-02eebb877a77 is Root Admin or Domain Admin, all APIs are allowed.
2025-11-14 08:05:07,312 DEBUG [o.a.c.a.StaticRoleBasedAPIAccessChecker] (qtp1438988851-5668:[ctx-e91e0099, ctx-2765e599]) (logid:aef6a687) RoleService is enabled. We will use it instead of StaticRoleBasedAPIAccessChecker.
2025-11-14 08:05:07,312 DEBUG [o.a.c.r.ApiRateLimitServiceImpl] (qtp1438988851-5668:[ctx-e91e0099, ctx-2765e599]) (logid:aef6a687) API rate limiting is disabled. We will not use ApiRateLimitService.
2025-11-14 08:05:07,323 DEBUG [o.a.c.e.o.VolumeOrchestrator] (qtp1438988851-5668:[ctx-e91e0099, ctx-2765e599]) (logid:aef6a687) Found [0] snapshots [[]] that have checkpoints for volume with id [42].
2025-11-14 08:05:07,325 INFO [c.c.a.ApiServer] (qtp1438988851-5668:[ctx-e91e0099, ctx-2765e599]) (logid:aef6a687) Cannot perform this operation, unsupported VM snapshot type.
2025-11-14 08:05:07,325 DEBUG [c.c.a.ApiServlet] (qtp1438988851-5668:[ctx-e91e0099, ctx-2765e599]) (logid:aef6a687) ===END=== 2a02:cd8:aee:40:ac69:f1d1:ec68:e5e6 -- POST
```

Image

Creating only a Volume Snapshot from a stopped VM is possible.

### versions

Cloudstack: 4.22.00
KVM: QEMU emulator version 8.2.2 (Debian 1:8.2.2+ds-0ubuntu1.10)
HostOS: Ubuntu 24.04.3 LTS (6.8.0-87-generic)

### The steps to reproduce the bug

1. Take a Instance Snapshot
2. Change to Instance Snapshots
3. Try to "Create Snapshot from Instance Snapshot"
4. Error message ```Request failed. (431)
Cannot perform this operation, unsupported VM snapshot type.``` pops up

### What to do about it?

_No response_

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne damit, die createSnapshotFromVMSnapshot-API-Anfrage und den im management-server.log gezeigten VolumeOrchestrator-Pfad nachzuverfolgen. Reproduziere den Fehler mit den aufgeführten CloudStack-, KVM- und Host-Versionen und überprüfe anschließend, dass der Snapshot-Vorgang abgeschlossen wird, anstatt den Fehler „unsupported VM snapshot type“ zurückzugeben.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
java
Bereich
cloud, infrastructure
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.