def create_tenant_session(self, credentials):
        try:
            self.session = self.Session(self, **credentials)
        except __HOLE__ as e:
            logger.error('Failed to create OpenStack session.')
            six.reraise(CloudBackendError, e)
        return self.session
dataset/ETHPy150Open opennode/nodeconductor/nodeconductor/iaas/backend.py/OpenStackClient.create_tenant_session