git://git.onelab.eu
/
nodemanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0aa8be3
)
Add a friendly log message to prove that the slice id was correctly
author
Sapan Bhatia
<sapanb@cs.princeton.edu>
Tue, 27 Apr 2010 18:21:36 +0000
(18:21 +0000)
committer
Sapan Bhatia
<sapanb@cs.princeton.edu>
Tue, 27 Apr 2010 18:21:36 +0000
(18:21 +0000)
recorded.
sliver_vs.py
patch
|
blob
|
history
diff --git
a/sliver_vs.py
b/sliver_vs.py
index
a8fe15a
..
9615ca7
100644
(file)
--- a/
sliver_vs.py
+++ b/
sliver_vs.py
@@
-270,6
+270,7
@@
class Sliver_VS(accounts.Account, vserver.VServer):
if not os.path.exists (vserver_config_path):
os.makedirs (vserver_config_path)
file('%s/slice_id'%vserver_config_path, 'w').write("%d"%self.slice_id)
+ logger.log("sliver_vs: Recorded slice id %d for slice %s"%(self.slice_id,self.name))
except IOError,e:
logger.log("sliver_vs: Could not record slice_id for slice %s. Error: %s"%(self.name,str(e)))