Reviewed: https://review.openstack.org/543039 Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=3712dccfdb7ee30243e4efc09fcad1c3197bdb51 Submitter: Zuul Branch: master
commit 3712dccfdb7ee30243e4efc09fcad1c3197bdb51 Author: Brian Rosmaita <[email protected]> Date: Fri Feb 9 17:12:31 2018 -0500 Use configured value for import-methods header In Image API v2.6, the image-create response returns an 'OpenStack-image-import-methods' header containing a list of methods available in that cloud. This patch populates that list from the enabled_import_methods configuration setting. Following RFC 7230, if the enabled_import_methods is empty, the header is not returned with the response. Change-Id: I3066da36a0fbb83fe492bddb193975e42ffc5084 Closes-bug: #1748559 ** Changed in: glance Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1748559 Title: image-create header is static Status in Glance: Fix Released Bug description: Part of interoperable image import is that the image-create response should return a 'OpenStack-image-import-methods' header containing the list of methods supported by that cloud. Currently, it always returns 'glance-direct'. It needs to populate the header from the enabled_image_methods configuration setting. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1748559/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

