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.
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 theperf-alertplugin settings.Technical Details
The affected code is located in:
packages/xo-server-perf-alert/src/index.jsAs 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.