Skip to contentSkip to conversation

With webui-vue Firmware version on Overview vs Hardware status BMC manager not always matching.

DISCUSSION Bruce Mitchell 2 participants 6 messages Oct 28, 2020 – Oct 29, 2020

lore
Share & tools
lore
#0 lore raw

With webui-vue Firmware version on Overview vs Hardware status BMC manager not always matching.

These are screen shots.

I find Romulus is not having this issue:
Overview - https://bmc-bruce.github.io/Romulus_Overview_Firmware-version.png
Hardware status - https://bmc-bruce.github.io/Romulus_Hardware-status_Firmware-version.png

Where our build does show this issue:
Overview - https://bmc-bruce.github.io/Phoenix_Overview_Firmware-version.png
Hardware status - https://bmc-bruce.github.io/Phoenix_Hardware-status_Firmware-version.png

I am curious as to how Hardware status gets the (BMC) Firmware version as compared to how Overview gets the (BMC) Firmware version.

Thank you.

Signature · 1 line
Bruce
#1 lore raw
Quoted 8 lines

With webui-vue Firmware version on Overview vs Hardware status BMC manager not always matching.

These are screen shots.

I find Romulus is not having this issue:
Overview - https://bmc-bruce.github.io/Romulus_Overview_Firmware-version.png
Hardware status - https://bmc-bruce.github.io/Romulus_Hardware-status_Firmware-version.png

Quoted 5 lines

Where our build does show this issue:
Overview - https://bmc-bruce.github.io/Phoenix_Overview_Firmware-version.png
Hardware status - https://bmc-bruce.github.io/Phoenix_Hardware-status_Firmware-version.png

I am curious as to how Hardware status gets the (BMC) Firmware version as compared to how Overview gets the (BMC) Firmware version.

They are looking in different properties. I am not 100% sure why and it might be able to be simplified. However, given the information, I would expect that you are also missing the FW versions on the FW update page also.

It looks like the Overview page uses the Firmware store that calls /redfish/v1/Managers/bmc and gets the value from the Links.ActiveSoftware image.

On the Hardware page uses the BMC store that also uses redfish/v1/Managers/bmc and it gets the version from the FirmwareVersion property returned.

I would expect you to also be missing the FW versions on the FW page also.

https://imgur.com/a/TojENYX

Is that true?

#2 lore raw
Quoted 43 lines

-----Original Message-----
From: Derick Montague [mailto:[email protected]]
Sent: Wednesday, October 28, 2020 10:57
To: Bruce Mitchell
Cc: [email protected]
Subject: Re: With webui-vue Firmware version on Overview vs Hardware status BMC manager not always matching.

Quoted 1 line

With webui-vue Firmware version on Overview vs Hardware status

BMC manager not always matching.

Quoted 5 lines

These are screen shots.

I find Romulus is not having this issue:
Overview - https://bmc-

bruce.github.io/Romulus_Overview_Firmware-version.png

Quoted 1 line

Hardware status - https://bmc-

bruce.github.io/Romulus_Hardware-status_Firmware-version.png

Quoted 3 lines

Where our build does show this issue:
Overview - https://bmc-

bruce.github.io/Phoenix_Overview_Firmware-version.png

Quoted 1 line

Hardware status - https://bmc-

bruce.github.io/Phoenix_Hardware-status_Firmware-version.png

Quoted 1 line

I am curious as to how Hardware status gets the (BMC) Firmware

version as compared to how Overview gets the (BMC) Firmware version.

They are looking in different properties. I am not 100% sure why and it might
be able to be simplified. However, given the information, I would expect that
you are also missing the FW versions on the FW update page also.

It looks like the Overview page uses the Firmware store that calls /redfish/v1/Managers/bmc and gets the value from the Links.ActiveSoftware image.

On the Hardware page uses the BMC store that also uses redfish/v1/Managers/bmc
and it gets the version from the FirmwareVersion property returned.

Quoted 8 lines

I would expect you to also be missing the FW versions on the FW page also.

https://imgur.com/a/TojENYX

Is that true?

Yes, that is TRUE.

This is what I have on the Phoenix version:

