EC2 RegisterImage ImageLocation starts with / Fails

Bug #1074908 reported by Attila Fazekas
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Avinash Prasad

Bug Description

When, I register image and the ImageLocation parameter start with '/', the nova is able to download the manifest.xml itself, but not able to download the associated parts.

When it tries to download the parts it sends a HEAD method to the <part-key> location instead of the <bucket>/<part-key>

Expected Resolution:
 It should work when the location starts with '/'.

Tags: ec2 tempest
Michael Still (mikal)
Changed in nova:
status: New → Triaged
importance: Undecided → High
tags: added: ec2
tags: added: tempest
Changed in nova:
status: Triaged → In Progress
Changed in nova:
assignee: nobody → Avinash Prasad (avinash-prasad)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/29386

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/29386
Committed: http://github.com/openstack/nova/commit/83dec85cd9ec8217aaaa9764266cdf584d064cdc
Submitter: Jenkins
Branch: master

commit 83dec85cd9ec8217aaaa9764266cdf584d064cdc
Author: Avinash Prasad <email address hidden>
Date: Thu May 16 07:50:03 2013 -0700

    Fix EC2 RegisterImage ImageLocation starts with /

    * Allows image location that begins with '/' during EC2 image register
    * Adds relevant unit test

    Fixes LP bug #1074908

    Change-Id: I488b126c2079de4370823b347e80c7ec1ecc2c9f

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → havana-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: havana-2 → 2013.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.