Current behaviour leds to AttributeError because py3 don't have decode attribut for the string objects. So it's better to use safe_decode from oslo_utils.encodeutils for that purpose Change-Id: I22ce4212381511e2b2631a97057d6da938024b99