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

Fix import template from ova #292

Merged
merged 2 commits into from
Apr 21, 2022
Merged

Conversation

ahadas
Copy link
Member

@ahadas ahadas commented Apr 19, 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
Copy link
Member Author

ahadas commented Apr 19, 2022

@bennyz can you please take a look?

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>
Signed-off-by: Arik Hadas <ahadas@redhat.com>
@michalskrivanek
Copy link
Member

/ost

@michalskrivanek michalskrivanek merged commit 8c7a4e0 into oVirt:master Apr 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants