Bug #38159
openapipie cache generation command fails on a centos9 katello devel stable machine
Description
I am running 'FOREMAN_APIPIE_LANGS=en bundle exec rake apipie:cache' on a centos9-katello-devel-stable Forklift. However, it fails with the following error message:
Foreman::Exception: ERF42-8739 [Foreman::Exception]: Setting 'foreman_tasks_sync_task_timeout' is already defined, please avoid collisions
/home/vagrant/foreman/app/registries/foreman/setting_manager.rb:124:in setting' /home/vagrant/foreman/.vendor/ruby/3.0.0/gems/foreman-tasks-10.0.2/lib/foreman_tasks/engine.rb:56:in block (5 levels) in class:Engine'
/home/vagrant/foreman/app/registries/foreman/setting_manager.rb:31:in instance_eval' /home/vagrant/foreman/app/registries/foreman/setting_manager.rb:31:in category'
/home/vagrant/foreman/.vendor/ruby/3.0.0/gems/foreman-tasks-10.0.2/lib/foreman_tasks/engine.rb:55:in block (4 levels) in <class:Engine>' /home/vagrant/foreman/app/registries/foreman/setting_manager.rb:17:in instance_eval'
/home/vagrant/foreman/app/registries/foreman/setting_manager.rb:17:in define' /home/vagrant/foreman/app/registries/foreman/plugin.rb:324:in settings'
/home/vagrant/foreman/.vendor/ruby/3.0.0/gems/foreman-tasks-10.0.2/lib/foreman_tasks/engine.rb:54:in block (3 levels) in <class:Engine>' /home/vagrant/foreman/app/registries/foreman/plugin.rb:92:in instance_eval'
/home/vagrant/foreman/app/registries/foreman/plugin.rb:92:in `register'
Updated by The Foreman Bot 6 days ago
- Status changed from New to Ready For Testing
- Assignee set to Oleh Fedorenko
- Pull request https://github.com/theforeman/foreman/pull/10421 added