python3 changes in openstack scripts