oslo.db 4.13.2 breaks gate

Bug #1620848 reported by gordon chung
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gnocchi
Fix Released
High
gordon chung

Bug Description

see: https://review.openstack.org/#/c/366362/

2016-09-06 19:31:01.909129 | Captured traceback:
2016-09-06 19:31:01.909141 | ~~~~~~~~~~~~~~~~~~~
2016-09-06 19:31:01.909169 | Traceback (most recent call last):
2016-09-06 19:31:01.909215 | File "/home/jenkins/workspace/gate-gnocchi-tox-db-py27-mysql-ubuntu-xenial/.tox/py27-mysql/local/lib/python2.7/site-packages/gabbi/case.py", line 93, in wrapper
2016-09-06 19:31:01.909229 | func(self)
2016-09-06 19:31:01.909272 | File "/home/jenkins/workspace/gate-gnocchi-tox-db-py27-mysql-ubuntu-xenial/.tox/py27-mysql/local/lib/python2.7/site-packages/gabbi/case.py", line 140, in test_request
2016-09-06 19:31:01.909288 | self._run_test()
2016-09-06 19:31:01.909332 | File "/home/jenkins/workspace/gate-gnocchi-tox-db-py27-mysql-ubuntu-xenial/.tox/py27-mysql/local/lib/python2.7/site-packages/gabbi/case.py", line 398, in _run_test
2016-09-06 19:31:01.909345 | redirect=test['redirects'])
2016-09-06 19:31:01.909388 | File "/home/jenkins/workspace/gate-gnocchi-tox-db-py27-mysql-ubuntu-xenial/.tox/py27-mysql/local/lib/python2.7/site-packages/gabbi/case.py", line 334, in _run_request
2016-09-06 19:31:01.909399 | exc.traceback)
2016-09-06 19:31:01.909443 | File "/home/jenkins/workspace/gate-gnocchi-tox-db-py27-mysql-ubuntu-xenial/.tox/py27-mysql/local/lib/python2.7/site-packages/wsgi_intercept/__init__.py", line 428, in makefile
2016-09-06 19:31:01.909464 | app_result = self.app(environ, start_response)
2016-09-06 19:31:01.909506 | File "/home/jenkins/workspace/gate-gnocchi-tox-db-py27-mysql-ubuntu-xenial/.tox/py27-mysql/local/lib/python2.7/site-packages/paste/urlmap.py", line 216, in __call__
2016-09-06 19:31:01.909521 | return app(environ, start_response)
2016-09-06 19:31:01.909563 | File "/home/jenkins/workspace/gate-gnocchi-tox-db-py27-mysql-ubuntu-xenial/.tox/py27-mysql/local/lib/python2.7/site-packages/webob/dec.py", line 130, in __call__
2016-09-06 19:31:01.909581 | resp = self.call_func(req, *args, **self.kwargs)
2016-09-06 19:31:01.909622 | File "/home/jenkins/workspace/gate-gnocchi-tox-db-py27-mysql-ubuntu-xenial/.tox/py27-mysql/local/lib/python2.7/site-packages/webob/dec.py", line 195, in call_func
2016-09-06 19:31:01.909638 | return self.func(req, *args, **kwargs)
2016-09-06 19:31:01.909682 | File "/home/jenkins/workspace/gate-gnocchi-tox-db-py27-mysql-ubuntu-xenial/.tox/py27-mysql/local/lib/python2.7/site-packages/oslo_middleware/base.py", line 126, in __call__
2016-09-06 19:31:01.909699 | response = req.get_response(self.application)
2016-09-06 19:31:01.909741 | File "/home/jenkins/workspace/gate-gnocchi-tox-db-py27-mysql-ubuntu-xenial/.tox/py27-mysql/local/lib/python2.7/site-packages/webob/request.py", line 1299, in send
2016-09-06 19:31:01.909756 | application, catch_exc_info=False)
2016-09-06 19:31:01.909800 | File "/home/jenkins/workspace/gate-gnocchi-tox-db-py27-mysql-ubuntu-xenial/.tox/py27-mysql/local/lib/python2.7/site-packages/webob/request.py", line 1263, in call_application
2016-09-06 19:31:01.909819 | app_iter = application(self.environ, start_response)
2016-09-06 19:31:01.909860 | File "/home/jenkins/workspace/gate-gnocchi-tox-db-py27-mysql-ubuntu-xenial/.tox/py27-mysql/local/lib/python2.7/site-packages/webob/exc.py", line 1162, in __call__
2016-09-06 19:31:01.909878 | return self.application(environ, start_response)
2016-09-06 19:31:01.909895 | File "gnocchi/rest/app.py", line 68, in __call__
2016-09-06 19:31:01.909912 | return self.app(environ, start_response)
2016-09-06 19:31:01.909957 | File "/home/jenkins/workspace/gate-gnocchi-tox-db-py27-mysql-ubuntu-xenial/.tox/py27-mysql/local/lib/python2.7/site-packages/pecan/middleware/recursive.py", line 56, in __call__
2016-09-06 19:31:01.909975 | return self.application(environ, start_response)
2016-09-06 19:31:01.910016 | File "/home/jenkins/workspace/gate-gnocchi-tox-db-py27-mysql-ubuntu-xenial/.tox/py27-mysql/local/lib/python2.7/site-packages/pecan/core.py", line 835, in __call__
2016-09-06 19:31:01.910036 | return super(Pecan, self).__call__(environ, start_response)
2016-09-06 19:31:01.910078 | File "/home/jenkins/workspace/gate-gnocchi-tox-db-py27-mysql-ubuntu-xenial/.tox/py27-mysql/local/lib/python2.7/site-packages/pecan/core.py", line 678, in __call__
2016-09-06 19:31:01.910097 | self.invoke_controller(controller, args, kwargs, state)
2016-09-06 19:31:01.910141 | File "/home/jenkins/workspace/gate-gnocchi-tox-db-py27-mysql-ubuntu-xenial/.tox/py27-mysql/local/lib/python2.7/site-packages/pecan/core.py", line 569, in invoke_controller
2016-09-06 19:31:01.910159 | result = controller(*args, **kwargs)
2016-09-06 19:31:01.910178 | File "gnocchi/rest/__init__.py", line 976, in get_all
2016-09-06 19:31:01.910189 | **pagination_opts
2016-09-06 19:31:01.910230 | File "/home/jenkins/workspace/gate-gnocchi-tox-db-py27-mysql-ubuntu-xenial/.tox/py27-mysql/local/lib/python2.7/site-packages/oslo_db/api.py", line 151, in wrapper
2016-09-06 19:31:01.910262 | ectxt.value = e.inner_exc
2016-09-06 19:31:01.910310 | File "/home/jenkins/workspace/gate-gnocchi-tox-db-py27-mysql-ubuntu-xenial/.tox/py27-mysql/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2016-09-06 19:31:01.910323 | self.force_reraise()
2016-09-06 19:31:01.910369 | File "/home/jenkins/workspace/gate-gnocchi-tox-db-py27-mysql-ubuntu-xenial/.tox/py27-mysql/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2016-09-06 19:31:01.910387 | six.reraise(self.type_, self.value, self.tb)
2016-09-06 19:31:01.910430 | File "/home/jenkins/workspace/gate-gnocchi-tox-db-py27-mysql-ubuntu-xenial/.tox/py27-mysql/local/lib/python2.7/site-packages/oslo_db/api.py", line 139, in wrapper
2016-09-06 19:31:01.910443 | return f(*args, **kwargs)
2016-09-06 19:31:01.910465 | File "gnocchi/indexer/sqlalchemy.py", line 900, in list_resources
2016-09-06 19:31:01.910477 | sort_dirs=sort_dirs)
2016-09-06 19:31:01.910524 | File "/home/jenkins/workspace/gate-gnocchi-tox-db-py27-mysql-ubuntu-xenial/.tox/py27-mysql/local/lib/python2.7/site-packages/oslo_db/sqlalchemy/utils.py", line 164, in paginate_query
2016-09-06 19:31:01.910545 | if _stable_sorting_order(model, sort_keys) is False:
2016-09-06 19:31:01.910595 | File "/home/jenkins/workspace/gate-gnocchi-tox-db-py27-mysql-ubuntu-xenial/.tox/py27-mysql/local/lib/python2.7/site-packages/oslo_db/sqlalchemy/utils.py", line 120, in _stable_sorting_order
2016-09-06 19:31:01.910612 | keys = _get_unique_keys(model)
2016-09-06 19:31:01.910671 | File "/home/jenkins/workspace/gate-gnocchi-tox-db-py27-mysql-ubuntu-xenial/.tox/py27-mysql/local/lib/python2.7/site-packages/oslo_db/sqlalchemy/utils.py", line 88, in _get_unique_keys
2016-09-06 19:31:01.910682 | info = table.info
2016-09-06 19:31:01.910700 | AttributeError: 'Join' object has no attribute 'info'

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to gnocchi (master)

Fix proposed to branch: master
Review: https://review.openstack.org/366411

Changed in gnocchi:
assignee: nobody → gordon chung (chungg)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to gnocchi (master)

Reviewed: https://review.openstack.org/366411
Committed: https://git.openstack.org/cgit/openstack/gnocchi/commit/?id=b2d64d26acd0f525ef45721f3a07b269eec48e3d
Submitter: Jenkins
Branch: master

commit b2d64d26acd0f525ef45721f3a07b269eec48e3d
Author: gord chung <email address hidden>
Date: Tue Sep 6 22:49:31 2016 +0000

    block oslo.db 4.13.2

    it's broken.

    Change-Id: I06989336f90ae74f38a23276eda4ed688b5a51bd
    Partial-Bug: #1620848

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to gnocchi (stable/2.1)

Fix proposed to branch: stable/2.1
Review: https://review.openstack.org/367463

Julien Danjou (jdanjou)
Changed in gnocchi:
status: In Progress → Fix Released
milestone: none → 3.0.0
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on gnocchi (stable/2.1)

Change abandoned by Julien Danjou (<email address hidden>) on branch: stable/2.1
Review: https://review.openstack.org/367463

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.