← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1481692] Re: Neutron usage_audit's router and floating IP reporting doesn't work with ML2 plugin

 

** Also affects: neutron/liberty
   Importance: Undecided
       Status: New

** Changed in: neutron/liberty
   Importance: Undecided => Medium

** Changed in: neutron/liberty
       Status: New => In Progress

** Changed in: neutron/liberty
    Milestone: None => liberty-rc2

** Changed in: neutron/liberty
     Assignee: (unassigned) => Kyle Mestery (mestery)

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

Title:
  Neutron usage_audit's router and floating IP reporting doesn't work
  with ML2 plugin

Status in neutron:
  Fix Committed
Status in neutron liberty series:
  In Progress

Bug description:
  Neutron usage_audit's router and floating IP reporting doesn't work
  with ML2 plugin as router functionality has been moved to L3 plugin.

  The bug has been noted earlier
  http://lists.openstack.org/pipermail/openstack/2014-September/009371.html
  but I couldn't find a bug report from launchpad.

  The error in neutron-usage-audit.log looks like this
  2015-08-05 12:00:04.295 30126 CRITICAL neutron [req-74df5d30-7070-4152-86d3-cc4e2ef4fefa None] 'Ml2Plugin' object has no attribute 'get_routers'
  2015-08-05 12:00:04.295 30126 TRACE neutron Traceback (most recent call last):
  2015-08-05 12:00:04.295 30126 TRACE neutron   File "/usr/bin/neutron-usage-audit", line 10, in <module>
  2015-08-05 12:00:04.295 30126 TRACE neutron     sys.exit(main())
  2015-08-05 12:00:04.295 30126 TRACE neutron   File "/usr/lib/python2.6/site-packages/neutron/cmd/usage_audit.py", line 55, in main
  2015-08-05 12:00:04.295 30126 TRACE neutron     for router in plugin.get_routers(cxt):
  2015-08-05 12:00:04.295 30126 TRACE neutron AttributeError: 'Ml2Plugin' object has no attribute 'get_routers'
  2015-08-05 12:00:04.295 30126 TRACE neutron 

  I found the bug on icehouse but the relevant code is  same in HEAD. My
  plan is to submit a patch to fix the bug, the fix is quite trivial.

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


References