Setting admin_state down on port produces no logs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Low
|
Hynek Mlnarik | ||
Kilo |
New
|
Undecided
|
Unassigned |
Bug Description
Tried to check how admin_state down affects HA ports.
Noticed that management data between them stoped and cause them to become master. Although traffic to connected floating IP remain working.
Problem is: no log on OVS agent idicated why it's processing a port update or why it's setting it's VLAN tag to 4095.
(06:39:44 PM) amuller: there should be an INFO level log saying something like: "Setting port admin_state to {True/False}
Current log:
2015-06-08 10:25:25.782 1055 INFO neutron.
2015-06-08 10:25:25.783 1055 INFO neutron.
2015-06-08 10:25:26.784 1055 INFO neutron.
2015-06-08 10:25:26.940 1055 INFO neutron.
tags: | added: low-hanging-fruit |
Changed in neutron: | |
assignee: | nobody → Anand Shanmugam (anand1712) |
Changed in neutron: | |
assignee: | Anand Shanmugam (anand1712) → Srilatha Tangirala (jsrilatha) |
Changed in neutron: | |
assignee: | Srilatha Tangirala (jsrilatha) → Hynek Mlnarik (hmlnarik-s) |
Changed in neutron: | |
status: | Confirmed → In Progress |
Additional info / summary: When setting the admin_state to False on a port, the OVS agents are very confusing as there is no explicit message about the agent reacting to the event because of the admin state change, and no message explaining why its setting the port's vlan to 4095. It seems like an error and not an operation caused by the API.