elasticsearch curator's cron job does not run

Bug #1885732 reported by Radosław Piliszek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Medium
Radosław Piliszek
Train
Fix Released
Medium
Doug Szumski
Ussuri
Fix Released
Medium
Radosław Piliszek
Victoria
Fix Released
Medium
Radosław Piliszek

Bug Description

It seems it does not fire on either platform beacuse

1) for CentOS/Ubuntu/Debian it lacks setting the PATH to include /usr/local/bin where curator got installed
2) for Ubuntu/Debian the installed crontab is misplaced

Changed in kolla-ansible:
assignee: nobody → Radosław Piliszek (yoctozepto)
description: updated
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/738639

Changed in kolla-ansible:
status: Triaged → In Progress
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

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

commit 852c7a32c3a00d88243ef3b89ce19e6391a676b1
Author: Radosław Piliszek <email address hidden>
Date: Tue Jun 30 16:39:55 2020 +0200

    Fix the Elasticsearch Curator cron schedule run

    There were two issues with it. Lack of /usr/local/bin in PATH
    for CentOS and wrong crontab path for Ubuntu/Debian.
    This patch mirrors how it is handled in keystone.

    Change-Id: Ib54b261e12c409d66b792648807646015826e83c
    Closes-Bug: #1885732

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/738782

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/738783

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

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

commit 3114af254a88df6b7f480aa8e81696e0417174d7
Author: Radosław Piliszek <email address hidden>
Date: Tue Jun 30 16:39:55 2020 +0200

    Fix the Elasticsearch Curator cron schedule run

    There were two issues with it. Lack of /usr/local/bin in PATH
    for CentOS and wrong crontab path for Ubuntu/Debian.
    This patch mirrors how it is handled in keystone.

    Change-Id: Ib54b261e12c409d66b792648807646015826e83c
    Closes-Bug: #1885732
    (cherry picked from commit 852c7a32c3a00d88243ef3b89ce19e6391a676b1)

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

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

commit f1af365daefdc6d77273d310726b43c6fa9a8084
Author: Radosław Piliszek <email address hidden>
Date: Tue Jun 30 16:39:55 2020 +0200

    Fix the Elasticsearch Curator cron schedule run

    There were two issues with it. Lack of /usr/local/bin in PATH
    for CentOS and wrong crontab path for Ubuntu/Debian.
    This patch mirrors how it is handled in keystone.

    Change-Id: Ib54b261e12c409d66b792648807646015826e83c
    Closes-Bug: #1885732
    (cherry picked from commit 852c7a32c3a00d88243ef3b89ce19e6391a676b1)

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.