Bug 1768638

Summary: [RFE] Import/export schedules to replicate on other sites
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ApplianceAssignee: Libor Pichler <lpichler>
Status: CLOSED ERRATA QA Contact: Satyajit Bulage <sbulage>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.8.0CC: abellott, brant.evans, gtanzill, hkataria, jocarter, lavenel, lpichler, mfeifer, mpovolny, obarenbo, pvala, sbulage, simaishi, smallamp, yrudman
Target Milestone: GAKeywords: FutureFeature, RFE, ZStream
Target Release: 5.11.1Flags: pm-rhel: cfme-5.11.z+
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 5.11.1.0 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1560090 Environment:
Last Closed: 2019-12-13 00:35:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1560090    
Bug Blocks:    

Comment 2 CFME Bot 2019-11-04 21:15:47 UTC
New commits detected on ManageIQ/manageiq/ivanchuk:

https://github.com/ManageIQ/manageiq/commit/8512c69f9c0278eeae36ab0cbe13090d15186b88
commit 8512c69f9c0278eeae36ab0cbe13090d15186b88
Author:     Gregg Tanzillo <gtanzill>
AuthorDate: Fri Aug 23 10:48:08 2019 -0400
Commit:     Gregg Tanzillo <gtanzill>
CommitDate: Fri Aug 23 10:48:08 2019 -0400

    Merge pull request #19191 from lpichler/user_find_by_to_skip_exceptions

    Use find_by to skip exceptions in Export of schedules

    (cherry picked from commit c3fc79426eb04e66b71d9c219899a92f2782b11b)

    https://bugzilla.redhat.com/show_bug.cgi?id=1768638

 app/models/miq_schedule/import_export.rb | 14 +-
 spec/models/miq_schedule_spec.rb | 13 +
 2 files changed, 20 insertions(+), 7 deletions(-)


https://github.com/ManageIQ/manageiq/commit/66d8b83090a97d6841e6d7f9f436d3b14c12adbd
commit 66d8b83090a97d6841e6d7f9f436d3b14c12adbd
Author:     Gregg Tanzillo <gtanzill>
AuthorDate: Fri Aug 23 11:01:13 2019 -0400
Commit:     Gregg Tanzillo <gtanzill>
CommitDate: Fri Aug 23 11:01:13 2019 -0400

    Merge pull request #19192 from lpichler/add_export_import_to_rake_task

    Add export/import of schedules to rake task

    (cherry picked from commit e51917cd7c92a8356d78be1a77fcf3a67729f320)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1768638

 lib/task_helpers/exports/schedules.rb | 16 +
 lib/task_helpers/imports/schedules.rb | 20 +
 lib/tasks/evm_export_import.rake | 16 +
 3 files changed, 52 insertions(+)

Comment 4 Satyajit Bulage 2019-12-05 04:07:25 UTC
Able to see Schedule after, exporting from one appliance and importing to another appliance.

Verified Version: 5.11.1.1.20191122174937_707df01

Comment 6 errata-xmlrpc 2019-12-13 00:35:56 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.

https://access.redhat.com/errata/RHSA-2019:4201