Bug 1979652
| Summary: | Empty RHV vNIC profile causes a "500: Internal server error" in the Inventory | ||
|---|---|---|---|
| Product: | Migration Toolkit for Virtualization | Reporter: | Amos Mastbaum <amastbau> |
| Component: | Inventory | Assignee: | Jeff Ortel <jortel> |
| Status: | CLOSED ERRATA | QA Contact: | Amos Mastbaum <amastbau> |
| Severity: | medium | Docs Contact: | Avital Pinnick <apinnick> |
| Priority: | high | ||
| Version: | 2.1.0 | CC: | apinnick, dagur, fdupont, istein, jortel, pvauter |
| 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: | 1955068 | Environment: | |
| Last Closed: | 2021-08-26 07:09:12 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1955068 | ||
| Bug Blocks: | |||
|
Comment 1
Jeff Ortel
2021-07-06 16:12:14 UTC
All the networks in this RHV have a vNIC profile, except for one called "internal" that doesn't have one. The error in the migration UI: "Error loading VMs 500: Internal server error" If there are RHV components, other than vNIC profile, that might be empty and may fail the RHV inventory the same way should also be handled. Fixed by API resolving the vNIC profile only when not blank. Verified 2.1.0-44 iib:96817 successfully UI migrated from RHV with Network without vnic profile. 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 |