Make the VMware datastore backend more robust

Bug #1291646 reported by Arnaud Legendre
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Medium
Arnaud Legendre

Bug Description

Several issues to address:

- need better error handling for the add,get,get_size,delete operations: need to catch exception when httplib call fails, also need to log when the response is not expected.
- need to handle cases where the store_image_dir contains non expected characters. It should support the following use cases:
/openstack_glance
openstack_glance
openstack_glance/
openstack glance -> this one should fail with logging
openstack+glance
etc.
- need to quote special characters

Changed in glance:
assignee: nobody → Arnaud Legendre (arnaudleg)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (master)

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

Changed in glance:
status: New → In Progress
description: updated
Zhi Yan Liu (lzy-dev)
Changed in glance:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/80098
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=551cad4c7bf7043c8942319fc46e58d851051b2c
Submitter: Jenkins
Branch: master

commit 551cad4c7bf7043c8942319fc46e58d851051b2c
Author: Arnaud Legendre <email address hidden>
Date: Wed Mar 12 15:18:48 2014 -0700

    Make the VMware datastore backend more robust

    This patch contains several fixes related to invalid configurations
    and corner cases:
    - better error handling for the store operations
    - better logging when response is not successful
    - better support for various store_image_dir formats

    Change-Id: I6c0003e29d621c1f71490cb9fce163dc840a113f
    Closes-Bug: #1291646

Changed in glance:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in glance:
milestone: none → icehouse-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in glance:
milestone: icehouse-rc1 → 2014.1
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.