Bug #24053
closedEC2 CR create with invalid data -> uninitialized constant ComputeResourcesController::OVIRT
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1593647
Description of problem:
When creating a compute resource of type EC2 (with some made up values), I click submit and get the error message:
"""
Oops, we're sorry but something went wrong uninitialized constant ComputeResourcesController::OVIRT Did you mean? Ovirt
"""
However, EC2 shouldn't have anything to do with oVirt(?).
Traceback attached.
This is a regression against 6.3.
The resource is not created after this.
Version-Release number of selected component (if applicable):
Sat 6.4, tested with snap 8
How reproducible:
Deterministic
Steps to Reproduce:
1. Infrastructure -> Compute Resources -> Create
2. Select provider EC2, fill in some random values
3. Submit
Actual results:
Error message, traceback, resource not created
Expected results:
Error message about invalid values, nothing about oVirt.