Bug 1399785

Summary: [RFE] deliver cfme as a podified application (3 pods)
Product: Red Hat CloudForms Management Engine Reporter: Barak <bazulay>
Component: cfme-openshift-appAssignee: Barak <bazulay>
Status: CLOSED CURRENTRELEASE QA Contact: Dafna Ron <dron>
Severity: unspecified Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: unspecified    
Version: 5.7.0CC: bazulay, cpelland, jhardy
Target Milestone: GAKeywords: FutureFeature
Target Release: 5.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: container
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-11 19:49:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Container Management Target Upstream Version:
Bug Depends On: 1402125    
Bug Blocks:    

Description Barak 2016-11-29 17:59:10 UTC
The aim of this RFE is to deliver cfme as an openshift application constructed of 3 pods.

It was developed on https://github.com/ManageIQ/manageiq-pods

This delivery includes:
- 3 images (each constructing a POD):
  * cfme-openshift-app-docker
  * cfme-openshift-postgresql-docker
  * cfme-openshift-memcached-docker
- a deployment template to define the application 

The scenarios to be tested are:
- initial deployment (deploying the application for the first time)
- reschedule of each pod - the application should survive and function
- upgrade seaquence once a newer image is released (this mainly goes for the cfme-openshift-app-docker zstream upgrades)

Comment 2 Barak 2016-11-29 18:02:24 UTC
moved to 5.7 (flags)and moved to status to ON_QA as discussed with process owner.

Comment 3 Dafna Ron 2016-12-06 20:41:07 UTC
I finished a deployment on a simple master + 2 nodes. 
upgrade and scheduling are blocked for bug: 
https://bugzilla.redhat.com/show_bug.cgi?id=1402125

Comment 4 Dafna Ron 2016-12-13 11:44:30 UTC
bug is https://bugzilla.redhat.com/show_bug.cgi?id=1402125 is on_qa but previous deployment is missing the cloudforms container: 
  name: "APPLICATION_IMG_TAG"
    displayName: "Application Image Tag"
    description: "This is the Application image tag/version requested to deploy."
    value: "5.7.0.13"

[root@dafna-openshift-master01 templates]# oc get pods
NAME                 READY     STATUS    RESTARTS   AGE
memcached-1-0p69p    1/1       Running   0          12m
postgresql-1-gt4dr   1/1       Running   0          12m

http://pastebin.test.redhat.com/438731

Comment 5 Dafna Ron 2016-12-14 20:50:56 UTC
verified for deployment, re-deploy, upgrade latest and upgrade from specific versions. 

basic tests like add container provider were done as well. 

Opened bug https://bugzilla.redhat.com/show_bug.cgi?id=1404819 with work around. 

moving RFE to verified.