Bug 2180684
| Summary: | Expose executor_thread_pool_size in puppet-heat | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Ravi Singh <ravsingh> |
| Component: | puppet-heat | Assignee: | OSP Team <rhos-maint> |
| Status: | CLOSED ERRATA | QA Contact: | Nobody <nobody> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 16.2 (Train) | CC: | dhill, jjoyce, jschluet, slinaber, tvignaud |
| Target Milestone: | z6 | Keywords: | Triaged |
| Target Release: | 16.2 (Train on RHEL 8.4) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | puppet-heat-15.5.1-2.20230401024915.1cce62f.el8ost | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-11-08 19:18:34 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: | |||
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 (Red Hat OpenStack Platform 16.2.6 (Train) bug fix and enhancement 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-2023:6307 |
Description of problem: Configuration of executor_thread_pool_size is failing with duplicate declaration since this param is moved to oslo messaging but we do not see it in puppet-heat. +++ ControllerExtraConfig: heat::config::heat_config: DEFAULT/executor_thread_pool_size: value: 24 With the same config, this fails in RHOSP16.2 with the following error on the controllers: Feb 28 15:10:22 ctrl0 puppet-user[501416]: Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, Duplicate declaration: Heat_config[DEFAULT/executor_thread_pool_size] is already declared at (file: /etc/puppet/modules/heat/manifests/config.pp, line: 36); cannot redeclare (file: /etc/puppet/modules/oslo/manifests/messaging/default.pp, line: 47) (file: /etc/puppet/modules/oslo/manifests/messaging/default.pp, line: 47, column: 3) (file: /etc/puppet/modules/heat/manifests/init.pp, line: 445) on node +++ Param in oslo +++ define oslo::messaging::default( $executor_thread_pool_size = $::os_service_default, $rpc_response_timeout = $::os_service_default, $transport_url = $::os_service_default, $control_exchange = $::os_service_default, ) { $default_options = { 'DEFAULT/executor_thread_pool_size' => { value => $executor_thread_pool_size }, <<<<<<<<<<< 'DEFAULT/rpc_response_timeout' => { value => $rpc_response_timeout }, 'DEFAULT/transport_url' => { value => $transport_url, secret => true }, 'DEFAULT/control_exchange' => { value => $control_exchange }, +++ Recently upstream patch was filed & we are looking if it's possible to backport it to OSP16. https://review.opendev.org/c/openstack/puppet-heat/+/876489 Version-Release number of selected component (if applicable): 16.2 How reproducible: Everytime Steps to Reproduce: 1. 2. 3. Actual results: Not able to config param Expected results: Should be able to config. Additional info: