Commit 06447655 authored by Kirk Webb's avatar Kirk Webb
Browse files

Minor bugfixes and output clarifications.

parent 193b35b6
......@@ -742,7 +742,7 @@ class Node:
"\n\n%s" % (self.nodeid, tbstr), TBOPS)
pass
deleted = self.plab.agent.freeNode(self)
deleted = self.slice.plab.agent.freeNode(self)
TIMESTAMP("freenode %s finished." % self.nodeid)
return not deleted
......@@ -759,7 +759,7 @@ class Node:
def _renew(self):
res, self.nodemeta, self.leaseend = \
self.plab.agent.renewNode(self)
self.slice.plab.agent.renewNode(self)
DBQueryFatal("update plab_slice_nodes"
" set nodemeta = %s, leaseend = %s"
" where node_id = %s",
......
......@@ -78,7 +78,8 @@ def main(args):
try:
node = slice.loadNode(nodeid)
except:
print "free: Node %s wasn't really allocated" % nodeid
print "free: Node %s doesn't appear to be allocated to %s/%s" % \
(nodeid, pid, eid)
sys.exit(1)
node.free()
......
Markdown is supported
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