Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2043102

Summary: foreman plugin to collect decoded dynflow data for dynflow>1.6
Product: Red Hat Enterprise Linux 8 Reporter: Pavel Moravec <pmoravec>
Component: sosAssignee: Pavel Moravec <pmoravec>
Status: CLOSED ERRATA QA Contact: Miroslav HradĂ­lek <mhradile>
Severity: high Docs Contact:
Priority: high    
Version: 8.6CC: agk, bmr, bvassova, mhradile, momran, plambri, pmoravec, sbradley, theute, upgrades-and-supportability
Target Milestone: rcKeywords: OtherQA, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: sos-4.2-13.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-10 15:16:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 204309, 2043097    
Bug Blocks:    

Description Pavel Moravec 2022-01-20 15:57:40 UTC
Description of problem:
See related https://bugzilla.redhat.com/show_bug.cgi?id=2043097 .

Foreman plugin must collect dynflow psql CSV dumps such that:
- if tfm-rubygem-dynflow package < 1.6, collect as now
- if tfm-rubygem-dynflow >= 1.6, call the tool from bz2043097 with appropriate arguments.

This needs to go to 8.6 GA / 7.9.z to be released together with Sat7.0.


Version-Release number of selected component (if applicable):
sos-4.2-11


How reproducible:
100%


Steps to Reproduce:
1. Call "sosreport -o foreman --batch --build" on Sat7.0 and check sos_commands/foreman/dynflow* tables
2. Call the same sosreport command on Sat6.


Actual results:
1. CSV dump of the tables is encoded like:
72fd2b82-2b87-4179-95e2-3ccd0aa2b4ba,1,,,ForemanInventoryUpload::Async::GenerateAllReportsJob,1,,,,\x85b263757272656e745f726571756573745f6964d92465333333323538632d373730612d346562662d393665322d656532313535393264313935b063757272656e745f74696d657a6f6e65a3555443b763757272656e745f6f7267616e697a6174696f6e5f6964c0b363757272656e745f6c6f636174696f6e5f6964c0af63757272656e745f757365725f696401,
2. sosreport collects human readable CSV output.


Expected results:
1.+2. Human readable output collected both on Sat7.0 and Sat6


Additional info:

Comment 1 Pavel Moravec 2022-01-25 21:10:50 UTC
OtherQA will be provided by SysMgmt colleagues, granting qa_ack as pre-agreed.

Comment 4 Pavel Moravec 2022-02-21 16:36:46 UTC
This can be tested even after https://bugzilla.redhat.com/show_bug.cgi?id=2043097 is fixed / so far no dynflow-utils available on a Sat7 candidate build.

Comment 9 errata-xmlrpc 2022-05-10 15:16:38 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (sos bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2022:1998