Project

General

Profile

Actions

Bug #7382

closed

Sync plan does not seem to update

Added by Leah Fisher over 9 years ago. Updated over 5 years ago.

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

Description

Created a sync plan, assigned it to all the products. I set it to hourly for testing, set it back to daily, but the syncs are still running hourly. I tried to create a new sync plan and assign all the products to the new sync plan, but that had no affect either.

Actions #1

Updated by Justin Sherrill over 9 years ago

  • Category set to 91
  • Assignee set to Justin Sherrill
  • Target version set to 56
  • Difficulty set to easy
  • Triaged changed from No to Yes
Actions #2

Updated by Justin Sherrill over 9 years ago

  • Status changed from New to Assigned

from an initial investigation this appears to be an issue with pulp.

Using the Ruby Console to monitor the 'next run':

User.current = User.first
Katello.pulp_server.resources.repository_schedule.list(Katello::Repository.first.pulp_id, 'yum_importer')

 => [{"next_run"=>"2014-09-08T22:38:00Z", "remaining_runs"=>nil, "last_updated"=>1410215387.624102, "first_run"=>"2014-08-27T00:38:00Z", "total_run_count"=>1, "schedule"=>"2014-08-27T00:38:00Z/PT1H", "kwargs"=>{"overrides"=>{}}, "args"=>["Default_Organization-asdf-asdf"], "enabled"=>true, "last_run_at"=>"2014-09-08T22:31:08Z", "task"=>"pulp.server.tasks.repository.sync_with_auto_publish", "failure_threshold"=>nil, "resource"=>"pulp:importer:Default_Organization-asdf-asdf:yum_importer", "_id"=>"540e2ddb47078714385f6656", "consecutive_failures"=>0, "_href"=>"/pulp/api/v2/repositories/Default_Organization-asdf-asdf/importers/yum_importer/schedules/sync/540e2ddb47078714385f6656/"}] 

I changed it to daily and see:

=> [{"next_run"=>"2014-09-08T22:38:00Z", "remaining_runs"=>nil, "last_updated"=>1410215661.739015, "first_run"=>"2014-08-27T00:38:00Z", "total_run_count"=>1, "schedule"=>"2014-08-27T00:38:00Z/PT24H", "kwargs"=>{"overrides"=>{}}, "args"=>["Default_Organization-asdf-asdf"], "enabled"=>true, "last_run_at"=>"2014-09-08T22:31:08Z", "task"=>"pulp.server.tasks.repository.sync_with_auto_publish", "failure_threshold"=>nil, "resource"=>"pulp:importer:Default_Organization-asdf-asdf:yum_importer", "_id"=>"540e2ddb47078714385f6656", "consecutive_failures"=>0, "_href"=>"/pulp/api/v2/repositories/Default_Organization-asdf-asdf/importers/yum_importer/schedules/sync/540e2ddb47078714385f6656/"}]

So the schedule was updated which make it look like katello did the right thing and changed the repo in pulp. However even a couple hours later:

=> [{"next_run"=>"2014-09-09T01:38:00Z", "remaining_runs"=>nil, "last_updated"=>1410215661.739015, "first_run"=>"2014-08-27T00:38:00Z", "total_run_count"=>4, "schedule"=>"2014-08-27T00:38:00Z/PT24H", "kwargs"=>{"overrides"=>{}}, "args"=>["Default_Organization-asdf-asdf"], "enabled"=>true, "last_run_at"=>"2014-09-09T00:38:00Z", "task"=>"pulp.server.tasks.repository.sync_with_auto_publish", "failure_threshold"=>nil, "resource"=>"pulp:importer:Default_Organization-asdf-asdf:yum_importer", "_id"=>"540e2ddb47078714385f6656", "consecutive_failures"=>0, "_href"=>"/pulp/api/v2/repositories/Default_Organization-asdf-asdf/importers/yum_importer/schedules/sync/540e2ddb47078714385f6656/"}]

The 'next_run' field is still updating hourly. I did a quick pulp bug search and did not see anything, so i will inquire with the pulp team.

Actions #3

Updated by Justin Sherrill over 9 years ago

Even the next day its still scheduling hourly it appears:

"next_run"=>"2014-09-09T13:38:00Z"

Opened pulp bz:

https://bugzilla.redhat.com/show_bug.cgi?id=1139703

Actions #4

Updated by Eric Helms over 9 years ago

  • Target version changed from 56 to 58
Actions #5

Updated by Eric Helms over 9 years ago

  • Status changed from Assigned to Closed
Actions #6

Updated by Eric Helms over 9 years ago

  • translation missing: en.field_release set to 14
Actions

Also available in: Atom PDF