Bug 1974586
Summary: | Migration plan with no target namespace causes the Controller pod to crash | ||
---|---|---|---|
Product: | Migration Toolkit for Virtualization | Reporter: | Amos Mastbaum <amastbau> |
Component: | Controller | Assignee: | Sam Lucidi <slucidi> |
Status: | CLOSED ERRATA | QA Contact: | Amos Mastbaum <amastbau> |
Severity: | high | Docs Contact: | Avital Pinnick <apinnick> |
Priority: | high | ||
Version: | 2.0.0 | CC: | apinnick, fdupont, istein, jortel |
Target Milestone: | --- | ||
Target Release: | 2.1.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-08-26 07:09:10 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-06-22 06:21:04 UTC
@jortel I think that the targetNamespace field should be mandatory. If I understand correctly, on this line https://github.com/konveyor/forklift-controller/blob/main/pkg/apis/forklift/v1beta1/plan.go#L34, we shouldn't set "omitempty", right? The nil pointer dereference was unrelated to the targetNamespace field on the Plan spec, and can be fixed without changing the fallback behavior or making the field mandatory. https://github.com/konveyor/forklift-controller/pull/294 Please verify with build 2.10-19 / iib:88267. 2.1.0-44 iib:96817 The Plan xxx" is invalid: spec.targetNamespace: Required value 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 (Migration Toolkit for Virtualization 2.1.0), 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:3278 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days |