[openstack-dev] instances fail to boot on el6 (glance schema error issue)

Dan Prince dprince at redhat.com
Tue Aug 6 14:29:05 UTC 2013


Okay. The quick fix is to remove the extra Glance V2 call when CONF.allowed_direct_url_schemes is disabled.

 https://review.openstack.org/#/c/40426/1

This effectively avoids calling the Glance V2 API on python 2.6 (thus avoiding the schema validation issue).

The real issue here is still unresolved however and it looks like we still have some work to do to get all the fancy new Glance V2 stuff fully working on python 2.6 distros (RHEL/Centos, etc).

Dan

----- Original Message -----
> From: "Dan Prince" <dprince at redhat.com>
> To: "OpenStack Development Mailing List" <openstack-dev at lists.openstack.org>
> Sent: Monday, August 5, 2013 9:01:40 PM
> Subject: [openstack-dev] instances fail to boot on el6 (glance schema error	issue)
> 
> As of an hour ago the el6 (Centos) builds in SmokeStack all started failing.
> I've documented the initial issue I'm seeing in this ticket:
> 
>  https://bugs.launchpad.net/nova/+bug/1208656
> 
> The issue seems to be that we now hit a SchemaError which bubbles up from
> glanceclient when the new direct download plugin code runs. This only seems
> to happen on distributions using python 2.6 as I'm not seeing the same thing
> on Fedora.
> 
> This stack trace also highlights the fact that the Glance v2 API now seems to
> be a requirement for Nova... and I'm not sure this is a good thing
> considering we still use the v1 API for many things as well. Ideally we'd
> have all Nova -> Glance communication use a single version of the Glance API
> (either v1 or v2... not both) right?
> 
> Dan



More information about the OpenStack-dev mailing list