Bug 885266

Summary: Can't create a scalable Wordpress app through the web UI
Product: OKD Reporter: Nam Duong <nduong>
Component: WebsiteAssignee: N. Harrison Ripps <hripps>
Status: CLOSED DUPLICATE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: admiller, dmcphers, jofernan, xtian
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-13 03:13:52 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:
Embargoed:

Description Nam Duong 2012-12-08 00:16:39 UTC
Description of problem:
I'm not able to create a scalable Wordpress Application through the Web UI.  


Steps to reproduce:
1) Logon to openshift.redhat.com
2) Goto https://openshift.redhat.com/app/console/application_types and select wordpress
3) Give it public URL name, and select scaling
4) Click Create application

Expected behavior: Wordpress app should be created.  The Web UI should return the creds to the Wordpress Admin pages as well as the db connection details.  Wordpress app should be accessible using the public URL.

Actual behavior:
Web Console UI is stuck on "creating" state forever.  It's been more than 20 mins.
Wordpress app is created, but I get the HAProxy page that shows the app is down.
The logs show that I'm getting a 500 error.  
Root cause is the database setup (in .openshift/action_hooks/deploy) didn't run and there is no log showing why.  The database is empty.

Workaround:
Clone the app (rhc app git-clone -a {appName}. 
cd $appName 
Make a random change to the README file and do a git commit/push
Now the deploy hook runs and populates the database.  App starts up and is accessible.

Comment 1 Rob Millner 2012-12-10 19:26:05 UTC
There should be a cleaner response; but to the best of my knowledge, we don't support scalable Wordpress apps.

Comment 2 Xiaoli Tian 2012-12-13 03:13:52 UTC
Should be an duplicate of bug 877849

*** This bug has been marked as a duplicate of bug 877849 ***