Public bug reported: My neutron version is mitaka.
My network has HA network and shared network and private network and external network I direct call neutron net-list in command-line If I use admin count is ok, but I use non-admin count is wrong. I print self._get_collection_query(context, model, filters).count() and len(self._get_collection_query(context, model, filters).all()) in neutron/db/common_db_mixin.py that function _get_collection_count, I found not equal . self._get_collection_query(context, model, filters).count() is larger. I also print len(query.all()), query.count() before return query neutron/db/common_db_mixin.py that function _model_query , also not equal Is it sqlalchemy bug or neutron bug? ** Affects: neutron Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1664925 Title: neutron db get_networks_count bug Status in neutron: New Bug description: My neutron version is mitaka. My network has HA network and shared network and private network and external network I direct call neutron net-list in command-line If I use admin count is ok, but I use non-admin count is wrong. I print self._get_collection_query(context, model, filters).count() and len(self._get_collection_query(context, model, filters).all()) in neutron/db/common_db_mixin.py that function _get_collection_count, I found not equal . self._get_collection_query(context, model, filters).count() is larger. I also print len(query.all()), query.count() before return query neutron/db/common_db_mixin.py that function _model_query , also not equal Is it sqlalchemy bug or neutron bug? To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1664925/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp