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 1369179 - Incremental Update fails with --update-all-systems
Summary: Incremental Update fails with --update-all-systems
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Errata Management
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: Unspecified
Assignee: John Mitsch
QA Contact: Peter Ondrejka
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-22 15:19 UTC by John Mitsch
Modified: 2019-04-01 20:27 UTC (History)
3 users (show)

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


Attachments (Terms of Use)
error_info (13.45 KB, text/plain)
2016-11-29 09:28 UTC, Peter Ondrejka
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 16232 0 Normal Closed Incremental Update fails with --update-all-systems 2020-06-02 16:46:10 UTC

Description John Mitsch 2016-08-22 15:19:20 UTC
This is NOT identical to https://bugzilla.redhat.com/show_bug.cgi?id=1315278 please do not mark it as a clone. A newer change (https://bugzilla.redhat.com/show_bug.cgi?id=1304891) broke this functionality after 1315278 was fixed.

Description of problem:
Incremental update using cli does not update systems when --update-all-systems=true is passed

Version-Release number of selected component (if applicable):
Satellite 6.2 GA - satellite-6.2.0-21.1.el7sat.noarch

How reproducible:
Always

Steps to Reproduce:
hammer> content-view version incremental-update --content-view-version-id=2 --errata-ids=b135a87f-49fd-4925-8923-495f894b6c60 --lifecycle-environment-ids=1 --update-all-hosts=true

[Foreman] Password for admin: 
An error occurred incrementally updating the content view:
  Forbidden - server refused to process the request

Actual results:
The incremental update errors and does not complete

Expected results:
The incremental update finishes but the systems are updated

Additional info:

Comment 1 John Mitsch 2016-08-22 15:25:33 UTC
Created redmine issue http://projects.theforeman.org/issues/16232 from this bug

Comment 2 Bryan Kearney 2016-08-22 16:18:40 UTC
Upstream bug assigned to jomitsch

Comment 3 Bryan Kearney 2016-08-22 16:18:41 UTC
Upstream bug assigned to jomitsch

Comment 5 Bryan Kearney 2016-08-25 18:18:56 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/16232 has been closed

Comment 7 Peter Ondrejka 2016-11-29 09:28:10 UTC
Created attachment 1225748 [details]
error_info

Reproducible on Satellite 6.3 snap 6 (katello-3.2.0-3.rc3.el7.noarch).

Having an erratum applicable to 2 hosts, running:

hammer content-view version incremental-update --content-view-version-id=3 --errata-ids=30bba983-97d6-4dd8-bb0e-bee462d968ab --lifecycle-environment-ids=1 --update-all-hosts=true

leads to:

Incremental Update incomplete.
Error: A sub task failed

In UI, the Tasks summary shows that sub-tasks for installing applicable errata to both hosts failed with 

Katello::Errors::PulpError: No handler for: {'type': u'erratum'}

See the attachment for information from the Error tab.

Comment 8 John Mitsch 2017-03-09 20:05:17 UTC
Peter,

I think you ran into a pulp error not related to the katello fix. I wasn't able to reproduce, and I was able to update 2 hosts using the above hammer command w/o errors.

tested on upstream katello and satellite-6.2.8-4.0.el7sat.noarch

Can we try to verify this again?

Comment 14 Bryan Kearney 2018-09-04 17:44:29 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.