<font size=2 face="sans-serif">I recently synched up on the latest glance
and ran tempest on my RHEL 6.3 box and the image v2 tests all started failing
due to json schema validation errors:</font>
<br>
<br><a href=http://paste.openstack.org/show/40684/><font size=3 color=blue><u>http://paste.openstack.org/show/40684/</u></font></a><font size=3>
</font>
<br>
<br><font size=2 face="sans-serif">I found that the version of jsonschema
on the system is 0.7, probably because of the dependency from warlock in
python-glanceclient:</font>
<br>
<br><a href="https://github.com/openstack/python-glanceclient/blob/master/requirements.txt#L8"><font size=3 color=blue><u>https://github.com/openstack/python-glanceclient/blob/master/requirements.txt#L8</u></font></a><font size=3>
</font>
<br>
<br><font size=2 face="sans-serif">I started looking at what recent changes
in glance might be causing the issue and I found this one:</font>
<br>
<br><a href=https://review.openstack.org/#/c/35134/><font size=3 color=blue><u>https://review.openstack.org/#/c/35134/</u></font></a><font size=3>
</font>
<br>
<br><font size=2 face="sans-serif">As pointed out in the test output from
that patch, since there is no version constraint on jsonschema in glance
or tempest, it's getting the latest version from pypi (2.0.0 in this case).</font>
<br>
<br><font size=2 face="sans-serif">When I updated my test box to jsonschema
1.3.0, I got past the schema validation error.</font>
<br>
<br><font size=2 face="sans-serif">So this leads me to believe that we
need to pin the jsonschema version in glance and tempest to >= 1.3.0.</font>
<br>
<br><font size=2 face="sans-serif">Thoughts?<br>
</font>
<br><font size=2 face="sans-serif"><br>
</font>
<br><font size=1 face="Arial">Thanks,</font>
<br>
<br><font size=3 color=#8f8f8f face="Arial"><b>MATT RIEDEMANN</b></font><font size=1 face="Arial"><br>
Advisory Software Engineer<br>
Cloud Solutions and OpenStack Development</font>
<table width=680 style="border-collapse:collapse;">
<tr height=8>
<td width=680 colspan=2 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<hr>
<tr valign=top height=8>
<td width=418 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 color=#4181c0 face="Arial"><b>Phone:</b></font><font size=1 color=#5f5f5f face="Arial">
1-507-253-7622</font><font size=1 color=#4181c0 face="Arial"> | <b>Mobile:</b></font><font size=1 color=#5f5f5f face="Arial">
1-507-990-1889</font><font size=1 color=#4181c0 face="Arial"><b><br>
E-mail:</b></font><font size=1 color=#5f5f5f face="Arial"> </font><a href=mailto:mriedem@us.ibm.com target=_blank><font size=1 color=#5f5f5f face="Arial"><u>mriedem@us.ibm.com</u></font></a>
<td width=261 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<div align=right><img src=cid:_1_0BA246980BA24130004E54C486257BAB width=83 height=30 alt=IBM><font size=1 color=#5f5f5f face="Arial"><br>
<br>
3605 Hwy 52 N<br>
Rochester, MN 55901-1407<br>
United States</font></div></table>
<br>