cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
848
Views
1
Helpful
4
Replies

UCS C220 M4 redfish implementation - not able to get EthernetInterface

fcristin RedHat
Level 1
Level 1

Hello,

is anyone using redfish with this server model?

I'm trying to deploy openshift bare metal IPI, it uses redfish to inspect the HW and it is not able to get the Ethernet Interfaces, CIMC replies with a 500 error:

# curl -L -k --user admin:<password> https://<hostname>/redfish/v1/Systems/<serial>/EthernetInterfaces
< HTTP/1.1 500 
< Server: webserver
< Date: Wed, 11 May 2022 17:25:05 GMT
< Content-Type: application/json
< Content-Length: 169
< Connection: keep-alive
< X-Content-Type-Options: nosniff
< X-Robots-Tag: noindex, nofollow, nosnippet, noarchive
<  
{
 "error":{
   "code":"InternalError",
   "message":"...cal/share/lua/5.1/providers/Cisco_EthernetInterfaces.lua:7: attempt to index local 'str' (a nil value)"
 }
4 Replies 4

Brian Morrissey
Cisco Employee
Cisco Employee

Worked fine on a m5 and failed for me as well on a m4 so did some digging and it doesn't look it may be supported along with a bunch of other commands:

 

Retrieving Adapter Ethernet Interface Details


 

Note

This request is not supported for Cisco UCS C220 M4, C240 M4, C460 M4, and S3X60 servers.

VIC 13XX cards are supported from 4.1(3b) release onwards.

https://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/c/sw/api/4_1/b_Cisco_IMC_REST_API_guide_4_1/b_Cisco_IMC_api_3x60_chapter_010.html#Cisco_Reference.dita_eb054f96-2de7-46fb-b146-95ac7207bc06

 

Other thing to check is whether or not a VIC card is installed, that may have a bearing on the results if it is not a VIC

The section you're referring is for another GET request on chassis, the one I'm asking for is documented here:

https://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/c/sw/api/4_1/b_Cisco_IMC_REST_API_guide_4_1/b_Cisco_IMC_api_3x60_chapter_010.html#Cisco_Reference.dita_1132eac4-4ec0-4868-aba5-063f9960c873

 

It does not mention it is not supported, is there any chance is going to be fixed??

Found a m4 with a VIC1227 and it worked fine with that redfish command, went ahead and submitted the following bug which should be available to view in a few days:

https://bst.cloudapps.cisco.com/bugsearch/bug/CSCwb85135

Hi Brian,

thank you so much for your help, I'm really appreciating it! I'm looking forward to check the bug progression.

 

Best Regards

/Francesco

 

Review Cisco Networking for a $25 gift card

Review Cisco Networking for a $25 gift card