← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

We're using **id** in image schema[1,2], but using **image_id** for most
of the internal functions[3,4]. So use 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

** Affects: glance
     Importance: High
     Assignee: Fei Long Wang (flwang)
         Status: Triaged

** Changed in: glance
   Importance: Undecided => High

** Changed in: glance
     Assignee: (unassigned) => Fei Long Wang (flwang)

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

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

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

Bug description:
  We're using **id** in image schema[1,2], but using **image_id** for
  most of the internal functions[3,4]. So use 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


Follow ups

References