Merge "Add logrotate meta configuration for Gnocchi"
diff --git a/_modules/gnocchiv1/common.py b/_modules/gnocchiv1/common.py
index 1e5282f..83e010b 100644
--- a/_modules/gnocchiv1/common.py
+++ b/_modules/gnocchiv1/common.py
@@ -116,7 +116,11 @@
                     else:
                         raise
                 break
-            return response.json()
+            try:
+                resp = response.json()
+            except ValueError:
+                resp = response.content
+            return resp
         return wrapped_f
     return wrap