When trying to remove userdata cloudstack UI reports an error
Request failed. (530) Internal error executing command, please contact your system administrator
Looking into cloudstack management server log the actual error was
20:12:07.329 2025-03-11 17:12:07,329 ERROR [c.c.a.ApiServer] (qtp1438988851-29131:[ctx-45557b51, ctx-ec1e932e]) (logid:90740b41) unhandled exception executing api command: [Ljava.lang.String;@5da3dc53 com.cloud.utils.exception.CloudRuntimeException: Userdata myser2 cannot be removed as it is being used by some VMs
It would be helpful to display a descriptive error message as an improvement.