ERROR! The file inventory/gce.py is marked as executable, but failed to
execute correctly. If this is not supposed to be an executable script,
correct this with `chmod -x inventory/gce.py`.
Inventory script (inventory/gce.py) had an execution error: Traceback (most
recent call last):
File "/home/ubuntu/gadmobe-rtb/provision/inventory/gce.py", line 303, in
<module>
GceInventory()
File "/home/ubuntu/gadmobe-rtb/provision/inventory/gce.py", line 114, in
__init__
self.driver = self.get_gce_driver()
File "/home/ubuntu/gadmobe-rtb/provision/inventory/gce.py", line 190, in
get_gce_driver
gce = get_driver(Provider.GCE)(*args, **kwargs)
File
"/usr/local/lib/python2.7/dist-packages/libcloud/compute/drivers/gce.py",
line 1110, in __init__
super(GCENodeDriver, self).__init__(user_id, key, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/libcloud/common/base.py",
line 1177, in __init__
self.connection = self.connectionCls(*args, **conn_kwargs)
File
"/usr/local/lib/python2.7/dist-packages/libcloud/compute/drivers/gce.py",
line 99, in __init__
**kwargs)
File "/usr/local/lib/python2.7/dist-packages/libcloud/common/google.py",
line 737, in __init__
user_id, key, auth_type, credential_file, scopes, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/libcloud/common/google.py",
line 632, in __init__
self.token = self._get_token_from_file()
File "/usr/local/lib/python2.7/dist-packages/libcloud/common/google.py",
line 679, in _get_token_from_file
token = json.loads(data)
File "/usr/local/lib/python2.7/dist-packages/simplejson/__init__.py",
line 516, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python2.7/dist-packages/simplejson/decoder.py", line
373, in decode
raise JSONDecodeError("Extra data", s, end, len(s))
simplejson.scanner.JSONDecodeError: Extra data: line 1 column 180 - line 1
column 237 (char 179 - 236)
inventory/gce.py:19: Error parsing host definition ''''': No closing
quotation
Please get some advise
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/6a33f3a2-79a1-4291-ac7f-27b3b28356ef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.