Merge "Make port binding message on dead agents clear"
This commit is contained in:
commit
770624b13b
@ -73,8 +73,9 @@ class AgentMechanismDriverBase(api.MechanismDriver):
|
|||||||
LOG.debug("Bound using segment: %s", segment)
|
LOG.debug("Bound using segment: %s", segment)
|
||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
LOG.warning(_LW("Attempting to bind with dead agent: %s"),
|
LOG.warning(_LW("Refusing to bind port %(pid)s to dead agent: "
|
||||||
agent)
|
"%(agent)s"),
|
||||||
|
{'pid': context.current['id'], 'agent': agent})
|
||||||
|
|
||||||
@abc.abstractmethod
|
@abc.abstractmethod
|
||||||
def try_to_bind_segment_for_agent(self, context, segment, agent):
|
def try_to_bind_segment_for_agent(self, context, segment, agent):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user