Bug 1203430 - sync plan 'enabled' flag does not actually control pulp's sync plan
Summary: sync plan 'enabled' flag does not actually control pulp's sync plan
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.0.4
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Eric Helms
QA Contact: Tazim Kolhar
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-18 19:16 UTC by Tom McKay
Modified: 2017-02-23 20:17 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-12 13:55:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 9818 0 None None None 2016-04-22 16:05:59 UTC

Description Tom McKay 2015-03-18 19:16:51 UTC
Changing a sync plan to enabled=false does not actually disable the sync plan in pulp.

Comment 1 Tom McKay 2015-03-18 19:16:52 UTC
Created from redmine issue http://projects.theforeman.org/issues/9818

Comment 3 Bryan Kearney 2015-04-15 12:06:24 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/9818 has been closed
-------------
Eric Helms
Applied in changeset commit:katello|d69624f9dc78a4f71fef680a513a3a47e2bb1193.

Comment 5 Tazim Kolhar 2015-04-24 10:20:52 UTC
hi 

please provide verification steps

thanks

Comment 6 Eric Helms 2015-04-28 11:11:14 UTC
Steps to verify:

1. Create a sync plan with an hourly interval
2. Add a product with repository to the sync plan
3. Wait for sync to occur
4. Edit the sync plan from the UI and uncheck enabled
5. Note that it should show no 'Next Sync' time
6. Wait for another hour to verify that a sync does not occur

Comment 7 Tazim Kolhar 2015-04-29 08:30:09 UTC
VERIFIED :

 rpm -qa | grep foreman
foreman-gce-1.7.2.17-1.el7sat.noarch
foreman-debug-1.7.2.17-1.el7sat.noarch
foreman-discovery-image-2.1.0-20.el7sat.noarch
foreman-compute-1.7.2.17-1.el7sat.noarch
foreman-ovirt-1.7.2.17-1.el7sat.noarch
rubygem-hammer_cli_foreman_tasks-0.0.3.3-1.el7sat.noarch
ruby193-rubygem-foreman_docker-1.2.0.9-1.el7sat.noarch
ruby193-rubygem-foreman-redhat_access-0.1.0-1.el7sat.noarch
ruby193-rubygem-foreman-tasks-0.6.12.3-1.el7sat.noarch
rubygem-hammer_cli_foreman_discovery-0.0.1.7-1.el7sat.noarch
ruby193-rubygem-foreman_gutterball-0.0.1.9-1.el7sat.noarch
ruby193-rubygem-foreman_bootdisk-4.0.2.10-1.el7sat.noarch
foreman-proxy-1.7.2.4-1.el7sat.noarch
cloud-qe-9.idmqe.lab.eng.bos.redhat.com-foreman-client-1.0-1.noarch
cloud-qe-9.idmqe.lab.eng.bos.redhat.com-foreman-proxy-1.0-2.noarch
foreman-vmware-1.7.2.17-1.el7sat.noarch
ruby193-rubygem-foreman_hooks-0.3.7-2.el7sat.noarch
rubygem-hammer_cli_foreman-0.1.4.9-1.el7sat.noarch
foreman-libvirt-1.7.2.17-1.el7sat.noarch
foreman-selinux-1.7.2.13-1.el7sat.noarch
foreman-postgresql-1.7.2.17-1.el7sat.noarch
cloud-qe-9.idmqe.lab.eng.bos.redhat.com-foreman-proxy-client-1.0-1.noarch
foreman-1.7.2.17-1.el7sat.noarch
ruby193-rubygem-foreman_discovery-2.0.0.9-1.el7sat.noarch
rubygem-hammer_cli_foreman_bootdisk-0.1.2.5-1.el7sat.noarch


steps;

1. Create a sync plan with an hourly interval
2. Add a product with repository to the sync plan
3. Wait for sync to occur
4. Edit the sync plan from the UI and uncheck enabled
5. Note that it should show no 'Next Sync' time
6. Wait for another hour to verify that a sync does not occur

the 'Next Sync' time is not shown 
sync does not occur

Comment 8 Bryan Kearney 2015-08-11 13:29:19 UTC
This bug is slated to be released with Satellite 6.1.

Comment 9 Bryan Kearney 2015-08-12 13:55:41 UTC
This bug was fixed in version 6.1.1 of Satellite which was released on 12 August, 2015.


Note You need to log in before you can comment on or make changes to this bug.