Project

General

Profile

Bug #8924

sync plan shows "never synced" for a repository even though it has been manually synchronised

Added by Walden Raines about 7 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web UI
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1130300
Description of problem: I have a new install of Satellite 6 Beta, I have manually synchronised a repository, and now added it to a synchronisation plan. In the sync status page it shows:

content -> sync status -> Sync complete.

In the content -> sync plan -> products tab -> Never synced

So I assume the status is that the schedule has never run, yet the repo is synchronised.

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

How reproducible: each time

Steps to Reproduce:
1. create a new repo (using RH ones)
2. Manually synchronise it
3. Create a sync plan
4. Add repo to sync plan

Actual results: also included command line:

[root@cmilsted-rhel6 ~]# hammer repository info --name "Red Hat Enterprise Linux 7 Server RPMs x86_64 7.0" --organization BSkyB
ID: 1
Name: Red Hat Enterprise Linux 7 Server RPMs x86_64 7.0
Label: Red_Hat_Enterprise_Linux_7_Server_RPMs_x86_64_7_0
Organization: BSkyB
Red Hat Repository: yes
Content Type: yum
URL: https://cdn.redhat.com/content/dist/rhel/server/7/7.0/x86_64/os
Publish Via HTTP: no
Published At: https://cmilsted-rhel6.saleslab.fab.redhat.com/pulp/repos/SkyBroadcast/Library/content/dist/rhel/server/7/7.0/x86_64/os
Product:
ID: 88
Name: Red Hat Enterprise Linux Server
GPG Key:

Sync:
Status: Finished
Last Sync Date: 2014/08/14 20:03:19
Created: 2014/08/14 10:37:43
Updated: 2014/08/14 10:37:43
Content Counts:
Packages: 4629
Package Groups: 70
Errata: 59

[root@cmilsted-rhel6 ~]# hammer sync-plan info --name "Weekly" --organization BSkyB
ID: 2
Name: Weekly
Start Date: 2014/08/14 19:00:51
Interval: weekly
Description: Weekly sync
Created at: 2014/08/14 19:00:12
Updated at: 2014/08/14 19:00:12

Also screenshot attached to show this.

Expected results:

Should show as manually synchronised or just synchronised.

Additional info:

Associated revisions

Revision 56bb674f (diff)
Added by Walden Raines about 7 years ago

Fixes #8924: add last_sync_words to sync plan rabl, bz 1130300.

The sync plan rabl representation for product was missing the
attribute last_sync_words. This PR adds that attribute.

http://projects.theforeman.org/issues/8924
https://bugzilla.redhat.com/show_bug.cgi?id=1130300

Revision b21390ee
Added by Walden Raines about 7 years ago

Merge pull request #4916 from waldenraines/8924

Fixes #8924: add last_sync_words to sync plan rabl, bz 1130300.

History

#1 Updated by The Foreman Bot about 7 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 63
  • Pull request https://github.com/Katello/katello/pull/4916 added
  • Pull request deleted ()

#2 Updated by Walden Raines about 7 years ago

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

#3 Updated by Eric Helms almost 7 years ago

  • Triaged changed from No to Yes

#4 Updated by Eric Helms almost 7 years ago

  • Legacy Backlogs Release (now unused) set to 23

Also available in: Atom PDF