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 1382436 - [RFE] Katello-agent/goferd needs atomic yum transactions
Summary: [RFE] Katello-agent/goferd needs atomic yum transactions
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: katello-agent
Version: 6.2.2
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-06 17:26 UTC by Erinn Looney-Triggs
Modified: 2020-05-14 15:19 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-04 19:05:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Erinn Looney-Triggs 2016-10-06 17:26:38 UTC
Description of problem:
If the satellite server goes down in the middle of a host attempting to update packages, the host will error out and leave a number of incomplete transactions in the yum log. This is less than ideal.

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

katello-agent-2.5.0-5.el7sat.noarch

How reproducible:
Run a bunch of package updates on a system via satellite, in my case I had around 200, reboot satellite at some point, the client will fail with incomplete transactions.

Comment 1 Chris Duryee 2016-10-10 16:48:26 UTC
If the agent ran yum-complete-transaction upon startup or at a specified interval, would that solve this?

Comment 2 Erinn Looney-Triggs 2016-10-10 16:53:47 UTC
I would say, that would bandaid the problem, probably the better fix is for that agent to pull in all transactions and execute them in bulk, much like yum does itself. But I am not sure of the agent internals and how all of this goes down.

But yes, running yum-complete-transaction would help with the issue, it would probably need to be executed on a semi regular basis, not just when the agent starts.

Comment 4 Zach Huntington-Meath 2017-01-10 15:54:18 UTC
This issue is probably a result of updating katello-agent in a mass update. Going to mark as a duplicate of 1291960.

*** This bug has been marked as a duplicate of bug 1291960 ***

Comment 5 Erinn Looney-Triggs 2017-01-10 17:03:10 UTC
Umm, no, not if I am understanding this correctly, the one has nothing to do with the other. The packages aren't double installed, though that was an issue too, the transactions simply were not completed if the satellite connection was lost.

Comment 6 Bryan Kearney 2018-09-04 18:55:42 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.

Comment 7 Bryan Kearney 2018-09-04 19:05:56 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.


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