Created attachment 1850256 [details]
create vm from hana template
Description of problem:
Create a VM from SAP HANA template, leave one network field empty, and then create the VM, it leads to 404 page.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create vm from SAP HANA template
2. clear the content of one network field
3. click create
no VM was created
either VM is created or an error shows after clicking the create button
I think it would be a good idea to add validation to the form to verify all required fields are filled.
Also we should consider in case of this a required field to add the required field to the template and the verify will catch on the missing value OR
add a generate field so we can get these names by default without the option of a user deleting them, WDYT
(In reply to aviv turgeman from comment #1)
> I think it would be a good idea to add validation to the form to verify all
> required fields are filled.
> Also we should consider in case of this a required field to add the required
> field to the template and the verify will catch on the missing value
Mark them as required field would be good and don't continue if these values are empty.
> OR add a generate field so we can get these names by default without the option
> of a user deleting them, WDYT
Actually, I'm curious about these hardcode values, are they constants or they're parameters which will be different based on how the SRIOV network is configured.
verified on master, the field must be filled now.
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 (Moderate: OpenShift Container Platform 4.10.3 security update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.