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
17ecfbce
Commit
17ecfbce
authored
Jun 03, 2014
by
Leigh B Stoller
Browse files
Clear the tip acl when a node is released.
parent
7e2f7b68
Changes
2
Hide whitespace changes
Inline
Side-by-side
db/Node.pm.in
View file @
17ecfbce
...
...
@@ -3754,7 +3754,10 @@ sub ClrTipAclUrl($)
my $node_id = $self->node_id();
DBQueryWarn("update tiplines set urlhash=NULL,urlstamp=0 ".
"where node_id='
$
node_id
'");
"where node_id='
$
node_id
'")
or return -1;
return 0;
}
# Stubs for calling "libTaintStates" common taint handling code
...
...
db/nfree.in
View file @
17ecfbce
#!/usr/bin/perl -w
#
# Copyright (c) 2000-201
3
University of Utah and the Flux Group.
# Copyright (c) 2000-201
4
University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
...
...
@@ -488,6 +488,9 @@ foreach my $node (@freed_nodes) {
$node
->
ClearBootAttributes
()
==
0
or
$error
++
;
$node
->
ClrTipAclUrl
()
==
0
or
$error
++
;
#
# If the node is a virtnode, force its state to SHUTDOWN. This is mostly
# to avoid silly stated warnings for nodes that do not have a physical
...
...
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