Red Hat Satellite engineering is moving the tracking of its product development work on Satellite 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 "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. 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 "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-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 1962853 - Foreman maintain service status command returns non "0" exit code due to some invalid services like "dynflow-sidekiq.rpmsave, dynflow-sidekiq.rpmsave"
Summary: Foreman maintain service status command returns non "0" exit code due to some...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Satellite Maintain
Version: 6.8.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: 6.10.0
Assignee: Anurag Patel
QA Contact: Gaurav Talreja
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-20 16:51 UTC by James Jeffers
Modified: 2021-12-01 09:12 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1945916
Environment:
Last Closed: 2021-11-16 13:48:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 32292 0 High Closed Foreman maintain service status command returns non "0" exit code due to some invalid services like "dynflow-sidekiq@orc... 2021-05-20 16:51:53 UTC
Github SatelliteQE testfm pull 263 0 None open Add test for BZ-1945916 2021-12-01 09:12:32 UTC
Red Hat Product Errata RHBA-2021:4697 0 None None None 2021-11-16 13:48:12 UTC

Comment 1 Gaurav Talreja 2021-06-10 15:46:32 UTC
Verified.

Tested on Satellite 6.10.0 Snap 3.0
Version: rubygem-foreman_maintain-0.8.1-1.el7sat.noarch

Setup:
1. Have any backup .rpmsave file in /etc/foreman/dynflow/
   # ls /etc/foreman/dynflow/
    orchestrator.yml  test_bz.yml.rpmsave  worker-1.yml  worker-hosts-queue-1.yml

Steps:
1. foreman-maintain service status -b

Observation:
service-status doesn't pick up any backup files like *.rpmsave, which don't exist as services.
Also, any other files with extension .yml that don't pick up by service-status, which fail eventually.

Comment 4 errata-xmlrpc 2021-11-16 13:48:05 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 (Satellite 6.10 Satellite Maintenance Release), 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/RHBA-2021:4697


Note You need to log in before you can comment on or make changes to this bug.