Skip to content

Commit

Permalink
openstack: update validation rules
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Martín <mmartinv@redhat.com>
  • Loading branch information
mmartinv committed Jun 21, 2023
1 parent 84a1235 commit 0a55a64
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ has_boot_menu_enabled if input.image.properties.hw_boot_menu == "true"
concerns[flag] {
has_boot_menu_enabled
flag := {
"category": "Information",
"category": "Warning",
"label": "VM has BIOS boot menu enabled",
"assessment": "The VM has a BIOS boot menu enabled. This is not currently supported by OpenShift Virtualization.",
"assessment": "The VM has a BIOS boot menu enabled. This is not currently supported by OpenShift Virtualization. The VM can be migrated but the BIOS boot menu will not be enabled in the target environment.",
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ has_cpushares_enabled if "quota:cpu_shares" in object.keys(input.flavor.extraSpe
concerns[flag] {
has_cpushares_enabled
flag := {
"category": "Information",
"category": "Warning",
"label": "VM has CPU Shares Defined",
"assessment": "The VM has CPU shares defined. This functionality is not currently supported by OpenShift Virtualization.",
"assessment": "The VM has CPU shares defined. This functionality is not currently supported by OpenShift Virtualization. The VM can be migrated but the CPU shares configuration will be missing in the target environment.",
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ concerns[flag] {
flag := {
"category": "Warning",
"label": "VM has mapped host devices",
"assessment": "The VM is configured with hardware devices mapped from the host. This functionality is not currently supported by OpenShift Virtualization.",
"assessment": "The VM is configured with hardware devices mapped from the host. This functionality is not currently supported by OpenShift Virtualization. The VM can be migrated it will not have any host devices attached to it in the target environment.",
}
}

0 comments on commit 0a55a64

Please sign in to comment.