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

core: Return validation messages from SchedulingManager #519

Merged
merged 1 commit into from
Jul 13, 2022

Conversation

smelamud
Copy link
Member

@smelamud smelamud commented Jul 7, 2022

If validation of MigrateMultipleVmsCommand fails because
SchedulingManager.canSchedule() returns an empty list of hosts, need to
pass error messages from SchedulingManager up by command invocation
hierarchy, so they could be displayed to the user.

Change-Id: I4db998b4840129e6be03fbe99417286de16f223b
Bug-Url: https://bugzilla.redhat.com/1789389
Signed-off-by: Shmuel Melamud smelamud@redhat.com

Copy link
Member

@ahadas ahadas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor comment, other than that lgtm

If validation of MigrateMultipleVmsCommand fails because
SchedulingManager.canSchedule() returns an empty list of hosts, need to
pass error messages from SchedulingManager up by command invocation
hierarchy, so they could be displayed to the user.

Change-Id: I4db998b4840129e6be03fbe99417286de16f223b
Bug-Url: https://bugzilla.redhat.com/1789389
Signed-off-by: Shmuel Melamud <smelamud@redhat.com>
@ahadas
Copy link
Member

ahadas commented Jul 13, 2022

/ost

1 similar comment
@ahadas
Copy link
Member

ahadas commented Jul 13, 2022

/ost

@ahadas ahadas merged commit a56fd3d into oVirt:master Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants