Bug 1757317 - [RFE] Dynflow workers extraction
Summary: [RFE] Dynflow workers extraction
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Dynflow
Version: 6.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 6.8.0
Assignee: satellite6-bugs
QA Contact: Lukáš Hellebrandt
URL:
Whiteboard:
Depends On: 1840218
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-01 08:30 UTC by Marek Hulan
Modified: 2023-10-06 18:37 UTC (History)
7 users (show)

Fixed In Version: foreman-2.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 12:59:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:4366 0 None None None 2020-10-27 12:59:21 UTC

Description Marek Hulan 2019-10-01 08:30:10 UTC
Description of problem:

Dynflow Worker process is now part of the executor, meaning they can't be restarted independently. As a first step to improve scalability, following two stories will be implemented


1. As a satellite user doing an install or an upgrade, the installer should create both the orchestration and worker processes with sane defaults. Both processes will run on the same machine as the satellite. 

2. As a satellite admin, I should be able to restart a worker process without impacting the uptime of the satellite or losing data.

Verification steps will be added later when we know names of new services.

Comment 9 Lukáš Hellebrandt 2020-07-07 09:08:50 UTC
Verified with Sat 6.8 snap 7.0.

Sidekiq is now used. It's now possible to:
- change a number of workers, number of their threads, their queues
- view log using "journalctl -u 'dynflow-sidekiq@*'"
- restart a worker without getting to inconsistent state

Note that this intentionally does not apply to external capsules.

See this demo:
https://www.youtube.com/watch?v=8xomzg_FBIs&feature=youtu.be&t=485

Comment 12 errata-xmlrpc 2020-10-27 12:59:02 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 (Important: Satellite 6.8 release), 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-2020:4366


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