mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
88 lines
2.3 KiB
Plaintext
88 lines
2.3 KiB
Plaintext
// This is included in the following assemblies:
|
|
//
|
|
// * installing/installing_bare_metal/bare-metal-postinstallation-configuration.adoc
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="bmo-getting-the-hostfirmwarecomponents-resource_{context}"]
|
|
= Getting the HostFirmwareComponents resource
|
|
|
|
The `HostFirmwareComponents` resource contains the specific firmware version of the BIOS and baseboard management controller (BMC) of a physical host. You must get the `HostFirmwareComponents` resource for a physical host to review the firmware version and status.
|
|
|
|
.Procedure
|
|
|
|
. Get the detailed list of `HostFirmwareComponents` resources by running the following command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc get hostfirmwarecomponents -n openshift-machine-api -o yaml
|
|
----
|
|
|
|
. Get the list of `HostFirmwareComponents` resources by running the following command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc get hostfirmwarecomponents -n openshift-machine-api
|
|
----
|
|
|
|
. Get the `HostFirmwareComponents` resource for a particular host by running the following command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc get hostfirmwarecomponents <host_name> -n openshift-machine-api -o yaml
|
|
----
|
|
+
|
|
Where `<host_name>` is the name of the host.
|
|
+
|
|
.Example output
|
|
[source,yaml]
|
|
----
|
|
---
|
|
apiVersion: metal3.io/v1alpha1
|
|
kind: HostFirmwareComponents
|
|
metadata:
|
|
creationTimestamp: 2024-04-25T20:32:06Z"
|
|
generation: 1
|
|
name: ostest-master-2
|
|
namespace: openshift-machine-api
|
|
ownerReferences:
|
|
- apiVersion: metal3.io/v1alpha1
|
|
blockOwnerDeletion: true
|
|
controller: true
|
|
kind: BareMetalHost
|
|
name: ostest-master-2
|
|
uid: 16022566-7850-4dc8-9e7d-f216211d4195
|
|
resourceVersion: "2437"
|
|
uid: 2038d63f-afc0-4413-8ffe-2f8e098d1f6c
|
|
spec:
|
|
updates: []
|
|
status:
|
|
components:
|
|
- component: bios
|
|
currentVersion: 1.0.0
|
|
initialVersion: 1.0.0
|
|
- component: bmc
|
|
currentVersion: "1.00"
|
|
initialVersion: "1.00"
|
|
- component: nic:<ID1>
|
|
currentVersion: 0.10.0
|
|
initialVersion: 0.10.0
|
|
- component: nic:<ID2>
|
|
currentVersion: 1.8.1
|
|
initialVersion: 1.8.1
|
|
conditions:
|
|
- lastTransitionTime: "2024-04-25T20:32:06Z"
|
|
message: ""
|
|
observedGeneration: 1
|
|
reason: OK
|
|
status: "True"
|
|
type: Valid
|
|
- lastTransitionTime: "2024-04-25T20:32:06Z"
|
|
message: ""
|
|
observedGeneration: 1
|
|
reason: OK
|
|
status: "False"
|
|
type: ChangeDetected
|
|
lastUpdated: "2024-04-25T20:32:06Z"
|
|
updates: []
|
|
----
|