* Since vSphere ver. 6.5 is deprecated in OCP 4.9 [1], we should warn users about it and suggest upgrade of vSphere. An alert based on vsphere-problem-detector metrics should be enough. * HW ver 13 is deprecated too, we should alert about it, suggesting users to upgrade the HW ver. 1: https://github.com/openshift/openshift-docs/pull/35530
Test on 4.9.0-0.nightly-2021-09-06-004132. CSIWithOldVSphereHWVersion was raised successfuly and message changed as expected: "labels": { "alertname": "CSIWithOldVSphereHWVersion", "container": "vsphere-problem-detector-operator", "endpoint": "vsphere-metrics", "hw_version": "vmx-13", "instance": "10.129.0.3:8444", "job": "vsphere-problem-detector-metrics", "namespace": "openshift-cluster-storage-operator", "pod": "vsphere-problem-detector-operator-fbf45bff-l9hkw", "service": "vsphere-problem-detector-metrics", "severity": "info" }, "annotations": { "description": "The cluster is using VMs with hardware version lower than 15, which is being deprecated by Openshift. Hardware version 15 or greater\nis required by vSphere CSI driver. Please update your VMs to at least HW version 15.\n", "summary": "Detected vSphere VM with HW version lower than 15, which is being deprecated by Openshift." }, "state": "firing", "activeAt": "2021-09-06T05:09:52.396347327Z", "value": "3e+00" }, Need find the env to test the VSphereOlderVersionPresent.
Installed one cluster on a vpshere6.7, get the VSphereOlderVersionPresent alert as below: "labels": { "alertname": "VSphereOlderVersionPresent", "api_version": "6.7.2", "container": "vsphere-problem-detector-operator", "endpoint": "vsphere-metrics", "instance": "10.129.0.3:8444", "job": "vsphere-problem-detector-metrics", "namespace": "openshift-cluster-storage-operator", "pod": "vsphere-problem-detector-operator-fbf45bff-bkz8f", "service": "vsphere-problem-detector-metrics", "severity": "info", "version": "6.7.0" }, "annotations": { "description": "The cluster is using ESXi hosts which are on version less than 6.7u3, which is being deprecated by Openshift. A future version of\nOpenshift will remove support for ESXi version less than 6.7u3 and it is recommended to update your hosts to latest ESXi version.\n", "summary": "Detected vSphere host with ESXi version less than 6.7u3 in Openshift cluster." }, "state": "firing", "activeAt": "2021-09-07T03:55:22.396347327Z", "value": "1e+00" }, But currently only one node report the ESXi version need check further: $ oc logs vsphere-problem-detector-operator-5bc8c49c4f-lhhpb| grep host I0907 07:41:33.627118 1 node_esxi_version.go:62] Node reliability01-vpsgz-master-1 runs on cached ESXi host host-9: I0907 07:41:33.627143 1 node_esxi_version.go:62] Node reliability01-vpsgz-worker-6wmb6 runs on cached ESXi host host-9: I0907 07:41:33.628786 1 node_esxi_version.go:62] Node reliability01-vpsgz-worker-xd8kk runs on cached ESXi host host-9: I0907 07:41:33.629243 1 node_esxi_version.go:62] Node reliability01-vpsgz-master-0 runs on cached ESXi host host-9: I0907 07:41:33.630803 1 node_esxi_version.go:62] Node reliability01-vpsgz-worker-bzzlk runs on cached ESXi host host-9: I0907 07:41:33.642155 1 node_esxi_version.go:83] Node reliability01-vpsgz-master-2 runs on host host-9 (10.8.1.38) with ESXi version: 6.7.0 I0907 07:42:34.275578 1 node_esxi_version.go:62] Node reliability01-vpsgz-worker-xd8kk runs on cached ESXi host host-9: I0907 07:42:34.277566 1 node_esxi_version.go:62] Node reliability01-vpsgz-worker-bzzlk runs on cached ESXi host host-9: I0907 07:42:34.279638 1 node_esxi_version.go:62] Node reliability01-vpsgz-worker-6wmb6 runs on cached ESXi host host-9: I0907 07:42:34.281967 1 node_esxi_version.go:62] Node reliability01-vpsgz-master-2 runs on cached ESXi host host-9: I0907 07:42:34.282975 1 node_esxi_version.go:62] Node reliability01-vpsgz-master-0 runs on cached ESXi host host-9: I0907 07:42:34.289452 1 node_esxi_version.go:83] Node reliability01-vpsgz-master-1 runs on host host-9 (10.8.1.38) with ESXi version: 6.7.0
This PR is actually adding the alert and it works, already discussed ESXi version report issue in another thread. Update status to "Verified"
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.9.0 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:3759