Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non descriptive error message when removing userdata #10547

Closed
TadiosAbebe opened this issue Mar 11, 2025 · 1 comment
Closed

Non descriptive error message when removing userdata #10547

TadiosAbebe opened this issue Mar 11, 2025 · 1 comment

Comments

@TadiosAbebe
Copy link

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.

@Pearl1594
Copy link
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

@apache apache locked and limited conversation to collaborators Mar 12, 2025
@DaanHoogland DaanHoogland converted this issue into discussion #10549 Mar 12, 2025

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants