kibana role broken with ansible 2.9
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Fix Released
|
High
|
Radosław Piliszek | ||
Stein |
Fix Committed
|
High
|
Radosław Piliszek | ||
Train |
Fix Released
|
High
|
Radosław Piliszek |
Bug Description
With ansible 2.9 the deployment fails when kibana is enabled.
What happened:
- Install ansible using `pip install ansible` now installs ansible 2.9
- Install kolla and kolla-ansible from git with stable/stein branch
- Execute `kolla-ansible -i ./multinode bootstrap-servers`
- Execute `kolla-ansible -i ./multinode prechecks`
- Execute `kolla-ansible -i ./multinode deploy`
Deployment fails in kibana role:
`fatal: [mlcopnstk01]: FAILED! => {"changed": false, "msg": "Unsupported parameters for (uri) module: HEADER_Content-Type Supported parameters include: attributes, backup, body, body_format, client_cert, client_key, content, creates, delimiter, dest, directory_mode, follow, follow_redirects, force, force_basic_auth, group, headers, http_agent, method, mode, owner, regexp, remote_src, removes, return_content, selevel, serole, setype, seuser, src, status_code, timeout, unix_socket, unsafe_writes, url, url_password, url_username, use_proxy, validate_certs"}`
This task causes the trouble:
`- name: Get kibana default indexes
uri:
HEADER_
url: "{{ internal_protocol }}://{{ kolla_internal_
method: GET
register: kibana_
run_once: true
when: kibana_
According to the ansible documentation, the HEADER_* parameters are no longer supported in ansible 2.9, see here: https:/
What you expected to happen:
- Kibana should deploy without problems
**Environment**:
* OS: CentOS Linux release 7.7.1908
* Kernel (e.g. `uname -a`): 3.10.0-
* Docker version if applicable (e.g. `docker version`): 19.03.4
* Kolla-Ansible version (e.g. `git head or tag or stable branch` or pip package version if using release): stable/stein
* Docker image Install type (source/binary): source
* Docker image distribution:
* Are you using official images from Docker Hub or self built? official images
* If self built - Kolla version and environment used to build:
* Share your inventory file, globals.yml and other configuration files if relevant
Changed in kolla-ansible: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 9.0.0 |
assignee: | nobody → Radosław Piliszek (yoctozepto) |
Oh, forgot to mention: When installing ansible 2.8 directly using pip the deployment continues.