After reviewing a bit more - the SQL error above is "expected", indicating that the role already exists. And thus the "failed" return value, in the JSON response, should be "true".
I have no idea what it is complaining about at Character 331 (specified in the original error as the issue). But obviously the JSON parser in Ansible is unhappy.
After reviewing a bit more - the SQL error above is "expected", indicating that the role already exists. And thus the "failed" return value, in the JSON response, should be "true".
This is the first chunk of the JSON response:
<controller001> (1, '\r\n{"changed": true, "end": "2018-10-14 19:04:07.801951", "stdout": "{\\"failed\\": true, \\"msg\\": \\"2018-10-14 19:04:07.013 192 DEBUG keystone. notifications [-] Callback: `keystone. application_ credential. core.Manager. _delete_ app_creds_ on_user_ delete_ callback` subscribed to event `identity. user.deleted` . register_ event_callback /var/lib/ kolla/venv/ lib/python2. 7/site- packages/ keystone/ notifications. py:286\ \u001b[ 00m 2018-10-14 19:04:07.014 192 DEBUG keystone. notifications [-] Callback: `keystone. application_ credential. core.Manager. _delete_ app_creds_ on_user_ delete_ callback` subscribed to event `identity. user.disabled` . register_ event_callback /var/lib/ kolla/venv/ lib/python2. 7/site- packages/ keystone/ notifications. py:286\ \u001b[ 00m
If I only take the "stdout" value:
{\\"failed\\": true, \\"msg\\": \\"2018-10-14 19:04:07.013 192 DEBUG keystone. notifications [-] Callback: `keystone. application_ credential. core.Manager. _delete_ app_creds_ on_user_ delete_ callback` subscribed to event `identity. user.deleted` . register_ event_callback /var/lib/ kolla/venv/ lib/python2. 7/site- packages/ keystone/ notifications. py:286\ \u001b[ 00m 2018-10-14 19:04:07.014 192 DEBUG keystone. notifications [-] Callback: `keystone. application_ credential. core.Manager. _delete_ app_creds_ on_user_ delete_ callback` subscribed to event `identity. user.disabled` . register_ event_callback /var/lib/ kolla/venv/ lib/python2. 7/site- packages/ keystone/ notifications. py:286\ \u001b[ 00m
I have no idea what it is complaining about at Character 331 (specified in the original error as the issue). But obviously the JSON parser in Ansible is unhappy.
Eric