← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1506567] Re: No information from Neutron Metering agent

 

Reviewed:  https://review.openstack.org/377108
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=ec6ed98cfaca455a663c0e6909b7faeb703a349e
Submitter: Jenkins
Branch:    master

commit ec6ed98cfaca455a663c0e6909b7faeb703a349e
Author: Swaminathan Vasudevan <swaminathan.vasudevan@xxxxxxx>
Date:   Mon Sep 26 14:08:50 2016 -0700

    DVR: Fix IPtables driver for metering with DVR routers
    
    IPTables driver for metering was not handling the DVR router
    namespaces properly for configuring the metering forward rules.
    
    This patch addresses the issue by configuring the iptables
    manager based on the availability of the namespace and selecting
    the respective namespaces such as router namespace and snat
    namespace with the right external device.
    
    Change-Id: I6790d6ff42d9f8fa220e1a231ae94cbf8b60506c
    Closes-Bug: #1506567


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1506567

Title:
  No information from Neutron Metering agent

Status in neutron:
  Fix Released

Bug description:
  I deployed OpenStack cloud with stable/kilo code - a controller/network node and a compute node (Ubuntu 14.04). I have Metering agent enabled and configured  as follows:
  driver = neutron.services.metering.drivers.iptables.iptables_driver.IptablesMeteringDriver
  interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver

  When I try to check information from it in Ceilometer, I always get
  zero. e.x.:

  root@node-1:~# ceilometer sample-list -m bandwidth  -l10
  +--------------------------------------+-----------+-------+--------+------+----------------------------+
  | Resource ID                          | Name      | Type  | Volume | Unit | Timestamp                  |
  +--------------------------------------+-----------+-------+--------+------+----------------------------+
  | 66fab4a9-aefe-4534-b8a3-b0c0db9edf82 | bandwidth | delta | 0.0    | B    | 2015-10-15T16:55:26.766000 |

  Is it expected? I spawned two VMs and tried to pass some traffic
  between them using iperf, but still no results

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1506567/+subscriptions


References