collect does not contain etcd database

Bug #1873947 reported by Bart Wensley
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Jessica Castelino

Bug Description

Brief Description
-----------------
When the collect tool is run, it is supposed to include the contents of the etcd database. It does not - instead, it has this:
$ cat etcd_database.json
{"action":"get","node":{"dir":true}}

Severity
--------
Major - will impact debugging of kubernetes issues

Steps to Reproduce
------------------
Run the collect tool to collect debugging data from a running system.

Expected Behavior
------------------
The collect data should include the contents of the etcd database. Note that on my lab, the following command does dump the contents of the etcd database:
ETCDCTL_API=3 etcdctl --endpoints=localhost:2379 get / --prefix > output_file

Actual Behavior
----------------
The collect data does not include the contents of the etcd database.

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

System Configuration
--------------------
All

Branch/Pull Time/Commit
-----------------------
Seen in a load built on 2020-04-17

Last Pass
---------
Unknown

Timestamp/Logs
--------------
See above

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

Workaround
----------
None

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

stx.4.0 / medium priority - impacts debugging, so should be implemented for stx.4.0

tags: added: stx.tool
tags: added: stx.4.0 stx.containers stx.tools
removed: stx.tool
Changed in starlingx:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Jessica Castelino (jcasteli)
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/722331

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/722331
Committed: https://git.openstack.org/cgit/starlingx/utilities/commit/?id=b82899d14441daac5f674440e9f88b12c0bc10bd
Submitter: Zuul
Branch: master

commit b82899d14441daac5f674440e9f88b12c0bc10bd
Author: Jessica Castelino <email address hidden>
Date: Thu Apr 23 10:25:06 2020 -0400

    Collect contents of etcd database

    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.

    Change-Id: If52144a18f10b9242d6317b33fb38805c33ed481
    Closes-Bug: 1873947
    Signed-off-by: Jessica Castelino <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/729829

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

Reviewed: https://review.opendev.org/729829
Committed: https://git.openstack.org/cgit/starlingx/utilities/commit/?id=8b997e7817ae0a4a1886a0aac803b9d38c3e80eb
Submitter: Zuul
Branch: f/centos8

commit 115332ef6b0016393e6af9a65eadc1911be2be33
Author: Ran An <email address hidden>
Date: Thu May 14 11:41:43 2020 +0000

    Revert "Update logmgmt to use python3"

    This reverts commit dfbf7166b3a7317ed426023b1667553bfa9ad86c.

    Change-Id: I28c1b30edc4c97cda77724fdc20775f8b6b8faea

commit e84e6637d0ba2aea93d16f4ec82678fcf927de19
Author: Sharath Kumar K <email address hidden>
Date: Tue May 5 08:59:55 2020 +0200

    De-branding in starlingx/utilities: CGCS,TIS -> StarlingX

    1. Rename CGCS,TIS to StarlingX for .spec file

    Test:
    After the de-brand change, bootimage.iso has been built in the flock
    Layer and installed on the dev machine to validate the changes.

    Please note, doing de-brand changes in batches, this is batch13 changes.

    Story: 2006387
    Task: 39270

    Change-Id: Iee7156e3d4e2f326c70518abb444d0154b2d2648
    Signed-off-by: Sharath Kumar K <email address hidden>

commit dfbf7166b3a7317ed426023b1667553bfa9ad86c
Author: Long Li <email address hidden>
Date: Tue Apr 7 18:16:17 2020 +0800

    Update logmgmt to use python3

    Change python to python3 about script and spec
    fix log runtime errors in python3 env

    Change-Id: Ia7e00a4f5b8b4dc617cb17ab8b7dc37576e809b5
    Story: 2007106
    Task: 39288
    Depends-on: https://review.opendev.org/#/c/717211/
    Signed-off-by: Long Li <email address hidden>
    Signed-off-by: SidneyAn <email address hidden>

commit 785ab826e24f5adeef40f2aff8d764a0e7f9e850
Author: albailey <email address hidden>
Date: Tue Apr 28 12:52:39 2020 -0500

    Clamp pylint to be less than 2.5.0

    A new version of pylint was released on April 27 and it is
    breaking zuul jobs so submissions cannot merge.

    Clamping pylint to be less than 2.5.0 for now.

    Change-Id: I77464800aa4ec5b94e10a5e9fbaeb0ddbd2e7845
    Partial-Bug: 1875705
    Signed-off-by: albailey <email address hidden>

commit 58f6baa560beeb2fbe700a39bb6d9eb1463e0a28
Author: Jessica Castelino <email address hidden>
Date: Fri Apr 24 15:46:10 2020 -0400

    Rename the existing /opt/patch-vault filesystem to /opt/dc-vault

    The filesystem /opt/patch-vault is renamed to /opt/dc-vault so that
    it can be re-used to store FPGA images and software loads. Thus,
    necessary changes have been made in the collect tool.

    Change-Id: I701dcb90e6c9571b5dc0eda17d27a241a40677d2
    Story: 2006740
    Task: 39550
    Depends-On: https://review.opendev.org/#/c/723007/
    Signed-off-by: Jessica Castelino <email address hidden>

commit b82899d14441daac5f674440e9f88b12c0bc10bd
Author: Jessica Castelino <email address hidden>
Date: Thu Apr 23 10:25:06 2020 -0400

    Collect contents of etcd database

    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.

    Change-Id: If52144a18f...

Read more...

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

Remote bug watches

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