Description of problem: Template can be created successfully with a malformed MAC address and a user gets a failure when trying to create a VM using the template. There should be a validation in place to make sure that the created template is valid. The same validation should also be in VM Creating VM from such template then fails on Version-Release number of selected component (if applicable): kubevirt-web-ui-container-v2.0.0-14.7 HCO_BUNDLE_REGISTRY_TAG: v2.0.0-27 How reproducible: 100% Steps to Reproduce: 1. Create a template with NIC with MAC set to '24:42' or similar invalid value 2. 3. Actual results: template can be created Expected results: User should not be allowed to proceed in the wizard Additional info:
Network interfaces can also be added through the "Network Interfaces" tab in the VM details view. It makes sense to validate the MAC there, as well. This is being accomplished in a PR[1] submitted to the openshift/console repository. [1] https://github.com/openshift/console/pull/2285