Rejecting mapping update to [.kibana] as the final mapping would have more than 1 type: [doc, config]

Bug #1799689 reported by Christian Berendt
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Committed
Medium
Radosław Piliszek
Train
Fix Released
Medium
Radosław Piliszek
Ussuri
Fix Released
Medium
Radosław Piliszek
Victoria
Fix Released
Medium
Radosław Piliszek

Bug Description

With Kibana 6 we will get the following issue in the task "Change kibana config to set index as defaultIndex" in ansible/roles/kibana/tasks/post_config.yml:

Rejecting mapping update to [.kibana] as the final mapping would have more than 1 type: [doc, config]

More details:

* https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking-changes-6.0.html
* https://www.elastic.co/blog/index-type-parent-child-join-now-future-in-elasticsearch
* https://discuss.elastic.co/t/unable-to-create-index-with-more-that-1-type-in-6-x/106089

Changed in kolla-ansible:
importance: Undecided → Low
description: updated
Revision history for this message
XiaojueGuan (xiaojuegaun) wrote :
Changed in kolla-ansible:
assignee: nobody → XiaojueGuan (xiaojuegaun)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)

Fix proposed to branch: master
Review: https://review.opendev.org/726289

Changed in kolla-ansible:
status: New → In Progress
Changed in kolla-ansible:
assignee: XiaojueGuan (xiaojuegaun) → Radosław Piliszek (yoctozepto)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.opendev.org/726289
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=fbc47e60e1ce0f371c3f9e4350d5581c98d7b393
Submitter: Zuul
Branch: master

commit fbc47e60e1ce0f371c3f9e4350d5581c98d7b393
Author: xiaojueguan <email address hidden>
Date: Fri May 8 14:27:21 2020 +0800

    Remove post_config from the Kibana role

    Since at least Stein, there is no visible effect from these tasks.
    The Kibana dashboard seems to be working exactly the same,
    greeting user on the first use with "please configure my index".
    I tested on both Ubuntu and CentOS.
    In new E*K stack (Ussuri+, CentOS8+) it even causes play errors.

    Co-authored-by: Radosław Piliszek <email address hidden>
    Change-Id: Iafc6986cce9cbaa0ea9e219ca85d7d01a61308cf
    Closes-Bug: #1799689

Changed in kolla-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/ussuri)

Fix proposed to branch: stable/ussuri
Review: https://review.opendev.org/730455

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/ussuri)

Reviewed: https://review.opendev.org/730455
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=aea9b4d23367d4d0d8094f49584b537f13b86c6c
Submitter: Zuul
Branch: stable/ussuri

commit aea9b4d23367d4d0d8094f49584b537f13b86c6c
Author: xiaojueguan <email address hidden>
Date: Fri May 8 14:27:21 2020 +0800

    Remove post_config from the Kibana role

    Since at least Stein, there is no visible effect from these tasks.
    The Kibana dashboard seems to be working exactly the same,
    greeting user on the first use with "please configure my index".
    I tested on both Ubuntu and CentOS.
    In new E*K stack (Ussuri+, CentOS8+) it even causes play errors.

    Co-authored-by: Radosław Piliszek <email address hidden>
    Change-Id: Iafc6986cce9cbaa0ea9e219ca85d7d01a61308cf
    Closes-Bug: #1799689
    (cherry picked from commit fbc47e60e1ce0f371c3f9e4350d5581c98d7b393)

tags: added: in-stable-ussuri
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/730568

Changed in kolla-ansible:
importance: Low → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/train)

Reviewed: https://review.opendev.org/730568
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=eccb6806cc9e8767e443ecb4faea4cdfbf06f633
Submitter: Zuul
Branch: stable/train

commit eccb6806cc9e8767e443ecb4faea4cdfbf06f633
Author: xiaojueguan <email address hidden>
Date: Fri May 8 14:27:21 2020 +0800

    Remove post_config from the Kibana role

    Since at least Stein, there is no visible effect from these tasks.
    The Kibana dashboard seems to be working exactly the same,
    greeting user on the first use with "please configure my index".
    I tested on both Ubuntu and CentOS.
    In new E*K stack (Ussuri+, CentOS8+) it even causes play errors.

    Co-authored-by: Radosław Piliszek <email address hidden>
    Change-Id: Iafc6986cce9cbaa0ea9e219ca85d7d01a61308cf
    Closes-Bug: #1799689
    (cherry picked from commit fbc47e60e1ce0f371c3f9e4350d5581c98d7b393)
    (cherry picked from commit aea9b4d23367d4d0d8094f49584b537f13b86c6c)

Revision history for this message
r3ap3r-d3v (r3ap3r-d3v) wrote :

Hello, I was also experiencing this problem as well. I applied the patches listed here: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=eccb6806cc9e8767e443ecb4faea4cdfbf06f633 and it resolved the issue for my deployment. It also seems to have resolved another issue I was having with the Kibana dashboard was not displaying when I hit port 5601 on the external_vip_address. My deployment is stable/train on CentOS 8 and is an all-in-one deployment. If you have anything else you want me to check in regards to the patches, feel free to let me know. Thanks.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/735839

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/stein)

Reviewed: https://review.opendev.org/735839
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=f1ce8737025cee8a92b7efe00f8363833f8d6f1f
Submitter: Zuul
Branch: stable/stein

commit f1ce8737025cee8a92b7efe00f8363833f8d6f1f
Author: xiaojueguan <email address hidden>
Date: Fri May 8 14:27:21 2020 +0800

    Remove post_config from the Kibana role

    Since at least Stein, there is no visible effect from these tasks.
    The Kibana dashboard seems to be working exactly the same,
    greeting user on the first use with "please configure my index".
    I tested on both Ubuntu and CentOS.
    In new E*K stack (Ussuri+, CentOS8+) it even causes play errors.

    Co-authored-by: Radosław Piliszek <email address hidden>
    Change-Id: Iafc6986cce9cbaa0ea9e219ca85d7d01a61308cf
    Closes-Bug: #1799689
    (cherry picked from commit fbc47e60e1ce0f371c3f9e4350d5581c98d7b393)
    (cherry picked from commit aea9b4d23367d4d0d8094f49584b537f13b86c6c)
    (cherry picked from commit eccb6806cc9e8767e443ecb4faea4cdfbf06f633)

tags: added: in-stable-stein
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.