|
1 | 1 | # DeprecatedMachineType |
2 | 2 |
|
3 | 3 | ## Meaning |
4 | | -This alert fires when one or more Virtual Machines (VMs) |
5 | | -are using machine types that have been marked as deprecated (no |
6 | | -longer supported). |
| 4 | +This alert triggers when one or more Virtual Machines (VMs) are using machine |
| 5 | +types that have been marked as no longer supported. |
7 | 6 |
|
8 | 7 | ## Impact |
9 | 8 |
|
10 | 9 | **Running VMs** |
11 | | -- Continue running but are using a deprecated machine type. |
12 | | -- Newer nodes may not support this type, so the next live migration may |
13 | | - fail or get stuck. |
| 10 | +- Continue running but are using an unsupported machine type. |
| 11 | +- Newer nodes might not support the machine type, so the next live migration may |
| 12 | + fail or become unresponsive. |
14 | 13 | - This can block node maintenance and disrupt high availability. |
15 | 14 |
|
16 | 15 | **Stopped VMs** |
17 | 16 | - No immediate issue while stopped. |
18 | | -- When restarted, they may fail to schedule or get stuck if newer nodes |
19 | | - no longer support the deprecated machine type. |
20 | | -- This can prevent workloads from coming back online after maintenance |
| 17 | +- When restarted, they might fail to schedule or become unresponsive if newer |
| 18 | + nodes no longer support the machine type. |
| 19 | +- This might prevent workloads from coming back online after maintenance |
21 | 20 | or cluster upgrades. |
22 | 21 |
|
23 | 22 |
|
24 | 23 | ## Diagnosis |
25 | | -The alert detects VMs using deprecated machine types. |
| 24 | +The alert detects VMs using unsupported machine types. |
26 | 25 |
|
27 | | -**Identify affected VMs** |
28 | | - Use the alert description to locate VM names, namespaces, and nodes (if running). |
| 26 | +**Identify affected VMs** |
| 27 | +Use the alert description to locate VM names, namespaces, and nodes (if running). |
29 | 28 |
|
30 | | -**Root Cause:** |
| 29 | +**Root Cause:** |
31 | 30 | The VM's `spec.template.spec.domain.machine.type` field is set to a type |
32 | | -that has been marked as deprecated. This can happen due to: |
| 31 | +that has been marked as unsupported. This can happen due to: |
33 | 32 |
|
34 | | -- VMs created before a machine type deprecation. |
| 33 | +- VMs created before the removal of support for a machine type. |
35 | 34 | - VM templates not updated after cluster upgrades. |
36 | 35 | - Manual VM creation using old machine type references. |
37 | 36 |
|
38 | 37 | ## Mitigation |
39 | | -Update affected VMs to use a supported machine type. You can: |
| 38 | +Update affected VMs to use a supported machine type. You can do one of the |
| 39 | +following: |
40 | 40 |
|
41 | 41 | - Edit VM definitions individually by modifying the |
42 | 42 | `spec.template.spec.domain.machine.type` field. |
43 | | -- Or, for a smoother and cleaner update of multiple VMs, use the |
| 43 | +- For a smoother and cleaner update of multiple VMs, use the |
44 | 44 | `kubevirt-api-lifecycle-automation` tool to transition all deprecated VMs |
45 | 45 | in one operation. This ensures consistent, automated migration and reduces |
46 | | - manual errors or downtime during cluster upgrades. See the documentation |
47 | | - for details: [Updating multiple VMs](https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html/virtualization/managing-vms#virt-updating-multiple-vms_virt-edit-vms) |
48 | | - |
| 46 | + manual errors or downtime during cluster upgrades. For details, see [Updating multiple |
| 47 | + VMs](https://docs.redhat.com/en/documentation/openshift_container_platform/latest/html/virtualization/managing-vms#virt-updating-multiple-vms_virt-edit-vms). |
49 | 48 |
|
50 | 49 | **Important:** Plan and apply these updates before performing cluster |
51 | 50 | upgrades to avoid VM restart failures or compatibility issues. |
|
0 commit comments