Comment 7 for bug 1357462

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/115613
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=4502759243c0f363545f4236b41abaf8bcf9a37b
Submitter: Jenkins
Branch: master

commit 4502759243c0f363545f4236b41abaf8bcf9a37b
Author: Flavio Percoco <email address hidden>
Date: Wed Aug 20 13:49:37 2014 +0200

    Check on schemes not stores

    Since the `_upload` method loads the store based on the scheme, we need
    to check whether the scheme exists in the known schemes instead of
    checking in the list of known stores. Without this fix, stores with a
    scheme name different than the store itself will not be usable through
    the `x-image-meta-store` header.

    Change-Id: Ia33afc1629cb47a31982df7932ac0d9aeb201b4f
    Closes-bug: #1357462