{
    "@odata.id": "/redfish/v1/Managers/bmc",
    "@odata.type": "#Manager.v1_9_0.Manager",
    "Actions": {
        "#Manager.Reset": {
            "@Redfish.ActionInfo": "/redfish/v1/Managers/bmc/ResetActionInfo",
            "target": "/redfish/v1/Managers/bmc/Actions/Manager.Reset"
        },
        "#Manager.ResetToDefaults": {
            "[email protected]": [
                "ResetAll"
            ],
            "target": "/redfish/v1/Managers/bmc/Actions/Manager.ResetToDefaults"
        }
    },
    "DateTime": "2020-10-28T17:58:58+00:00",
    "Description": "Baseboard Management Controller",
    "EthernetInterfaces": {
        "@odata.id": "/redfish/v1/Managers/bmc/EthernetInterfaces"
    },
    "FirmwareVersion": "v0.05-5-g073bb60b6",
    "GraphicalConsole": {
        "ConnectTypesSupported": [
            "KVMIP"
        ],
        "MaxConcurrentSessions": 4,
        "ServiceEnabled": true
    },
    "Id": "bmc",
    "LastResetTime": "2020-10-28T16:52:18+00:00",
    "Links": {
        "ActiveSoftwareImage": {
            "@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/db167c64"
        },
        "ManagerForServers": [
            {
                "@odata.id": "/redfish/v1/Systems/system"
            }
        ],
        "[email protected]": 1
    },
    "LogServices": {
        "@odata.id": "/redfish/v1/Managers/bmc/LogServices"
    },
    "ManagerType": "BMC",
    "Model": "OpenBmc",
    "Name": "OpenBmc Manager",
    "NetworkProtocol": {
        "@odata.id": "/redfish/v1/Managers/bmc/NetworkProtocol"
    },
    "Oem": {
        "@odata.id": "/redfish/v1/Managers/bmc#/Oem",
        "@odata.type": "#OemManager.Oem",
        "OpenBmc": {
            "@odata.id": "/redfish/v1/Managers/bmc#/Oem/OpenBmc",
            "@odata.type": "#OemManager.OpenBmc",
            "Certificates": {
                "@odata.id": "/redfish/v1/Managers/bmc/Truststore/Certificates"
            }
        }
    },
    "PowerState": "On",
    "SerialConsole": {
        "ConnectTypesSupported": [
            "IPMI",
            "SSH"
        ],
        "MaxConcurrentSessions": 15,
        "ServiceEnabled": true
    },
    "ServiceEntryPointUUID": "dd6600ca-b049-41bd-92b6-dd3f7a1a2f58",
    "Status": {
        "Health": "OK",
        "HealthRollup": "OK",
        "State": "Enabled"
    },
    "UUID": "d04530d0-5496-4d43-9ede-464f267404da"
}
#3 lore raw
In reply to Derick Montague
Quoted 142 lines

-----Original Message-----
From: Bruce Mitchell
Sent: Wednesday, October 28, 2020 11:02
To: 'Derick Montague'
Cc: [email protected]
Subject: RE: With webui-vue Firmware version on Overview vs Hardware status BMC manager not always matching.

Quoted 6 lines

-----Original Message-----
From: Derick Montague [mailto:[email protected]]
Sent: Wednesday, October 28, 2020 10:57
To: Bruce Mitchell
Cc: [email protected]
Subject: Re: With webui-vue Firmware version on Overview vs

Hardware

Quoted 17 lines

status BMC manager not always matching.

Quoted 1 line

With webui-vue Firmware version on Overview vs Hardware status

BMC manager not always matching.

Quoted 5 lines

These are screen shots.

I find Romulus is not having this issue:
Overview - https://bmc-

bruce.github.io/Romulus_Overview_Firmware-version.png

Quoted 1 line

Hardware status - https://bmc-

bruce.github.io/Romulus_Hardware-status_Firmware-version.png

Quoted 3 lines

Where our build does show this issue:
Overview - https://bmc-

bruce.github.io/Phoenix_Overview_Firmware-version.png

Quoted 1 line

Hardware status - https://bmc-

Quoted 8 lines

bruce.github.io/Phoenix_Hardware-status_Firmware-version.png

Quoted 1 line

I am curious as to how Hardware status gets the (BMC) Firmware

version as compared to how Overview gets the (BMC) Firmware version.

They are looking in different properties. I am not 100% sure why and it might
be able to be simplified. However, given the information, I would

expect

Quoted 12 lines

that
you are also missing the FW versions on the FW update page also.

It looks like the Overview page uses the Firmware store that calls /redfish/v1/Managers/bmc and gets the value from the Links.ActiveSoftware image.

On the Hardware page uses the BMC store that also uses redfish/v1/Managers/bmc
and it gets the version from the FirmwareVersion property returned.

Quoted 8 lines

I would expect you to also be missing the FW versions on the FW page also.

https://imgur.com/a/TojENYX

Is that true?

Yes, that is TRUE.

This is what I have on the Phoenix version:

