Skip to content

Error messages and Alerts should include contextual and actionable information #7297

Open

Description

@boubouX
ISSUE TYPE
  • Improvement Request
COMPONENT NAME
UI and Alert messages
CLOUDSTACK VERSION
14.7.2
CONFIGURATION
OS / ENVIRONMENT

NA

SUMMARY

Alert messages should include more contextual and actionable information instead of various IDs to address the issue quickly.

STEPS TO REPRODUCE
During error conditions and alerts
EXPECTED RESULTS
Error messages should include account, domain, template, storage, VM names, and any other easily referenced information. 

"Template 06cfc10e-a07d-4cee-8929-ca98946c60ab Windows 2022 Data Center failed to upload. Error details: Maximum number of resources of type secondary_storage for account _accountname_ has exceeded"
ACTUAL RESULTS
"Template 06cfc10e-a07d-4cee-8929-ca98946c60ab failed to upload. Error details: Maximum number of resources of type secondary_storage for account/project has exceeded"

Activity

  1. DaanHoogland commented on Feb 28, 2023

    @DaanHoogland
    Contributor

    @boubouX the example you give is rather actionable, but the general descrition of the issue is no. There are a lot of examples of possible improvable alerts and events. Do you want just this small change?
    I don't think you do, but correct me if I am wrong. In the other case either an inventory or a lot of issues like this have to be made.
    I hope I'm not discouraging you ;)

  2. boubouX commented on Feb 28, 2023

    @boubouX
    Author

    Changes are requested to be throughout; using only resource IDs to generate user and operator messages defeats the purpose of the message in the first place. I can live with it for system logs but not UI and Email notifications. The simple example I provided is an actual alert message I received.

    Here are other examples of messages we received:
    Failed to register template: 0dc2355f-324e-441c-9e28-0980eeffe472 with error: HTTP Server returned 404 (expected 200 OK)

    HA starting VM: r-305-VM (r-305-VM)

    Health checks failed: 2 failing checks on router fbfe150a-fb4f-4037-9150-82dd1212c947

    Unable to attach storage pool21 to the host37

    Better: Insufficient capacity to restart VM, name: LAMP2, id: 59 which was running on host name: cs-kvm02(id:10), availability zone: Milton1, pod: Milton1-Pod1 In this case the host cs-kvm02 was down.

    Good: If the agent for host [name: cs-kvm06 (id:37), availability zone: Milton1, pod: Milton1-Pod1] is not restarted within alert.wait seconds, host will go to Alert state

    I would suggest creating simple standard guidelines for developers/contributors related to human-received messages and reviewing them all to that standard.

  3. added this to the 4.19.0.0 milestone on Jun 22, 2023
  4. modified the milestones: 4.19.0.0, 4.19.1.0 on Dec 14, 2023
  5. self-assigned this
    on Jun 14, 2024
  6. moved this from Discuss to Dev In Progress in Apache CloudStack BugFest - Issueson Jun 14, 2024
  7. removed this from the 4.19.1.0 milestone on Jun 25, 2024
  8. 5 remaining items

  9. removed their assignment
    on Sep 5, 2025
  10. github-actions commented on Aug 3, 2026

    @github-actions

    This issue is stale because it has been open for 120 days with no activity. It may be removed by administrators of this project at any time. Remove the stale label or comment to request for removal of it to prevent this.

  11. added
    long-term-plan
    and removed on Aug 3, 2026
  12. modified the milestones: unplanned, 4.24.0 on Aug 4, 2026
  13. RosiKyu commented on Nov 11, 2026

    @RosiKyu
    Collaborator

    I am moving this to 25.0 due to a lack of recent activity.

  14. modified the milestones: 24.0, 25.0 on Nov 11, 2026
  15. DaanHoogland commented on Nov 13, 2026

    @DaanHoogland
    Contributor

    I am moving this to 25.0 due to a lack of recent activity.

    It has a PR that has been regularly updated. moving it back into 24.0

  16. modified the milestones: 25.0, 24.0 on Nov 13, 2026
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

    long-term-plan

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions