[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Origin V4 Install with oo-install : Unable to create application



Please find the platform logs as well :
November 11 07:32:37 INFO Creating cartridge directory 5461bb7acd3240b115000062/php
November 11 07:32:37 INFO Shell command '/bin/cp -ad /var/lib/openshift/.cartridge_repository/redhat-php/0.0.20/metadata /var/lib/openshift/.cartridge_repository/redhat-php/0.0.20/COPYRIGHT /var/lib/openshift/.cartridge_repository/redhat-php/0.0.20/README.md /var/lib/openshift/.cartridge_repository/redhat-php/0.0.20/bin /var/lib/openshift/.cartridge_repository/redhat-php/0.0.20/LICENSE /var/lib/openshift/.cartridge_repository/redhat-php/0.0.20/env /var/lib/openshift/5461bb7acd3240b115000062/php' ran. rc=0 out=
November 11 07:32:37 INFO Cartridge php recorded as primary within gear 5461bb7acd3240b115000062
November 11 07:32:38 INFO Created cartridge directory 5461bb7acd3240b115000062/php
November 11 07:32:38 INFO Creating 1 private endpoints for 5461bb7acd3240b115000062/php
November 11 07:32:38 INFO IPs already allocated for 8080 in gear 5461bb7acd3240b115000062: []
November 11 07:32:38 INFO Created private endpoint for cart php in gear 5461bb7acd3240b115000062: [OPENSHIFT_PHP_IP=127.4.121.129, OPENSHIFT_PHP_PORT=8080]
November 11 07:32:42 INFO Shell command '/usr/sbin/lsof -i @127.4.121.129:8080' ran. rc=0 out=
November 11 07:32:45 INFO Shell command '/usr/sbin/lsof -sTCP:^CLOSE_WAIT,^FIN_WAIT1,^FIN_WAIT2 -i @127.4.121.129:8080' ran. rc=0 out=
November 11 07:32:45 ERROR Unexpected error during configure: Failed to create the following private endpoints due to existing process bindings: OPENSHIFT_PHP_IP(8080)=127.4.121.129; (RuntimeError)
  /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.26.8.1/lib/openshift-origin-node/model/v2_cart_model.rb:939:in `create_private_endpoints'
  /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.26.8.1/lib/openshift-origin-node/model/v2_cart_model.rb:281:in `block in configure'
  /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.26.8.1/lib/openshift-origin-node/utils/cgroups.rb:188:in `call'
  /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.26.8.1/lib/openshift-origin-node/utils/cgroups.rb:188:in `apply_profile'
  /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.26.8.1/lib/openshift-origin-node/utils/cgroups.rb:106:in `block (2 levels) in <class:Cgroups>'
  /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.26.8.1/lib/openshift-origin-node/model/v2_cart_model.rb:267:in `configure'
  /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.26.8.1/lib/openshift-origin-node/model/application_container_ext/cartridge_actions.rb:29:in `configure'
  /opt/rh/ruby193/root/usr/libexec/mcollective/mcollective/agent/openshift.rb:909:in `block in oo_configure'
  /opt/rh/ruby193/root/usr/libexec/mcollective/mcollective/agent/openshift.rb:340:in `with_container_from_args'
  /opt/rh/ruby193/root/usr/libexec/mcollective/mcollective/agent/openshift.rb:908:in `oo_configure'
  /opt/rh/ruby193/root/usr/libexec/mcollective/mcollective/agent/openshift.rb:174:in `execute_action'
  /opt/rh/ruby193/root/usr/libexec/mcollective/mcollective/agent/openshift.rb:142:in `cartridge_do_action'
  /opt/rh/ruby193/root/usr/share/ruby/mcollective/rpc/agent.rb:86:in `handlemsg'
  /opt/rh/ruby193/root/usr/share/ruby/mcollective/agents.rb:126:in `block (2 levels) in dispatch'
  /opt/rh/ruby193/root/usr/share/ruby/timeout.rb:69:in `timeout'
  /opt/rh/ruby193/root/usr/share/ruby/mcollective/agents.rb:125:in `block in dispatch'
November 11 07:32:45 INFO Shell command 'quota --always-resolve -w 5461bb7acd3240b115000062' ran. rc=0 out=Disk quotas for user 5461bb7acd3240b115000062 (uid 2291):
     Filesystem  blocks   quota   limit   grace   files   quota   limit   grace
      /dev/xvde     136       0 1048576              40       0   80000

~shabs~


On Tue, Nov 11, 2014 at 12:52 PM, Shabna M <shabsrh gmail com> wrote:
Hi Harrison

To help you with more information ,I tried with  a fresh Install today :CentOS 6.5 - One Broker Host +One Node Host



***********************Instal*****************************

ran oo- install --->  Got Completed successfully without errors.

*****************************Test******************
Steps to reproduce error

1. Accessed Broker console ---> Origin Console  came without any issues  , Default cartridges were listed ,did not install any Java cartridge

2. Created an application with PHP web cartridge ----> Successfully created.

3.  Created an application with Ruby cartridge ---> Successfully created

4.  Added Mysql cartrdige to PHP application created in step 2  --->Successfully created.

5. Try to create another application with PHP -->Fails with error  :
  • Unexpected error: Failed to create the following private endpoints due to existing process bindings: OPENSHIFT_PHP_IP(8080)=127.8.163.1;
6. All subsequent application creation fails !!

So in this fresh install  Step 4 triggered this action  ie addition of MySQL  - Not very convince if this is the culprit ,

But no additional post install step done ,hence something amiss wrt V4 install .

I guess ,cartridge developers may have pointers ???

Thanks a lot for support 
Shabna






On Tue, Nov 11, 2014 at 9:52 AM, Shabna M <shabsrh gmail com> wrote:
Thanks for the response !
Nope,Its not just for Java based app.All kind of applications give the same issue.

I had tried a fresh install without installing any of Java based cartridges,but hits the same kind of error with PHP and all quick starts.

~shabs~

On Mon, Nov 10, 2014 at 5:19 PM, N. Harrison Ripps <nhr redhat com> wrote:
Hey Shabna--

On 11/10/2014 06:46 AM, Shabna M wrote:
Hi All


Have been struggling to get the Origin V4 Install up and running -The
Set up tried is 1 Broker Host + 1  Node Host ( ec2 - CentOs6.4 )

Has anyone got  Origin V4 working  with Broker and Node in separate
host. All in one node does not cause any issues.

The installation runs smooth,the diagnostics all run fine ,The console
comes up

but while attempting to create app - it throws the error :

  * Unexpected error: Failed to create the following private endpoints
    due to existing process bindings:
    OPENSHIFT_JBOSSEWS_IP(8080)=127.5.140.1;OPENSHIFT_JBOSSEWS_IP(8787)=127.5.140.1;



I am not able to find any clues after a lot of debugging and trial and
error. Had earlier worked with v2,v3 but never faced this-

Sorry to hear that you are running into trouble with Origin M4.

It looks like you are trying to start up a Java-based app. Have you tried, as a test of the system, creating any other kind of application? It would be helpful to figure out whether the issue is the system as a whole or just the Java configuration.

--Harrison



Looking forward for some pointers from people who have worked with V4.

Even without any post install step,with default available cartridges ,it
gives this error which makes me feel something is going wrong during
installation process itself.


Thanks for the Support!
shabs




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]