Skip to content

Conversation

@RichardHoch
Copy link
Collaborator

@RichardHoch RichardHoch commented Oct 20, 2025

MTV 2.10

Resolves https://issues.redhat.com/browse/MTV-2772 by adding a description of scheduling target VMs as well as UI and CLI procedures.

Preview:

@RichardHoch RichardHoch force-pushed the MTV-2772_target_vm_scheduling branch 3 times, most recently from fa48ee0 to 8e77bc9 Compare October 23, 2025 09:57
+
Node Affinity and Node Anti-Affinity rules offer more flexible placement control than rigid Node Selector rules, because they support conditionals such as `or`, `and`, or `not`. For example, you could require that a VM be powered on "only if it is migrated to node A _or_ if it is migrated to an SSD disk, but it _cannot_ be migrated to a node for which `license-tier=silver` is true."
+
Additionally, both types of rules allow you to include both _hard_ and _soft_ conditions in the same rule. A hard condition is a requirement, and a soft condition is a preference. The previous example used only hard conditions. A rule that states that "a VM can be powered on if it is migrated to node A _or_ if it is migrated to an SSD disk, but it is preferred not to migrate it to a node for which `license-tier=silver` is true" is an example of a rule that uses soft conditions.
Copy link
Collaborator

Choose a reason for hiding this comment

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

The example in the parens -- is that the way the rule must be worded? If not, maybe:

A rule that states that "a VM can be powered on if it is migrated to node A or if it is migrated to an SSD disk, but the preference is to not migrate to a node for which license-tier=silver is true" is...

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@nunzy1 Let me ask an SME about this.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@mnecas @yaacov Any thoughts?

@RichardHoch
Copy link
Collaborator Author

@RichardHoch After you bring live migration and UDN into the new framework, remove the // in // UDNs are discussed in greater detail in xref:about-udn_mtv[About user defined networks]. Migration procedures have been updated to include UDNs. in selecting-migration-network-for-virt-provider.adoc .

@RichardHoch RichardHoch marked this pull request as ready for review October 28, 2025 15:48
@RichardHoch
Copy link
Collaborator Author

@mnecas @yaacov @avivtur @chenli Please review this PR. Thank you.

@RichardHoch RichardHoch force-pushed the MTV-2772_target_vm_scheduling branch from 4263af7 to 6015978 Compare October 29, 2025 15:39
@RichardHoch RichardHoch force-pushed the MTV-2772_target_vm_scheduling branch from 6015978 to 44704b2 Compare November 2, 2025 09:23
@RichardHoch
Copy link
Collaborator Author

@avivtur @yaacov I made the changes you suggested. Please review this PR again. Thanks.

@RichardHoch RichardHoch requested review from avivtur and yaacov November 2, 2025 09:44
@RichardHoch RichardHoch force-pushed the MTV-2772_target_vm_scheduling branch from 8c5d2ea to d15b016 Compare November 6, 2025 15:10
@AmenB
Copy link

AmenB commented Nov 9, 2025

LGTM

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.

6 participants