[Bug 1837861] [NEW] Shared Neutron Meter Label not processed correctly

Merlin 1837861 at bugs.launchpad.net
Thu Jul 25 09:07:34 UTC 2019


Public bug reported:

# 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-exgress-public --description "Meter for billing only exgress traffic to the internet" --share
while read line; do openstack network meter rule create --egress --exclude  --remote-ip-prefix "$line" billing-exgress-public  ; done <cidr-private.txt
openstack network meter rule create --egress --include  --remote-ip-prefix 0.0.0.0/0 billing-exgress-public
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_id=<ProjectID>" --resource-type network --needed-overlap 0 --groupby original_resource_id --utc  --granularity 300 --fill 0"

** Affects: ceilometer (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- Shared Neutron Meter Label not processed
+ Shared Neutron Meter Label not processed correctly

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ceilometer in Ubuntu.
https://bugs.launchpad.net/bugs/1837861

Title:
  Shared Neutron Meter Label not processed correctly

Status in ceilometer package in Ubuntu:
  New

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-exgress-public --description "Meter for billing only exgress traffic to the internet" --share
  while read line; do openstack network meter rule create --egress --exclude  --remote-ip-prefix "$line" billing-exgress-public  ; done <cidr-private.txt
  openstack network meter rule create --egress --include  --remote-ip-prefix 0.0.0.0/0 billing-exgress-public
  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_id=<ProjectID>" --resource-type network --needed-overlap 0 --groupby original_resource_id --utc  --granularity 300 --fill 0"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceilometer/+bug/1837861/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list