Debian: collect all fails

Bug #1973218 reported by Al Bailey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Al Bailey

Bug Description

Brief Description
-----------------
Running "collect all" in a debian environment fails

Severity
--------
Major

Steps to Reproduce
------------------
boot a debian environment for StarlingX and run "collect all"

Expected Behavior
------------------
should generate a tar file under /scatch

Actual Behavior
----------------
aborts due to an error

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

System Configuration
--------------------
AIO-SX Debian

Branch/Pull Time/Commit
-----------------------
May 10, 2022

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

Timestamp/Logs
--------------
collect all
[sudo] password for sysadmin:
collecting data from 1 host(s)
monitoring host collect ; please standby ..
Error: Permission error ; exiting (failed to collect from controller-0 [target])
collected from 1 hosts
Error: No /scratch/ALL_NODES_20220511.170513 tarballs found ; refusing to create empty /scratch/ALL_NODES_20220511.170513.tar

Test Activity
-------------
Sanity

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

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/c/starlingx/utilities/+/841616

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

Reviewed: https://review.opendev.org/c/starlingx/utilities/+/841616
Committed: https://opendev.org/starlingx/utilities/commit/e38f82f1c36d2d14fb44009b2b74f81374aeb21a
Submitter: "Zuul (22348)"
Branch: master

commit e38f82f1c36d2d14fb44009b2b74f81374aeb21a
Author: Al Bailey <email address hidden>
Date: Thu May 12 15:49:07 2022 +0000

    Debian: Fix collect all due to postgres issues

    The sudo commands used by collect encounter permissions
    issues related to the /scratch directory.

    Passing -i to sudo makes the commands no longer fail collect.

    Test Plan:
      Run "collect all" on unlocked debian AIO-SX

    Closes-Bug: #1973218
    Signed-off-by: Al Bailey <email address hidden>
    Change-Id: I90fd811cd0aa20c061317107547c00f9b0167c88

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
assignee: nobody → Al Bailey (albailey1974)
importance: Undecided → Medium
tags: added: stx.7.0 stx.debian stx.tools
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.