Devstack job fails on backup tests

Bug #1475006 reported by Andrii Ostapenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MagnetoDB
Fix Committed
High
Andrii Ostapenko

Bug Description

Global requirements for cassandra-driver is >=2.1.4, however our requirements are ==2.1.3. Devstack in jenkins installs cassandra-driver==2.5.1 and fails on tests with backups with this error on server side:

  File "/usr/local/lib/python2.7/dist-packages/pecan/templating.py", line 23, in render
    return encode(namespace)
  File "/usr/local/lib/python2.7/dist-packages/pecan/jsonify.py", line 137, in encode
    return _instance.encode(obj)
  File "/usr/local/lib/python2.7/dist-packages/simplejson/encoder.py", line 270, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/local/lib/python2.7/dist-packages/simplejson/encoder.py", line 352, in iterencode
    return _iterencode(o, 0)
  File "/usr/local/lib/python2.7/dist-packages/pecan/jsonify.py", line 131, in default
    return jsonify(obj)
  File "/usr/local/lib/python2.7/dist-packages/singledispatch.py", line 210, in wrapper
    return dispatch(args[0].__class__)(*args, **kw)
  File "/usr/local/lib/python2.7/dist-packages/pecan/jsonify.py", line 126, in jsonify
    return _default.default(obj)
  File "/usr/local/lib/python2.7/dist-packages/pecan/jsonify.py", line 112, in default
    return JSONEncoder.default(self, obj)
  File "/usr/local/lib/python2.7/dist-packages/simplejson/encoder.py", line 247, in default
    raise TypeError(repr(o) + " is not JSON serializable")
TypeError: OrderedMapSerializedKey([(u'name', u'default')]) is not JSON serializable

Changed in magnetodb:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Andrei V. Ostapenko (aostapenko)
Revision history for this message
Andrii Ostapenko (aostapenko) wrote :

Almost same on 2.1.4

Changed in magnetodb:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to magnetodb (master)

Reviewed: https://review.openstack.org/202153
Committed: https://git.openstack.org/cgit/stackforge/magnetodb/commit/?id=f29b24290f0b5200c8d1e690d8d32a4167e0024f
Submitter: Jenkins
Branch: master

commit f29b24290f0b5200c8d1e690d8d32a4167e0024f
Author: Andrei V. Ostapenko <email address hidden>
Date: Wed Jul 15 18:16:28 2015 +0300

    Fixes job failing

    Removes explicit version declaration.
    Removes duplicated test.
    Changes requirement for cassandra-driver to ==2.1.4

    Closes-bug: #1475006
    Closes-bug: #1474903
    Change-Id: Ica7f6368524f453938f42fa7be068c69f1282b77

Changed in magnetodb:
status: In Progress → Fix Committed
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.