neutron metering agent does not work in DVR mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Undecided
|
Swaminathan Vasudevan |
Bug Description
* High level description:
When a user adds a metering label/metering label rule, metering agents on compute nodes will be notified to setup iptables. However, in Mitaka Neutron DVR mode, metering agents on compute nodes will not be notified and the iptables on compude nodes will not be setup.
After tracing the code, I believe the root cause is the side effect of "Improve DVR router sheduling mechanism for better performance/
https:/
This feature skips the binding process of L3 agents and routers. However, metering agents will only be notified based on the bindings.
* Pre-conditions:
None
* Step-by-step reproduction steps:
1. launch an instance
2. create a metering label rule based on the private ip of the instance
* Expected output:
The iptables should be setup in the namespace of the router of the network of the instance.
* Actual output:
The iptables does not change, and the metering will not work.
* Version:
Mitaka
* Environment:
Neutron DVR Mode
* Perceived severity:
It is a blocker for DVR environment
tags: | added: l3-dvr-backlog metering |
Changed in neutron: | |
status: | New → Confirmed |
Changed in neutron: | |
assignee: | nobody → Dongcan Ye (hellochosen) |
tags: | added: neutron-proactive-backport-potential |
tags: | removed: neutron-proactive-backport-potential |
Do you have the latest stable/mitaka code? This should have been fixed with https:/ /review. openstack. org/#/c/ 424285/