Project

General

Profile

Bug #39103

Raise descriptive error in new UI when VM fails to start

Added by Michael Reynolds 12 months ago. Updated 12 months ago.

Status:
Done
Priority:
No priority
Assignee:
Vaibhav Chauhan
Category:
GUI (new)
Target version:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

Create a zvol to use as the VM disk
Create a new VM and use that zvol as the disk
Start the VM
Stop the VM
Delete the zvol used for the VM
Try to start the VM

This should return a descriptive error like the Legacy UI does in https://redmine.ixsystems.com/issues/26434
The error returned can be seen in VM-DescriptiveError-2018-07-20.png

Currently the webui stays in a "starting" state as seen in VM-no-error-2018-07-20.png
That screenshot was after approximately 90 minutes

The VM should fail to start with a friendly error message.
Perhaps something more friendly than the traceback Legacy UI gives

VM-DescriptiveError-2018-07-20.png (78.8 KB) VM-DescriptiveError-2018-07-20.png Michael Reynolds, 07/20/2018 11:19 AM
VM-no-error-2018-07-20.png (123 KB) VM-no-error-2018-07-20.png Michael Reynolds, 07/20/2018 11:20 AM
Screen Shot 2018-07-24 at 5.42.29 PM.png (51.5 KB) Screen Shot 2018-07-24 at 5.42.29 PM.png Bonnie Follweiler, 07/24/2018 02:43 PM
22183
22187
22503

Related issues

Related to FreeNAS - Bug #26434: Add descriptive error to API when VM fails to startDone

History

#1 Updated by Michael Reynolds 12 months ago

After creating this ticket I left the VMs section and returned
The VM now shows as stopped but still no error message as to why the VM failed to start

#2 Updated by Erin Clark 12 months ago

  • Assignee changed from Erin Clark to Vaibhav Chauhan

#3 Updated by Dru Lavigne 12 months ago

  • Target version changed from Backlog to 11.2-BETA3

#4 Updated by Vaibhav Chauhan 12 months ago

  • Status changed from Unscreened to In Progress

#5 Updated by Erin Clark 12 months ago

  • Status changed from In Progress to Ready for Testing

#6 Updated by Dru Lavigne 12 months ago

  • Subject changed from webui Raise descriptive error when VM fails to start to Raise descriptive error when VM fails to start
  • Target version changed from 11.2-BETA3 to 11.2-BETA2
  • Needs Merging changed from Yes to No

#7 Updated by Bonnie Follweiler 12 months ago

22503

Test Passed in FreeNAS-11.2-MASTER-201807240859

It spawns more than 5 popup windows with that error message so I will put in a new ticket about that

#8 Updated by Dru Lavigne 12 months ago

  • Subject changed from Raise descriptive error when VM fails to start to Raise descriptive error in new UI when VM fails to start

#9 Updated by Dru Lavigne 12 months ago

  • Related to Bug #26434: Add descriptive error to API when VM fails to start added

#10 Updated by Timothy Moore II 12 months ago

  • Needs Doc changed from Yes to No

Docs PR: [angulargui] https://github.com/freenas/freenas-docs/pull/248 . UI specific: no master branch PR is necessary.

#11 Updated by Dru Lavigne 12 months ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF