Bug 801580

Summary: Updating sync plan does not update associated product's (repo's) sync schedule
Product: Red Hat Satellite Reporter: Justin Sherrill <jsherril>
Component: WebUIAssignee: Petr Chalupa <pchalupa>
Status: CLOSED ERRATA QA Contact: Og Maciel <omaciel>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: achan, asettle, bkearney, cpelland, dmacpher, jrist, mmccune, omaciel, pchalupa, tsanders
Target Milestone: UnspecifiedKeywords: Triaged, ZStream
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Changing a sync plan does not propagate changes to the associated products' sync plans. The plan retains the original sync plan's details. This fix updates the associated products' sync plans when changes are made. All associated sync plans' details should appropriately update.
Story Points: ---
Clone Of:
: 828308 (view as bug list) Environment:
Last Closed: 2012-12-04 19:42:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 828308    

Description Justin Sherrill 2012-03-08 22:00:40 UTC
Description of problem:

Sync plans are linked to products, but updating a sync plan associated to a product does not reflect in pulp.  Re-associating the sync plan to the product will update its true sync schedule.  

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


How reproducible:


Steps to Reproduce:
1.  Create a sync plan for 1:00 pm
2.  Associate sync plan to product Foo
3.  List repos for Foo with pulp-admin and see Sync Schedules for 1:00 pm
4.  Change sync plan to 4:00 pm
5.  List repos for Foo and look at sync schedules.
  
Actual results:
Sync Schedules are not updated in the affected repos (they still say 1:00 pm).

Expected results:
They should be.  



this appears to be a backend/orchestration issue.

Comment 1 Petr Chalupa 2012-03-15 16:21:07 UTC
fixed in 15fabee5062f3196f50e471a296a2f97ddfa11eb

Comment 4 Petr Chalupa 2012-06-14 09:46:30 UTC
there was still a bug, fixed in aa5a22b68265dbc201db6d7d64e31aeaeb88c0e8 for 
https://bugzilla.redhat.com/show_bug.cgi?id=828308

Comment 6 Og Maciel 2012-09-17 22:14:51 UTC
When scheduled for 13:00:

Task: 2fb13b85-0111-11e2-b15b-52540070565e
    Job: None
    Scheduler: interval
    Call: _sync
    Arguments: Lenovo-Chrome-google-chrome-x86_64
    State: waiting
    Start time: None
    Finish time: None
    Scheduled time: 2012-09-18T17:00:00Z
    Result: None
    Exception: None
    Traceback: None

Task: 2f7f0740-0111-11e2-b012-52540070565e
    Job: None
    Scheduler: interval
    Call: _sync
    Arguments: Lenovo-Chrome-google-chrome-32bit
    State: waiting
    Start time: None
    Finish time: None
    Scheduled time: 2012-09-18T17:00:00Z
    Result: None
    Exception: None
    Traceback: None

When changed schedule to 16:00:

Task: 6b13fa4a-0111-11e2-b68b-52540070565e
    Job: None
    Scheduler: interval
    Call: _sync
    Arguments: Lenovo-Chrome-google-chrome-x86_64
    State: waiting
    Start time: None
    Finish time: None
    Scheduled time: 2012-09-18T20:00:00Z
    Result: None
    Exception: None
    Traceback: None


Task: 6ae41eb8-0111-11e2-b552-52540070565e
    Job: None
    Scheduler: interval
    Call: _sync
    Arguments: Lenovo-Chrome-google-chrome-32bit
    State: waiting
    Start time: None
    Finish time: None
    Scheduled time: 2012-09-18T20:00:00Z
    Result: None
    Exception: None
    Traceback: None

Comment 7 Og Maciel 2012-09-17 22:15:47 UTC
Verified using:

* candlepin-0.7.8-1.el6cf.noarch
* candlepin-selinux-0.7.8-1.el6cf.noarch
* candlepin-tomcat6-0.7.8-1.el6cf.noarch
* katello-1.1.12-7.el6cf.noarch
* katello-all-1.1.12-7.el6cf.noarch
* katello-candlepin-cert-key-pair-1.0-1.noarch
* katello-certs-tools-1.1.8-1.el6cf.noarch
* katello-cli-1.1.8-4.el6cf.noarch
* katello-cli-common-1.1.8-4.el6cf.noarch
* katello-common-1.1.12-7.el6cf.noarch
* katello-configure-1.1.9-3.el6cf.noarch
* katello-glue-candlepin-1.1.12-7.el6cf.noarch
* katello-glue-pulp-1.1.12-7.el6cf.noarch
* katello-qpid-broker-key-pair-1.0-1.noarch
* katello-qpid-client-key-pair-1.0-1.noarch
* katello-selinux-1.1.1-1.el6cf.noarch
* pulp-1.1.12-1.el6cf.noarch
* pulp-common-1.1.12-1.el6cf.noarch
* pulp-selinux-server-1.1.12-1.el6cf.noarch

Comment 9 errata-xmlrpc 2012-12-04 19:42:44 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2012-1543.html