Uploaded image for project: 'Stratos'
  1. Stratos
  2. STRATOS-1339

nested grouping fails to deploy with unequal cartridge types

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.0 Beta
    • Fix Version/s: 4.1.0 RC3
    • Component/s: Stratos Manager
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              reka Reka
              Reporter:
              meppel Martin Eppel
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: