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:
cc9ccfb
)
hardcode planetlab-f8-i386 as a vref until migration from 4.3 to 5.0 completes
author
S.Çağlar Onur
<caglar@cs.princeton.edu>
Mon, 23 Aug 2010 20:15:30 +0000
(16:15 -0400)
committer
S.Çağlar Onur
<caglar@cs.princeton.edu>
Mon, 23 Aug 2010 20:15:30 +0000
(16:15 -0400)
sliver_vs.py
patch
|
blob
|
history
diff --git
a/sliver_vs.py
b/sliver_vs.py
index
ea0d21d
..
ed81f94
100644
(file)
--- a/
sliver_vs.py
+++ b/
sliver_vs.py
@@
-80,7
+80,10
@@
class Sliver_VS(accounts.Account, vserver.VServer):
logger.verbose('sliver_vs: %s: create'%name)
if vref is None:
logger.log("sliver_vs: %s: ERROR - no vref attached, this is unexpected"%(name))
logger.verbose('sliver_vs: %s: create'%name)
if vref is None:
logger.log("sliver_vs: %s: ERROR - no vref attached, this is unexpected"%(name))
- return
+ # band-aid for short period as old API doesn't have GetSliceFamily function
+ vref = "planetlab-f8-i386"
+ #return
+
# used to look in /etc/planetlab/family,
# now relies on the 'GetSliceFamily' extra attribute in GetSlivers()
# which for legacy is still exposed here as the 'vref' key
# used to look in /etc/planetlab/family,
# now relies on the 'GetSliceFamily' extra attribute in GetSlivers()
# which for legacy is still exposed here as the 'vref' key