Comment 3 for bug 1797814

Revision history for this message
Eric Miller (erickmiller) wrote :

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