Commit 4b080db4 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Tweak to precheck error parsing for not enough nodes error.

parent 81536d9d
......@@ -2548,13 +2548,16 @@ sub GetTicketAuxAux($$$$$$$$$$$)
else {
$precheck .= $line;
#
# Watch for standard Insufficient message:
# Watch for standard Insufficient messages:
#
# *** 2 nodes of type pc requested, but only 1 available \
# nodes of type pc found
# *** No available physical nodes of type c8220 found
#
if ($line =~
/^\s*\*\*\* (\d*) nodes of type ([-\w]*) requested, but/) {
if (($line =~
/^\s*\*\*\* (\d*) nodes of type ([-\w]*) requested, but/) ||
($line =~
/^\s*\*\*\* No available physical nodes of type/)) {
$errorcode = GENIRESPONSE_INSUFFICIENT_NODES();
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment