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
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