Project

General

Profile

Actions

Bug #19435

closed

[Katello 3.3] Repositories not syncing according to sync-plan

Added by Alan Evans almost 7 years ago. Updated almost 6 years ago.

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

Description

I have been using a script to build/tear down my katello infrastructure for testing/planning.

After upgrading to 3.3 I noticed my repos weren't syncing. I ignored it for a while because I was working with other components. But I have come to believe it's a bug.

Attached you will find the Vagrantfile I have been testing with. If I bring up a box w/ Katello 3.2/Foreaman 1.13 the automatically created repo will sync automatically (not exactly on schedule... not sure what's up w/ that, but it works.) If I switch to Katello 3.3 and Foreaman 1.14 then the created repo never syncs automatically.

I posted on the foreman-users list a bit back. I think I was mistaken about the behavior I described at the time though.
https://groups.google.com/d/msg/foreman-users/ZODFm2ektM0/hj5av1hSAwAJ


Files

Vagrantfile.txt Vagrantfile.txt 36 Bytes Alan Evans, 05/04/2017 03:45 PM

Related issues 1 (0 open1 closed)

Has duplicate Katello - Bug #19643: Sync plans have not worked (ever)DuplicateJustin Sherrill05/23/2017Actions
Actions #1

Updated by Alan Evans almost 7 years ago

  • Related to Feature #19406: Sync plans does not allow sync per-repo added
Actions #2

Updated by Alan Evans almost 7 years ago

  • Related to deleted (Feature #19406: Sync plans does not allow sync per-repo)
Actions #3

Updated by Alan Evans almost 7 years ago

  • Description updated (diff)
Actions #4

Updated by Justin Sherrill almost 7 years ago

  • Category set to Repositories
  • Assignee set to Justin Sherrill
Actions #5

Updated by Alan Evans almost 7 years ago

Got distracted. Forgot to attach my Vagrantfile.

Most relevant bits.

Katello installation

The only change I make between tests is to change katello/foreman versions.

 84     yum -y localinstall http://fedorapeople.org/groups/katello/releases/yum/3.3/katello/el7/x86_64/katello-repos-latest.rpm
 85     yum -y localinstall http://yum.theforeman.org/releases/1.14/el7/x86_64/foreman-release.rpm

Configuration

Here's how I am creating the sync-plan, product and repo.

105     hammer sync-plan create --organization-id 1 --name Daily --interval daily --sync-date "$(date +'%F %T' --date '-23 hours -58 minutes')" --enabled true
106     hammer sync-plan info --id 1
107     sleep 20
108
109     hammer product create --organization-id 1 --name CentOS --label centos
110     hammer product set-sync-plan --id 1 --sync-plan-id 1
111     hammer product info --id 1
112     sleep 20
113
114     hammer repository create --organization-id 1 --product CentOS --name "CentOS 7 x86_64 OS" --label "centos-7-x86_64-os" --content-type yum --download-policy on_demand --publish-via-http 1 --url "http://mirror.centos.org/centos/7/os/x86_64" 
115     hammer repository info --id 1
Actions #6

Updated by Justin Sherrill almost 7 years ago

  • Target version set to 193
Actions #7

Updated by Justin Sherrill almost 7 years ago

  • Related to Bug #19643: Sync plans have not worked (ever) added
Actions #8

Updated by Justin Sherrill almost 7 years ago

  • translation missing: en.field_release set to 228
Actions #9

Updated by Justin Sherrill almost 7 years ago

  • Related to deleted (Bug #19643: Sync plans have not worked (ever))
Actions #10

Updated by Justin Sherrill almost 7 years ago

  • Has duplicate Bug #19643: Sync plans have not worked (ever) added
Actions #11

Updated by The Foreman Bot almost 7 years ago

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

Updated by Justin Sherrill almost 7 years ago

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

Also available in: Atom PDF