Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
4b080db4
Commit
4b080db4
authored
Nov 02, 2015
by
Leigh B Stoller
Browse files
Tweak to precheck error parsing for not enough nodes error.
parent
81536d9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
protogeni/lib/GeniCM.pm.in
View file @
4b080db4
...
...
@@ -2548,13 +2548,16 @@ sub GetTicketAuxAux($$$$$$$$$$$)
else
{
$
precheck
.=
$
line
;
#
#
Watch
for
standard
Insufficient
message
:
#
Watch
for
standard
Insufficient
message
s
:
#
#
***
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
();
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment