Command not found in letsencrypt-lego

Bug #2051111 reported by Piotr Parczewski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Status tracked in Caracal
Bobcat
Fix Released
Undecided
Piotr Parczewski
Caracal
Fix Released
Undecided
Piotr Parczewski

Bug Description

Only the first execution of cron job in letsencrypt-lego container is successful on active host. Subsequent ends up with:

/usr/bin/letsencrypt-certificates: line 174: ip: command not found
2024/01/19 20:00:01 [INFO] [myhostname.mydomain - cron] This Letsencrypt-lego host is passive, nothing to do...
2024/01/19 21:21:23 [INFO] [myhostname.mydomain - cron] This Letsencrypt-lego host is passive, nothing to do...
/usr/bin/letsencrypt-certificates: line 174: ip: command not found
2024/01/20 00:00:01 [INFO] [myhostname.mydomain - cron] This Letsencrypt-lego host is passive, nothing to do...
/usr/bin/letsencrypt-certificates: line 174: ip: command not found

description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/kolla/+/906516

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

Reviewed: https://review.opendev.org/c/openstack/kolla/+/906516
Committed: https://opendev.org/openstack/kolla/commit/c3eb169e6c62747cfbc5ddc8ba951f7f5dda6382
Submitter: "Zuul (22348)"
Branch: master

commit c3eb169e6c62747cfbc5ddc8ba951f7f5dda6382
Author: Piotr Parczewski <email address hidden>
Date: Wed Jan 24 13:23:52 2024 +0100

    Use full binary path when invoking ip

    Closes-bug: #2051111
    Change-Id: I2a4df6121236379d88d0d7f2f7a888feab273003

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

Fix proposed to branch: stable/2023.2
Review: https://review.opendev.org/c/openstack/kolla/+/907563

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

Reviewed: https://review.opendev.org/c/openstack/kolla/+/907563
Committed: https://opendev.org/openstack/kolla/commit/21102960cbed8d0388fa3bbe0a312772c1fd62bd
Submitter: "Zuul (22348)"
Branch: stable/2023.2

commit 21102960cbed8d0388fa3bbe0a312772c1fd62bd
Author: Piotr Parczewski <email address hidden>
Date: Wed Jan 24 13:23:52 2024 +0100

    Use full binary path when invoking ip

    Closes-bug: #2051111
    Change-Id: I2a4df6121236379d88d0d7f2f7a888feab273003
    (cherry picked from commit c3eb169e6c62747cfbc5ddc8ba951f7f5dda6382)

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

This issue was fixed in the openstack/kolla 17.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.