Symptom
When "show file nxos.9.3.10.bin md5sum" is issued to the Nexus switch via Curl, any further NXAPI requests sent to the switch will fail with the following error message.
Example:
server1:/var/tmp# curl -k -s -H "Content-Type: application/json-rpc" -H "Cache-Control: no-cache" -u 'user:password' --request "POST" --data-binary '[{"jsonrpc": "2.0", "method": "cli_ascii", "params": {"cmd": "show file nxos.9.3.10.bin md5sum", "version": 1}, "id": 1, "rollback": "stop-on-error"}]' https://192.168.100.1/ins
{
"jsonrpc": "2.0",
"result": {
"msg": "2dcae3f31446213f9a610240796a7826\n"
},
"id": 1
}
server1:/var/tmp# curl -k -s -H "Content-Type: application/json-rpc" -H "Cache-Control: no-cache" -u 'user:password' --request "POST" --data-binary '[{"jsonrpc": "2.0", "method": "cli_ascii", "params": {"cmd": "show version", "version": 1}, "id": 1, "rollback": "stop-on-error"}]' https://192.168.100.1/ins
{
"jsonrpc": "2.0",
"error": {
"code": -32000,
"message": "Server error",
"data": {
"msg": "The server is busy processing another request. Please try again later."
}
},
"id": 1
}
Conditions
Any Nexus 9000/3000
Running a release at or above 9.3(7) and below 9.3(12)
Curl POST can be for the MD5 of any NXOS Image
Workaround
Clear the cached memory explicitly after the execution of show file md5 Curl POST using below command:
switch(config)# feature bash
switch(config)# run bash sudo su
bash-4.3# echo 3 > /proc/sys/vm/drop_caches
This will require remote or local access to the affected switch with login via an admin account for Root access.
Further Problem Description
Any Nexus 9000/3000 devices running a 10.x release is NOT impacted by this issue.