freezer/freezer
Domhnall Walsh 98c93e68a5 Fix checksum generation so that it handles binary data
At the moment, if freezer attempts to perform a backup with
the consistency check option enabled, it will fail if the
files being backed up contain anything other than plain
ASCII (or at least some flavour of same, ISO-8859-x
etc.). This is because the hashlib module fails as it
expects a string to digest rather than a binary blob.

This should fix matters by escaping everything that might
cause an issue and works for Python 2 and 3. Because it
escapes strings in a different way to before, the
checksums it computes may be different to previously
in some cases, but at least now it should always produce
one.

Change-Id: Idf62dc9e398c396c9de19cbff5622e79d4c7a198
Closes-Bug: #1595732
2016-07-13 10:06:57 +01:00
..
apiclient Fix Freezer Agent Logging 2016-06-30 07:41:28 -06:00
common Fix log-config-append does not work when passed as config file 2016-07-06 12:37:45 +01:00
engine Fix Freezer Agent Logging 2016-06-30 07:41:28 -06:00
lib Fix typos 2016-03-25 17:04:13 +09:00
mode Merge "Fix the failure of loading the instance of MongoDbMode" 2016-07-06 17:12:11 +00:00
openstack Fix Freezer Agent Logging 2016-06-30 07:41:28 -06:00
scheduler Remove white space between print and () 2016-07-06 16:06:56 +08:00
scripts Updating HP Copyright label 2015-08-21 14:19:39 +01:00
snapshot Fix Freezer Agent Logging 2016-06-30 07:41:28 -06:00
storage Fix Freezer Agent Logging 2016-06-30 07:41:28 -06:00
tests Merge "Fix messed up readme" 2016-07-07 10:18:40 +00:00
utils Fix checksum generation so that it handles binary data 2016-07-13 10:06:57 +01:00
__init__.py Switch freezer-scheduler to oslo.config and oslo.log 2015-12-10 12:49:58 +00:00
job.py Fix Freezer Agent Logging 2016-06-30 07:41:28 -06:00
main.py Merge "Remove white space between print and ()" 2016-07-08 14:33:13 +00:00