remove_rbd_volumes can't remove volumes with / characters in them
Bug #1306285 reported by
Nicolas Simonds
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: | added: volumes |
Changed in nova: | |
milestone: | none → juno-2 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | juno-2 → 2014.2 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/86730 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=7172ccbed45 85104d8f0801599 83b2feba86d100
Committed: https:/
Submitter: Jenkins
Branch: master
commit 7172ccbed458510 4d8f080159983b2 feba86d100
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: volume_ name"
the "-p" flag, and using the volume name notation "pool_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: Ie79ae10b0fafef d85dea8e38cd24d a0941b38bee
Closes-Bug: 1306285