Debian: script k8s-cni-cache-cleanup fails to run

Bug #1999570 reported by Mohammad Issa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Low
Mohammad Issa

Bug Description

Brief Description
-----------------
The script in k8s-cni-cache-cleanup is failing to run in 22.12.

Severity
--------
<Minor: System/Feature is usable with minor issue>

Steps to Reproduce
------------------
Just need to execute an install in 22.12 onwards

Expected Behavior
------------------
k8s-cni-cache-cleanup logs are proper.

Actual Behavior
----------------
k8s-cni-cache-cleanup logs show "err : Failed to get kubelet uptime"

Reproducibility
---------------
Reproducible

System Configuration
--------------------
Any 22.12 install

Branch/Pull Time/Commit
-----------------------

Last Pass
---------

Timestamp/Logs
--------------

Test Activity
-------------
Developer Testing

Workaround
----------
Describe workaround if available

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

Fix proposed to branch: master
Review: https://review.opendev.org/c/starlingx/integ/+/867572

Changed in starlingx:
status: New → In Progress
Ghada Khalil (gkhalil)
Changed in starlingx:
assignee: nobody → Mohammad Issa (m-issa)
tags: added: stx.integ stx.networking
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to integ (master)

Reviewed: https://review.opendev.org/c/starlingx/integ/+/867572
Committed: https://opendev.org/starlingx/integ/commit/448c808cf38fa6920fd4b7f85bf6759668a155fa
Submitter: "Zuul (22348)"
Branch: master

commit 448c808cf38fa6920fd4b7f85bf6759668a155fa
Author: Mohammad Issa <email address hidden>
Date: Tue Dec 13 20:42:45 2022 +0000

    k8s-cni-cache-cleanup: use ActiveEnterTimestamp

    The script in k8s-cni-cache-cleanup is failing to run
    because 'WatchdogTimestamp' no longer exists.

    Instead we use another timestamp, namely ActiveEnterTimestamp.

    Test Plan:

    PASS: Lock and unlock the controller and verify that the cleanup
          works properly

    PASS: Launch pods using extra cni interfaces and make sure
          they work properly using specific test cases

    Closes-Bug: 1999570

    Signed-off-by: Mohammad Issa <email address hidden>
    Change-Id: I36881a2802d150d7b36d204bf45511752d7f8401

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Low
tags: added: stx.8.0
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.