Red Hat Bugzilla – Bug 1460519
Origin shows RHV after import of VM with unknown origin
Last modified: 2017-07-12 07:21:41 EDT
Description of problem:
When importing VM by virt-v2v (either from OVA or via export-domain) that has no Origin specified the import dialog shows correctly 'Origin' as 'N/A'. But after import is finished the VM has it's origin specified as 'RHV'. That is because there is no special value for 'N/A' in the engine code.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Import VM disk image to export domain using: virt-v2v -i disk -o rhev ...
2. Import the VM from export domain
Origin shows 'RHV'
Origin should be 'N/A' or something more appropriate.
The reason that the origin is RHV is that in case the origin is not set, engine looks the value up from engine config (key: OriginType).
The actually correct solution would be to enrich the OriginType enum by the N/A option and explicitly pass this one from frontend to store it.
But this is only a cosmetic issue.