Shared Neutron Meter Label not processed correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ceilometer (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
# Description
Shard neutron meter label don't create bandwidth meters in gnocchi.
The meter label is only attached to one extra project.
# Expected behavior
Shared Meter label should be processed for every project containing the project_id of the project that the measures are linked to.
#Reproduce
1. Create Multiple Projects
2. Create a shared metering label for the admin project:
openstack network meter create billing-
while read line; do openstack network meter rule create --egress --exclude --remote-ip-prefix "$line" billing-
openstack network meter rule create --egress --include --remote-ip-prefix 0.0.0.0/0 billing-
3. Check the Gnoochi Database for network resources
gnocchi resource list -f json | grep -C 5 'network"'
gnocchi measures aggregation -m bandwidth --aggregation mean --query "project_
Using OpenStack Stein from Stable Branch