Bug 910616

Summary: unable to create a drupal app from any environment.
Product: OKD Reporter: Peter Ruan <pruan>
Component: PodAssignee: Dan McPherson <dmcphers>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.xCC: jhonce, jhou, sannam, yujzhang
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: devenv_2830 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-15 14:09:33 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:
Attachments:
Description Flags
drupal problem none

Description Peter Ruan 2013-02-13 01:07:37 UTC
Created attachment 696685 [details]
drupal problem

Description of problem:
I'm unable to create a drupal app from the web in any of the environment.  

Version-Release number of selected component (if applicable):
all environments

How reproducible:
always.

Steps to Reproduce:
1. try to create a drupal app using the template.
2.
3.
  
Actual results:
    Node execution failure (invalid exit code from node). If the problem persists please contact Red Hat support.

Expected results:


Additional info:

Comment 1 Dan McPherson 2013-02-14 05:02:25 UTC
*** Bug 910947 has been marked as a duplicate of this bug. ***

Comment 2 Wesley Hearn 2013-02-14 14:56:51 UTC
I just hit this with the refreshed INT.

here is the mcollective log from the node

------)
I, [2013-02-14T09:50:06.671690 #1157]  INFO -- : openshift.rb:555:in `cartridge_do_action' cartridge_do_action call / action: cartridge_do, agent=openshift, data={:cartridge=>"openshift-origin-node",
 :action=>"app-create",
 :args=>
  {"--with-app-uuid"=>"511cf99c6cec0ea0ae000019",
   "--with-app-name"=>"drupal1",
   "--with-container-uuid"=>"511cf99c6cec0ea0ae000019",
   "--with-container-name"=>"drupal1",
   "--with-namespace"=>"whearnint",
   "--with-uid"=>1003},
 :process_results=>true}

