Bug 1446712

Summary: Lock is used to dispatch applicability calculation for a consumer
Product: Red Hat Satellite Reporter: Satellite Program <pm-sat>
Component: Errata ManagementAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Roman Plevka <rplevka>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: bbuckingham, bkearney, bmbouter, cduryee, daviddavis, dkliban, ehelms, ggainey, ipanova, jcallaha, mhrivnak, mmccune, pcreech, rchan, rplevka, ttereshc
Target Milestone: UnspecifiedKeywords: Performance, PrioBumpField, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pulp-2.13.2,tfm-rubygem-katello-3.4.5.49-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1255901 Environment:
Last Closed: 2018-02-21 16:54:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 2 pulp-infra@redhat.com 2017-04-28 17:07:30 UTC
The Pulp upstream bug status is at CLOSED - WONTFIX. Updating the external tracker on this bug.

Comment 3 pulp-infra@redhat.com 2017-04-28 17:07:35 UTC
The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug.

Comment 5 pulp-infra@redhat.com 2017-06-27 19:02:18 UTC
The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug.

Comment 6 pulp-infra@redhat.com 2017-06-27 19:02:23 UTC
The Pulp upstream bug priority is at High. Updating the external tracker on this bug.

Comment 7 Peter Ondrejka 2017-10-05 13:15:32 UTC
verified in satellite-6.3.0-19.0.beta.el7sat.noarch using both steps from https://bugzilla.redhat.com/show_bug.cgi?id=1255901#c14 and from https://bugzilla.redhat.com/show_bug.cgi?id=1255901#c17

Comment 9 Roman Plevka 2017-12-19 15:49:55 UTC
failing this due this is still a problem on 6.3.0-29

- regenerate_applicability tasks for multiple consumers are scheduled to a single worker, thus being processed serially.

see comment#8

Comment 10 pulp-infra@redhat.com 2017-12-19 16:03:28 UTC
Requesting needsinfo from upstream developer ttereshc because the 'FailedQA' flag is set.

Comment 12 Tanya Tereshchenko 2017-12-20 15:09:09 UTC
All Pulp issues are closed

Comment 14 pulp-infra@redhat.com 2017-12-20 19:02:55 UTC
Requesting needsinfo from upstream developer ttereshc because the 'FailedQA' flag is set.

Comment 16 pulp-infra@redhat.com 2018-01-05 14:32:19 UTC
Requesting needsinfo from upstream developer ttereshc because the 'FailedQA' flag is set.

Comment 17 pulp-infra@redhat.com 2018-01-09 22:02:29 UTC
Requesting needsinfo from upstream developer ttereshc because the 'FailedQA' flag is set.

Comment 18 pulp-infra@redhat.com 2018-01-09 22:32:23 UTC
The Pulp upstream bug status is at CLOSED - WORKSFORME. Updating the external tracker on this bug.

Comment 19 pulp-infra@redhat.com 2018-01-09 22:32:29 UTC
The Pulp upstream bug priority is at High. Updating the external tracker on this bug.

Comment 21 Roman Plevka 2018-01-24 10:56:40 UTC
VERIFIED
on sat6.3.0-33

katlelo now uses the correct endpoint, making pulp schedule the regenerate_applicability tasks to multiple workers:


pulp_tasks:
- exception: 
  task_type: pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers
  _href: "/pulp/api/v2/tasks/dbf3b9f6-eb9f-4fa2-af16-6104a57edc30/"
  task_id: dbf3b9f6-eb9f-4fa2-af16-6104a57edc30
  tags:
  - pulp:action:consumer_content_applicability_regeneration
  finish_time: 
  _ns: task_status
  start_time: '2018-01-24T10:52:21Z'
  traceback: 
  spawned_tasks: []
  progress_report: {}
  queue: reserved_resource_worker-2.eng.bos.redhat.com.dq
  state: running
  ...



pulp_tasks:
- exception: 
  task_type: pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers
  _href: "/pulp/api/v2/tasks/66674bc4-eac4-464a-9c55-965b5abc2b31/"
  task_id: 66674bc4-eac4-464a-9c55-965b5abc2b31
  tags:
  - pulp:action:consumer_content_applicability_regeneration
  finish_time: 
  _ns: task_status
  start_time: '2018-01-24T10:52:22Z'
  traceback: 
  spawned_tasks: []
  progress_report: {}
  queue: reserved_resource_worker-1.eng.bos.redhat.com.dq
  state: running
  ...

Comment 22 Satellite Program 2018-02-21 16:54: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/RHSA-2018:0336