X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sliver_vs.py;h=ed81f9472df8da9eec66c994d9ac43fdb0ea783e;hb=25f0e80cb3dfc0914a143aca030bd24fea7b619f;hp=ea0d21d6190630fc0b864ff09f2f16c59b8619d2;hpb=cc9ccfb4f0c82ba596a0176c161cac6ed2ab4561;p=nodemanager.git diff --git a/sliver_vs.py b/sliver_vs.py index ea0d21d..ed81f94 100644 --- 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)) - 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