I, [2013-02-14T09:50:06.672169 #1157]  INFO -- : openshift.rb:556:in `cartridge_do_action' cartridge_do_action validation = openshift-origin-node app-create {"--with-app-uuid"=>"511cf99c6cec0ea0ae000019", "--with-app-name"=>"drupal1", "--with-container-uuid"=>"511cf99c6cec0ea0ae000019", "--with-container-name"=>"drupal1", "--with-namespace"=>"whearnint", "--with-uid"=>1003}
I, [2013-02-14T09:50:06.672422 #1157]  INFO -- : openshift.rb:30:in `oo_app_create' COMMAND: oo-app-create
I, [2013-02-14T09:50:07.869262 #1157]  INFO -- : openshift.rb:583:in `cartridge_do_action' cartridge_do_action (0)
------

------)
I, [2013-02-14T09:50:13.151552 #1157]  INFO -- : openshift.rb:555:in `cartridge_do_action' cartridge_do_action call / action: cartridge_do, agent=openshift, data={:cartridge=>"embedded/cron-1.4",
 :action=>"configure",
 :args=>"'drupal1' 'whearnint' '511cf99c6cec0ea0ae000019'",
 :process_results=>true}

I, [2013-02-14T09:50:13.152062 #1157]  INFO -- : openshift.rb:556:in `cartridge_do_action' cartridge_do_action validation = embedded/cron-1.4 configure 'drupal1' 'whearnint' '511cf99c6cec0ea0ae000019'
I, [2013-02-14T09:50:13.152504 #1157]  INFO -- : openshift.rb:537:in `handle_cartridge_action' handle_cartridge_action executing /usr/bin/runcon -l s0-s0:c0.c1023 /usr/libexec/openshift/cartridges/embedded/cron-1.4/info/hooks/configure 'drupal1' 'whearnint' '511cf99c6cec0ea0ae000019' 2>&1
I, [2013-02-14T09:50:13.210397 #1157]  INFO -- : openshift.rb:526:in `complete_process_gracefully' ERROR: (127)
------
/usr/libexec/openshift/cartridges/abstract/info/lib/util: line 1022: cat: command not found
/usr/libexec/openshift/cartridges/abstract/info/lib/util: line 1023: cat: command not found

------)
I, [2013-02-14T09:50:13.210622 #1157]  INFO -- : openshift.rb:585:in `cartridge_do_action' cartridge_do_action failed (127)
------
/usr/libexec/openshift/cartridges/abstract/info/lib/util: line 1022: cat: command not found
/usr/libexec/openshift/cartridges/abstract/info/lib/util: line 1023: cat: command not found

------)
I, [2013-02-14T09:50:13.300080 #1157]  INFO -- : openshift.rb:555:in `cartridge_do_action' cartridge_do_action call / action: cartridge_do, agent=openshift, data={:cartridge=>"embedded/cron-1.4",
 :action=>"deconfigure",
 :args=>"'drupal1' 'whearnint' '511cf99c6cec0ea0ae000019'",
 :process_results=>true}

I, [2013-02-14T09:50:13.300249 #1157]  INFO -- : openshift.rb:556:in `cartridge_do_action' cartridge_do_action validation = embedded/cron-1.4 deconfigure 'drupal1' 'whearnint' '511cf99c6cec0ea0ae000019'
I, [2013-02-14T09:50:13.300638 #1157]  INFO -- : openshift.rb:537:in `handle_cartridge_action' handle_cartridge_action executing /usr/bin/runcon -l s0-s0:c0.c1023 /usr/libexec/openshift/cartridges/embedded/cron-1.4/info/hooks/deconfigure 'drupal1' 'whearnint' '511cf99c6cec0ea0ae000019' 2>&1
I, [2013-02-14T09:50:13.347845 #1157]  INFO -- : openshift.rb:524:in `complete_process_gracefully' (0)
------

------)
I, [2013-02-14T09:50:13.348072 #1157]  INFO -- : openshift.rb:583:in `cartridge_do_action' cartridge_do_action (0)
------

------)
I, [2013-02-14T09:50:18.688564 #1157]  INFO -- : openshift.rb:555:in `cartridge_do_action' cartridge_do_action call / action: cartridge_do, agent=openshift, data={:cartridge=>"openshift-origin-node",
 :action=>"app-destroy",
 :args=>
  {"--with-app-uuid"=>"511cf99c6cec0ea0ae000019",
   "--with-app-name"=>"drupal1",
   "--with-container-uuid"=>"511cf99c6cec0ea0ae000019",
   "--with-container-name"=>"drupal1",
   "--with-namespace"=>"whearnint"},
 :process_results=>true}

I, [2013-02-14T09:50:18.688762 #1157]  INFO -- : openshift.rb:556:in `cartridge_do_action' cartridge_do_action validation = openshift-origin-node app-destroy {"--with-app-uuid"=>"511cf99c6cec0ea0ae000019", "--with-app-name"=>"drupal1", "--with-container-uuid"=>"511cf99c6cec0ea0ae000019", "--with-container-name"=>"drupal1", "--with-namespace"=>"whearnint"}
I, [2013-02-14T09:50:18.689081 #1157]  INFO -- : openshift.rb:60:in `oo_app_destroy' COMMAND: oo-app-destroy
I, [2013-02-14T09:50:19.918107 #1157]  INFO -- : openshift.rb:583:in `cartridge_do_action' cartridge_do_action (0)
------

------)

Comment 3 Jhon Honce 2013-02-14 16:30:48 UTC
Note in log in comment#2 embedded/cron cartridge is being added as first cartridge on the gear. This is currently not supported.

Comment 4 Dan McPherson 2013-02-15 04:17:20 UTC
Lowering severity since drupal quickstart has been changed back to avoid the issue.

Comment 6 Peter Ruan 2013-02-19 23:58:01 UTC
PROD works, but still can't deplay drupal in STG.

Comment 7 Dan McPherson 2013-02-20 01:14:58 UTC
This fix isn't in stg.

Comment 8 Yujie Zhang 2013-02-21 10:47:14 UTC
On devenv environment, templates including durpal can not be added to web console for the block bug 912286, will test the issue when that bug is fixed.

Comment 9 Jianwei Hou 2013-02-21 11:16:32 UTC
I can create from client on devenv_2840

rhc app create drupal php-5.3 mysql-5.1 --from-code git://github.com/openshift/drupal-example.git

Comment 10 Yujie Zhang 2013-02-25 07:02:24 UTC
(In reply to comment #8)
Tested this on devenv_2853, drupal7 appliation can be created from web console successfully, so verify this bug.