Commit 1582bfeb authored by Benjamin Blanc's avatar Benjamin Blanc

Add pdb

parent be3e163c
...@@ -151,6 +151,7 @@ class SlapOSControler(object): ...@@ -151,6 +151,7 @@ class SlapOSControler(object):
""" """
self.log('SlapOSControler : request-->SlapOSMaster') self.log('SlapOSControler : request-->SlapOSMaster')
import pdb; pdb.set_trace()
current_intance_config = {'software_type':software_type, current_intance_config = {'software_type':software_type,
'software_configuration':software_configuration, 'software_configuration':software_configuration,
'computer_guid':computer_guid, 'computer_guid':computer_guid,
...@@ -179,9 +180,6 @@ class SlapOSControler(object): ...@@ -179,9 +180,6 @@ class SlapOSControler(object):
filter_kw = filter_kw, filter_kw = filter_kw,
state = state) state = state)
self.instance_config[reference]['partition'] = partition self.instance_config[reference]['partition'] = partition
# print "Instance requested.\nState is : %s." % partition.getState()
# Is it possible to have the true state of the instance with getState() ?
# Do a return partition ?
except: except:
self.log("SlapOSControler.request, \ self.log("SlapOSControler.request, \
exception in registerOpenOrder", exc_info=sys.exc_info()) exception in registerOpenOrder", exc_info=sys.exc_info())
......
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