← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1479257] [NEW] error message 's format in image_member.py is not correct

 

Public bug reported:

When users try to get member list with a public image in api v2. It will
return an error:

glance --os-image-api-version 2 member-list --image-id xxxx


403 Forbidden: (u'Error fetching members of image %(image_id)s: %(inner_msg)s', {'image_id': u'xxxx', 'inner_msg': u'Public images do not have members.'}) (HTTP 403)

The error information's format is not correct. It should be:

403 Forbidden: Error fetching members of image xxxx: Public images do
not have members. (HTTP 403)

** Affects: glance
     Importance: Undecided
     Assignee: wangxiyuan (wangxiyuan)
         Status: New

** Changed in: glance
     Assignee: (unassigned) => wangxiyuan (wangxiyuan)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1479257

Title:
  error message 's format in image_member.py is not correct

Status in Glance:
  New

Bug description:
  When users try to get member list with a public image in api v2. It
  will return an error:

  glance --os-image-api-version 2 member-list --image-id xxxx

  
  403 Forbidden: (u'Error fetching members of image %(image_id)s: %(inner_msg)s', {'image_id': u'xxxx', 'inner_msg': u'Public images do not have members.'}) (HTTP 403)

  The error information's format is not correct. It should be:

  403 Forbidden: Error fetching members of image xxxx: Public images do
  not have members. (HTTP 403)

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1479257/+subscriptions


Follow ups