All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* With webui-vue Firmware version on Overview vs Hardware status BMC manager not always matching.
@ 2020-10-28 17:25 Bruce Mitchell
  2020-10-28 17:57 ` Derick Montague
  0 siblings, 1 reply; 6+ messages in thread
From: Bruce Mitchell @ 2020-10-28 17:25 UTC (permalink / raw
  To: openbmc@lists.ozlabs.org

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.

-- 
Bruce


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: With webui-vue Firmware version on Overview vs Hardware status BMC manager not always matching.
  2020-10-28 17:25 With webui-vue Firmware version on Overview vs Hardware status BMC manager not always matching Bruce Mitchell
@ 2020-10-28 17:57 ` Derick Montague
  2020-10-28 18:02   ` Bruce Mitchell
                     ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Derick Montague @ 2020-10-28 17:57 UTC (permalink / raw
  To: Bruce Mitchell; +Cc: openbmc@lists.ozlabs.org

> 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.

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?




^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: With webui-vue Firmware version on Overview vs Hardware status BMC manager not always matching.
  2020-10-28 17:57 ` Derick Montague
@ 2020-10-28 18:02   ` Bruce Mitchell
  2020-10-28 20:19   ` Bruce Mitchell
  2020-10-28 20:52   ` Derick Montague
  2 siblings, 0 replies; 6+ messages in thread
From: Bruce Mitchell @ 2020-10-28 18:02 UTC (permalink / raw
  To: Derick Montague; +Cc: openbmc@lists.ozlabs.org

> -----Original Message-----
> From: Derick Montague [mailto:Derick.Montague@ibm.com]
> Sent: Wednesday, October 28, 2020 10:57
> To: Bruce Mitchell
> Cc: openbmc@lists.ozlabs.org
> Subject: Re: With webui-vue Firmware version on Overview vs Hardware
> status BMC manager not always matching.
> 
> > 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.
> 
> 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?
> 
> 


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": {
            "ResetType@Redfish.AllowableValues": [
                "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"
            }
        ],
        "ManagerForServers@odata.count": 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"
}

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: With webui-vue Firmware version on Overview vs Hardware status BMC manager not always matching.
  2020-10-28 17:57 ` Derick Montague
  2020-10-28 18:02   ` Bruce Mitchell
@ 2020-10-28 20:19   ` Bruce Mitchell
  2020-10-28 20:52   ` Derick Montague
  2 siblings, 0 replies; 6+ messages in thread
From: Bruce Mitchell @ 2020-10-28 20:19 UTC (permalink / raw
  To: Derick Montague; +Cc: openbmc@lists.ozlabs.org


> -----Original Message-----
> From: Bruce Mitchell
> Sent: Wednesday, October 28, 2020 11:02
> To: 'Derick Montague'
> Cc: openbmc@lists.ozlabs.org
> Subject: RE: With webui-vue Firmware version on Overview vs Hardware
> status BMC manager not always matching.
> 
> > -----Original Message-----
> > From: Derick Montague [mailto:Derick.Montague@ibm.com]
> > Sent: Wednesday, October 28, 2020 10:57
> > To: Bruce Mitchell
> > Cc: openbmc@lists.ozlabs.org
> > Subject: Re: With webui-vue Firmware version on Overview vs
> Hardware
> > status BMC manager not always matching.
> >
> > > 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.
> >
> > 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?
> >
> >
> 
> 
> 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": {
>             "ResetType@Redfish.AllowableValues": [
>                 "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"
>             }
>         ],
>         "ManagerForServers@odata.count": 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"
> }

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: With webui-vue Firmware version on Overview vs Hardware status BMC manager not always matching.
  2020-10-28 17:57 ` Derick Montague
  2020-10-28 18:02   ` Bruce Mitchell
  2020-10-28 20:19   ` Bruce Mitchell
@ 2020-10-28 20:52   ` Derick Montague
  2020-10-29 23:33     ` Bruce Mitchell
  2 siblings, 1 reply; 6+ messages in thread
From: Derick Montague @ 2020-10-28 20:52 UTC (permalink / raw
  To: Bruce Mitchell; +Cc: openbmc@lists.ozlabs.org

> 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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: With webui-vue Firmware version on Overview vs Hardware status BMC manager not always matching.
  2020-10-28 20:52   ` Derick Montague
@ 2020-10-29 23:33     ` Bruce Mitchell
  0 siblings, 0 replies; 6+ messages in thread
From: Bruce Mitchell @ 2020-10-29 23:33 UTC (permalink / raw
  To: Derick Montague; +Cc: openbmc@lists.ozlabs.org

> -----Original Message-----
> From: Derick Montague [mailto:Derick.Montague@ibm.com]
> Sent: Wednesday, October 28, 2020 13:52
> To: Bruce Mitchell
> Cc: openbmc@lists.ozlabs.org
> Subject: Re: With webui-vue Firmware version on Overview vs Hardware
> status BMC manager not always matching.
> 
> > 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/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.



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-10-29 23:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-28 17:25 With webui-vue Firmware version on Overview vs Hardware status BMC manager not always matching Bruce Mitchell
2020-10-28 17:57 ` Derick Montague
2020-10-28 18:02   ` Bruce Mitchell
2020-10-28 20:19   ` Bruce Mitchell
2020-10-28 20:52   ` Derick Montague
2020-10-29 23:33     ` Bruce Mitchell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.