← Back to team overview

yahoo-eng-team team mailing list archive

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

 

** Changed in: neutron
       Status: Fix Committed => 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/1310460

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

Status in OpenStack Neutron (virtual network service):
  Fix Released

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