Bug 1132292 - [JBoss-AMQ]Can't create the 2nd JBoss-AMQ cartridge
Summary: [JBoss-AMQ]Can't create the 2nd JBoss-AMQ cartridge
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Fuse
Version: 2.1.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Aileen
QA Contact: David Simansky
URL:
Whiteboard:
Depends On: 1124700
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-21 05:29 UTC by xjia
Modified: 2016-10-28 13:55 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-28 13:55:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description xjia 2014-08-21 05:29:39 UTC
Description of problem:
Jboss-AMQ cartridge doesn't include OPENSHIFT_AMQ_PASSWORD env variable currently. But fail to create amq apps continuously with OPENSHIFT_AMQ_PASSWORD env variable. 

Version-Release number of selected component (if applicable):
openshift-origin-cartridge-amq-6.1.0.redhat.389-3.el6op.noarch.rpm

How reproducible:
always

Steps to Reproduce:
1. rhc app create amq amq -e OPENSHIFT_AMQ_PASSWORD=test1
2. rhc app create amq2 amq -e OPENSHIFT_AMQ_PASSWORD=test1

Actual results:
2. 
[root@broker ~]# rhc app create amq2 amq -e OPENSHIFT_AMQ_PASSWORD=test1 
Using amq-1.0.0 (JBoss AMQ 6.1.0 EA) for 'amq'

Application Options
-------------------
Domain:                xuan
Cartridges:            amq-1.0.0
Gear Size:             default
Scaling:               no
Environment Variables: OPENSHIFT_AMQ_PASSWORD=test1

Creating application 'amq2' ... 
CART_PROPERTIES: username=admin
CART_PROPERTIES: password=wvSD1-pmus8v
client: JAVA_HOME not set; results may vary
Command not found: fabric:mq-create
rm: cannot remove `container/etc/org.apache.aries.transaction.cfg': No such file or directory
rm: cannot remove `container/etc/org.apache.servicemix.jbi.cfg': No such file or directory
rm: cannot remove `container/etc/org.apache.servicemix.nmr.cfg': No such file or directory
3952 [pool-2-thread-4] WARN org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at [/127.13.92.1:23101, DSA,
2b:b3:82:40:19:e1:f2:9c:1b:6c:06:4d:d0:f9:74:1f] presented unverified {} key: {}

Expected results:
2. Sucessfully

Additional info:
N/A

Comment 2 xjia 2014-08-21 10:12:48 UTC
Sorry, it's no business with env variable.  The 2nd amq cartridge can't be created.
[root@broker ~]# rhc app create amq1  amq 
Using amq-1.0.0 (JBoss AMQ 6.1.0 EA) for 'amq'

Application Options
-------------------
Domain:     xuan
Cartridges: amq-1.0.0
Gear Size:  default
Scaling:    no

Creating application 'amq1' ... Started Fuse cart
done

  Setting up fabric container
Generating password
Configuring zookeeper server

Fuse created successfully.  Please make note of these credentials:

   Console URL:        http://amq1-xuan.fuse-breaker.com
   Console User:       admin
   Console Password:   EaaduP-P7BsK
   Zookeeper URL:      amq1-xuan.fuse-breaker.com:39971
   Zookeeper Password: EaaduP-P7BsK
   SSL self signed certificate: 
-----BEGIN CERTIFICATE-----
MIIE6TCCAtGgAwIBAgIENiv/AzANBgkqhkiG9w0BAQsFADAlMSMwIQYDVQQDExphbXExLXh1YW4u
ZnVzZS1icmVha2VyLmNvbTAeFw0xNDA4MjExMDA3NThaFw0yNDA4MTgxMDA3NThaMCUxIzAhBgNV
BAMTGmFtcTEteHVhbi5mdXNlLWJyZWFrZXIuY29tMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIIC
CgKCAgEAs02qGwFrkpKlyRaL2rgzcdXHlKZHkCtKCyg7+DcX9UaTBzpRj89OJ5vyVH7jCzVYWWuV
C5al0yXuucXliw9Js9JB/ncd0MeezVx/8spfI4BckTr3qyL45Pzg9wEJVcmoSQeraXQMIltWDHU+
9Sj28Gb07QireRYyaEYqrzIyIsD13BFSy+fqkh6VVFtjJmYffQWfKEKzTUE+iGpF2VbHJCFSDIvF
rdusQ4FiCH8LYXUxt1MHreDHceT8WdVA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mYICc9gaB8Qbcgmc1A43jICP4uIh5jXM5lZw71hjWxnomx
8OBTyZVSlYZZdfKfj2gNFUKBZ4uFigL3aBfjR+V6gUCidq051/RbwxFeQOKPrp0MBtehYX82isDp
+QvXYh2ISw==
-----END CERTIFICATE-----

   The Fuse Management Console will be available shortly at: http://amq1-xuan.fuse-breaker.com

Cartridge amq exposed URL tls:amq1-xuan.fuse-breaker.com:2303
Cartridge amq exposed URL tls:amq1-xuan.fuse-breaker.com:2304
Cartridge amq exposed URL tls:amq1-xuan.fuse-breaker.com:2305
Cartridge amq exposed URL tls:amq1-xuan.fuse-breaker.com:2306
Cartridge amq exposed URL tls:amq1-xuan.fuse-breaker.com:2307
Cartridge amq exposed URL tls:amq1-xuan.fuse-breaker.com:2308
Cartridge amq exposed URL tls:amq1-xuan.fuse-breaker.com:2309
Cartridge amq exposed URL tls:amq1-xuan.fuse-breaker.com:2310
Fabric( 17410) is started successfully

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

Initialized empty Git repository in /root/amq1/.git/
The authenticity of host 'amq1-xuan.fuse-breaker.com (10.12.0.91)' can't be established.
RSA key fingerprint is 4a:ed:14:d3:17:e8:51:86:db:f6:6a:b4:3f:05:8e:95.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'amq1-xuan.fuse-breaker.com' (RSA) to the list of known hosts.

Your application 'amq1' is now available.

  URL:        http://amq1-xuan.fuse-breaker.com/
  SSH to:     53f5c4edab318a87840000a8.com
  Git remote: ssh://53f5c4edab318a87840000a8.com/~/git/amq1.git/
  Cloned to:  /root/amq1

Run 'rhc show-app amq1' for more details about your app.
[root@broker ~]# rhc app create amq2 famq
Short Name Full name
========== =========
diy-0.1    Do-It-Yourself 0.1
amq-1.0.0  JBoss AMQ 6.1.0 EA
fuse-1.0.0 JBoss Fuse 6.1.0 EA

There are no cartridges that match 'famq'.
[root@broker ~]# rhc app create amq2 amq
Using amq-1.0.0 (JBoss AMQ 6.1.0 EA) for 'amq'

Application Options
-------------------
Domain:     xuan
Cartridges: amq-1.0.0
Gear Size:  default
Scaling:    no

Creating application 'amq2' ... 
CART_PROPERTIES: username=admin
CART_PROPERTIES: password=EaaduP-P7BsK
client: JAVA_HOME not set; results may vary
Command not found: fabric:mq-create
rm: cannot remove `container/etc/org.apache.aries.transaction.cfg': No such file or directory
rm: cannot remove `container/etc/org.apache.servicemix.jbi.cfg': No such file or directory
rm: cannot remove `container/etc/org.apache.servicemix.nmr.cfg': No such file or directory
44987 [pool-2-thread-1] WARN org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at [/127.5.118.1:23101, DSA,
9f:d5:47:82:1f:04:9e:6b:f2:b1:8e:93:cd:4f:d7:5c] presented unverified {} key: {}

Comment 4 Aileen 2014-08-21 16:13:59 UTC
Needs to be re tested once 1124700 is fixed.

Comment 5 xjia 2014-08-27 09:34:49 UTC
Test against version:openshift-origin-cartridge-amq-6.1.0.redhat.390-2.el6op.noarch.rpm

This issue still exists.

Comment 6 xjia 2014-09-01 09:58:40 UTC
Could you move it 'ON_QA'? Thanks
Seem it has been fixed.
Version:
openshift-origin-cartridge-amq-6.1.0.redhat.391-1.el6op.noarch.rpm

Verify:
[root@broker ~]# rhc apps 
amq @ http://amq-fuse.fuse-vsphere.com/ (uuid: 54043c451018d6cc980000f0)
------------------------------------------------------------------------
  Domain:     fuse
  Created:    5:28 PM
  Gears:      1 (defaults to xpaas)
  Git URL:    ssh://54043c451018d6cc980000f0.com/~/git/amq.git/
  SSH:        54043c451018d6cc980000f0.com
  Deployment: auto (on git push)

  amq-1.0.0 (JBoss AMQ 6.1.0 EA)
  ------------------------------
    Gears: 1 xpaas

amq1 @ http://amq1-fuse.fuse-vsphere.com/ (uuid: 54043f5a1018d6cc9800011c)
--------------------------------------------------------------------------
  Domain:     fuse
  Created:    5:41 PM
  Gears:      1 (defaults to xpaas)
  Git URL:    ssh://54043f5a1018d6cc9800011c.com/~/git/amq1.git/
  SSH:        54043f5a1018d6cc9800011c.com
  Deployment: auto (on git push)

  amq-1.0.0 (JBoss AMQ 6.1.0 EA)
  ------------------------------
    Gears: 1 xpaas

amq2 @ http://amq2-fuse.fuse-vsphere.com/ (uuid: 54043fad1018d6cc98000131)
--------------------------------------------------------------------------
  Domain:     fuse
  Created:    5:43 PM
  Gears:      1 (defaults to xpaas)
  Git URL:    ssh://54043fad1018d6cc98000131.com/~/git/amq2.git/
  SSH:        54043fad1018d6cc98000131.com
  Deployment: auto (on git push)

  amq-1.0.0 (JBoss AMQ 6.1.0 EA)
  ------------------------------
    Gears: 1 xpaas

amq3 @ http://amq3-fuse.fuse-vsphere.com/ (uuid: 540440041018d6cc98000146)
--------------------------------------------------------------------------
  Domain:     fuse
  Created:    5:44 PM
  Gears:      1 (defaults to xpaas)
  Git URL:    ssh://540440041018d6cc98000146.com/~/git/amq3.git/
  SSH:        540440041018d6cc98000146.com
  Deployment: auto (on git push)

  amq-1.0.0 (JBoss AMQ 6.1.0 EA)
  ------------------------------
    Gears: 1 xpaas

amq4 @ http://amq4-fuse.fuse-vsphere.com/ (uuid: 540440671018d6cc9800015b)
--------------------------------------------------------------------------
  Domain:     fuse
  Created:    5:46 PM
  Gears:      1 (defaults to xpaas)
  Git URL:    ssh://540440671018d6cc9800015b.com/~/git/amq4.git/
  SSH:        540440671018d6cc9800015b.com
  Deployment: auto (on git push)

  amq-1.0.0 (JBoss AMQ 6.1.0 EA)
  ------------------------------
    Gears: 1 xpaas

fuse @ http://fuse-fuse.fuse-vsphere.com/ (uuid: 540440f71018d6cc98000170)
--------------------------------------------------------------------------
  Domain:     fuse
  Created:    5:48 PM
  Gears:      1 (defaults to xpaas)
  Git URL:    ssh://540440f71018d6cc98000170.com/~/git/fuse.git/
  SSH:        540440f71018d6cc98000170.com
  Deployment: auto (on git push)

  fuse-1.0.0 (JBoss Fuse 6.1.0 EA)
  --------------------------------
    Gears: 1 xpaas

fuse1 @ http://fuse1-fuse.fuse-vsphere.com/ (uuid: 540441e21018d6cc98000185)
----------------------------------------------------------------------------
  Domain:     fuse
  Created:    5:52 PM
  Gears:      1 (defaults to xpaas)
  Git URL:    ssh://540441e21018d6cc98000185.com/~/git/fuse1.git/
  SSH:        540441e21018d6cc98000185.com
  Deployment: auto (on git push)

  fuse-1.0.0 (JBoss Fuse 6.1.0 EA)
  --------------------------------
    Gears: 1 xpaas

You have access to 7 applications.

Comment 7 xjia 2014-09-01 10:19:16 UTC
Verify this bug as comment#6


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