← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1787165] [NEW] Error loading metering driver iptables

 

Public bug reported:

Description
==============
When I running `neutron-metering-agent ...`, the program was interrupted。

Environment
===========
1.Version:
  neutron branch:master

Steps to reproduce
=====================
1.Install & Config
  Please refer to the official link for installation and configuration:
    https://docs.openstack.org/neutron/pike/admin/archives/adv-config.html
2.Execute
  Running `neutron-metering-agent --config-file NEUTRON_CONFIG_FILE \
    --config-file L3_METERING_CONFIG_FILE`

Logs
=======
2018-08-15 08:12:09.339 7 INFO neutron.services.metering.agents.metering_agent [[
-] Loading Metering driver iptables
2018-08-15 08:12:09.339 7 ERROR neutron.services.metering.drivers.utils [-] Erroo
r loading metering driver 'iptables'

Solution
==========
neutorn/setup.cfg:
  neutron.services.metering_drivers =
    noop = neutron.services.metering.drivers.noop.noop_driver:NoopMeteringDriver
    iptables = neutron.services.metering.iptables.iptables_driver:IptablesMeteringDriver
iptables‘s path should be: ’neutron.services.metering.*drivers*.iptables.iptables_driver:IptablesMeteringDriver‘

** Affects: neutron
     Importance: Undecided
     Assignee: yuqian (roger-yu)
         Status: Invalid

** Changed in: neutron
     Assignee: (unassigned) => yuqian (roger-yu)

** Changed in: neutron
       Status: New => Invalid

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

Title:
  Error loading metering driver iptables

Status in neutron:
  Invalid

Bug description:
  Description
  ==============
  When I running `neutron-metering-agent ...`, the program was interrupted。

  Environment
  ===========
  1.Version:
    neutron branch:master

  Steps to reproduce
  =====================
  1.Install & Config
    Please refer to the official link for installation and configuration:
      https://docs.openstack.org/neutron/pike/admin/archives/adv-config.html
  2.Execute
    Running `neutron-metering-agent --config-file NEUTRON_CONFIG_FILE \
      --config-file L3_METERING_CONFIG_FILE`

  Logs
  =======
  2018-08-15 08:12:09.339 7 INFO neutron.services.metering.agents.metering_agent [[
  -] Loading Metering driver iptables
  2018-08-15 08:12:09.339 7 ERROR neutron.services.metering.drivers.utils [-] Erroo
  r loading metering driver 'iptables'

  Solution
  ==========
  neutorn/setup.cfg:
    neutron.services.metering_drivers =
      noop = neutron.services.metering.drivers.noop.noop_driver:NoopMeteringDriver
      iptables = neutron.services.metering.iptables.iptables_driver:IptablesMeteringDriver
  iptables‘s path should be: ’neutron.services.metering.*drivers*.iptables.iptables_driver:IptablesMeteringDriver‘

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