]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Make port binding message on dead agents clear
authorKevin Benton <blak111@gmail.com>
Wed, 2 Dec 2015 23:35:00 +0000 (15:35 -0800)
committerKevin Benton <blak111@gmail.com>
Wed, 2 Dec 2015 23:55:03 +0000 (15:55 -0800)
commit7dc718d1d750ce416af62a98c450c70f41ec60d6
treeb3b224544d9f66d9106cc12f3cc56a8124d9ce69
parentf308869372458462b18a8753589fae44df8afd1d
Make port binding message on dead agents clear

The previous message was misleading because it made it
sound like port binding was being attempted even though
the agent is dead. However, the actual logic is that
binding will be completely skipped if the agent is dead.

This patch updates the message to make that clear and also
provides the port ID as part of the warning so operators
without debugging enabled can see which ports failed.

Change-Id: Ic5031ad8fb06062e9d12b87430d89fc37eb6cde0
Closes-Bug: #1522192
neutron/plugins/ml2/drivers/mech_agent.py