Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport: Fix import template from ova #310

Merged
merged 1 commit into from Apr 26, 2022

Conversation

ahadas
Copy link
Member

@ahadas ahadas commented Apr 25, 2022

When importing a template from OVA we don't go through ImportVmTemplateFromConfiguration and therefore getImageToAvailableStorageDomains() returns an empty map and later we fail with NPE.

This patch changes the fix for https://bugzilla.redhat.com/2043124 to be specific for ImportVmTemplateFromConfiguration and so other import-template flows would not face this issue.

Bug-Url: https://bugzilla.redhat.com/2074916

@ahadas ahadas changed the title Fix import template from ova Backport: Fix import template from ova Apr 25, 2022
When importing a template from OVA we don't go through
ImportVmTemplateFromConfiguration and therefore
getImageToAvailableStorageDomains() returns an empty map and later we
fail with NPE.

This patch changes the fix for https://bugzilla.redhat.com/2043124 to be
specific for ImportVmTemplateFromConfiguration and so other
import-template flows would not face this issue.

Bug-Url: https://bugzilla.redhat.com/2074916
Signed-off-by: Arik Hadas <ahadas@redhat.com>
@ahadas ahadas added the virt label Apr 26, 2022
@ahadas ahadas merged commit f4913ad into oVirt:ovirt-engine-4.5.0.z Apr 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants