Skip to content

Non descriptive error message when removing userdata #10547

Closed

Description

@TadiosAbebe

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.

Activity

  1. Pearl1594 commented on Mar 11, 2025

    @Pearl1594
    Contributor

    This error appears when the operation is performed by a regular user on CloudStack, For root admins - a detailed error appears. This is done to avoid exposing underlying information to users.

    Image

  2. locked and limited conversation to collaborators on Mar 12, 2025
  3. converted this issue into a discussion #10549 on Mar 12, 2025
  4. added this to the unplanned milestone on Sep 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions