← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1366515] Re: [v2] Can't recognize paramter **id** for image create

 

** Changed in: glance
       Status: Fix Committed => 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/1366515

Title:
  [v2] Can't recognize paramter **id** for image create

Status in OpenStack Image Registry and Delivery Service (Glance):
  Fix Released

Bug description:
  We're using **id** in image schema[1,2], but using **image_id** for
  most of the internal functions[3,4]. So user will got a key error if
  he is passing in **id**.

  [1] https://github.com/openstack/glance/blob/master/glance/api/v2/images.py#L672
  [2] https://github.com/openstack/python-glanceclient/blob/master/glanceclient/v2/shell.py#L37
  [3] https://github.com/openstack/glance/blob/master/glance/domain/__init__.py#L73
  [4] https://github.com/openstack/glance/blob/master/glance/domain/__init__.py#L78

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


References