webui not working for me

Pine, Kathryn ElaineX kathryn.elainex.pine at intel.com
Fri Jan 10 09:08:59 AEDT 2020


Hi,

I’ve uploaded a work in progress patch with the sensors page using Redfish data.

I pulled most of the Intel downstream UI off so it’s a bit plain looking, but should have the functionality needed for using Redfish for sensors:

https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-webui/+/28342<https://urldefense.proofpoint.com/v2/url?u=https-3A__gerrit.openbmc-2Dproject.xyz_c_openbmc_phosphor-2Dwebui_-2B_28342&d=DwMFAg&c=5VD0RTtNlTh3ycd41b3MUw&r=v9MU0Ki9pWnTXCWwjHPVgpnCR80vXkkcrIaqU7USl5g&m=JkVnc6xcsrOQFOz3T-1BDffQOJNyNF4wVA5bKw8bIhA&s=tAWerk9BOa0ESN6g41fJ4pT5FsvVhIDygTBrFzQVf8Q&e=>

If there’s value in getting this into upstream, please let me know – would require a bit more coordinating and UI tweaks to get this to match upstream, which is why for now I just uploaded as WIP.

Best,
Kathy


From: openbmc <openbmc-bounces+kathryn.elainex.pine=intel.com at lists.ozlabs.org> On Behalf Of Vijay Khemka
Sent: Monday, January 6, 2020 4:46 PM
To: Gunnar Mills <gmills at linux.vnet.ibm.com>; openbmc at lists.ozlabs.org
Subject: Re: webui not working for me



From: Gunnar Mills <gmills at linux.vnet.ibm.com<mailto:gmills at linux.vnet.ibm.com>>
Date: Monday, January 6, 2020 at 4:40 PM
To: Vijay Khemka <vijaykhemka at fb.com<mailto:vijaykhemka at fb.com>>, "openbmc at lists.ozlabs.org<mailto:openbmc at lists.ozlabs.org>" <openbmc at lists.ozlabs.org<mailto:openbmc at lists.ozlabs.org>>
Subject: Re: webui not working for me



On 1/6/2020 6:29 PM, Vijay Khemka wrote:

It says on page “there are no sensors available”


A curl call to /xyz/openbmc_project/sensors/enumerate returns all the sensors correctly ?

I have not used any curl command here. Please let me know what curl command to use. But intel is using redfish method to get these data.

https://github.com/Intel-BMC/phosphor-webui/blob/e34f46c191a4c993608ac64a867920fb640e8133/app/common/services/api-utils.js#L932


If so, probably will need to add some console.log()s to that function
https://github.com/openbmc/phosphor-webui/blob/f70f42553615972163b36c9b4d77be07e4399122/app/common/services/api-utils.js#L912
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20200109/e883ab7b/attachment.htm>


More information about the openbmc mailing list