GitHub user EduFrazao created a discussion: Delete VM with backup offering -
Cannot expunge
Hi. When a regular user delete their instances, they go to destroyed state, but
if this VM has a backup offering, the expunge job rejects its removal:
`
2026-11-27 08:25:22,164 WARN [c.c.v.U.ExpungeTask]
(UserVm-Scavenger-1:[ctx-dbe9bbe2]) (logid:97990165) Unable to expunge VM
instance
{"id":744,"instanceName":"i-39-744-VM","state":"Destroyed","type":"User","uuid":"2a552e9d-27b0-49ac-b314-2151380e0a08"}
com.cloud.utils.exception.CloudRuntimeException: This Instance [uuid:
2a552e9d-27b0-49ac-b314-2151380e0a08, name: i-39-744-VM] has a Backup Offering
[id: 4, external id: null] with 1 backups. Please, remove the backup offering
before proceeding to VM exclusion!
`
I have hundreds of users removing instances, and if they forgot to remove the
backup offering, they get "stucked".
There is a option allowing cloudstack to remove the VM and cleanup backup
offerings and even backups on VM exclusion?
Or, at least show a error to the final user if this VM have a backup offering,
asking for the user to remove it prior to allow the vm exclusion?
Thanks!
GitHub link: https://github.com/apache/cloudstack/discussions/14893
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]