Skip to content
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

Error message and details missing when action fails for a single machine #4794

Open
brigaccess opened this issue Mar 2, 2023 · 1 comment

Comments

@brigaccess
Copy link

Describe the bug
When machine action performed from the machine page fails, the error message does not report the reason for the failure. Instead, the error message is a generic bulk action text: Action failed for 1 machine: <machine_name>

maas-ui version
maas-ui 3.3.0 3e926b4

MAAS version
3.4.0~alpha1

LP issue
This issue does not have associated LP bug yet.

To Reproduce
Steps to reproduce the behavior:

  1. Go to machine details screen
  2. Perform an action that will fail (i.e. try to deploy 20.04 on a machine with minimal required kernel == 22.04)
  3. An error message will appear with the text: Action failed for 1 machine: <machine_name>

Expected behavior
Error message should contain the details of the failure (i.e. focal has no kernels available which meet min_hwe_kernel(ga-22.04))

Desktop (please complete the following information):

  • OS: Kubuntu 22.04 LTS
  • Browser: Firefox 110, Chromium 110
@petermakowski
Copy link
Contributor

Thanks, reported another bug on launchpad for the WebSocket API WebSocket API to report reasons for failure for machine bulk actions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants