I think this looks similar to the issue I reported a few days ago ?

From: Imesh Gunaratne [mailto:im...@apache.org]
Sent: Tuesday, April 28, 2015 10:25 AM
To: dev
Cc: Reka Thirunavukkarasu
Subject: Re: One cartridge never get activated

Udara: Do you have the complete log?

On Tue, Apr 28, 2015 at 2:40 PM, Udara Liyanage 
<ud...@wso2.com<mailto:ud...@wso2.com>> wrote:
Hi,

I deployed the below application definition in Mock IaaS. All the cartridges 
and groups get activated except for esb.

  {
    "alias": "mycompositeapp",
    "applicationId": "my-compositeapp",
    "components": {
      "groups": [
        {
          "name": "app-group",
          "alias": "my-appgroup",
          "cartridges": [
            {
              "type": "tomcat",
              "cartridgeMax": 2,
              "cartridgeMin": 1,
              "subscribableInfo": {
                "alias": "my-tomcat",
                "artifactRepository": {
                  "alias": "my-tomcat",
                  "privateRepo": true,
                  "repoPassword": "password",
                  "repoUrl": "http://xxx:10080/git/default.git";,
                  "repoUsername": "user"
                },
                "autoscalingPolicy": "autoscaling-policy-1",
                "deploymentPolicy": "deployment-policy-2"
              }
            },
            {
              "type": "php",
              "cartridgeMax": 2,
              "cartridgeMin": 1,
              "subscribableInfo": {
                "alias": "my-php",
                "artifactRepository": {

                  "privateRepo": true,
                  "repoPassword": "password",
                  "repoUrl": "http://xxx:10080/git/default.git";,
                  "repoUsername": "user"
                },
                "autoscalingPolicy": "autoscaling-policy-1",
                "deploymentPolicy": "deployment-policy-2"
              }
            }
          ],
          "groupMaxInstances": 2,
          "groupMinInstances": 1,
          "groupScalingEnabled": true
        },
        {
          "name": "db-group",
          "alias": "my-dbgroup",
          "cartridges": [
            {
              "type": "postgres",
              "cartridgeMax": 2,
              "cartridgeMin": 1,
              "subscribableInfo": {
                "alias": "my-postgres",
                "artifactRepository": {
                  "alias": "my-postgres",
                  "privateRepo": false,
                  "repoPassword": "password",
                  "repoUrl": "http://xxx:10080/git/default.git";,
                  "repoUsername": "user"
                },
                "autoscalingPolicy": "autoscaling-policy-1",
                "deploymentPolicy": "deployment-policy-2"
              }
            },
            {
              "type": "mysql",
              "cartridgeMax": 2,
              "cartridgeMin": 1,
              "subscribableInfo": {
                "alias": "my-mysql",
                "artifactRepository": {
                  "alias": "my-mysql",
                  "privateRepo": true,
                  "repoPassword": "password",
                  "repoUrl": "http://xxx:10080/git/default.git";,
                  "repoUsername": "user"
                },
                "autoscalingPolicy": "autoscaling-policy-1",
                "deploymentPolicy": "deployment-policy-2"
              }
            }
          ],
          "groupMaxInstances": 2,
          "groupMinInstances": 1,
          "groupScalingEnabled": true
        }
      ],
      "cartridges": [
        {
          "type": "esb",
          "cartridgeMax": 2,
          "cartridgeMin": 1,
          "subscribableInfo": {
            "alias": "my-esb",
            "artifactRepository": {
              "privateRepo": true,
              "repoPassword": "password",
              "repoUrl": "http://xxx:10080/git/default.git";,
              "repoUsername": "user"
            },
            "autoscalingPolicy": "autoscaling-policy-1",
            "deploymentPolicy": "deployment-policy-2"
          }
        }
      ],
      "dependencies": {
        "scalingDependants": {
          "@xsi.nil": "true"
        },
        "startupOrders": [
          "group.dbgroup,group.appgroup","group.appgroup,cartridge.my-esb"
        ],
        "terminationBehaviour": "terminate-none"
      }
    }
  }

[cid:image002.png@01D0819E.9B21BDC0]
​
--

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com<http://wso2.com/>
lean. enterprise. middleware
web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897



--
Imesh Gunaratne

Senior Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Reply via email to