from osmclient.sol005 import pdud
from osmclient.sol005 import k8scluster
from osmclient.sol005 import repo
from osmclient.sol005 import pdud
from osmclient.sol005 import k8scluster
from osmclient.sol005 import repo
if self._token is None:
postfields_dict = {'username': self._user,
'password': self._password,
'project_id': self._project}
http_code, resp = self._http_client.post_cmd(endpoint=self._auth_endpoint,
postfields_dict=postfields_dict)
if self._token is None:
postfields_dict = {'username': self._user,
'password': self._password,
'project_id': self._project}
http_code, resp = self._http_client.post_cmd(endpoint=self._auth_endpoint,
postfields_dict=postfields_dict)
- if http_code not in (200, 201, 202, 204):
- message ='Authentication error: not possible to get auth token\nresp:\n{}'.format(resp)
- raise ClientException(message)
+# if http_code not in (200, 201, 202, 204):
+# message ='Authentication error: not possible to get auth token\nresp:\n{}'.format(resp)
+# raise ClientException(message)