]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Ensure name is utf-8 when deleting rbd vol or snap
authorEdward Hope-Morley <edward.hope-morley@canonical.com>
Fri, 14 Mar 2014 10:07:45 +0000 (10:07 +0000)
committerEdward Hope-Morley <edward.hope-morley@canonical.com>
Fri, 14 Mar 2014 10:21:05 +0000 (10:21 +0000)
commitc0f8cc39fc92517d1402d9eb82d9319c6cb72842
treedaca9b8d50cbe64ef6048e3cf7d5c0eb11eb8daa
parent9046e6ee82db8f63b50e2ccaba0698d42dbe90f6
Ensure name is utf-8 when deleting rbd vol or snap

If the name supplied to librbd is not utf-8 e.g. unicode,
an exception is raised. This was previously fixed and
subsequently broken by commit cbe1d5f.

Change-Id: I29f5e9db87ceb5f9cfe3be43e76d3e860edaf6d7
Closes-Bug: bug 1292433
cinder/volume/drivers/rbd.py