Skip to content

Instantly share code, notes, and snippets.

@danehans
Created August 3, 2015 19:49
Show Gist options
  • Save danehans/95409886ced6b34f200b to your computer and use it in GitHub Desktop.
Save danehans/95409886ced6b34f200b to your computer and use it in GitHub Desktop.
TASK: [glance | Creating the Glance service and endpoint] *********************
failed: [localhost] => {"failed": true, "parsed": false}
Traceback (most recent call last):
File "/root/.ansible/tmp/ansible-tmp-1438630811.09-279214391092228/kolla_keystone_service", line 1794, in <module>
main()
File "/root/.ansible/tmp/ansible-tmp-1438630811.09-279214391092228/kolla_keystone_service", line 78, in main
module.exit_json(failed=True, changed=True, msg=e)
File "/root/.ansible/tmp/ansible-tmp-1438630811.09-279214391092228/kolla_keystone_service", line 1325, in exit_json
print self.jsonify(kwargs)
File "/root/.ansible/tmp/ansible-tmp-1438630811.09-279214391092228/kolla_keystone_service", line 1303, in jsonify
return json.dumps(data)
File "/usr/lib64/python2.7/json/__init__.py", line 243, in dumps
return _default_encoder.encode(obj)
File "/usr/lib64/python2.7/json/encoder.py", line 207, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/usr/lib64/python2.7/json/encoder.py", line 270, in iterencode
return _iterencode(o, 0)
File "/usr/lib64/python2.7/json/encoder.py", line 184, in default
raise TypeError(repr(o) + " is not JSON serializable")
TypeError: AttributeError("'module' object has no attribute 'get_plugin_class'",) is not JSON serializable
FATAL: all hosts have already failed -- aborting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment