← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1310460] Re: wrong key "router.interface" reported by ceilometer log

 

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

** Changed in: neutron/icehouse
    Milestone: None => 2014.1.2

** Changed in: neutron/icehouse
       Status: New => Fix Committed

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

Title:
  wrong key "router.interface" reported by ceilometer log

Status in OpenStack Neutron (virtual network service):
  Fix Released
Status in neutron icehouse series:
  Fix Committed

Bug description:
  In my testbed, ceilometer throws an exception which is caused by the
  wrong key format of neutron:

  2014-04-01 10:52:39.135 6104 ERROR notification [-] Insert msg to Mongodb occured error:Traceback (most recent call last):
    File "/usr/lib/python2.6/site-packages/ceilometer/billing/backend.py", line 74, in insert_data
      self.db[collection].insert(data, safe=True)
    File "/usr/lib64/python2.6/site-packages/pymongo/collection.py", line 357, in insert
      continue_on_error, self.__uuid_subtype), safe)
  InvalidDocument: key 'router.interface' must not contain '.'

  It seems that mongodb doesn't support "." in key.

  The workaround is to change "." with "_" in l3_db.py.

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


References