Shaun Verch created LIBCLOUD-1027:
-------------------------------------
Summary: GCE - Intermittent invalid credentials error
Key: LIBCLOUD-1027
URL: https://issues.apache.org/jira/browse/LIBCLOUD-1027
Project: Libcloud
Issue Type: Bug
Affects Versions: 2.3.0
Environment: I'm using apache libcloud 2.3.0, but the other poster in
[https://github.com/sverch/butter/issues/32] may be using a different version.
Reporter: Shaun Verch
Every once in a while I get this error from the GCE driver:
{code:java}
code = None
raise ResourceNotFoundError(message, self.status, code)
elif self.status == httplib.BAD_REQUEST:
if (not json_error) and ('error' in body):
(code, message) = self._get_error(body)
else:
message = body
code = None
raise InvalidRequestError(message, self.status, code)
else:
if (not json_error) and ('error' in body):
(code, message) = self._get_error(body)
else:
message = body
code = None
> raise GoogleBaseError(message, self.status, code)
E libcloud.common.google.GoogleBaseError: {'domain': 'global',
'reason': 'authError', 'message': 'Invalid Credentials', 'locationType':
'header', 'location': 'Authorization'}
.tox/gce/lib/python3.6/site-packages/libcloud/common/google.py:296:
GoogleBaseError{code}
There's some context in: [https://github.com/sverch/butter/issues/32,] and
potentially some more in:
[https://github.com/getcloudless/cloudless/issues/18]. For me this was on a
regression test that ran repeatedly, and this error happened about 1/100 I'd
estimate.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)