Bug 915445
| Summary: | jsonschema version 1.0 breaks glance | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Flavio Percoco <fpercoco> |
| Component: | openstack-glance | Assignee: | Flavio Percoco <fpercoco> |
| Status: | CLOSED ERRATA | QA Contact: | Attila Fazekas <afazekas> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | apevec, eglynn, jbresnah |
| Target Milestone: | snapshot5 | ||
| Target Release: | 2.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-04-04 20:24:12 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
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 |
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'