Author: Brian Rosmaita <rosmaita.foss...@gmail.com>
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.
** 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.
image-create header is static
Status in Glance:
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:
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : email@example.com
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp