openbmc / bmcweb

A do everything Redfish, KVM, GUI, and DBus webserver for OpenBMC
Apache License 2.0
154 stars 131 forks source link

ethernet.hpp Got extra property: Type or Gateway for ipv4 & ipv6 #222

Closed ushasrinivasan-cornelisnetworks closed 2 years ago

ushasrinivasan-cornelisnetworks commented 3 years ago

Describe the bug When Refreshing the GUI screen I see errors generated in bmcweb ethernet.hpp at line 479 or 562: Jan 01 08:56:42 cn-portwell bmcweb[153]: (1970-01-01 08:56:42) [ERROR "ethernet.hpp":562] Got extra property: Type on the /xyz/openbmc_project/network/eth0/ipv4/44589eaf object Jan 01 08:56:42 cn-portwell bmcweb[153]: (1970-01-01 08:56:42) [ERROR "ethernet.hpp":479] Got extra property: Gateway on the /xyz/openbmc_project/network/eth0/ipv6/58bcb868 object

Environment I am running on Portwell dev board with AST2500. github/openbmc commit:779a182c6adac1c33ae63e0a20f73e19e97047d3

To Reproduce Steps to reproduce the behavior:

  1. Hit Refresh on BMC GUi
  2. Run journalctl to view the generated messages
  3. Look for the message described above

Is this a regression No

edtanous commented 3 years ago

Does this have any ill behavior aside from the logging? If you want to change the log level of that message to warning, feel free to submit a patch, but it's a pretty low priority, as it doesn't occur on production builds (given logging is not on by default).

ushasrinivasan-cornelisnetworks commented 3 years ago

Nope, no ill behavior except logging.

edtanous commented 3 years ago

Like I said, feel free to drop the severity of that log message in a patchset if you like. We generally don't track them that carefully.

ushasrinivasan-cornelisnetworks commented 3 years ago

Since I don't consistently get the WebUI displayed after login, I was scouring the journal for errors and noticed the above. I am more concerned about not getting the WebUI page after login with webui-vue. And, I'm not sure what if anything should be done about errors like these: -bmcweb[160]: (2021-08-13 18:12:10) [ERROR "http_connection.hpp":510] 0x1bd9d08 Error while reading: stream truncated -bmcweb[160]: (2021-08-13 18:14:40) [ERROR "http_connection.hpp":504] 0x1bc2dd0 async_read_header 650 Bytes -bmcweb[160]: (2021-08-13 18:14:40) [DEBUG "systems.hpp":626] DBUS response error generic:113 -bmcweb[160]: (2021-08-13 18:14:40) [DEBUG "systems.hpp":1741] DBUS response error generic:113 -bmcweb[160]: (2021-08-13 18:14:40) [DEBUG "systems.hpp":1141] D-BUS response error generic:113 Should I ignore them as well?

edtanous commented 3 years ago

hard to say without doing initial triage on what those lines are calling. If they're calling optional interfaces, the errors are expected. If they're calling required interfaces, that could be part of your problem.

edtanous commented 2 years ago

Lack of patchset to resolve this, arguably not a bug, and stale issue. Closing. Feel free to reopen if this is still a concern.