5db9eab042
The kibana, elasticsearch and monasca roles all use the uri module to perform Elasticsearch configuration tasks via its API. The body of the request should be JSON formatted, but these tasks now fail because it is not. The following error is seen: TASK [monasca : Create default control plane organisation if it doesn't exist] invalid character '\\'' looking for beginning of object key string The 'JSON' body in this case was: {'name': 'monasca_control_plane@default'} This was probably caused by the recent change to execute these tasks in the kolla_toolbox container, but may also be caused by an Ansible version bump (or something else). This change fixes the issue by ensuring that the body is JSON-encoded in all cases. Change-Id: I7acc097381dd9a4af4e014525c1c88213abbde93 Closes-Bug: #1864177
8 lines
254 B
YAML
8 lines
254 B
YAML
---
|
|
fixes:
|
|
- |
|
|
Fixes an issue where Elasticsearch API requests made during Kibana,
|
|
Elasticsearch and Monasca deployment could have an invalid body. See `bug
|
|
1864177 <https://bugs.launchpad.net/kolla-ansible/+bug/1864177>`_ for
|
|
details.
|