Bug 1684707 - Regenerate applicability fails when there is a missing repo
Summary: Regenerate applicability fails when there is a missing repo
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Pulp
Version: 6.3.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 6.4.3
Assignee: satellite6-bugs
QA Contact: jcallaha
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-01 21:52 UTC by Mike McCune
Modified: 2021-04-06 17:47 UTC (History)
9 users (show)

Fixed In Version: pulp-2.16.4.2-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1671577
Environment:
Last Closed: 2019-04-29 18:15:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Pulp Redmine 4373 0 Normal CLOSED - CURRENTRELEASE Applicability Exception: Repository matching query does not exist. 2019-04-02 21:01:35 UTC
Red Hat Product Errata RHBA-2019:0903 0 None None None 2019-04-29 18:15:39 UTC

Comment 1 pulp-infra@redhat.com 2019-03-08 20:01:55 UTC
The Pulp upstream bug status is at MODIFIED. Updating the external tracker on this bug.

Comment 2 pulp-infra@redhat.com 2019-03-08 20:01:56 UTC
The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug.

Comment 3 pulp-infra@redhat.com 2019-03-20 09:31:51 UTC
The Pulp upstream bug status is at ON_QA. Updating the external tracker on this bug.

Comment 5 pulp-infra@redhat.com 2019-04-02 21:01:36 UTC
The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug.

Comment 6 jcallaha 2019-04-09 15:17:37 UTC
Verified in Satellite 6.4.3 Snap 1

Steps:
Add content to the Satellite
Sync and move it through the content management process
Register a host and align the content to it
Install katello-agent or katello-host-tools, to allow for applicability calculations
Run the mongo shell
Find a repo that is attached to the host
Remove it
Run the reproducer command in foreman-rake console

Results:
irb(main):001:0> ForemanTasks.sync_task(Actions::Katello::Host::GenerateApplicability, Host.all)
=> #<ForemanTasks::Task::DynflowTask id: "24ffe3b4-60a4-47f0-934c-876567f0e618", type: "ForemanTasks::Task::DynflowTask", label: "Actions::Katello::Host::GenerateApplicability", started_at: "2019-04-09 15:16:32", ended_at: "2019-04-09 15:16:33", state: "stopped", result: "success", external_id: "babe68f3-8d43-4578-93f7-cd92494c2f90", parent_task_id: nil, start_at: "2019-04-09 15:16:32", start_before: nil, action: "Generate applicability {\"services_checked\"=>[\"pulp...">
irb(main):002:0>

Comment 8 errata-xmlrpc 2019-04-29 18:15:37 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, 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-2019:0903


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