"openstack backup create" passes parsed_args.volume as container

Bug #1446751 reported by Dag Stenstad
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
Fix Released
Undecided
Dag Stenstad

Bug Description

Seems there is a bug in volume/v1/backup.py, it always send the volume (typically ID) as the name of the backup container. This means that you get a container in Swift for every volume you back up.

If I change the argument from "parsed_args.volume," to "parsed_args.container," it will use the container name if supplied on the command line, or use the default container name specified in cinder.conf.

Changed in python-openstackclient:
assignee: nobody → Dag Stenstad (dag-stenstad)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-openstackclient (master)

Reviewed: https://review.openstack.org/175984
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=2ee904cb2d18955930eaf0fea650222b2952cc6f
Submitter: Jenkins
Branch: master

commit 2ee904cb2d18955930eaf0fea650222b2952cc6f
Author: Dag Stenstad <email address hidden>
Date: Tue Apr 21 18:45:54 2015 +0200

    Adds support for container selection for backup

    Changed argument from parsed_args.volume to parsed_args.container as per what
    is expected in python-cinderclient.

    If not defined, defaults to "backup_swift_container" in cinder.conf.

    Stops there being a container for every volume you take backups off.

    Change-Id: I4a34894222f71b0f207d007c32427040589406aa
    Closes-Bug: 1446751

Changed in python-openstackclient:
status: In Progress → Fix Committed
Dean Troyer (dtroyer)
Changed in python-openstackclient:
milestone: none → m10
Dean Troyer (dtroyer)
Changed in python-openstackclient:
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.