Repository navigation
Replies: 1 comment
|
Hi @EduFrazao, There is no setting for this today. The check lives in This also explains why your users never see the error. To unstick the VMs you already have, an admin can remove the offering from the destroyed VM. The lookup includes removed VMs, so it works in the Destroyed state. The next expunge pass then removes the VM. The existing backups are kept. Every bundled provider returns false for For hundreds of VMs you can list the stuck ones and loop over the result. Long term I think it's worth opening an issue. The check could run on every destroy so the user gets the error right away. Or there could be a setting to drop the offering on expunge. |
Uh oh!
There was an error while loading. Please reload this page.
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!
All reactions