collect is missing helmv2 output

Bug #1911933 reported by Jim Gauld
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Jim Gauld

Bug Description

Brief Description
-----------------
collect is missing relevant helm v2 commands since upversion to helm v3 (i.e., helm status, helm get values). This data is useful for debugging. Some helm v3 commands don't work properly through as root via 'sudo' since helm commands are supposed to be done as sysadmin user.

Severity
--------
Provide the severity of the defect.
Major: helm is usable, more difficult to debug helm app, kubernetes issues.

Steps to Reproduce
------------------
collect

Expected Behavior
------------------
collect tarball contains relevant /var/extra/containerization_helm.info and ./helm data.

Actual Behavior
----------------
/var/extra/containerization_helm.info and ./helm missing status and values.

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

System Configuration
--------------------
All configurations.

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

Last Pass
---------
Day one issue since helmv3 merged.

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

Test Activity
-------------
Feature Testing of armada containerization/helmv3 upgrade.

Workaround
----------
Manually run:
helmv2-cli -- helm list -a

For each application listed:
helmv2-cli -- helm status <name>
helmv2-cli -- helm get values <name> --revision <version>

Jim Gauld (jgauld)
Changed in starlingx:
assignee: nobody → Jim Gauld (jgauld)
Jim Gauld (jgauld)
description: updated
Revision history for this message
Bob Church (rchurch) wrote :
Changed in starlingx:
status: New → Fix Released
Ghada Khalil (gkhalil)
tags: added: stx.tools
Changed in starlingx:
importance: Undecided → Medium
tags: added: stx.5.0
Revision history for this message
Jim Gauld (jgauld) wrote : Discuss Support for application upgrades semantic checks
  • unnamed Edit (2.8 KiB, text/calendar; charset="utf-8"; method=REQUEST)

Working meeting; discuss some details of approach.
Jim Gauld is inviting you to a scheduled Zoom meeting.

Join Zoom Meeting
https://windriver.zoom.us/j/96303550537?pwd=NUxFaXIzVDVEZmljdmlVaUN6U1NhZz09

Meeting ID: 963 0355 0537
Passcode: 777228
One tap mobile
+17789072071,,96303550537# Canada
+12042727920,,96303550537# Canada

Dial by your location
        +1 778 907 2071 Canada
        +1 204 272 7920 Canada
        +1 438 809 7799 Canada
        +1 587 328 1099 Canada
        +1 647 374 4685 Canada
        +1 647 558 0588 Canada
        +1 312 626 6799 US (Chicago)
        +1 346 248 7799 US (Houston)
        +1 408 638 0968 US (San Jose)
        +1 646 876 9923 US (New York)
        +1 669 900 6833 US (San Jose)
        +1 253 215 8782 US (Tacoma)
        +1 301 715 8592 US (Washington DC)
Meeting ID: 963 0355 0537
Find your local number: https://windriver.zoom.us/u/avNddeOuM

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to utilities (f/centos8)
Download full text (29.4 KiB)

Reviewed: https://review.opendev.org/c/starlingx/utilities/+/792213
Committed: https://opendev.org/starlingx/utilities/commit/c4d042615e6fe8944a4628fa1a29e86e012a9bf5
Submitter: "Zuul (22348)"
Branch: f/centos8

commit 557cada006fd5a3bd81ad5af387c37657801f8c5
Author: Fernando Theirs <email address hidden>
Date: Thu May 13 16:21:47 2021 -0300

    Collect is missing etcdctl output

    When the collect tool is run, it does not include the contents
    of the etcd database. Fixes have been made for this to dump the
    contents in "etcd_database.dump" file.

    Verify if etcd access is secured. In that case, certificates
    will be used.

    Closes-Bug: 1911935

    Signed-off-by: Fernando Theirs <email address hidden>
    Change-Id: Idbc60edffa978a7a6bead939a4eb54f4abae29a6

commit 6045b1b8a0d8ed6a94d06cdfc994bf1a5fa9dbb5
Author: Jim Gauld <email address hidden>
Date: Thu May 6 11:58:34 2021 -0400

    Provide utility script is-rootdisk-device.sh

    This provides a utility script to determine which disk contains the root
    filesystem. This can also be used as a helper function for io-scheduler
    udev rules that require specific configuration for root disk.

    Example usage:
    /usr/local/bin/is-rootdisk-device.sh
    ROOTDISK_DEVICE=sda

    /usr/local/bin/is-rootdisk-device.sh /dev/sda
    ROOTDISK_DEVICE=sda

    /usr/local/bin/is-rootdisk-device.sh /dev/sdb
    (i.e., no output)

    Partial-Bug: 1927515
    Signed-off-by: Jim Gauld <email address hidden>
    Change-Id: Ib0d4a161a407b08d294c5ff9aa0b7590961e18c9

commit 88a678f142cfe86c58b6405aae6babbc08de0e8f
Author: Chen, Haochuan Z <email address hidden>
Date: Fri Mar 26 09:09:41 2021 +0800

    Add packages to stx-ceph-manager image

    This update installs ceph-mgr, ceph-mon, ceph-osd packages as part
    of stx-ceph-manager image.

    Partial-Bug: 1920882

    Change-Id: I4afde8b1476e14453fac8561f1edde7360b8ee96
    Signed-off-by: Chen, Haochuan Z <email address hidden>

commit 09b3542fcc6cc0300a9cae0d302225e6977780f3
Author: Scott Little <email address hidden>
Date: Thu Mar 25 11:49:49 2021 -0400

    Set SW_VERSION 21.05

    Prep for the StarlingX 5.0 release.
    SW_VERSION, also known as PLATFORM_RELEASE, uses YY.MM format.

    Story: 2008055
    Task: 42115
    Signed-off-by: Scott Little <email address hidden>
    Change-Id: If7c91a2b523358269ae4850961cf4189ffcd7a75

commit ae4cefd0e2a0001476782c31e1003810da2b4838
Author: Chris Friesen <email address hidden>
Date: Thu Mar 4 18:04:12 2021 -0500

    add dcmanager-audit-worker to patch restart script

    Need to add the new process to the patch restart script.

    Story: 2007267
    Task: 41999
    Signed-off-by: Chris Friesen <email address hidden>
    Change-Id: If5faa806bd0d52ddbf1343b064959f4207cf975a

commit 27fce5a52321f3014fa8ae9181d344bc774289da
Author: Enzo Candotti <email address hidden>
Date: Mon Feb 1 12:47:38 2021 -0300

    Add resource CPU and memory info in collect

    This adds commands to collect more data to debug
    resource allocations and...

tags: added: in-f-centos8
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.