FluxCD: Insufficient logs in general

Bug #1994986 reported by Dan Voiculeasa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Dan Voiculeasa

Bug Description

Brief Description
-----------------
In general there is not sufficient logging related to FluxCD internals.

Severity
--------
Major: Can't properly debug FluxCD operations for StarlingX apps.

Steps to Reproduce
------------------
kubectl logs -n flux-helm <pods_here>

Expected Behavior
------------------
Need more logs related to FluxCD operations.

Actual Behavior
----------------
Insufficient logs about FluxCD operations.

Reproducibility
---------------
100%

System Configuration
--------------------
Any

Branch/Pull Time/Commit
-----------------------
27 Oct 2022

Last Pass
---------
N/A

Timestamp/Logs
--------------
N/A

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

Workaround
----------
N/A

Changed in starlingx:
assignee: nobody → Dan Voiculeasa (dvoicule)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ansible-playbooks (master)
Changed in starlingx:
status: New → In Progress
Ghada Khalil (gkhalil)
tags: added: stx.apps
Changed in starlingx:
importance: Undecided → Medium
tags: added: stx.8.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ansible-playbooks (master)

Reviewed: https://review.opendev.org/c/starlingx/ansible-playbooks/+/862828
Committed: https://opendev.org/starlingx/ansible-playbooks/commit/4795573f7d7c116384fa04a3f01ffc0123657d91
Submitter: "Zuul (22348)"
Branch: master

commit 4795573f7d7c116384fa04a3f01ffc0123657d91
Author: Dan Voiculeasa <email address hidden>
Date: Thu Oct 27 18:57:42 2022 +0300

    Enable debug log for FluxCD controllers

    We are missing some information about what FluxCD does internally. This
    information helps us investigate issues related to StarlingX apps.

    Experiments showed debug prints are produced only when FluxCD is
    instructed to change state by the StarlingX app framework (app
    operations are sparse operations).
    With the above in mind enable debug log level.

    Also switching log format from json:
    {"level":"info","ts":"2022-10-27T19:16:22.768Z","logger":"controll...
    to a more familiar format:
    2022-10-27T19:19:26.218Z INFO controller.helmchart Reconciliation...

    Tests on AIO-SX:
    PASS: unlocked enabled available
    PASS: visual inspected logs

    Closes-Bug: 1994986
    Signed-off-by: Dan Voiculeasa <email address hidden>
    Change-Id: Ic2e0fc7d702d1fceaf93d1d98aeaa205c0388173

Changed in starlingx:
status: In Progress → Fix Released
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.