Description of problem: When a VM is created using VM Wizard, there is a json description displayed at the end tab of VM Wizard. However, when creation of the VM fails, there is only an error message, not the produced json. In case there is an issue that can be easily fixed in the json describing the VM (i.e. add/remove/edit some attribute), it would be beneficial to display the json as well. User can then take the json, make any necessary changes and create the VM from file using CLI. Version-Release number of selected component (if applicable): 1.4 How reproducible: 100% Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
https://github.com/kubevirt/web-ui-components/pull/233
(In reply to Radim Hrazdil from comment #0) > Description of problem: > When a VM is created using VM Wizard, there is a json description displayed > at the end tab of VM Wizard. > However, when creation of the VM fails, there is only an error message, not > the produced json. Is it really json or yaml? Would yaml be more readable and easier to change without syntax mistakes? Should we consider to open another issue to improve this?
yes, it is really json. Opened a different ticket to show it as yaml: https://jira.coreos.com/browse/CNV-872
Created attachment 1557158 [details] unexpected template yaml Assign this back as there is an unexpected yaml about template shows on vm creation result page.
what version is it? it should be fixed in https://github.com/kubevirt/web-ui-components/releases/tag/v0.1.34
Radim Hrazdil hi, I can't reproduce on master, what version failed ?
I can see vm json when VM creation fails and don't see any template related description in version: v2.0.0-14.3. Moving to verified.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2019:1850