Bug #19435
closed[Katello 3.3] Repositories not syncing according to sync-plan
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
Updated by Alan Evans over 7 years ago
- Related to Feature #19406: Sync plans does not allow sync per-repo added
Updated by Alan Evans over 7 years ago
- Related to deleted (Feature #19406: Sync plans does not allow sync per-repo)
Updated by Justin Sherrill over 7 years ago
- Category set to Repositories
- Assignee set to Justin Sherrill
Updated by Alan Evans over 7 years ago
- File Vagrantfile.txt Vagrantfile.txt added
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
Updated by Justin Sherrill over 7 years ago
- Related to Bug #19643: Sync plans have not worked (ever) added
Updated by Justin Sherrill over 7 years ago
- Translation missing: en.field_release set to 228
Updated by Justin Sherrill over 7 years ago
- Related to deleted (Bug #19643: Sync plans have not worked (ever))
Updated by Justin Sherrill over 7 years ago
- Has duplicate Bug #19643: Sync plans have not worked (ever) added
Updated by The Foreman Bot over 7 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/6802 added
Updated by Justin Sherrill over 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|a606c0ab9fd36e6448d4b63b2619980fc245a20a.