Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-109713

Do not use "vm.create" for adding VM devices in the UI

    XMLWordPrintable

    Details

      Description

      We should not use "vm.create" endpoint for creating VM devices when user completes VM creation wizard. Instead separate calls should be made to "vm.device.create" for creating relevant devices after VM has been created and if during this process, some device fails to create, we should show user the summary which device failed to create ( with exception retrieved ) and delete the VM itself as well ( without specifying force flag for zvols flag ) - let's please also add a line in the UI as well letting the user know that the VM was destroyed becase X device failed to be created due to exception.

       

      Please let me know if there are concerns/queries, thank you.

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                ryousaf Rehan Yousaf
                Reporter:
                waqar Waqar Ahmed
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: