Hey Checkyourlogs Fans,

Today, I was working with a client that was having trouble getting the Dell/EMC Open Manage extension for Windows Admin Center working.

What we should see is something like this:


Instead, what we get is this:


Here is a screenshot of a Server that works

Here is a screenshot of one that doesn’t work.

The BMC IP Address and BMC Serial Number fields are missing.

When trying to access the broken server this error popped up:

The Redfish service is not accessible because the USB NIC adapter is disabled on the target node OS, or the Redfish service is not enabled on iDRAC. To manage the target node by using OpenManage Integration with Microsoft Windows Admin Center, ensure that the USB NIC adapter and Redfish service are enabled on the target node.


In troubleshooting this, I found the install guide from Dell’s Support Portal.

https://www.dell.com/support/manuals/ca/en/cabsdt1/openmanage-integration-microsoft-windows-admin-center/omimswac_1.0_ug/troubleshooting?guid=guid-83af6e77-7c35-4e56-bb8e-51ec63b72a26&lang=en-us

The log files are located at c:\windows\temp\OMIMSWAC

Here is the log file from the failing machine:

[[2019-11-26T16:17:10] ][Debug][21828]: [48]: Logger-Configure:: Logfile[C:\Windows\Temp\OMIMSWAC\Inventory1293.log], loglevel[0], processid[21828], Verbose[0]

[[2019-11-26T16:17:10] ][Debug][21828]: [622]: main:: Logfile[C:\Windows\Temp\OMIMSWAC\Inventory1293.log], loglevel[0]

[[2019-11-26T16:17:10] ][Information][21828]: [645]: main:: Create command line parameter passed.

[[2019-11-26T16:17:10] ][Debug][21828]: [233]: main-Init:: Enter

[[2019-11-26T16:17:10] ][Debug][21828]: [469]: bmcInterface-bmcInterfaceParam:: Enter

[[2019-11-26T16:17:10] ][Debug][21828]: [473]: bmcInterface-bmcInterfaceParam:: Exit [0]

[[2019-11-26T16:17:10] ][Information][21828]: [254]: main-Init:: Got the Mutex Lock.

[[2019-11-26T16:17:10] ][Information][21828]: [187]: ProcHandler-IsSessionExists:: IsKeyExists return as 0

[[2019-11-26T16:17:10] ][Information][21828]: [104]: ProcHandler-GetString:: Failed to fetch S key with error message [Get size of string value failed.] as errorcode – 2

[[2019-11-26T16:17:10] ][Information][21828]: [104]: ProcHandler-GetString:: Failed to fetch S key with error message [Get size of string value failed.] as errorcode – 2

[[2019-11-26T16:17:10] ][Information][21828]: [131]: ProcHandler-GetIPAddress:: Get IPAddress is

[[2019-11-26T16:17:10] ][Information][21828]: [104]: ProcHandler-GetString:: Failed to fetch S key with error message [Get size of string value failed.] as errorcode – 2

[[2019-11-26T16:17:10] ][Information][21828]: [118]: ProcHandler-GetUser:: Get User is

[[2019-11-26T16:17:10] ][Information][21828]: [104]: ProcHandler-GetString:: Failed to fetch S key with error message [Get size of string value failed.] as errorcode – 2

[[2019-11-26T16:17:10] ][Information][21828]: [138]: ProcHandler-GetRedfishPrefix:: Get RedfishPrefix is

[[2019-11-26T16:17:10] ][Information][21828]: [229]: ProcHandler-GetReference:: GetDword return as 0

[[2019-11-26T16:17:10] ][Debug][21828]: [578]: bmcInterface-GetSystemGeneration:: Enter

[[2019-11-26T16:17:10] ][Information][21828]: [584]: bmcInterface-GetSystemGeneration:: System generation is [12G]

[[2019-11-26T16:17:10] ][Debug][21828]: [592]: bmcInterface-GetSystemGeneration:: Exit [0]

[[2019-11-26T16:17:10] ][Debug][21828]: [482]: bmcInterface-isUsbnicEnabled:: Enter

[[2019-11-26T16:17:10] ][Debug][21828]: [490]: bmcInterface-isUsbnicEnabled:: Exit [1]

