Bug 885266 - Can't create a scalable Wordpress app through the web UI
Summary: Can't create a scalable Wordpress app through the web UI
Keywords:
Status: CLOSED DUPLICATE of bug 877849
Alias: None
Product: OKD
Classification: Red Hat
Component: Website
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: N. Harrison Ripps
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-08 00:16 UTC by Nam Duong
Modified: 2015-05-15 01:16 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-13 03:13:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.