Bug 1923031
| Summary: | VM name with upper-case letters passes validation (RFC-1123) | ||
|---|---|---|---|
| Product: | Migration Toolkit for Virtualization | Reporter: | Amos Mastbaum <amastbau> |
| Component: | General | Assignee: | Sam Lucidi <slucidi> |
| Status: | CLOSED ERRATA | QA Contact: | Amos Mastbaum <amastbau> |
| Severity: | medium | Docs Contact: | Avital Pinnick <apinnick> |
| Priority: | medium | ||
| Version: | 2.0.0 | CC: | fdupont, istein, jortel, slucidi |
| Target Milestone: | --- | ||
| Target Release: | 2.0.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-06-10 17:11:27 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Amos Mastbaum
2021-02-01 10:22:25 UTC
Here, the validation service will catch it. It should be marked as "fatal", so the controller should not even try to migrate the VM and fail with the concern message. Since this is a kubernetes (not CNV) limitation, Seems better for the plan controller, not the validation service, to validate this. The controller will need to perform a similar validation anyway should we support a user renaming the VM on the plan. I think it's still valuable for the validation service to catch it, so that the concern is raised before creating the plan. I also agree that it should also be a validation in the controller to fail as early as possible. The fix should be part of build 2.0.0-17 / iib:66911. Verified MTV 2.0.0-20 (iib:69034)
Status:
Conditions:
Category: Critical
Items:
vm-43
Last Transition Time: 2021-04-26T10:07:36Z
Message: Target VM name not valid.
Reason: NotValid
Status: True
Type: TargetNameNotValid
Migration:
Observed Generation: 1
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning TargetNameNotValid 9s plan Target VM name not valid.
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 (MTV 2.0.0 images), 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-2021:2381 |