remove_rbd_volumes can't remove volumes with / characters in them

Bug #1306285 reported by Nicolas Simonds
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Unassigned

Bug Description

as a convenience, rbd interprets everything before a "/" in the volume name as the name of the pool to use. This causes the "rm" subcommand to implicitly ignore the "-p" flag, which is bad.

Tags: volumes
Tracy Jones (tjones-i)
tags: added: volumes
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/86730
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=7172ccbed4585104d8f080159983b2feba86d100
Submitter: Jenkins
Branch: master

commit 7172ccbed4585104d8f080159983b2feba86d100
Author: Nicolas Simonds <email address hidden>
Date: Sun Apr 13 08:08:40 2014 -0700

    Use pool/volume_name notation when deleting RBD volumes

    the rbd command supports two methods for specifying a pool name:
    the "-p" flag, and using the volume name notation "pool_name/volume_name"
    The latter method supercedes the former, so to guard against slashes
    in the volume name confusing things, always use the path notation

    Change-Id: Ie79ae10b0fafefd85dea8e38cd24da0941b38bee
    Closes-Bug: 1306285

Changed in nova:
status: New → Fix Committed
Changed in nova:
milestone: none → juno-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: juno-2 → 2014.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.