invalid_index_name_exception
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Invalid
|
Undecided
|
Unassigned |
Bug Description
(deploy) root@k-node1:~# pip freeze | grep kolla
kolla==9.1.0.dev387
kolla-ansible=
the globals.yml file is https:/
code in fiel kolla-ansible/
```
- name: Register the kibana index in elasticsearch
become: true
kolla_toolbox:
module_name: uri
module_args:
url: "{{ internal_protocol }}://{{ kolla_internal_fqdn | put_address_
method: PUT
body: "{{ kibana_
body_format: json
status_code: 200, 201, 400
validate_
register: result
failed_when:
# If the index already exists, Elasticsearch will respond with a 400 error.
- result.status == 400
# Format: {"json": {"error": {"type": "index_
- result.get('json', {}).get('error', {}).get('type') != 'index_
run_once: true
```
can not handle all exceptions which will failed if you don't run it successfully at first try.
Changed in kolla-ansible: | |
status: | New → Invalid |