Trove kick-start fails to upload an image to glance if an existing image with the same name already exists

Bug #1357472 reported by Nikhil Manchanda
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Trove Integration
Fix Released
Critical
Nikhil Manchanda

Bug Description

After https://review.openstack.org/#/c/111538/, devstack now uses the openstack client to upload images to glance.
Unlike the glance client, the openstack client doesn't allow you to upload multiple images with the same name, so we should clean out older trove datastore images, before uploading a new one to glance.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove-integration (master)

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

Changed in trove-integration:
assignee: nobody → Nikhil Manchanda (slicknik)
status: New → In Progress
Changed in trove-integration:
importance: Undecided → Critical
milestone: none → juno-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to trove-integration (master)

Reviewed: https://review.openstack.org/114604
Committed: https://git.openstack.org/cgit/openstack/trove-integration/commit/?id=770f7e957551c7eb313eed7207a1597a9c29184f
Submitter: Jenkins
Branch: master

commit 770f7e957551c7eb313eed7207a1597a9c29184f
Author: Nikhil Manchanda <email address hidden>
Date: Fri Aug 15 10:07:50 2014 -0700

    Delete old images before uploading a new one to glance

    The openstack client that the image upload in devstack now uses
    (I96cef118daf931b648c0483525ac7d2287fec2e0) fails when trying to
    upload another image having the same name into the glance catalog.

    This change cleans up any older images that may exist in the catalog
    before uploading the new image as part of kick-start.

    Change-Id: I5f8c3172ae0e83dd5393eaf70afdb5d2ba7075d0
    Closes-bug: 1357472

Changed in trove-integration:
status: In Progress → Fix Committed
Amrith Kumar (amrith)
Changed in trove-integration:
status: Fix Committed → Fix Released
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.