Hide Forgot
Description of problem: I have the following scenario: * Capsule1 (external) * Org1 * DEV lifecycle environment * Product1 * Repo1 * ContentView1 * Org2 * DEV lifecycle environment * Product2 * Repo2 * ContentView2 Capsule1 is associated with the DEV lifecycle environment from Org1. When I attempted to publish ContentView2 (from Org2), my task showed a warning complaining that it could not connect to my Capsule1. I would say that my Capsule1 should not even be aware/care about Org2 since it is not associated with Capsule1. Is it possible that we're synchronizing capsules based on the Lifecycle Environment **name** only and since I have two DEV lifecycle environments, the capsule tries to sync both of them? Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: Action: Actions::Katello::Repository::Sync Input: {"repository"=> {"id"=>62, "name"=>"Red Hat Enterprise Linux Atomic Host Trees", "label"=>"Red_Hat_Enterprise_Linux_Atomic_Host_Trees"}, "product"=> {"id"=>69, "name"=>"Red Hat Enterprise Linux Atomic Host", "label"=>"Red_Hat_Enterprise_Linux_Atomic_Host", "cp_id"=>"271"}, "provider"=>{"id"=>4, "name"=>"Red Hat"}, "organization"=>{"id"=>3, "name"=>"IBM", "label"=>"IBMORG"}, "services_checked"=>["pulp", "pulp_auth"], "id"=>62, "sync_result"=> {"pulp_tasks"=> [{"exception"=>nil, "task_type"=>"pulp.server.managers.repo.sync.sync", "_href"=>"/pulp/api/v2/tasks/4921715b-c5b1-449f-b0f7-f66aedade023/", "task_id"=>"4921715b-c5b1-449f-b0f7-f66aedade023", "tags"=> ["pulp:repository:IBMORG-Red_Hat_Enterprise_Linux_Atomic_Host-Red_Hat_Enterprise_Linux_Atomic_Host_Trees", "pulp:action:sync"], "finish_time"=>"2016-04-06T20:49:10Z", "_ns"=>"task_status", "start_time"=>"2016-04-06T20:39:02Z", "traceback"=>nil, "spawned_tasks"=> [{"_href"=>"/pulp/api/v2/tasks/68a51bc2-8b95-44ea-8b7e-20964431afbf/", "task_id"=>"68a51bc2-8b95-44ea-8b7e-20964431afbf"}], "progress_report"=> {"ostree_web_importer"=> [{"num_success"=>1, "description"=>"Create Local Repository", "step_type"=>"import_create_repository", "items_total"=>1, "state"=>"FINISHED", "error_details"=>[], "details"=>"", "num_failures"=>0, "step_id"=>"3e483d08-feab-4afd-9c30-509b42f51a31", "num_processed"=>1}, {"num_success"=>1, "description"=>"Update Summary", "step_type"=>"import_summary", "items_total"=>1, "state"=>"FINISHED", "error_details"=>[], "details"=>"", "num_failures"=>0, "step_id"=>"ecba659d-70f3-41a3-8e55-8bf4eff52a36", "num_processed"=>1}, {"num_success"=>1, "description"=>"Pull Remote Branches", "step_type"=>"import_pull", "items_total"=>1, "state"=>"FINISHED", "error_details"=>[], "details"=>"", "num_failures"=>0, "step_id"=>"fc9a2fb0-0a87-4420-b8a3-88f652b57efe", "num_processed"=>1}, {"num_success"=>1, "description"=>"Add Content Units", "step_type"=>"import_add_unit", "items_total"=>1, "state"=>"FINISHED", "error_details"=>[], "details"=>"", "num_failures"=>0, "step_id"=>"6ac2b878-de04-4480-bf81-0f54ffcc0cb2", "num_processed"=>1}, {"num_success"=>1, "description"=>"Clean", "step_type"=>"import_clean", "items_total"=>1, "state"=>"FINISHED", "error_details"=>[], "details"=>"", "num_failures"=>0, "step_id"=>"1853f4c2-4c84-412f-8bfe-55117deb4811", "num_processed"=>1}]}, "queue"=> "reserved_resource_worker-0.lab.eng.bos.redhat.com.dq", "state"=>"finished", "worker_name"=> "reserved_resource_worker-0.lab.eng.bos.redhat.com", "result"=> {"result"=>"success", "importer_id"=>"ostree_web_importer", "exception"=>nil, "repo_id"=> "IBMORG-Red_Hat_Enterprise_Linux_Atomic_Host-Red_Hat_Enterprise_Linux_Atomic_Host_Trees", "traceback"=>nil, "started"=>"2016-04-06T20:39:02Z", "_ns"=>"repo_sync_results", "completed"=>"2016-04-06T20:49:10Z", "importer_type_id"=>"ostree_web_importer", "error_message"=>nil, "summary"=> {"import_summary"=>"FINISHED", "import_create_repository"=>"FINISHED", "import_pull"=>"FINISHED", "import_clean"=>"FINISHED", "import_add_unit"=>"FINISHED"}, "added_count"=>1, "removed_count"=>0, "updated_count"=>0, "id"=>"570576467227e01870af4389", "details"=> [{"num_success"=>1, "description"=>"Create Local Repository", "step_type"=>"import_create_repository", "items_total"=>1, "state"=>"FINISHED", "error_details"=>[], "details"=>"", "num_failures"=>0, "step_id"=>"3e483d08-feab-4afd-9c30-509b42f51a31", "num_processed"=>1}, {"num_success"=>1, "description"=>"Update Summary", "step_type"=>"import_summary", "items_total"=>1, "state"=>"FINISHED", "error_details"=>[], "details"=>"", "num_failures"=>0, "step_id"=>"ecba659d-70f3-41a3-8e55-8bf4eff52a36", "num_processed"=>1}, {"num_success"=>1, "description"=>"Pull Remote Branches", "step_type"=>"import_pull", "items_total"=>1, "state"=>"FINISHED", "error_details"=>[], "details"=>"", "num_failures"=>0, "step_id"=>"fc9a2fb0-0a87-4420-b8a3-88f652b57efe", "num_processed"=>1}, {"num_success"=>1, "description"=>"Add Content Units", "step_type"=>"import_add_unit", "items_total"=>1, "state"=>"FINISHED", "error_details"=>[], "details"=>"", "num_failures"=>0, "step_id"=>"6ac2b878-de04-4480-bf81-0f54ffcc0cb2", "num_processed"=>1}, {"num_success"=>1, "description"=>"Clean", "step_type"=>"import_clean", "items_total"=>1, "state"=>"FINISHED", "error_details"=>[], "details"=>"", "num_failures"=>0, "step_id"=>"1853f4c2-4c84-412f-8bfe-55117deb4811", "num_processed"=>1}]}, "error"=>nil, "_id"=>{"$oid"=>"570573e677bbdafb17b7ea4a"}, "id"=>"570573e677bbdafb17b7ea4a"}, {"exception"=>nil, "task_type"=>"pulp.server.managers.repo.publish.publish", "_href"=>"/pulp/api/v2/tasks/68a51bc2-8b95-44ea-8b7e-20964431afbf/", "task_id"=>"68a51bc2-8b95-44ea-8b7e-20964431afbf", "tags"=> ["pulp:repository:IBMORG-Red_Hat_Enterprise_Linux_Atomic_Host-Red_Hat_Enterprise_Linux_Atomic_Host_Trees", "pulp:action:publish"], "finish_time"=>"2016-04-06T20:49:15Z", "_ns"=>"task_status", "start_time"=>"2016-04-06T20:49:10Z", "traceback"=>nil, "spawned_tasks"=>[], "progress_report"=> {"IBMORG-Red_Hat_Enterprise_Linux_Atomic_Host-Red_Hat_Enterprise_Linux_Atomic_Host_Trees"=> [{"num_success"=>1, "description"=>"Publish Trees", "step_type"=>"ostree_publish_main", "items_total"=>1, "state"=>"FINISHED", "error_details"=>[], "details"=>"", "num_failures"=>0, "step_id"=>"2a4edf80-5df1-42af-9d24-c12eb91ef18f", "num_processed"=>1}, {"num_success"=>1, "description"=>"Making files available via web.", "step_type"=>"ostree_publish_over_http", "items_total"=>1, "state"=>"FINISHED", "error_details"=>[], "details"=>"", "num_failures"=>0, "step_id"=>"e7549057-4049-4dfd-aa38-446743e9b896", "num_processed"=>1}]}, "queue"=> "reserved_resource_worker-0.lab.eng.bos.redhat.com.dq", "state"=>"finished", "worker_name"=> "reserved_resource_worker-0.lab.eng.bos.redhat.com", "result"=> {"result"=>"success", "exception"=>nil, "repo_id"=> "IBMORG-Red_Hat_Enterprise_Linux_Atomic_Host-Red_Hat_Enterprise_Linux_Atomic_Host_Trees", "started"=>"2016-04-06T20:49:10Z", "_ns"=>"repo_publish_results", "completed"=>"2016-04-06T20:49:15Z", "traceback"=>nil, "distributor_type_id"=>"ostree_web_distributor", "summary"=> {"ostree_publish_main"=>"FINISHED", "ostree_publish_over_http"=>"FINISHED"}, "error_message"=>nil, "distributor_id"=> "IBMORG-Red_Hat_Enterprise_Linux_Atomic_Host-Red_Hat_Enterprise_Linux_Atomic_Host_Trees", "id"=>"5705764b7227e01870af438a", "details"=> [{"num_success"=>1, "description"=>"Publish Trees", "step_type"=>"ostree_publish_main", "items_total"=>1, "state"=>"FINISHED", "error_details"=>[], "details"=>"", "num_failures"=>0, "step_id"=>"2a4edf80-5df1-42af-9d24-c12eb91ef18f", "num_processed"=>1}, {"num_success"=>1, "description"=>"Making files available via web.", "step_type"=>"ostree_publish_over_http", "items_total"=>1, "state"=>"FINISHED", "error_details"=>[], "details"=>"", "num_failures"=>0, "step_id"=>"e7549057-4049-4dfd-aa38-446743e9b896", "num_processed"=>1}]}, "error"=>nil, "_id"=>{"$oid"=>"5705764677bbdafb17b7ea4c"}, "id"=>"5705764677bbdafb17b7ea4c"}], "contents_changed"=>true, "poll_attempts"=>{"total"=>59, "failed"=>0}}, "user_id"=>3, "contents_changed"=>true, "current_user_id"=>3, "locale"=>"en"} Output: {} Exception: Errno::ECONNREFUSED: Connection refused - connect(2) for "cloud-qe-11.idmqe.lab.eng.bos.redhat.com" port 443 Backtrace: /opt/rh/rh-ruby22/root/usr/share/ruby/net/http.rb:879:in `initialize' /opt/rh/rh-ruby22/root/usr/share/ruby/net/http.rb:879:in `open' /opt/rh/rh-ruby22/root/usr/share/ruby/net/http.rb:879:in `block in connect' /opt/rh/rh-ruby22/root/usr/share/ruby/timeout.rb:89:in `block in timeout' /opt/rh/rh-ruby22/root/usr/share/ruby/timeout.rb:99:in `call' /opt/rh/rh-ruby22/root/usr/share/ruby/timeout.rb:99:in `timeout' /opt/rh/rh-ruby22/root/usr/share/ruby/net/http.rb:878:in `connect' /opt/rh/rh-ruby22/root/usr/share/ruby/net/http.rb:863:in `do_start' /opt/rh/rh-ruby22/root/usr/share/ruby/net/http.rb:852:in `start' /opt/theforeman/tfm/root/usr/share/gems/gems/rbovirt-0.0.36/lib/restclient_ext/request.rb:44:in `transmit' /opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:64:in `execute' /opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:33:in `execute' /opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.6.7/lib/restclient/resource.rb:51:in `get' /opt/theforeman/tfm/root/usr/share/gems/gems/runcible-1.7.0/lib/runcible/base.rb:78:in `get_response' /opt/theforeman/tfm/root/usr/share/gems/gems/runcible-1.7.0/lib/runcible/base.rb:66:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/runcible-1.7.0/lib/runcible/resources/repository.rb:31:in `retrieve' /opt/theforeman/tfm/root/usr/share/gems/gems/runcible-1.7.0/lib/runcible/extensions/repository.rb:377:in `retrieve_with_details' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.14/app/lib/katello/capsule_content.rb:144:in `pulp_repo_facts' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.14/app/lib/actions/katello/capsule_content/sync.rb:81:in `block in repos_needing_importer_updates' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.14/app/lib/actions/katello/capsule_content/sync.rb:80:in `select' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.14/app/lib/actions/katello/capsule_content/sync.rb:80:in `repos_needing_importer_updates' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.14/app/lib/actions/katello/capsule_content/sync.rb:63:in `repos_needing_updates' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.14/app/lib/actions/katello/capsule_content/sync.rb:22:in `plan' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:461:in `block (3 levels) in execute_plan' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:17:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:34:in `plan' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:22:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:17:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.14/app/lib/actions/middleware/keep_locale.rb:7:in `plan' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:22:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:17:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:34:in `plan' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:22:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/world.rb:30:in `execute' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:460:in `block (2 levels) in execute_plan' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan.rb:277:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan.rb:277:in `switch_flow' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:364:in `concurrence' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:459:in `block in execute_plan' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:419:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:419:in `block in with_error_handling' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:419:in `catch' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:419:in `with_error_handling' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:458:in `execute_plan' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:260:in `execute' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/plan_step.rb:54:in `block in execute' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract.rb:155:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract.rb:155:in `with_meta_calculation' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/plan_step.rb:53:in `execute' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:392:in `plan_action' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.14/app/lib/actions/katello/repository/capsule_generate_and_sync.rb:13:in `block (2 levels) in plan' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.14/app/lib/actions/katello/repository/capsule_generate_and_sync.rb:12:in `each' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.14/app/lib/actions/katello/repository/capsule_generate_and_sync.rb:12:in `block in plan' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan.rb:277:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan.rb:277:in `switch_flow' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:364:in `concurrence' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.14/app/lib/actions/katello/repository/capsule_generate_and_sync.rb:11:in `plan' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:461:in `block (3 levels) in execute_plan' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:17:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:34:in `plan' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:22:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:17:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.14/app/lib/actions/middleware/keep_locale.rb:7:in `plan' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:22:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:17:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:34:in `plan' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:22:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/world.rb:30:in `execute' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:460:in `block (2 levels) in execute_plan' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan.rb:277:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan.rb:277:in `switch_flow' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:364:in `concurrence' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:459:in `block in execute_plan' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:419:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:419:in `block in with_error_handling' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:419:in `catch' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:419:in `with_error_handling' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:458:in `execute_plan' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:260:in `execute' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/plan_step.rb:54:in `block in execute' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract.rb:155:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract.rb:155:in `with_meta_calculation' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/plan_step.rb:53:in `execute' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan.rb:187:in `block (2 levels) in plan' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan.rb:277:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan.rb:277:in `switch_flow' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan.rb:267:in `with_planning_scope' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan.rb:186:in `block in plan' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:17:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:42:in `plan_phase' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:22:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:17:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:42:in `plan_phase' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:22:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:17:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/common/transaction.rb:16:in `block in rollback_on_error' /opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `block in transaction' /opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/connection_adapters/abstract/database_statements.rb:209:in `within_new_transaction' /opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `transaction' /opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/transactions.rb:208:in `transaction' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/transaction_adapters/active_record.rb:5:in `transaction' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/common/transaction.rb:15:in `rollback_on_error' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/common/transaction.rb:5:in `plan_phase' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:22:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/world.rb:30:in `execute' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan.rb:185:in `plan' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/world.rb:168:in `block in plan' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/world.rb:166:in `tap' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/world.rb:166:in `plan' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/world.rb:142:in `trigger' /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.14.1/lib/foreman_tasks.rb:18:in `trigger' /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.14.1/lib/foreman_tasks.rb:24:in `trigger_task' /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.14.1/lib/foreman_tasks.rb:35:in `async_task' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.14/app/lib/actions/katello/repository/sync.rb:53:in `run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:506:in `block (3 levels) in execute_run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:17:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.14/app/lib/actions/middleware/execute_if_contents_changed.rb:5:in `run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:22:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:17:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.14.1/app/lib/actions/middleware/keep_current_user.rb:30:in `block in run' /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.14.1/app/lib/actions/middleware/keep_current_user.rb:53:in `restore_curent_user' /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.14.1/app/lib/actions/middleware/keep_current_user.rb:30:in `run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:22:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:17:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action/progress.rb:30:in `with_progress_calculation' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action/progress.rb:16:in `run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:22:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:17:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.14/app/lib/actions/middleware/keep_locale.rb:11:in `block in run' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.14/app/lib/actions/middleware/keep_locale.rb:22:in `with_locale' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.14/app/lib/actions/middleware/keep_locale.rb:11:in `run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:22:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:26:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:17:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware.rb:30:in `run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/stack.rb:22:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/middleware/world.rb:30:in `execute' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:505:in `block (2 levels) in execute_run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:504:in `catch' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:504:in `block in execute_run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:419:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:419:in `block in with_error_handling' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:419:in `catch' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:419:in `with_error_handling' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:499:in `execute_run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:260:in `execute' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:9:in `block (2 levels) in execute' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract.rb:155:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract.rb:155:in `with_meta_calculation' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:8:in `block in execute' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:22:in `open_action' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:7:in `execute' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/executors/parallel/worker.rb:15:in `block in on_message' /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/dynflow-0.8.10/lib/dynflow/executors/parallel/worker.rb:12:in `on_message' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/context.rb:46:in `on_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/executes_context.rb:7:in `on_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/actor.rb:26:in `on_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/awaits.rb:15:in `on_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/sets_results.rb:14:in `on_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/buffer.rb:38:in `process_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/buffer.rb:31:in `process_envelopes?' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/buffer.rb:20:in `on_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/termination.rb:55:in `on_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/removes_child.rb:10:in `on_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/sets_results.rb:14:in `on_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:161:in `process_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:95:in `block in on_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:118:in `block (2 levels) in schedule_execution' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `block in synchronize' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `synchronize' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `synchronize' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:115:in `block in schedule_execution' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/serialized_execution.rb:18:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/serialized_execution.rb:18:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/serialized_execution.rb:96:in `work' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/serialized_execution.rb:77:in `block in call_job' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:333:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:333:in `run_task' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:322:in `block (3 levels) in create_worker' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:305:in `loop' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:305:in `block (2 levels) in create_worker' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:304:in `catch' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:304:in `block in create_worker' /opt/theforeman/tfm/root/usr/share/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'
I can no longer reproduce this issue, specially since new builds have arrived since I last filed this issue: hammer> lifecycle-environment list --organization 'Default Organization' ---|---------|-------- ID | NAME | PRIOR ---|---------|-------- 3 | QE | DEV 1 | Library | 2 | DEV | Library ---|---------|-------- hammer> lifecycle-environment list --organization 'Example Org' ---|---------|-------- ID | NAME | PRIOR ---|---------|-------- 6 | Library | 9 | DEV2 | Library 8 | DEV | Library ---|---------|-------- hammer> capsule list ---|------------------------------------------|-------------------------------------------------------|-------------------------- ID | NAME | URL | FEATURES ---|------------------------------------------|-------------------------------------------------------|-------------------------- 1 | cloud-qe-21.<edited> | https://cloud-qe-21.<edited>:9090 | Pulp, TFTP, DNS, DHCP,... 2 | cloud-qe-22.<edited> | https://cloud-qe-22.<edited>:9090 | Templates, Pulp Node, ... 3 | qeblade35.<edited> | https://qeblade35.<edited>:9090 | Templates, Pulp Node, ... ---|------------------------------------------|-------------------------------------------------------|-------------------------- hammer> capsule info --id 2 Id: 2 Name: cloud-qe-22.<edited> URL: https://cloud-qe-22.<edited>:9090 Features: Templates Pulp Node Puppet Puppet CA Dynflow SSH Locations: Default Location Organizations: Default Organization Created at: 2016/04/11 15:22:32 Updated at: 2016/04/15 15:53:00 As you can see, my cloud-qe-22.<edited> capsule is associated to the "Default Organization" only. Both "Default Organization" and "Example Org" have a lifecycle environment called "DEV" but only "Default Organization/DEV" is associated with my capsule. When I published and promoted a new content view to "Example Org/DEV" my capsule was not used for any synchronization. VERIFIED on Satellite 6.2.0 SNAP 9.3
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, 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-2016:1501