[ 
https://issues.apache.org/jira/browse/STRATOS-1339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Eppel updated STRATOS-1339:
----------------------------------
    Attachment: multiple-groups-no-startup-G1-G2-G3-unequal-cartridge-types.zip

> nested grouping fails to deploy with unequal cartridge types
> ------------------------------------------------------------
>
>                 Key: STRATOS-1339
>                 URL: https://issues.apache.org/jira/browse/STRATOS-1339
>             Project: Stratos
>          Issue Type: Bug
>          Components: Stratos Manager
>    Affects Versions: 4.1.0 Beta
>            Reporter: Martin Eppel
>         Attachments: 
> multiple-groups-no-startup-G1-G2-G3-unequal-cartridge-types.zip
>
>
> When I define a parent group (no cartridges) and 2 nested children groups, 
> each containing cartridges with a different types I see an exception that a 
> cartridge group is not defined in the parent  group :
> TID: [0] [STRATOS] [2015-04-22 20:46:58,495] ERROR 
> {org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver} -  Cartridge c3 not 
> defined in cartridge group: [application] subscription-G1-G2-G3 
> [cartridge-group-name] subscription-G1-G2-G3 [cartridge-group-alias] 
> subscription-G1-G2-G3
> java.lang.RuntimeException: Cartridge c3 not defined in cartridge group: 
> [application] subscription-G1-G2-G3 [cartridge-group-name] 
> subscription-G1-G2-G3 [cartridge-group-alias] subscription-G1-G2-G3
>       at 
> org.apache.stratos.autoscaler.applications.parser.DefaultApplicationParser.validateCartridgeGroupReference(DefaultApplicationParser.java:590)
>       at 
> org.apache.stratos.autoscaler.applications.parser.DefaultApplicationParser.parseGroups(DefaultApplicationParser.java:569)
> If I define the same cartridge types in both children groups the application 
> deploys fine (e.g. replace cartridge type c3 / c4 with c1 / c2 in group 
> “multiple-groups-no-startup-G2”, see …”working”…. Artifacts)
> I attached wso2carbon.log / cartridge-group.json and application.json files 
> and all the other artifacts  to the email.
> Also attached the artifacts (cartridge-group / application) and wso2carbon 
> log for the working case (see …“working”… ) for comparison



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to