Bug 1608351

Summary: [RFE] CFME 5.9.4 - create migration plan and schedule when to run
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: UI - OPSAssignee: Marco Berube <mberube>
Status: CLOSED CURRENTRELEASE QA Contact: Yadnyawalk Tale <ytale>
Severity: low Docs Contact:
Priority: high    
Version: 5.9.0CC: bthurber, cpelland, hkataria, jhardy, jprause, kkulkarn, lavenel, mberube, mpovolny, obarenbo, smallamp, ytale
Target Milestone: GAKeywords: FutureFeature, RFE, ZStream
Target Release: 5.9.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: v2v
Fixed In Version: 5.9.4.1 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1564255 Environment:
Last Closed: 2018-09-05 12:56:34 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: 1564255    
Bug Blocks:    

Comment 2 CFME Bot 2018-07-25 13:51:03 UTC
New commit detected on ManageIQ/manageiq/gaprindashvili:

https://github.com/ManageIQ/manageiq/commit/9f4bc585d42ef120b3c0be034efc38661268e2d4
commit 9f4bc585d42ef120b3c0be034efc38661268e2d4
Author:     Gregg Tanzillo <gtanzill>
AuthorDate: Mon Jul  9 14:11:14 2018 -0400
Commit:     Gregg Tanzillo <gtanzill>
CommitDate: Mon Jul  9 14:11:14 2018 -0400

    Merge pull request #17672 from bdunne/service_template_miq_schedules_relation

    Add ServiceTemplate#miq_schedules relation
    (cherry picked from commit 7f1f7d403dffcfe261ee4e468931f77d1327fbf9)

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

 app/models/service_template.rb | 5 +
 1 file changed, 5 insertions(+)

Comment 3 CFME Bot 2018-07-25 13:53:02 UTC
New commit detected on ManageIQ/manageiq-api/gaprindashvili:

https://github.com/ManageIQ/manageiq-api/commit/78795ebbd213a185b13d630b10d3559cd56e92c2
commit 78795ebbd213a185b13d630b10d3559cd56e92c2
Author:     Gregg Tanzillo <gtanzill>
AuthorDate: Mon Jul  9 14:40:35 2018 -0400
Commit:     Gregg Tanzillo <gtanzill>
CommitDate: Mon Jul  9 14:40:35 2018 -0400

    Merge pull request #412 from bdunne/service_template_view_schedules

    [DEPENDS ON ManageIQ/manageiq#17672] Add ServiceTemplate#schedules subcollection
    (cherry picked from commit 74851f182102df596e808944eafb19f518acd6a2)

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

 app/controllers/api/service_templates_controller.rb | 4 +
 config/api.yml | 1 +
 spec/requests/service_templates_spec.rb | 66 +
 3 files changed, 71 insertions(+)

Comment 4 CFME Bot 2018-07-25 21:43:51 UTC
New commit detected on ManageIQ/manageiq-api/gaprindashvili:

https://github.com/ManageIQ/manageiq-api/commit/489d291ffc1ed62e3dc62a234c5ed6b94a208915
commit 489d291ffc1ed62e3dc62a234c5ed6b94a208915
Author:     Alberto Bellotti <abellotti.github.com>
AuthorDate: Wed Jul 11 11:21:50 2018 -0400
Commit:     Alberto Bellotti <abellotti.github.com>
CommitDate: Wed Jul 11 11:21:50 2018 -0400

    Merge pull request #414 from bdunne/delete_schedules_for_service_templates

    Add DELETE service_templates/X/schedules/X
    (cherry picked from commit b8d14803f964e744a5f0446198991e6d6ffe8106)

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

 app/controllers/api/service_templates_controller.rb | 5 +
 config/api.yml | 11 +-
 spec/requests/service_templates_spec.rb | 54 +
 3 files changed, 69 insertions(+), 1 deletion(-)

Comment 6 CFME Bot 2018-07-26 21:21:06 UTC
New commit detected on ManageIQ/manageiq/gaprindashvili:

https://github.com/ManageIQ/manageiq/commit/7cb0e55c0105a28c0accc61302b0775fc8a03fc4
commit 7cb0e55c0105a28c0accc61302b0775fc8a03fc4
Author:     Keenan Brock <keenan>
AuthorDate: Fri Jul 13 09:04:57 2018 -0400
Commit:     Keenan Brock <keenan>
CommitDate: Fri Jul 13 09:04:57 2018 -0400

    Merge pull request #17696 from bdunne/ServiceTemplate_Schedule_name_validation

    Ensure MiqSchedule#name is unique for ServiceTemplate orders
    (cherry picked from commit d101c7997d556f08a7b0747703654ba74915b7da)

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

 app/models/service_template.rb | 4 +-
 spec/models/service_template_spec.rb | 15 +-
 2 files changed, 15 insertions(+), 4 deletions(-)

Comment 7 CFME Bot 2018-07-31 22:08:45 UTC
New commit detected on ManageIQ/manageiq-api/gaprindashvili:

https://github.com/ManageIQ/manageiq-api/commit/2c95b3d56e400586ba56b2758c4ee4d810d44d16
commit 2c95b3d56e400586ba56b2758c4ee4d810d44d16
Author:     Alberto Bellotti <abellotti.github.com>
AuthorDate: Thu Jun 21 09:51:37 2018 -0400
Commit:     Alberto Bellotti <abellotti.github.com>
CommitDate: Thu Jun 21 09:51:37 2018 -0400

    Merge pull request #400 from bdunne/order_service_template

    Allow ordering ServiceTemplates with a schedule_time
    (cherry picked from commit bc9cae59eaa0ec82677ffd93e99a30abb0a48ae5)

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

 app/controllers/api/mixins/service_templates.rb | 7 +-
 app/controllers/api/service_templates_controller.rb | 3 +-
 app/controllers/api/subcollections/service_templates.rb | 3 +-
 spec/requests/service_templates_spec.rb | 23 +
 4 files changed, 30 insertions(+), 6 deletions(-)

Comment 8 CFME Bot 2018-07-31 22:53:16 UTC
New commit detected on ManageIQ/manageiq-api/gaprindashvili:

https://github.com/ManageIQ/manageiq-api/commit/bcbafb303bb8f503b3f321a10b26003680a3762a
commit bcbafb303bb8f503b3f321a10b26003680a3762a
Author:     Gregg Tanzillo <gtanzill>
AuthorDate: Mon Jul 30 18:06:04 2018 -0400
Commit:     Gregg Tanzillo <gtanzill>
CommitDate: Mon Jul 30 18:06:04 2018 -0400

    Merge pull request #436 from bdunne/symbolize_schedule_data

    Symbolize schedule data
    (cherry picked from commit 73b98a3e34c42875784a24bb22c904f1670b8e91)

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

 app/controllers/api/subcollections/schedules.rb | 2 +-
 spec/requests/service_templates_spec.rb | 19 +-
 2 files changed, 16 insertions(+), 5 deletions(-)

Comment 9 Yadnyawalk Tale 2018-08-03 16:28:21 UTC
Fixed! Scheduling and Unscheduling does works after setting evmserver's timezone + date/time.

Verified on: 5.9.4.2.20180802030318_f91df08