Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
DescriptionStanislav Tkachenko
2017-10-27 15:17:12 UTC
Created attachment 1344337[details]
Screenshot
Description of problem:
When using bulk errata apply from errata page, it fails saying "No content has been provided", though content hosts were properly selected.
From production.log
2017-10-27 10:29:47 e01b768d [app] [I] Started PUT "/api/v2/hosts/bulk/install_content" for 10.36.117.171 at 2017-10-27 10:29:47 -0400
2017-10-27 10:29:47 e01b768d [app] [I] Processing by Katello::Api::V2::HostsBulkActionsController#install_content as JSON
2017-10-27 10:29:47 e01b768d [app] [E] Katello::HttpErrors::BadRequest: No content has been provided.
| /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.4.5.16/app/controllers/katello/api/v2/hosts_bulk_actions_controller.rb:299:in `validate_content_action'
Version-Release number of selected component (if applicable):
Satellite 6.3 Snap 21:
* katello-3.4.5-5.el7sat.noarch
* foreman-1.15.6.1-1.el7sat.noarch
* satellite-6.3.0-21.0.beta.el7sat.noarch
How reproducible:
Always
Steps to Reproduce:
1. Add content hosts with outdated package and repository with available errata
2. Go to Content -> Errata. Select an erratum -> Content Hosts tab.
3. Select Content Hosts and apply the erratum.
Actual results:
Error "No content host has been provided"
Expected results:
Errata should be applied to selected content hosts.
Additional info:
Comment 4Stanislav Tkachenko
2017-10-30 13:14:02 UTC
Apparently it was fixed in snap 22:
* foreman-1.15.6.3-1.el7sat.noarch
* katello-3.4.5-6.el7sat.noarch
* satellite-6.3.0-21.0.beta.el7sat.noarch
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, 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/RHSA-2018:0336
Created attachment 1344337 [details] Screenshot Description of problem: When using bulk errata apply from errata page, it fails saying "No content has been provided", though content hosts were properly selected. From production.log 2017-10-27 10:29:47 e01b768d [app] [I] Started PUT "/api/v2/hosts/bulk/install_content" for 10.36.117.171 at 2017-10-27 10:29:47 -0400 2017-10-27 10:29:47 e01b768d [app] [I] Processing by Katello::Api::V2::HostsBulkActionsController#install_content as JSON 2017-10-27 10:29:47 e01b768d [app] [E] Katello::HttpErrors::BadRequest: No content has been provided. | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.4.5.16/app/controllers/katello/api/v2/hosts_bulk_actions_controller.rb:299:in `validate_content_action' Version-Release number of selected component (if applicable): Satellite 6.3 Snap 21: * katello-3.4.5-5.el7sat.noarch * foreman-1.15.6.1-1.el7sat.noarch * satellite-6.3.0-21.0.beta.el7sat.noarch How reproducible: Always Steps to Reproduce: 1. Add content hosts with outdated package and repository with available errata 2. Go to Content -> Errata. Select an erratum -> Content Hosts tab. 3. Select Content Hosts and apply the erratum. Actual results: Error "No content host has been provided" Expected results: Errata should be applied to selected content hosts. Additional info: