Add override timeout for openstack exporter

Bug #1903547 reported by alban lecorps
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Wishlist
alban lecorps
Wallaby
Fix Released
Wishlist
alban lecorps

Bug Description

currently it is impossible to override timeout for openstack exporter.

https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/prometheus/templates/prometheus.yml.j2

currently, timeout is hardcoded with 10s, if you have a big openstack infrastructure it can't take more than 10s to scrape. So the openstack exporter is unasable in that case. I propose to variabilize this setting like we did for prometheus_openstack_exporter_interval.

alban lecorps (alecorps)
Changed in kolla-ansible:
assignee: nobody → alban lecorps (alecorps)
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/761966

Changed in kolla-ansible:
status: New → In Progress
Mark Goddard (mgoddard)
Changed in kolla-ansible:
importance: Undecided → Wishlist
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

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

commit 99680b56ef330a3cb44e58a12fcf67fdba328543
Author: Alban Lecorps <email address hidden>
Date: Mon Nov 9 16:31:15 2020 +0000

    Add override timeout for openstack exporter

    Add scrape_timeout option in
    prometheus_openstack_exporter job in order
    to avoid timeout for large Openstack environment.

    Change-Id: If96034e602bee3b3eea34a2656047355e1d17eec
    Closes-Bug: #1903547

Changed in kolla-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 12.0.0.0rc1

This issue was fixed in the openstack/kolla-ansible 12.0.0.0rc1 release candidate.

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

Fix proposed to branch: stable/victoria
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/808493

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

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/808493
Committed: https://opendev.org/openstack/kolla-ansible/commit/744c9af7c96a5b9197f8c83411188769826a7896
Submitter: "Zuul (22348)"
Branch: stable/victoria

commit 744c9af7c96a5b9197f8c83411188769826a7896
Author: Alban Lecorps <email address hidden>
Date: Mon Nov 9 16:31:15 2020 +0000

    Add override timeout for openstack exporter

    Add scrape_timeout option in
    prometheus_openstack_exporter job in order
    to avoid timeout for large Openstack environment.

    Change-Id: If96034e602bee3b3eea34a2656047355e1d17eec
    Closes-Bug: #1903547
    (cherry picked from commit 99680b56ef330a3cb44e58a12fcf67fdba328543)

tags: added: in-stable-victoria
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/c/openstack/kolla-ansible/+/810069

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

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/810069
Committed: https://opendev.org/openstack/kolla-ansible/commit/6c865d39eec43399e353a70268c24eef1b851f69
Submitter: "Zuul (22348)"
Branch: stable/ussuri

commit 6c865d39eec43399e353a70268c24eef1b851f69
Author: Alban Lecorps <email address hidden>
Date: Mon Nov 9 16:31:15 2020 +0000

    Add override timeout for openstack exporter

    Add scrape_timeout option in
    prometheus_openstack_exporter job in order
    to avoid timeout for large Openstack environment.

    Change-Id: If96034e602bee3b3eea34a2656047355e1d17eec
    Closes-Bug: #1903547
    (cherry picked from commit 99680b56ef330a3cb44e58a12fcf67fdba328543)

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

This issue was fixed in the openstack/kolla-ansible 10.4.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 11.2.0

This issue was fixed in the openstack/kolla-ansible 11.2.0 release.

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.