OSAPI 'create image' location header is missing tenant ID
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| OpenStack Compute (nova) |
Medium
|
Alex Meade | ||
| Diablo |
Undecided
|
Unassigned |
Bug Description
Using the v1.1 OSAPI:
When creating an image snapshot the location header contains a URL to the newly created image. The location header is currently missing the tenant ID.
For reference see:
http://
Changed in nova: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in nova: | |
assignee: | nobody → Alex Meade (alex-meade) |
Changed in nova: | |
status: | Confirmed → Fix Committed |
Mark McLoughlin (markmc) wrote : | #2 |
Doesn't the same problem also apply to backup creation?
def _action_
...
# build location of newly-created image entity
image_id = str(image['id'])
image_ref = os.path.
Reviewed: https:/
Committed: http://
Submitter: Jenkins
Branch: stable/diablo
status fixcommitted
done
commit 6f96fa65aa73e78
Author: Alex Meade <email address hidden>
Date: Thu Sep 29 15:58:43 2011 -0400
Adds the tenant id to the create images response Location header
Fixes bug 862672
(cherry picked from commit f3fb16a7935e91f
Change-Id: I97357dc76561db
Changed in nova: | |
milestone: | none → essex-1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Hello Dan, or anyone else affected,
Accepted nova into oneiric-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https:/
tags: | added: verification-needed |
Changed in nova: | |
milestone: | essex-1 → 2012.1 |
Reviewed: https:/ /review. openstack. org/743 github. com/openstack/ nova/commit/ f3fb16a7935e91f 8c9034d1da84a2b 17cbe186f8
Committed: http://
Submitter: Jenkins
Branch: master
status fixcommitted
done
commit f3fb16a7935e91f 8c9034d1da84a2b 17cbe186f8
Author: Alex Meade <email address hidden>
Date: Thu Sep 29 15:58:43 2011 -0400
Adds the tenant id to the create images response Location header
Fixes bug 862672
Change-Id: I85fc91c64146b0 2718dad77686762 e26bdfce08c