Merge "Change LOG.warn to LOG.warning"
This commit is contained in:
commit
0155dbde48
@ -314,13 +314,13 @@ def l3_agent_check(qclient):
|
|||||||
try:
|
try:
|
||||||
target_id = random.choice(agent_alive_list)
|
target_id = random.choice(agent_alive_list)
|
||||||
except IndexError:
|
except IndexError:
|
||||||
LOG.warn("There are no l3 agents alive we could "
|
LOG.warning("There are no l3 agents alive we could "
|
||||||
"migrate routers onto.")
|
"migrate routers onto.")
|
||||||
target_id = None
|
target_id = None
|
||||||
|
|
||||||
migration_count += 1
|
migration_count += 1
|
||||||
LOG.warn("Would like to migrate router=%s to agent=%s",
|
LOG.warning("Would like to migrate router=%s to agent=%s",
|
||||||
router_id, target_id)
|
router_id, target_id)
|
||||||
|
|
||||||
if migration_count > 0:
|
if migration_count > 0:
|
||||||
sys.exit(2)
|
sys.exit(2)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user