Neutron-metering-agent failed to get traffic counters after a router moving from one l3-agent to another
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Confirmed
|
Low
|
Sergey Belous | ||
9.x |
Won't Fix
|
Low
|
Sergey Belous |
Bug Description
MOS 8.0 env, 1 compute, 3 controllers.
Step to reproduce:
1. Create internal net, subnet, router. Set external gateway for router, add interface to router for created net.
2. Create neutron-meter-label
3. Remove a router from a L3 agent from one controller and add a router to a L3 agent on another controller
After that we can see traces in neutron-meter-agent logs:
2015-12-02 11:02:42.607 26244 DEBUG neutron.
2015-12-02 11:02:43.334 26244 ERROR neutron.
Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/
Exit code: 1
Stdin:
Stdout:
Stderr: iptables: No chain/target/match by that name.
2015-12-02 11:02:43.343 26244 ERROR neutron.
2015-12-02 11:02:43.343 26244 ERROR neutron.
2015-12-02 11:02:43.343 26244 ERROR neutron.
2015-12-02 11:02:43.343 26244 ERROR neutron.
2015-12-02 11:02:43.343 26244 ERROR neutron.
2015-12-02 11:02:43.343 26244 ERROR neutron.
2015-12-02 11:02:43.343 26244 ERROR neutron.
2015-12-02 11:02:43.343 26244 ERROR neutron.
2015-12-02 11:02:43.343 26244 ERROR neutron.
2015-12-02 11:02:43.343 26244 ERROR neutron.
2015-12-02 11:02:43.343 26244 ERROR neutron.
2015-12-02 11:02:43.343 26244 ERROR neutron.
2015-12-02 11:02:43.343 26244 ERROR neutron.
2015-12-02 11:02:43.343 26244 ERROR neutron.
The problem is, that in router's namespace on new controller there are not any rules in iptables, that was created on router's namespace on previous controller by neutron-
summary: |
Neutron-metering-agent failed to get traffic counters after a router - moving from one controller to another + moving from one l3-agent to another |
Changed in mos: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in mos: | |
milestone: | 8.0 → 9.0 |
tags: | added: area-neutron |
Changed in mos: | |
importance: | Medium → Low |
(This check performed automatically)
Please, make sure that bug description contains the following sections filled in with the appropriate data related to the bug you are describing:
actual result
expected result
steps to reproduce
For more detailed information on the contents of each of the listed sections see https:/ /wiki.openstack .org/wiki/ Fuel/How_ to_contribute# Here_is_ how_you_ file_a_ bug