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.

Bug 2264342

Summary: Foreman-rake shows increase_db_pool_size warning messages after upgrade to Satellite 6.14.2
Product: Red Hat Satellite Reporter: Avnish Kumar <avnkumar>
Component: Tasks PluginAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Lukáš Hellebrandt <lhellebr>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.14.1CC: ahumbe, alsouza, aruzicka, ehelms, lhellebr, pcreech, rlavi, sussen
Target Milestone: 6.15.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rubygem-dynflow-1.8.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2272120 (view as bug list) Environment:
Last Closed: 2024-04-23 17:17:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Avnish Kumar 2024-02-15 05:22:31 UTC
Description of problem:
Foreman-rake shows increase_db_pool_size warning messages after upgrade to Satellite 6.14.2

Version-Release number of selected component (if applicable):
Satellite 6.14.2

How reproducible:
Upgrade satellite to 6.14.2 and then run foreman-rake command

Steps to Reproduce:
1. Satellite 6.14.2
2. Run foreman-rake cmd
3. shows increase_db_pool_size? waning

Actual results:
Show any warning as:

~~~~~
2024-02-15T04:56:49.190Z pid=9548 tid=1ahg WARN: `config.options[:key] = value` is deprecated, use `config[:key] = value`: ["/usr/share/gems/gems/dynflow-1.7.0/lib/dynflow/rails/configuration.rb:103:in `sidekiq_worker?'", "/usr/share/gems/gems/dynflow-1.7.0/lib/dynflow/rails/configuration.rb:99:in `increase_db_pool_size?'"]
~~~~

Expected results:
Should not show any warning


Additional info:

# grep pool /etc/foreman/database.yml
  pool: 5

# cat /etc/systemd/system/foreman.service.d/installer.conf | grep -i puma
Environment=FOREMAN_PUMA_THREADS_MIN=5
Environment=FOREMAN_PUMA_THREADS_MAX=5
Environment=FOREMAN_PUMA_WORKERS=3

Comment 4 Ron Lavi 2024-02-19 12:59:35 UTC
@Patrick, I moved it to ON_QA as we verified it's in the latest snap.

Comment 5 Lukáš Hellebrandt 2024-02-22 12:16:06 UTC
Verified.

On a freshly installed Sat 6.15 snap 9.0:
# foreman-rake test:api
/usr/bin/ruby -I"lib:test" -I"/usr/share/gems/gems/rake-13.0.1/lib" "/usr/share/gems/gems/rake-13.0.1/lib/rake/rake_test_loader.rb"
# foreman-rake foreman_tasks:cleanup TASK_SEARCH='result = error' STATES='' VERBOSE=true
About to remove 12 tasks matching filter
0/12
12/12
Deleted 12 tasks matching filter
No orphaned task locks found, skipping.
No orphaned task links found, skipping.
No orphaned execution plans found, skipping.
No orphaned job invocations found, skipping.

On a Sat 6.15 upgraded from Sat 6.14.1:
# foreman-rake test:api
/usr/bin/ruby -I"lib:test" -I"/usr/share/gems/gems/rake-13.0.1/lib" "/usr/share/gems/gems/rake-13.0.1/lib/rake/rake_test_loader.rb"
# foreman-rake foreman_tasks:cleanup TASK_SEARCH='result = error' STATES='' VERBOSE=true
No tasks matching filter found, skipping.
No orphaned task locks found, skipping.
No orphaned task links found, skipping.
No orphaned execution plans found, skipping.
No orphaned job invocations found, skipping.
# grep increase_db_pool_size /var/log/foreman/production.log
# echo $?
1

Comment 9 errata-xmlrpc 2024-04-23 17:17:55 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.15.0 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-2024:2010

Comment 10 Red Hat Bugzilla 2024-09-03 04:25:04 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days