Project

General

Profile

Actions

Bug #14083

closed

Satellite 6.1 beta error when trying to sync a puppet module

Added by Partha Aji about 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1236922
Description of problem:

Testing on Satellite 6.1 Beta

Version-Release number of selected component (if applicable):
--> katello-2.2.0.11-1.el7sat.noarch

Steps to Reproduce:
1. Create a Product, named Puppet_Ntp
2. Create a Repository
3. Upload puppetforge ntp module
4. Then go inside the puppet module
https://cragsat61.usersys.redhat.com/products/126/info
5. Try to sync the repository

Actual results:
The status never changes from the gui, its like it hasn't received the command

However the /var/log/foreman/production.log gave error:

2015-06-29 22:01:23 [I] Processing by Katello::Api::V2::ProductsController#sync as JSON
2015-06-29 22:01:23 [I] Parameters: {"id"=>"126", "api_version"=>"v2", "product"=>{}}
2015-06-29 22:01:23 [D] User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 "id", 5
2015-06-29 22:01:23 [D] Setting current user thread-local variable to
2015-06-29 22:01:23 [D] Katello::Product Load (1.0ms) SELECT "katello_products".* FROM "katello_products" WHERE "katello_products"."id" = 126 LIMIT 1
2015-06-29 22:01:23 [D] ExecutionPlan 20b8500f-d2d7-4b6e-98dc-1da9e5741185 pending >> planning
2015-06-29 22:01:23 [D] (0.3ms) BEGIN
2015-06-29 22:01:23 [D] SQL (0.8ms) INSERT INTO "foreman_tasks_tasks" ("ended_at", "external_id", "id", "label", "parent_task_id", "result", "started_at", "state", "type") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["ended_at", nil], ["external_id", "20b8500f-d2d7-4b6e-98dc-1da9e5741185"], ["id", "9689ae89-ac3c-425b-ad0d-83fcf8b7f29d"], ["label", "Actions::BulkAction"], ["parent_task_id", nil], ["result", "pending"], ["started_at", Tue, 30 Jun 2015 02:01:23 UTC +00:00], ["state", "planning"], ["type", "ForemanTasks::Task::DynflowTask"]]
2015-06-29 22:01:23 [D] (10.3ms) COMMIT
2015-06-29 22:01:23 [D] (0.3ms) BEGIN
2015-06-29 22:01:23 [D] ForemanTasks::Task Load (0.8ms) SELECT "foreman_tasks_tasks".* FROM "foreman_tasks_tasks" WHERE "foreman_tasks_tasks"."id" = '9689ae89-ac3c-425b-ad0d-83fcf8b7f29d' LIMIT 1
2015-06-29 22:01:23 [D] (1.3ms) SELECT COUNT() FROM "foreman_tasks_locks" INNER JOIN "foreman_tasks_tasks" ON "foreman_tasks_tasks"."id" = "foreman_tasks_locks"."task_id" WHERE "foreman_tasks_locks"."name" = 'task_owner' AND "foreman_tasks_locks"."resource_id" = 5 AND "foreman_tasks_locks"."resource_type" = 'User' AND "foreman_tasks_locks"."exclusive" = 't' AND (foreman_tasks_tasks.state != 'stopped') AND ("foreman_tasks_locks"."task_id" NOT IN ('9689ae89-ac3c-425b-ad0d-83fcf8b7f29d'))
2015-06-29 22:01:23 [D] SQL (0.5ms) INSERT INTO "foreman_tasks_locks" ("exclusive", "name", "resource_id", "resource_type", "task_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["exclusive", false], ["name", :task_owner], ["resource_id", 5], ["resource_type", "User"], ["task_id", "9689ae89-ac3c-425b-ad0d-83fcf8b7f29d"]]
2015-06-29 22:01:23 [D] (10.9ms) COMMIT
2015-06-29 22:01:23 [D] (0.2ms) BEGIN
2015-06-29 22:01:23 [D] Step 20b8500f-d2d7-4b6e-98dc-1da9e5741185: 1 pending >> running in phase Plan Actions::BulkAction
2015-06-29 22:01:23 [D] (1.9ms) SELECT COUNT(
) FROM "katello_repositories" INNER JOIN "katello_content_view_versions" ON "katello_content_view_versions"."id" = "katello_repositories"."content_view_version_id" INNER JOIN "katello_content_views" ON "katello_content_views"."id" = "katello_content_view_versions"."content_view_id" WHERE "katello_repositories"."product_id" = 126 AND "katello_content_views"."default" = 't' AND "katello_repositories"."product_id" IN (SELECT "katello_products"."id" FROM "katello_products" ) AND (url IS NOT NULL)
2015-06-29 22:01:23 [E] Empty bulk action (RuntimeError)
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.12.8/app/lib/actions/bulk_action.rb:53:in `check_targets!'
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.12.8/app/lib/actions/bulk_action.rb:12:in `plan'
/opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.7/lib/dynflow/action.rb:436:in `block (3 levels) i
---> Backtracecomments removed as uploaded foreman-debug

Actions #1

Updated by The Foreman Bot about 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5851 added
Actions #2

Updated by David Davis about 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by Eric Helms about 8 years ago

  • translation missing: en.field_release set to 86
Actions

Also available in: Atom PDF