Public bug reported:

$ 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.

** Affects: glance
     Importance: High
     Assignee: Brian Rosmaita (brian-rosmaita)
         Status: Triaged

-- 
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:
  Triaged

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     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to