[[2019-11-26T16:17:10] ][Information][21828]: [317]: main-Init:: USB NIC allready enabled.

[[2019-11-26T16:17:10] ][Information][21828]: [251]: ProcHandler-SetUSBNICEnabledAllready:: SetDword return as 0 for val 1

[[2019-11-26T16:17:10] ][Information][21828]: [201]: main-Init:: GetIpAddress Enter.

[[2019-11-26T16:17:10] ][Debug][21828]: [554]: bmcInterface-GetIPAddress:: Enter

[[2019-11-26T16:17:10] ][Information][21828]: [564]: bmcInterface-GetIPAddress:: Get USB NIC ipaddress 169.254.0.1

[[2019-11-26T16:17:10] ][Debug][21828]: [572]: bmcInterface-GetIPAddress:: Exit [0]

[[2019-11-26T16:17:10] ][Information][21828]: [222]: main-Init:: GetIpAddress Exit.

[[2019-11-26T16:17:10] ][Information][21828]: [434]: curlInterface::IsRedfishEnabled:: curl_url : [https://169.254.0.1/redfish/v1]

[[2019-11-26T16:17:11] ][Information][21828]: [460]: curlInterface-IsRedfishEnabled:: Response status code is 404

[[2019-11-26T16:17:11] ][Information][21828]: [38]: main-Cleanup:: Trying to cleanup on Failure scenario for errorcode – 2

[[2019-11-26T16:17:11] ][Information][21828]: [269]: ProcHandler-ReleaseKey:: delete key return result [0]

[[2019-11-26T16:17:11] ][Information][21828]: [455]: main-Init:: Unlock the Mutex Lock.

[[2019-11-26T16:17:11] ][Debug][21828]: [476]: main-Init:: Exit

100010

2019-11-26_16-17-55-9375 :: “100010”

2019-11-26_16-17-11-2881 :: DeleteWACexe:: delete C:\temp\sme\dell-emc.openmanage-integration.1.0.1\Node\5e6a2c8e-4753-4625-b193-461a25e0acf8 folder successful

2019-11-26_16-17-11-3037 :: DeleteWACexe:: delete C:\temp\sme\dell-emc.openmanage-integration.1.0.1\Node folder successful

2019-11-26_16-17-09-3506 :: Successfully copied WAC.exe into C:\temp\sme\dell-emc.openmanage-integration.1.0.1\Node\5e6a2c8e-4753-4625-b193-461a25e0acf8

2019-11-26_16-17-11-2568 :: Error code:: 100010

2019-11-26_16-17-09-1631 :: Creating directory with 5e6a2c8e-4753-4625-b193-461a25e0acf8

2019-11-26_16-17-09-3506 :: Successfully copied libcmtbmcapi.dll into C:\temp\sme\dell-emc.openmanage-integration.1.0.1\Node\5e6a2c8e-4753-4625-b193-461a25e0acf8

On a working machine, the response code is [0], which means success.

Here is what this looks like on a working machine when I tested the path.



It created a.JSON file, and when I viewed the file, it looked like this.


This is what Windows Admin center is expecting back and what is missing from the broken machine.

On the target server the USB Passthrough was enabled:


However I couldn’t find the Redfish checkbox anywhere. It was supposed to be under Network Services for the iDRAC controller.


On a working server there was a table called Redfish, and you could enable it.

In my continued troubleshooting, I discovered the document below from dell that states you need a minimum Lifecycle controller version of 2.30.30.30

https://topics-cdn.dell.com/pdf/idrac7-8-lifecycle-controller-v2.30.30.30_API-Guide_en-us.pdf


I checked, and the version of the Lifecycle Controller and iDRAC was below


I was on version 1.4.0.128, and it looks like this needed to be on version 2.30.30.30 or higher.

On the Dell support site there was an urgent update as of May 2019.


It said the new version was 2.63.60.62, so I tried updating the server.



Yup, let us install this.


Now, let’s have a look and see if Redfish is showing up.


Yes it is. Time to retest Windows Admin Center and the Dell/EMC extension

Yahoo!!! It’s working.


Here is a look at the logs now that it is working:

C:\windows\temp\OMIMSWAC\Inventory4414.log

[[2019-11-26T18:51:41] ][Debug][19740]: [48]: Logger-Configure:: Logfile[C:\Windows\Temp\OMIMSWAC\Inventory4414.log], loglevel[0], processid[19740], Verbose[0]

[[2019-11-26T18:51:41] ][Debug][19740]: [622]: main:: Logfile[C:\Windows\Temp\OMIMSWAC\Inventory4414.log], loglevel[0]

[[2019-11-26T18:51:41] ][Information][19740]: [645]: main:: Create command line parameter passed.

[[2019-11-26T18:51:41] ][Debug][19740]: [233]: main-Init:: Enter

[[2019-11-26T18:51:41] ][Debug][19740]: [469]: bmcInterface-bmcInterfaceParam:: Enter

[[2019-11-26T18:51:41] ][Debug][19740]: [473]: bmcInterface-bmcInterfaceParam:: Exit [0]

[[2019-11-26T18:51:41] ][Information][19740]: [254]: main-Init:: Got the Mutex Lock.

[[2019-11-26T18:51:41] ][Information][19740]: [187]: ProcHandler-IsSessionExists:: IsKeyExists return as 0

[[2019-11-26T18:51:41] ][Information][19740]: [104]: ProcHandler-GetString:: Failed to fetch S key with error message [Get size of string value failed.] as errorcode – 2

[[2019-11-26T18:51:41] ][Information][19740]: [104]: ProcHandler-GetString:: Failed to fetch S key with error message [Get size of string value failed.] as errorcode – 2

[[2019-11-26T18:51:41] ][Information][19740]: [131]: ProcHandler-GetIPAddress:: Get IPAddress is

[[2019-11-26T18:51:41] ][Information][19740]: [104]: ProcHandler-GetString:: Failed to fetch S key with error message [Get size of string value failed.] as errorcode – 2

[[2019-11-26T18:51:41] ][Information][19740]: [118]: ProcHandler-GetUser:: Get User is

[[2019-11-26T18:51:41] ][Information][19740]: [104]: ProcHandler-GetString:: Failed to fetch S key with error message [Get size of string value failed.] as errorcode – 2

[[2019-11-26T18:51:41] ][Information][19740]: [138]: ProcHandler-GetRedfishPrefix:: Get RedfishPrefix is

[[2019-11-26T18:51:41] ][Information][19740]: [229]: ProcHandler-GetReference:: GetDword return as 0

[[2019-11-26T18:51:41] ][Debug][19740]: [578]: bmcInterface-GetSystemGeneration:: Enter

[[2019-11-26T18:51:41] ][Information][19740]: [584]: bmcInterface-GetSystemGeneration:: System generation is [12G]

[[2019-11-26T18:51:41] ][Debug][19740]: [592]: bmcInterface-GetSystemGeneration:: Exit [0]

[[2019-11-26T18:51:41] ][Debug][19740]: [482]: bmcInterface-isUsbnicEnabled:: Enter

[[2019-11-26T18:51:41] ][Debug][19740]: [490]: bmcInterface-isUsbnicEnabled:: Exit [1]

[[2019-11-26T18:51:41] ][Information][19740]: [317]: main-Init:: USB NIC allready enabled.

[[2019-11-26T18:51:41] ][Information][19740]: [251]: ProcHandler-SetUSBNICEnabledAllready:: SetDword return as 0 for val 1

[[2019-11-26T18:51:41] ][Information][19740]: [201]: main-Init:: GetIpAddress Enter.

[[2019-11-26T18:51:41] ][Debug][19740]: [554]: bmcInterface-GetIPAddress:: Enter

[[2019-11-26T18:51:41] ][Information][19740]: [564]: bmcInterface-GetIPAddress:: Get USB NIC ipaddress 169.254.0.1

[[2019-11-26T18:51:41] ][Debug][19740]: [572]: bmcInterface-GetIPAddress:: Exit [0]

[[2019-11-26T18:51:41] ][Information][19740]: [222]: main-Init:: GetIpAddress Exit.

[[2019-11-26T18:51:41] ][Information][19740]: [434]: curlInterface::IsRedfishEnabled:: curl_url : [https://169.254.0.1/redfish/v1]

[[2019-11-26T18:51:46] ][Information][19740]: [479]: curlInterface-IsRedfishEnabled:: Response status code is 200

[[2019-11-26T18:51:46] ][Debug][19740]: [496]: bmcInterface-CreateUser:: Enter

[[2019-11-26T18:51:48] ][Information][19740]: [509]: bmcInterface-CreateUser:: Successfully created user 7HFOorP

[[2019-11-26T18:51:48] ][Debug][19740]: [535]: bmcInterface-CreateUser:: Exit [0]

[[2019-11-26T18:51:48] ][Information][19740]: [372]: main-Init:: Successfully created user at slot 4.

[[2019-11-26T18:51:48] ][Information][19740]: [395]: main-Init:: Initiate create session ID process…

[[2019-11-26T18:51:48] ][Information][19740]: [299]: curlInterface-PostSessionID:: Initiate session id creation for 169.254.0.1

[[2019-11-26T18:51:48] ][Information][19740]: [69]: curlInterface-CreateCurlHandle:: URL is https://169.254.0.1/redfish/v1/Sessions

[[2019-11-26T18:51:56] ][Information][19740]: [157]: curlInterface-PostURL:: http response status code is 201 []

[[2019-11-26T18:51:56] ][Information][19740]: [314]: curlInterface-PostSessionID::PostURL return result [0]

[[2019-11-26T18:51:56] ][Information][19740]: [344]: curlInterface-InitializeSessionID:: Response Data : {“@Message.ExtendedInfo”:[{“Message”:”The resource has been created successfully”,”MessageArgs”:[],”MessageArgs@odata.count”:0,”MessageId”:”Base.1.0.Created”,”RelatedProperties”:[],”RelatedProperties@od

[[2019-11-26T18:51:56] ][Information][19740]: [355]: curlInterface-InitializeSessionID:: Response status code is 201

[[2019-11-26T18:51:56] ][Information][19740]: [53]: ProcHandler-SetUser:: Set User return result 0

[[2019-11-26T18:51:56] ][Information][19740]: [67]: ProcHandler-SetIPAddress:: Set IPAddress return result 0

[[2019-11-26T18:51:56] ][Information][19740]: [46]: ProcHandler-SetSessionID:: Set session ID return result 0

[[2019-11-26T18:51:56] ][Information][19740]: [74]: ProcHandler-SetSessionLocation:: Set SessionLocation return result 0

[[2019-11-26T18:51:56] ][Information][19740]: [244]: ProcHandler-SetSlot:: SetDword return as 0 for val 4

[[2019-11-26T18:51:56] ][Information][19740]: [81]: ProcHandler-SetRedfishPrefix:: Set Redfish prefix return result 0

[[2019-11-26T18:51:56] ][Information][19740]: [229]: ProcHandler-GetReference:: GetDword return as 0

[[2019-11-26T18:51:56] ][Information][19740]: [158]: ProcHandler-IncrementReference:: Get count val is 0

[[2019-11-26T18:51:56] ][Information][19740]: [258]: ProcHandler-SetReference:: SetDword return as 0 for val 1

[[2019-11-26T18:51:56] ][Information][19740]: [161]: ProcHandler-IncrementReference:: Set counnt val is 1

[[2019-11-26T18:51:56] ][Information][19740]: [428]: main-Init:: Successfully created session id for user 7HFOorP

[[2019-11-26T18:51:56] ][Information][19740]: [229]: ProcHandler-GetReference:: GetDword return as 1

[[2019-11-26T18:51:56] ][Information][19740]: [104]: ProcHandler-GetString:: Failed to fetch S key with error message [Get size of string value failed.] as errorcode – 2

[[2019-11-26T18:51:56] ][Information][19740]: [88]: ProcHandler-SetApplicationId:: Set application ID return result 0

[[2019-11-26T18:51:56] ][Information][19740]: [455]: main-Init:: Unlock the Mutex Lock.

[[2019-11-26T18:51:56] ][Debug][19740]: [476]: main-Init:: Exit

Notice how we are not getting the 404 error message anymore. Now we have a response code of 200.

I know this was a long post, and I hope you find this valuable.

Have a great evening,

Dave

Advertisements