Bug 1375951

Summary: [RFE]: Persist and Show Container Templates from Openshift
Product: Red Hat CloudForms Management Engine Reporter: Dafna Ron <dron>
Component: ProvidersAssignee: zakiva
Status: CLOSED CURRENTRELEASE QA Contact: Dafna Ron <dron>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.7.0CC: abellott, azellner, bazulay, cpelland, fsimonce, jfrey, jhardy, obarenbo, simaishi
Target Milestone: GAKeywords: FutureFeature, RFE, TestOnly
Target Release: 5.8.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: container
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1388672 (view as bug list) Environment:
Last Closed: 2017-06-12 16:32:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1388672    

Description Dafna Ron 2016-09-14 10:27:20 UTC
Use cases:
Collection and display of the Templates defined in the OpenShift providers
Instantiation of the Templates (in a particular project)
Note: Service Catalog and Service Designer are not implemented in this feature


Here are all related PRs:

-manageiq: Persist Container Template 
https://github.com/ManageIQ/manageiq/pull/10159

-manageiq: Container template UI 
https://github.com/ManageIQ/manageiq/pull/10303

-manageiq: Instantiate Container Template 
https://github.com/ManageIQ/manageiq/pull/10737

-manageiq: Schema changes: add container templates (extracted from the first one) 
https://github.com/ManageIQ/manageiq/pull/11217

-openshift client: Add support for template entity 
https://github.com/abonas/openshift_client/pull/27

-openshift client: Add support for processing templates
https://github.com/abonas/openshift_client/pull/29

Comment 1 CFME Bot 2016-10-17 16:21:46 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/8f521f8356155a9b5b9524f75cab1f621bf3aa55

commit 8f521f8356155a9b5b9524f75cab1f621bf3aa55
Author:     Greg Blomquist <blomquisg>
AuthorDate: Thu Oct 13 08:05:20 2016 -0400
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Thu Oct 13 17:30:35 2016 -0400

    Merge pull request #10159 from zakiva/persist_container_template
    
    Persist Container Templates
    (cherry picked from commit 58a7b12b4fb0603b9787f9b3671b8fb2e5db48f8)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1375951

 app/models/ems_refresh/save_inventory_container.rb |   28 +-
 .../openshift/container_manager/refresh_parser.rb  |   32 +
 .../openshift/container_manager/refresher.rb       |    2 +-
 .../metrics_capture/capture_context_spec.rb        |    3 +-
 .../container_manager/refresh_parser_spec.rb       |   42 +
 .../openshift/container_manager/refresher_spec.rb  |   17 +
 .../metrics_capture/capture_context_refresh.yml    | 1140 ++++++++++++--------
 .../openshift/container_manager/refresher.yml      |   60 ++
 8 files changed, 881 insertions(+), 443 deletions(-)

Comment 4 Dafna Ron 2017-03-22 10:34:10 UTC
we list the templates but some info on the templates themselves is missing: https://bugzilla.redhat.com/show_bug.cgi?id=1434760

however, since we do have a new templates tab, we list the templates from the provider and only some of the info is missing, I will move this RFE to verified.