Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 915445 - jsonschema version 1.0 breaks glance
jsonschema version 1.0 breaks glance
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-glance (Show other bugs)
unspecified
Unspecified Unspecified
unspecified Severity unspecified
: snapshot5
: 2.1
Assigned To: Flavio Percoco
Attila Fazekas
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-25 13:42 EST by Flavio Percoco
Modified: 2016-04-26 10:46 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-04-04 16:24:12 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
OpenStack gerrit 1132840 None None None Never
Red Hat Product Errata RHSA-2013:0707 normal SHIPPED_LIVE Moderate: openstack-glance security and bug fix update 2013-04-04 20:19:11 EDT

  None (edit)
Description Flavio Percoco 2013-02-25 13:42:12 EST
jsonschema v1.0.0 was release on 02/25/2013 this update breaks the unit tests with a failure like:

ft50.1: glance.tests.unit.v2.test_images_resource.TestImagesDeserializerWithExtendedSchema.test_create_StringException: Traceback (most recent call last):
  File "/home/jenkins/workspace/gate-glance-python27/glance/tests/unit/v2/test_images_resource.py", line 1237, in test_create
    output = self.deserializer.create(request)
  File "/home/jenkins/workspace/gate-glance-python27/glance/api/v2/images.py", line 206, in create
    self.schema.validate(body)
  File "/home/jenkins/workspace/gate-glance-python27/glance/schema.py", line 32, in validate
    jsonschema.validate(obj, self.raw())
  File "/home/jenkins/workspace/gate-glance-python27/.tox/py27/local/lib/python2.7/site-packages/jsonschema.py", line 1239, in validate
    cls.check_schema(schema)
  File "/home/jenkins/workspace/gate-glance-python27/.tox/py27/local/lib/python2.7/site-packages/jsonschema.py", line 141, in check_schema
    error.message, validator=error.validator, path=error.path,
SchemaError: True is not of type u'array'
Comment 7 errata-xmlrpc 2013-04-04 16:24:12 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2013-0707.html

Note You need to log in before you can comment on or make changes to this bug.