Reviewed: https://review.openstack.org/494063 Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=b6e4ddaf42af2d4169681969bd288b678a65ae32 Submitter: Jenkins Branch: master
commit b6e4ddaf42af2d4169681969bd288b678a65ae32 Author: Brian Rosmaita <[email protected]> Date: Tue Aug 15 22:46:32 2017 -0400 Add 'api_image_import' type to task(s) schemas The glanceclient relies on the schemas being accurate so it can format responses. Without this update, admins won't be able to use the glanceclient generate a task list containing the api_image_import task that the task engine uses to process the new image import process being introduced in Pike. Closes-bug: #1711018 Change-Id: I5bcc9f4cdc55635809e8a90be555a367348a58c2 ** 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/1711018 Title: glanceclient chokes on task-list, task schema needs update Status in Glance: Fix Released Bug description: $ glance task-list u'api_image_import' is not one of [u'import'] Failed validating u'enum' in schema[u'properties'][u'type']: {u'description': u'The type of task represented by this content', u'enum': [u'import'], u'type': u'string'} On instance[u'type']: u'api_image_import' The GET /v2/tasks call works via the API. The problem is that the glanceclient is using the tasks schema to validate the response, so this does need to be fixed on the API side. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1711018/+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

