Skip to content

perf-alert links lead to 404 error when XO6 UI is enabled #9804

@djul1981

Description

@djul1981

perf-alert: Incorrect URL format in emails leads to 404 in XO6

Using perf-alert on the latest XOA channel (6.4.0) or the latest source build (0338013), email alert links are incorrectly formatted. For a VM alert, the link generated is:

https://<XOA_URL>/#/vms/<VM_UUID>

If the default Xen Orchestra UI is set to version 6, this link results in an HTTP 404 error.

Workaround

Manually configure the URL to include /v5/ within the perf-alert plugin settings.

Technical Details

The affected code is located in: packages/xo-server-perf-alert/src/index.js

As XO6 continues to evolve, hardcoding /v5/ is not an ideal long-term solution. The plugin requires updated logic to detect the correct UI version and interact properly with upcoming XO6 features.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions