Fix restore cinder volume error

Bug #1714170 reported by jiaopengju
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Backup/Restore and DR (Freezer)
Fix Released
Undecided
jiaopengju

Bug Description

How to reproduce:
1. First create a backup job to backup a cinder volume to swift container 'freezer/datatime'
2. After the backup finished, create a restore job to restore the backup in step 1
3. The restore will fail

It is because the usage of swift if not right when we specify the container format as 'freezer/datatime'. So we should fix it.

jiaopengju (pj-jiao)
Changed in freezer:
assignee: nobody → jiaopengju (pj-jiao)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to freezer (master)

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

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

Reviewed: https://review.openstack.org/499475
Committed: https://git.openstack.org/cgit/openstack/freezer/commit/?id=b2a1b57141d2cf647bf3819e0c6ac6cf4110df6a
Submitter: Jenkins
Branch: master

commit b2a1b57141d2cf647bf3819e0c6ac6cf4110df6a
Author: Pengju Jiao <email address hidden>
Date: Thu Aug 31 14:46:58 2017 +0800

    Fix restore cinder volume error

    When doing restore of cinder volume from specify swift
    container named 'freezer/prefix', it will fail because
    the wrong usage of swift client. 'freezer' should be
    container name, 'prefix' should be object prefix.

    Change-Id: Ib9a8092ac9afb3e3867be91501a198d1ab867efc
    Closes-Bug:#1714170

Changed in freezer:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to freezer (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/499860

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to freezer (stable/pike)

Reviewed: https://review.openstack.org/499860
Committed: https://git.openstack.org/cgit/openstack/freezer/commit/?id=70b31e4b95272805ae8fecc0ca85b8de791990ec
Submitter: Jenkins
Branch: stable/pike

commit 70b31e4b95272805ae8fecc0ca85b8de791990ec
Author: Pengju Jiao <email address hidden>
Date: Thu Aug 31 14:46:58 2017 +0800

    Fix restore cinder volume error

    When doing restore of cinder volume from specify swift
    container named 'freezer/prefix', it will fail because
    the wrong usage of swift client. 'freezer' should be
    container name, 'prefix' should be object prefix.

    Change-Id: Ib9a8092ac9afb3e3867be91501a198d1ab867efc
    Closes-Bug:#1714170
    (cherry picked from commit b2a1b57141d2cf647bf3819e0c6ac6cf4110df6a)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/freezer 6.0.0.0b2

This issue was fixed in the openstack/freezer 6.0.0.0b2 development milestone.

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.