<font size=2 face="sans-serif">Mark, I have glanceclient 0.9.0 installed.<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_0A3D09680A3D03D4007A03FC86257BAB 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>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From:
</font><font size=1 face="sans-serif">Mark Washenberger <mark.washenberger@markwash.net></font>
<br><font size=1 color=#5f5f5f face="sans-serif">To:
</font><font size=1 face="sans-serif">OpenStack Development
Mailing List <openstack-dev@lists.openstack.org>, </font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date:
</font><font size=1 face="sans-serif">07/17/2013 01:07 PM</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject:
</font><font size=1 face="sans-serif">Re: [openstack-dev]
[glance] need to pin jsonschema version for glance?</font>
<br>
<hr noshade>
<br>
<br>
<br><font size=3>Actually, when I build out a virtual environment and install
python-glanceclient, I get jsonschema 2.0.0. So maybe the problem is elsewhere?
I also get python-glanceclient 0.9.0, but I notice that tempest requires
python-glanceclient >0.5.0 ( </font><a href=https://github.com/openstack/tempest/blob/master/requirements.txt#L11><font size=3 color=blue><u>https://github.com/openstack/tempest/blob/master/requirements.txt#L11</u></font></a><font size=3>
). What version of python-glanceclient do you have installed in the environment
where there is a problem?</font>
<br><font size=3><br>
</font>
<br><font size=3>On Wed, Jul 17, 2013 at 9:52 AM, Mark Washenberger <</font><a href=mailto:mark.washenberger@markwash.net target=_blank><font size=3 color=blue><u>mark.washenberger@markwash.net</u></font></a><font size=3>>
wrote:</font>
<br>
<br><font size=3><br>
</font>
<br><font size=3>On Wed, Jul 17, 2013 at 7:16 AM, Matt Riedemann <</font><a href=mailto:mriedem@us.ibm.com target=_blank><font size=3 color=blue><u>mriedem@us.ibm.com</u></font></a><font size=3>>
wrote:</font>
<br><font size=3 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><font size=3> <br>
</font><font size=3 color=blue><u><br>
</u></font><a href=http://paste.openstack.org/show/40684/ target=_blank><font size=3 color=blue><u>http://paste.openstack.org/show/40684/</u></font></a><font size=3>
<br>
</font><font size=3 face="sans-serif"><br>
I found that the version of jsonschema on the system is 0.7, probably because
of the dependency from warlock in python-glanceclient:</font><font size=3>
<br>
</font><font size=3 color=blue><u><br>
</u></font><a href="https://github.com/openstack/python-glanceclient/blob/master/requirements.txt#L8" target=_blank><font size=3 color=blue><u>https://github.com/openstack/python-glanceclient/blob/master/requirements.txt#L8</u></font></a><font size=3>
<br>
</font><font size=3 face="sans-serif"><br>
I started looking at what recent changes in glance might be causing the
issue and I found this one:</font><font size=3> <br>
</font><font size=3 color=blue><u><br>
</u></font><a href=https://review.openstack.org/#/c/35134/ target=_blank><font size=3 color=blue><u>https://review.openstack.org/#/c/35134/</u></font></a><font size=3>
<br>
</font><font size=3 face="sans-serif"><br>
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><font size=3> <br>
</font><font size=3 face="sans-serif"><br>
When I updated my test box to jsonschema 1.3.0, I got past the schema validation
error.</font><font size=3> <br>
</font><font size=3 face="sans-serif"><br>
So this leads me to believe that we need to pin the jsonschema version
in glance and tempest to >= 1.3.0.</font><font size=3> <br>
</font><font size=3 face="sans-serif"><br>
Thoughts?</font>
<br>
<br><font size=3>This sounds correct. Another alternative would be to switch
back to the "old" syntax and pin < 1.3.0, which sounds like
its not really forward progress, but might be easier.</font>
<br><font size=3> </font>
<br><font size=3 face="sans-serif"><br>
</font><font size=3><br>
</font><font size=1 face="Arial"><br>
Thanks,</font><font size=3> <br>
</font><font size=3 color=#8f8f8f face="Arial"><b><br>
MATT RIEDEMANN</b></font><font size=1 face="Arial"><br>
Advisory Software Engineer<br>
Cloud Solutions and OpenStack Development</font><font size=3> </font>
<table width=680 style="border-collapse:collapse;">
<tr height=8>
<td width=678 colspan=2 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px;">
<hr>
<tr valign=top height=8>
<td width=416 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px;"><font size=1 color=#4181c0 face="Arial"><b>Phone:</b></font><font size=1 color=#5f5f5f face="Arial">
</font><a href="tel:1-507-253-7622" target=_blank><font size=1 color=blue face="Arial"><u>1-507-253-7622</u></font></a><font size=1 color=#4181c0 face="Arial">
| <b>Mobile:</b></font><font size=1 color=#5f5f5f face="Arial"> </font><a href="tel:1-507-990-1889" target=_blank><font size=1 color=blue face="Arial"><u>1-507-990-1889</u></font></a><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><font size=3>
</font>
<td width=259 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px;">
<div align=right><img src=cid:_1_0A3D75F00A3D71F0007A03FC86257BAB 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><font size=3><br>
</font>
<br><font size=3>_______________________________________________<br>
OpenStack-dev mailing list</font><font size=3 color=blue><u><br>
</u></font><a href="mailto:OpenStack-dev@lists.openstack.org" target=_blank><font size=3 color=blue><u>OpenStack-dev@lists.openstack.org</u></font></a><font size=3 color=blue><u><br>
</u></font><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target=_blank><font size=3 color=blue><u>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</u></font></a><font size=3><br>
</font>
<br>
<br><tt><font size=2>_______________________________________________<br>
OpenStack-dev mailing list<br>
OpenStack-dev@lists.openstack.org<br>
</font></tt><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev"><tt><font size=2>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</font></tt></a><tt><font size=2><br>
</font></tt>
<br>