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 NPE fixes #853

Merged
merged 3 commits into from
May 21, 2023
Merged

Conversation

ahadas
Copy link
Member

@ahadas ahadas commented May 21, 2023

Backport of #849 and #850

ahadas and others added 3 commits May 21, 2023 16:42
When picking a host for transfer-image job, we filter hosts that
are UP and then process the data they reported on storage domains
without checking whether the host actually reported this data.
It can happen that hosts are UP and still have not reported data
on storage domains, in which case the data is null, resulting in
an NPE in the transfer-image flow.

This patch changes the predicate that is used to filter hosts for
transfer-image, adding a null-check to avoid that NPE.

Bug-Url: https://bugzilla.redhat.com/2203132
Signed-off-by: Arik Hadas <ahadas@redhat.com>
Signed-off-by: Laszlo Szomor <laszomor@gmail.com>
Signed-off-by: Arik Hadas <ahadas@redhat.com>
@ahadas ahadas requested a review from bennyz as a code owner May 21, 2023 13:50
@ahadas ahadas merged commit 723249f into oVirt:ovirt-engine-4.5.3.z May 21, 2023
3 checks passed
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

3 participants