Project

General

Profile

Actions

Bug #28188

closed

Sync status information is lost after cleaning up old tasks related to sync.

Added by Justin Sherrill about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Urgent
Category:
Sync Plans
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1563270

Description of problem:
Sync status information is lost after cleaning up old tasks related to sync. For an example -
Suppose we synced five repository 7 days ago and if we go ahead and delete the tasks which were generated during the sync, The status will change from Syncing Complete to Never Synced in Sync Status page of Satellite WebUI.

Version-Release number of selected component (if applicable):
Satellite 6.3

How reproducible: 100%

Steps to Reproduce:
1. Sync any repository, once synced its status will show as Syncing Complete in Sync Status page of Satellite WebUI.
2. Now go ahead and delete that particular task using task id-
  1. foreman-rake foreman_tasks:cleanup TASK_SEARCH='id = 4fbe2626-9378-49f4-9923-d86c43cc80e7' VERBOSE=true
    3. Now go ahead and check the Sync Status page of Satellite WebUI, that particular repository's status will get changed to Never Synced.

Actual results: Sync status shows as Never Synced

Expected results: Sync status should be shown as Syncing Complete

Actions #1

Updated by The Foreman Bot about 5 years ago

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

Updated by Justin Sherrill about 5 years ago

  • Target version set to Katello 3.15.0
  • Triaged changed from No to Yes
Actions #3

Updated by The Foreman Bot about 5 years ago

  • Fixed in Releases Katello 3.15.0 added
Actions #4

Updated by Justin Sherrill about 5 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF