Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-4403

[RFE] Future dated Sync Plans with non-zero seconds value skip the first interval

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • None
    • 6.5.0
    • Sync Plans
    • False
    • False
    • 0
    • Undefined
    • None

      Description of problem:

      If you create a Sync Plan with a future start date, using the API or hammer but not the web UI, and if the value in the seconds field is not zero, it will skip one interval when creating the first sync date and time.

      Version-Release number of selected component (if applicable):
      [root@sat-6-5-qa-rhel7 ~]# rpm -q foreman
      foreman-1.20.1.31-1.el7sat.noarch
      [root@sat-6-5-qa-rhel7 ~]# rpm -q tfm-rubygem-foreman-tasks
      tfm-rubygem-foreman-tasks-0.14.4.5-1.el7sat.noarch

      How reproducible:

      See examples in BZ#1685724

      Actual results:

      Sync Plans created by API calls have "next_sync" time and date set to one interval later than the creation time and date.

      Expected results:

      Sync Plan should be created with "next_sync" time and date within one interval

      Additional info:

      https://github.com/SatelliteQE/robottelo/pull/6825

              jira-bugzilla-migration RH Bugzilla Integration
              jira-bugzilla-migration RH Bugzilla Integration
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: