Collect tool is missing relevant Kubernetes data

Bug #1894103 reported by Cole Walker
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Jim Gauld

Bug Description

Brief Description
-----------------
Collect logs do not include kubernetes node data (ie. from kubectl describe nodes)

This is important for determining things like which taints are active on nodes. This data would likely be collected by this script:
https://github.com/starlingx/utilities/blob/master/tools/collector/scripts/collect_containerization.sh

It would be useful to investigate if there are any other kube commands worth adding.
Consider:
kubectl get nodes
kubectl get pods --all-namespaces -o wide
kubectl describe nodes

Severity
--------
Minor

Steps to Reproduce
------------------
run the collect command on any system and examine the log output

Expected Behavior
------------------
Logs are collected on the state of the kubernetes nodes

Actual Behavior
----------------
Some logs are not available

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

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

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

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

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

Test Activity
-------------
]

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

Revision history for this message
Ghada Khalil (gkhalil) wrote :

stx.5.0 / medium - will help with issue investigation

tags: added: stx.tools
Changed in starlingx:
importance: Undecided → Medium
status: New → Triaged
assignee: nobody → Jim Gauld (jgauld)
tags: added: stx.5.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to utilities (master)

Fix proposed to branch: master
Review: https://review.opendev.org/750425

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

Reviewed: https://review.opendev.org/750425
Committed: https://git.openstack.org/cgit/starlingx/utilities/commit/?id=dd902cf3865f2147559b8c8baeecff70ffebe3cb
Submitter: Zuul
Branch: master

commit dd902cf3865f2147559b8c8baeecff70ffebe3cb
Author: Jim Gauld <email address hidden>
Date: Tue Sep 8 11:13:24 2020 -0400

    Add mariadb-cli, kubectl and openstack commands to collect

    This adds containerized related commands to collect:
    - containerized wrapper script mariadb-cli to access MariaDB mysql
    - various kubectl commands to understand resource usage
    - various containerized openstack commands to understand resource usage

    mariadb-cli is used to dump contents of all mariadb databases.

    Change-Id: I70a08e38adbba247152509a22a8b9beac9128ff9
    Closes-Bug: 1889678
    Closes-Bug: 1894103
    Signed-off-by: Jim Gauld <email address hidden>

Changed in starlingx:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to utilities (f/centos8)

Fix proposed to branch: f/centos8
Review: https://review.opendev.org/c/starlingx/utilities/+/792213

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.