{
    "@odata.id": "/redfish/v1/Managers/bmc",
    "@odata.type": "#Manager.v1_9_0.Manager",
    "Actions": {
        "#Manager.Reset": {
            "@Redfish.ActionInfo":
"/redfish/v1/Managers/bmc/ResetActionInfo",
            "target": "/redfish/v1/Managers/bmc/Actions/Manager.Reset"
        },
        "#Manager.ResetToDefaults": {
            "[email protected]": [
                "ResetAll"
            ],
            "target":
"/redfish/v1/Managers/bmc/Actions/Manager.ResetToDefaults"
        }
    },
    "DateTime": "2020-10-28T17:58:58+00:00",
    "Description": "Baseboard Management Controller",
    "EthernetInterfaces": {
        "@odata.id": "/redfish/v1/Managers/bmc/EthernetInterfaces"
    },
    "FirmwareVersion": "v0.05-5-g073bb60b6",
    "GraphicalConsole": {
        "ConnectTypesSupported": [
            "KVMIP"
        ],
        "MaxConcurrentSessions": 4,
        "ServiceEnabled": true
    },
    "Id": "bmc",
    "LastResetTime": "2020-10-28T16:52:18+00:00",
    "Links": {
        "ActiveSoftwareImage": {
            "@odata.id":
"/redfish/v1/UpdateService/FirmwareInventory/db167c64"
        },
        "ManagerForServers": [
            {
                "@odata.id": "/redfish/v1/Systems/system"
            }
        ],
        "[email protected]": 1
    },
    "LogServices": {
        "@odata.id": "/redfish/v1/Managers/bmc/LogServices"
    },
    "ManagerType": "BMC",
    "Model": "OpenBmc",
    "Name": "OpenBmc Manager",
    "NetworkProtocol": {
        "@odata.id": "/redfish/v1/Managers/bmc/NetworkProtocol"
    },
    "Oem": {
        "@odata.id": "/redfish/v1/Managers/bmc#/Oem",
        "@odata.type": "#OemManager.Oem",
        "OpenBmc": {
            "@odata.id": "/redfish/v1/Managers/bmc#/Oem/OpenBmc",
            "@odata.type": "#OemManager.OpenBmc",
            "Certificates": {
                "@odata.id":
"/redfish/v1/Managers/bmc/Truststore/Certificates"
            }
        }
    },
    "PowerState": "On",
    "SerialConsole": {
        "ConnectTypesSupported": [
            "IPMI",
            "SSH"
        ],
        "MaxConcurrentSessions": 15,
        "ServiceEnabled": true
    },
Quoted 8 lines
    "ServiceEntryPointUUID": "dd6600ca-b049-41bd-92b6-dd3f7a1a2f58",
    "Status": {
        "Health": "OK",
        "HealthRollup": "OK",
        "State": "Enabled"
    },
    "UUID": "d04530d0-5496-4d43-9ede-464f267404da"
}

Derick, I am not seeing a real difference between Romulus and Phoenix here.

Screen shots again.

Romulus Redfish FirmwareInventory
https://bmc-bruce.github.io/Romulus_Redfish_FirmwareInventory.png

Phoenix Redfish FirmwareInventory
https://bmc-bruce.github.io/Phoenix_Redfish_FirmwareInventory.png

#4 lore raw
Quoted 9 lines

Derick, I am not seeing a real difference between Romulus and Phoenix here.

Screen shots again.

Romulus Redfish FirmwareInventory
https://bmc-bruce.github.io/Romulus_Redfish_FirmwareInventory.png

Phoenix Redfish FirmwareInventory
https://bmc-bruce.github.io/Phoenix_Redfish_FirmwareInventory.png

Can you look at each of those item's inventory? We are making at request and getting the version from there. Here is the code in GitHub. We are grabbing the path in the @odata.id and making a request to get the FW data.

https://github.com/openbmc/webui-vue/blob/a04d46f7cad356da22d794e994195e801f5998b7/src/store/modules/Configuration/FirmwareStore.js#L42

#5 lore raw
Quoted 25 lines

-----Original Message-----
From: Derick Montague [mailto:[email protected]]
Sent: Wednesday, October 28, 2020 13:52
To: Bruce Mitchell
Cc: [email protected]
Subject: Re: With webui-vue Firmware version on Overview vs Hardware status BMC manager not always matching.

Quoted 1 line

Derick, I am not seeing a real difference between Romulus and Phoenix

here.

Quoted 8 lines

Screen shots again.

Romulus Redfish FirmwareInventory
https://bmc-bruce.github.io/Romulus_Redfish_FirmwareInventory.png

Phoenix Redfish FirmwareInventory
https://bmc-bruce.github.io/Phoenix_Redfish_FirmwareInventory.png

Can you look at each of those item's inventory? We are making at request and getting
the version from there. Here is the code in GitHub. We are grabbing the path in the @odata.id
and making a request to get the FW data.

Quoted 3 lines

https://github.com/openbmc/webui-
vue/blob/a04d46f7cad356da22d794e994195e801f5998b7/src/store/modu les/Configuration/FirmwareStore.js#L42

I have used Redfish-Service-Validator to inspect the Redfish elements for both Romulus and Phoenix. Here are screen shots:
Romulus - https://bmc-bruce.github.io/Romulus_Redfish-Service-Validator.png
Phoenix - https://bmc-bruce.github.io/Phoenix_Redfish-Service-Validator.png

I am not seeing any real difference, other than the Version itself and arbitrary hashes.