
TripleO was using python2 up to stable/train. This means we can .decode() strings, which we did with hosts for hostnames. With python3, we no longer need to do this and tripleo master is using python3. Instead, we need to detect this case and handle it appropriately. Change-Id: Icc211f5b685ec9df06cd25d6af3b28a5db4df590