Project

General

Profile

Bug #21521

Errata apply from errata page fails

Added by Andrew Kofink over 4 years ago. Updated almost 4 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Errata Management
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1507071

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:

History

#1 Updated by Eric Helms over 4 years ago

  • Legacy Backlogs Release (now unused) set to 166
  • Status changed from New to Rejected
  • Subject changed from Errata apply from errata page fails to Errata apply from errata page fails

Also available in: Atom PDF