Actions
Bug #29273
closedCreating a product on IPv6 only deployment immediately errors out
Description
The error is: The time waiting for task d7956640-1683-4f35-a891-52081cb54260 to finish exceeded the 'foreman_tasks_sync_task_timeout' (120s)
2020-03-05T09:23:33 [I|app|59a4f4f0] Started POST "/katello/api/v2/products" for fd00:aaaa:bbbb:cc::1 at 2020-03-05 09:23:33 -0500 2020-03-05T09:23:33 [I|app|59a4f4f0] Processing by Katello::Api::V2::ProductsController#create as JSON 2020-03-05T09:23:33 [I|app|59a4f4f0] Parameters: {"organization_id"=>"1", "name"=>"test", "label"=>"test", "api_version"=>"v2", "product"=>{"name"=>"test", "label"=>"test", "organization_id"=>"1"}} 2020-03-05T09:23:34 [I|bac|59a4f4f0] Task {label: Actions::Katello::Product::Create, id: d7956640-1683-4f35-a891-52081cb54260, execution_plan_id: 19f7eb03-452c-4cd9-93f0-ba800ab3aa37} state changed: planning 2020-03-05T09:23:34 [I|aud|] Katello::Product (128) create event on name test 2020-03-05T09:23:34 [I|aud|] Katello::Product (128) create event on description 2020-03-05T09:23:34 [I|aud|] Katello::Product (128) create event on cp_id 397746140731 2020-03-05T09:23:34 [I|aud|] Katello::Product (128) create event on multiplier 2020-03-05T09:23:34 [I|aud|] Katello::Product (128) create event on provider_id 1 2020-03-05T09:23:34 [I|aud|] Katello::Product (128) create event on gpg_key_id 2020-03-05T09:23:34 [I|aud|] Katello::Product (128) create event on sync_plan_id 2020-03-05T09:23:34 [I|aud|] Katello::Product (128) create event on label test 2020-03-05T09:23:34 [I|aud|] Katello::Product (128) create event on organization_id 1 2020-03-05T09:23:34 [I|aud|] Katello::Product (128) create event on ssl_ca_cert_id 2020-03-05T09:23:34 [I|aud|] Katello::Product (128) create event on ssl_client_cert_id 2020-03-05T09:23:34 [I|aud|] Katello::Product (128) create event on ssl_client_key_id 2020-03-05T09:23:34 [I|bac|] Task {label: Actions::Katello::Product::Create, id: d7956640-1683-4f35-a891-52081cb54260, execution_plan_id: 19f7eb03-452c-4cd9-93f0-ba800ab3aa37} state changed: planned 2020-03-05T09:23:34 [E|app|] Timeout::Error: The time waiting for task d7956640-1683-4f35-a891-52081cb54260 to finish exceeded the 'foreman_tasks_sync_task_timeout' (120s) /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/lib/foreman_tasks.rb:39:in `block (2 levels) in trigger_task' /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:74:in `block in assigns' /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:73:in `tap' /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:73:in `assigns' /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:56:in `match_value' /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:36:in `block in match?' /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:35:in `each' /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:35:in `match?' /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:23:in `match' /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/lib/foreman_tasks.rb:29:in `block in trigger_task' /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/lib/foreman_tasks.rb:49:in `block in rails_safe_trigger_task' /opt/theforeman/tfm-ror52/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/dependencies/interlock.rb:48:in `block in permit_concurrent_loads' /opt/theforeman/tfm-ror52/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' /opt/theforeman/tfm-ror52/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/dependencies/interlock.rb:47:in `permit_concurrent_loads' /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/lib/foreman_tasks.rb:48:in `rails_safe_trigger_task' /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/lib/foreman_tasks.rb:27:in `trigger_task' /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/lib/foreman_tasks.rb:58:in `sync_task' /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.17.5/lib/foreman_tasks/triggers.rb:22:in `sync_task' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.14.0/app/controllers/katello/api/v2/products_controller.rb:85:in `create' /opt/theforeman/tfm-ror52/root/usr/share/gems/gems/actionpack-5.2.1/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
It's possible that some service is not configured properly on IPv6. Need an assistance, I have my own IPv6 only setup on my libvirt network. Here are instructions how to setup yours:
https://github.com/theforeman/foreman-documentation/pull/116
Updated by Lukas Zapletal almost 5 years ago
- Status changed from New to Resolved
Ok dynflowd was not running, solved.
Updated by Jonathon Turel almost 5 years ago
- Target version set to Katello Recycle Bin
- Triaged changed from No to Yes
Actions