Skip to content
Snippets Groups Projects
Commit 01fb982d authored by Morris Jette's avatar Morris Jette
Browse files

Add support for another possible capmc failure mode

parent 69d335e0
No related branches found
No related tags found
No related merge requests found
...@@ -420,7 +420,9 @@ static int _update_all_nodes(char *host_list) ...@@ -420,7 +420,9 @@ static int _update_all_nodes(char *host_list)
} }
error("%s: capmc(%s,%s,%s): %d %s", prog_name, error("%s: capmc(%s,%s,%s): %d %s", prog_name,
argv[1], argv[2], argv[3], status, resp_msg); argv[1], argv[2], argv[3], status, resp_msg);
if (resp_msg && strstr(resp_msg, "Could not lookup") && if (resp_msg &&
(strstr(resp_msg, "Could not lookup") ||
strstr(resp_msg, "Internal server error")) &&
(retry <= capmc_retries)) { (retry <= capmc_retries)) {
/* State Manager is down. Sleep and retry */ /* State Manager is down. Sleep and retry */
sleep(1); sleep(1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment