Skip to content

OverflowError: MongoDB can only handle up to 8-byte ints #48

@adarshkr06

Description

@adarshkr06

Hi,

I have followed the steps given in the ReadMe.md to install and run the RouteFlow.
When run either rftest1 or rftest2, i get this error on the console:

ERROR:core:Exception while handling OpenFlowNexus!AggregateFlowStatsReceived...
Traceback (most recent call last):
File "/home/controller/RouteFlow/pox/pox/lib/revent/revent.py", line 234, in raiseEventNoErrors
return self.raiseEvent(event, _args, *_kw)
File "/home/controller/RouteFlow/pox/pox/lib/revent/revent.py", line 281, in raiseEvent
rv = event._invoke(handler, _args, *_kw)
File "/home/controller/RouteFlow/pox/pox/lib/revent/revent.py", line 159, in _invoke
return handler(self, _args, *kw)
File "/home/controller/RouteFlow/pox/ext/rfstats.py", line 148, in handle_aggregate_flow_stats
db.update(dp_id, "switch", aggregate=StatsDB.create_aggregate_stats_dict(event.stats))
File "/home/controller/RouteFlow/pox/ext/rfstats.py", line 44, in update
self.collection.update({"id": id}, self.db[id
], upsert=True)
File "/usr/lib/python2.7/dist-packages/pymongo/collection.py", line 409, in update
_check_keys, self.__uuid_subtype), safe)
OverflowError: MongoDB can only handle up to 8-byte ints

In spite of this error, it works as expected but few times it doesn't [Especially when i run RIP and OSPF].

It would be highly appreciated if you could you please tell me more about this error and steps to fix it?

Thanks in advance.

Sincerely,
Adarsh KR

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions