Metering label rule creation improvements
Bug #1400280 reported by
Ilya N. Sokolov
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Ilya N. Sokolov |
Bug Description
When neutron user create metering label rule neutron-api fetches all labels from database, sends it to the queue, metering agent reads it and recreate all chains in iptables.
It's not optimal and cause high load of neutron if you use labels/rules.
I think we can send only new rule and add this rule in iptables chain.
description: | updated |
tags: | removed: iptables |
Changed in neutron: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in neutron: | |
assignee: | nobody → oleksii (oleksii-shyman) |
Changed in neutron: | |
assignee: | nobody → Ilya N. Sokolov (falconmain) |
Changed in neutron: | |
milestone: | none → kilo-rc1 |
Changed in neutron: | |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | kilo-rc1 → 2015.1.0 |
To post a comment you must log in.
I think this is somehow related to https:/ /bugs.launchpad .net/neutron/ +bug/1396677. It looks like same pattern: request all data from DB, than parse. I think it is not really scalable and production- oriented.