Bug 1035605

Summary: Error message "Failed to start Zend Server Java Bridge daemon" is shown when creating zend-6.1 application
Product: OpenShift Online Reporter: Qiushui Zhang <qiuzhang>
Component: ImageAssignee: Vojtech Vitek <vvitek>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: david.l, hripps, lzhang, vvitek, 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: 2014-01-30 00:51:16 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:
Attachments:
Description Flags
process list and node log none

Description Qiushui Zhang 2013-11-28 08:07:35 UTC
Created attachment 830065 [details]
process list and node log

Description of problem:
When creating zend-6.1 application, error message "Failed to start Zend Server Java Bridge daemon" is seen.

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

How reproducible:
always

Steps to Reproduce:
1. Create a zend-6.1 application
rhc app create zd2 zend-6.1
2. Check daemon on the app
3.

Actual results:
Error message "Failed to start Zend Server Java Bridge daemon" is seen.

Expected results:
No error message is shown. The app is created successfully.

Additional info:
1. "ps -ef" output and node logs are added to the attachment.
2. Zend-5.6 works OK.

Comment 1 Vojtech Vitek 2013-11-28 16:44:40 UTC
https://github.com/openshift/li/pull/2198

Comment 2 Lei Zhang 2013-11-29 08:52:36 UTC
Test on devenv_4083, When start zend-6.1 app from stop, also have this error message "Error occured while processing event 'start':Failed to start Zend Server Java Bridge daemon"


[rayzhang@ray Work]$ rhc app show --state -a myzend61
Cartridge zend-6.1 is started
[rayzhang@ray Work]$ rhc app stop -a myzend61
RESULT:
myzend61 stopped
[rayzhang@ray Work]$ rhc app start -a myzend61
Error occured while processing event 'start':Failed to start Zend Server Java Bridge daemon

Comment 4 David Lowes - Zend 2013-12-01 13:59:15 UTC
I fixed this issue in my local development environment. It should be resolved once we update the binary package.

Comment 5 Qiushui Zhang 2013-12-02 03:36:00 UTC
Tested on devenv_4084.

[openshift@dhcp-10-143 tmp]$ rac zd zend-6.1
Application Options
-------------------
Domain:     qiuzhang
Cartridges: zend-6.1
Gear Size:  default
Scaling:    no

Creating application 'zd' ... done

  Note: You should set password for the Zend Server Console at: https://zd-qiuzhang.dev.rhcloud.com/ZendServer
Zend Server 6 started successfully

Waiting for your DNS name to be available ... done

Cloning into 'zd'...
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@       WARNING: POSSIBLE DNS SPOOFING DETECTED!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
The RSA host key for zd-qiuzhang.dev.rhcloud.com has changed,
and the key for the corresponding IP address 184.73.23.14
is unchanged. This could either mean that
DNS SPOOFING is happening or the IP address for the host
and its host key have changed at the same time.
Offending key for IP in /home/openshift/.ssh/known_hosts:429
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
dc:7e:20:1c:9d:37:de:b3:94:3c:2a:ff:c1:bf:31:4a.
Please contact your system administrator.
Add correct host key in /home/openshift/.ssh/known_hosts to get rid of this message.
Offending RSA key in /home/openshift/.ssh/known_hosts:135
Password authentication is disabled to avoid man-in-the-middle attacks.
Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks.

Your application 'zd' is now available.

  URL:        http://zd-qiuzhang.dev.rhcloud.com/
  SSH to:     529bff06d8b6cecec500000a.rhcloud.com
  Git remote: ssh://529bff06d8b6cecec500000a.rhcloud.com/~/git/zd.git/
  Cloned to:  /home/openshift/tmp/zd

Run 'rhc show-app zd' for more details about your app.

[openshift@dhcp-10-143 tmp]$ rhc app stop zd; rhc app start zd
RESULT:
zd stopped
RESULT:
zd started


Mark the bug as verified.

Comment 6 Vojtech Vitek 2013-12-02 09:27:01 UTC
@David, I already fixed this issue in the cartridge configuration files. Is there any other issue in the ZS binaries? How can we reproduce that?

Comment 8 David Lowes - Zend 2016-08-01 11:35:23 UTC
This issue is no longer relevant since the current version of Openshift is no longer maintained.