Description of problem: When I created the spring framework app, I found that it was still "DEPLOYING" status after more than 3 hours. Then I used rhc command to restart the app,it became "STARTED" status after that. Version-Release number of selected component (if applicable): devenv_2295 How reproducible:always Steps to Reproduce: 1.Go to openshift website and login 2.Create a spring framework app 3.Check the status of the app after 3 hours Actual results: It stays too long on "DEPLOYING" status . Expected results: The status of application should be "Started" after a few minutes. Additional info:
Teseted this issue on devenv_2301, this issue exists not only on spring framework, but also on Wordpress and Kitchensink application.
Was this tested with the "dev/typeless" branch of the quickstarts? Please verify the branch used and comment with details on the issue before we start digging into things.
I tested these quickstarts with the "dev/typeless" branch and found no problem. But I have tried these ones with master branch used CLI with steps below, they have no problem as well. So I can just reproduce this issue when I create template apps on website. I think the reason why this CLI way to create quickstarts can not reproduce the bug is that when execute "git push" , the apps will be restarted. As described in the "Description of problem:" part, restart operation will make apps become "STARTED". So , I still cannot verify if the bug only exists on the master branch. Tested steps with the "dev/typeless" branch used CLI: 1. rhc-create-app -a wordpress -t php-5.3 2. rhc-ctl-app -a wordpress -e add-mysql-5.1 3. cd wordpress git remote add upstream -m dev/typeless git://github.com/openshift/wordpress-example.git git pull -s recursive -X theirs upstream dev/typeless 4. git push 5. Check the app's url http://wordpress-$yournamespace.rhcloud.com Tested steps with the "master" branch used CLI: 1. rhc-create-app -a wordpress -t php-5.3 2. rhc-ctl-app -a wordpress -e add-mysql-5.1 3. cd wordpress git remote add upstream -m master git://github.com/openshift/wordpress-example.git git pull -s recursive -X theirs upstream master 4. git push 5. Check the app's url http://wordpress-$yournamespace.rhcloud.com
hoping to get to QA to today
Tested this issue on devenv_2360, the templates are still using master branch now according to the following log of mcollective: I, [2012-10-22T01:51:16.823994 #1028] INFO -- : openshift.rb:316:in `cartridge_do_action' cartridge_do_action validation = jbossas-7 configure 'kitsdf22' 'dev23601' '50697ba83a23465993b952e3a890622a' 'git://github.com/openshift/kitchensink-example.git' I, [2012-10-22T01:51:16.824714 #1028] INFO -- : openshift.rb:348:in `cartridge_do_action' cartridge_do_action executing /usr/bin/runcon -l s0-s0:c0.c1023 /usr/libexec/openshift/cartridges/jbossas-7/info/hooks/configure 'kitsdf22' 'dev23601' '50697ba83a23465993b952e3a890622a' 'git://github.com/openshift/kitchensink-example.git' 2>&1 Will test it again when the templates are ready for testing.
The templates are now testable in devenv_2362+. You should notice duplicate template options from the web console which have a special in their description indicating they are for "development". These development templates are configured to point to forks of the templates compatible with the new typeless gears code. Please take special care to test using the development templates. You can ensure they are being used by monitoring the mcollective logs during application creation. The template Git source should be cloned from the "ironcladlou" user's repositories rather than "openshift".
Tested this issue on devenv_2363, found that the rubyonrails and spring apps still stayed on DEPLOYING status for more than an hour.And got 503 error when visit their app urls. Steps to test: 1. Go to website and login 2. Create the spring app used the development templates.Check the /var/log/mcollective.log at the same time. The log file shown as follows: ************************************************************************* I, [2012-10-23T03:38:52.765893 #1401] INFO -- : openshift.rb:316:in `cartridge_do_action' cartridge_do_action validation = jbosseap-6.0 configure 'springtemp2' '1212121212121212' 'c3e6a59c253a4dd396b4bc3c7694d712' 'git://github.com/ironcladlou/spring-eap6-quickstart.git' I, [2012-10-23T03:38:52.782394 #1401] INFO -- : openshift.rb:348:in `cartridge_do_action' cartridge_do_action executing /usr/bin/runcon -l s0-s0:c0.c1023 /usr/libexec/openshift/cartridges/jbosseap-6.0/info/hooks/configure 'springtemp2' '1212121212121212' 'c3e6a59c253a4dd396b4bc3c7694d712' 'git://github.com/ironcladlou/spring-eap6-quickstart.git' 2>&1 ************************************************************************* 3.Check the status of the app. Visit the app url. 4.Wait for a while , and check the status and app url again. Tested all development templates types , and found that the wordpress, kitchensink,django,drupal,and cakephp can turn to STARTED status after a while, and their urls can be accessed successfully. But the rubyonrails and spring apps stayed on DEPLOYING status for too long time.
All template related issues should be resolved by: https://github.com/openshift/li/pull/526 https://github.com/openshift/origin-server/pull/754
Tested this issue on devenv_2384, and all the development template types' apps (including Spring and rubyonrails)can turn to STARTED status after a while,and their urls can be accessed successfully. The step to verify is same with the comments in bug 863936. ------------------------------------------------------------------- Steps: 1. Co to website and create spring app using development template 2. tailf /var/log/mcollective.log Result: tailf /var/log/mcollective.log: @action="cartridge_do", @agent="openshift", @caller="uid=494", @data= {:cartridge=>"jbosseap-6.0", :process_results=>true, :args=> "'spring' '2384t1' '53fbe9f5b7ef4e289e7d7859be32bb3f' 'git://github.com/ironcladlou/spring-eap6-quickstart.git'", :action=>"configure"}, @sender="ip-10-114-38-241", @time=1351220211, @uniqid="2d71e1def22ec72373375b2c8a2419ca"> Access app via browsers, app is temporarily unavailable after creation, but they will become available after a short while. So is the case with ruby on rails template. So move this bug to verified now.