Make unicode-to-utf8 conversion universal in ceph backup driver.
librbd does not like unicode strings. A patch was
recently applied (c98cf2d8) to make all config
values utf8 but there are other areas of the ceph
backup driver where this also applies. This patch
adds a new method which converts strings to utf8
and replaces all relevant uses of str() with this
new conversion.
Reviewed: https:/ /review. openstack. org/39050 github. com/openstack/ cinder/ commit/ 31238c748e1c0cf fb9ba412b3bf55b 87f991714a
Committed: http://
Submitter: Jenkins
Branch: master
commit 31238c748e1c0cf fb9ba412b3bf55b 87f991714a
Author: Edward Hope-Morley <email address hidden>
Date: Mon Jul 29 09:41:35 2013 +0100
Make unicode-to-utf8 conversion universal in ceph backup driver.
librbd does not like unicode strings. A patch was
recently applied (c98cf2d8) to make all config
values utf8 but there are other areas of the ceph
backup driver where this also applies. This patch
adds a new method which converts strings to utf8
and replaces all relevant uses of str() with this
new conversion.
Change-Id: I8c3b01d1ea00b6 01c599396e3a662 f172ffb9757
Fixes: bug #1206044