Giter Club home page Giter Club logo

seacloudsplatform's People

Contributors

adriannieto avatar andreaturli avatar buccarel avatar dionysiosathanasopoulos avatar javicubo avatar kiuby88 avatar mbarrientos avatar michelafazzolari avatar micheleguerriero avatar paolocifariello avatar perezp avatar pqnet avatar rosogon avatar szenzaro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

seacloudsplatform's Issues

A node template type mismatch between ADP and AAM produces wrong DAM.  This is related to PR #234

I found an issue regarding the database types, more precisely in the ADP . As you can see in the AAM we define a web/db application made of web tier and a DB. How ever when the ADP is generated the node template type field sc_req.db is translated from:

sc_req.db:
      derived_from: seaclouds.nodes.database.mysql.MySqlNode

into:

  sc_req.db:
    derived_from: seaclouds.nodes.ControlledDynamicWebAppCluster

which is obviously wrong. Could @rosogon @perezp @PaoloCifariello @kiuby88 take a look of this? It seems to me a mismatch between modules.

AAM:

tosca_definitions_version: tosca_simple_yaml_1_0_0_wd03
description: Webchat
imports:
- tosca-normative-types:1.0.0.wd06-SNAPSHOT
topology_template:
  node_templates:
    web:
      type: sc_req.web
      properties:
        language: JAVA
        autoscale: false
        java_version:
          constraints:
          - greater_or_equal: '7'
          - less_or_equal: '7'
      requirements:
      - endpoint: db
    db:
      type: sc_req.db
      properties:
        autoscale: false
        mysql_version:
          constraints:
          - greater_or_equal: '5'
          - less_or_equal: '5'
node_types:
  sc_req.web:
    derived_from: seaclouds.nodes.webapp.jboss.JBoss7Server
    properties:
      java_support:
        constraints:
        - equal: true
      jboss_support:
        constraints:
        - equal: true
      java_version:
        constraints:
        - greater_or_equal: '7'
        - less_or_equal: '7'
  sc_req.db:
    derived_from: seaclouds.nodes.database.mysql.MySqlNode
    properties:
      mysql_support:
        constraints:
        - equal: true
      mysql_version:
        constraints:
        - greater_or_equal: '5'
        - less_or_equal: '5'
groups:
  operation_web:
    members:
    - web
    policies:
    - dependencies:
        operation_db: '29'
    - AppQoSRequirements:
        response_time:
          less_than: 150.0 ms
        availability:
          greater_than: 0.99
        cost:
          less_or_equal: 1000.0 euros_per_month
        workload:
          less_or_equal: 24000.0 req_per_min
  operation_db:
    members:
    - db
    policies:
    - dependencies: {}

ADP:

tosca_definitions_version: tosca_simple_yaml_1_0_0_wd03
description: Webchat
imports:
- tosca-normative-types:1.0.0.wd06-SNAPSHOT
topology_template:
  node_templates:
    web:
      type: sc_req.web
      properties:
        language: JAVA
        autoscale: false
        java_version:
          constraints:
          - greater_or_equal: '7'
          - less_or_equal: '7'
      requirements:
      - endpoint: db
      - host: OpenShift_Online_Europe_IE
        instancesPOC: 5
    db:
      type: sc_req.db
      properties:
        autoscale: false
        mysql_version:
          constraints:
          - greater_or_equal: '5'
          - less_or_equal: '5'
      requirements:
      - host: brightbox_Europe_GB
        instancesPOC: 2
    brightbox_Europe_GB:
      type: seaclouds.nodes.Platform.brightbox
      properties:
        mysql_version: 5.0
        continent: Europe
        country: GB
        horizontal_scaling: true
        ruby_support: true
        private_hosting: false
        resource_type: platform
        ruby_version: 1.9.3
        vertical_scaling: true
        auto_scaling: false
        mysql_support: true
        public_hosting: true
        performance: 34
        availability: 0.99561
        cost: 0.51
    OpenShift_Online_Europe_IE:
      type: seaclouds.nodes.Platform.OpenShift_Online
      properties:
        continent: Europe
        country: IE
        postgresql_support: true
        php_version: 5.4
        auto_scaling: true
        jboss_support: true
        postgresql_version: 9.2
        horizontal_scaling: true
        python_version: 3.3
        vertical_scaling: true
        jboss_version: 8.0
        php_support: true
        node_support: true
        tomcat_version: 7
        private_hosting: false
        mongodb_version: 2.4
        resource_type: platform
        node_version: 0.6
        ruby_version: 2.0
        tomcat_support: true
        mongodb_support: true
        public_hosting: true
        mysql_version: 5.5
        java_support: true
        python_support: true
        ruby_support: true
        java_version: 7
        mysql_support: true
        performance: 112
        availability: 0.99175
        cost: 0.02
node_types:
  sc_req.web:
    derived_from: seaclouds.nodes.webapp.jboss.JBoss7Server
    properties:
      java_support:
        constraints:
        - equal: true
      jboss_support:
        constraints:
        - equal: true
      java_version:
        constraints:
        - greater_or_equal: '7'
        - less_or_equal: '7'
  sc_req.db:
    derived_from: seaclouds.nodes.ControlledDynamicWebAppCluster
    properties:
      mysql_support:
        constraints:
        - equal: true
      mysql_version:
        constraints:
        - greater_or_equal: '5'
        - less_or_equal: '5'
  seaclouds.nodes.Compute:
    derived_from: tosca.nodes.Compute
    description: Custom compute
    properties:
      hardwareId:
        required: false
        type: string
groups:
  operation_web:
    members:
    - web
    policies:
    - dependencies:
        operation_db: '29'
    - AppQoSRequirements:
        response_time:
          less_than: 150.0 ms
        availability:
          greater_than: 0.99
        cost:
          less_or_equal: 1000.0 euros_per_month
        workload:
          less_or_equal: 24000.0 req_per_min
    - ExpectedQualityPOC:
        expectedAvailabilityPOC: 0.9999807278617826
        fitnessPOC: 41.24007936507937
        expectedCostPOC: 806.4000000000001
  operation_db:
    members:
    - db
    policies:
    - dependencies: {}
    - autoscaling:
        maxPoolSize: 3
        metric: $brooklyn:sensor("seaclouds.nodes.ControlledDynamicWebAppCluster", "webapp.reqs.perSec.windowed.perNode")
        minPoolSize: 1
        metricUpperBound: .inf
        type: seaclouds.policies.autoscalling.AutoscalerPolicy
        metricLowerBound: .inf

DAM:

tosca_definitions_version: tosca_simple_yaml_1_0_0_wd03
description: Webchat
imports: ['tosca-normative-types:1.0.0.wd06-SNAPSHOT']
topology_template:
  node_templates:
    web:
      type: sc_req.web
      properties:
        language: JAVA
        autoscale: false
        java_version:
          constraints:
          - {greater_or_equal: '7'}
          - {less_or_equal: '7'}
      requirements:
      - {endpoint: db}
      - {host: OpenShift_Online_Europe_IE}
    db:
      type: sc_req.db
      properties:
        autoscale: false
        mysql_version:
          constraints:
          - {greater_or_equal: '5'}
          - {less_or_equal: '5'}
      requirements:
      - {host: brightbox_Europe_GB}
    brightbox_Europe_GB:
      type: seaclouds.nodes.Platform.brightbox
      properties: {mysql_version: 5.0, continent: Europe, country: GB, horizontal_scaling: true,
        ruby_support: true, private_hosting: false, resource_type: platform, ruby_version: 1.9.3,
        vertical_scaling: true, auto_scaling: false, mysql_support: true, public_hosting: true,
        performance: 34, availability: 0.99561, cost: 0.51}
    OpenShift_Online_Europe_IE:
      type: seaclouds.nodes.Platform.OpenShift_Online
      properties: {continent: Europe, country: IE, postgresql_support: true, php_version: 5.4,
        auto_scaling: true, jboss_support: true, postgresql_version: 9.2, horizontal_scaling: true,
        python_version: 3.3, vertical_scaling: true, jboss_version: 8.0, php_support: true,
        node_support: true, tomcat_version: 7, private_hosting: false, mongodb_version: 2.4,
        resource_type: platform, node_version: 0.6, ruby_version: 2.0, tomcat_support: true,
        mongodb_support: true, public_hosting: true, mysql_version: 5.5, java_support: true,
        python_support: true, ruby_support: true, java_version: 7, mysql_support: true,
        performance: 112, availability: 0.99175, cost: 0.02}
    javaAppDc_web:
      interfaces:
        Standard: {start: 'https://s3-eu-west-1.amazonaws.com/java-app-dc-start-script/installJavaAppDc.sh'}
      properties:
        install.latch: $brooklyn:component("web").attributeWhenReady("service.isUp")
        env: {MODULE_ID: web, MODACLOUDS_TOWER4CLOUDS_INFLUXDB_IP: 52.48.12.68, MODACLOUDS_TOWER4CLOUDS_MANAGER_PORT: '8170',
          MODACLOUDS_TOWER4CLOUDS_INFLUXDB_PORT: '8170', MODACLOUDS_TOWER4CLOUDS_MANAGER_IP: 52.48.12.68}
      type: seaclouds.nodes.Datacollector
      requirements: {host: OpenShift_Online_Europe_IE}
  groups:
    operation_web:
      members: [web]
      policies:
      - dependencies: {operation_db: '29', type: seaclouds.policies.dependencies}
      - AppQoSRequirements:
          response_time: {less_than: 150.0 ms}
          availability: {greater_than: 0.99}
          cost: {less_or_equal: 1000.0 euros_per_month}
          workload: {less_or_equal: 24000.0 req_per_min}
          type: seaclouds.policies.AppQoSRequirements
      - ExpectedQualityPOC: {expectedAvailabilityPOC: 0.9999807278617826, fitnessPOC: 41.24007936507937,
          expectedCostPOC: 806.4000000000001, type: seaclouds.policies.ExpectedQualityPOC}
    operation_db:
      members: [db]
      policies:
      - dependencies: {type: seaclouds.policies.dependencies}
      - autoscaling: {maxPoolSize: 3, metric: '$brooklyn:sensor("seaclouds.nodes.ControlledDynamicWebAppCluster",
            "webapp.reqs.perSec.windowed.perNode")', minPoolSize: 1, metricUpperBound: .inf,
          type: seaclouds.policies.autoscalling.AutoscalerPolicy, metricLowerBound: .inf}
    add_brooklyn_location_OpenShift_Online_Europe_IE:
      policies:
      - {brooklyn.location: OpenShift_Online_Europe_IE}
      members: [OpenShift_Online_Europe_IE]
    add_brooklyn_location_brightbox_Europe_GB:
      policies:
      - {brooklyn.location: brightbox_Europe_GB}
      members: [brightbox_Europe_GB]
    monitoringInformation:
      policies:
      - monitoringrules.information.policy: {id: bd5fd0ec-f5ff-4297-a723-f651e3b0376a,
          type: seaclouds.policies.monitoringrules}
      members: [application]
    sla_gen_info:
      policies:
      - seaclouds.app.information: {id: 2d62234f-e70d-424f-bf1f-e2af5f34a316, type: seaclouds.policies.app.information}
      members: [application]
node_types:
  sc_req.db:
    derived_from: seaclouds.nodes.ControlledDynamicWebAppCluster
    properties:
      mysql_support:
        constraints:
        - {equal: true}
      mysql_version:
        constraints:
        - {greater_or_equal: '5'}
        - {less_or_equal: '5'}
  sc_req.web:
    derived_from: seaclouds.nodes.webapp.jboss.JBoss7Server
    properties:
      java_support:
        constraints:
        - {equal: true}
      jboss_support:
        constraints:
        - {equal: true}
      java_version:
        constraints:
        - {greater_or_equal: '7'}
        - {less_or_equal: '7'}
  seaclouds.nodes.Datacollector:
    derived_from: tosca.nodes.Root
    description: |
      A simple Datacollector
    properties:
      install_latch: {type: string, required: false}
      shell.env:
        type: map
        required: false
        entry_schema: {type: string}
    requirements:
    - {host: tosca.nodes.Compute, type: tosca.relationships.HostedOn}
template_name: seaclouds.app.bE2Da8wc
template_version: 1.0.0-SNAPSHOT

Planner tests

I open this issue to remember that there is a Plan method in the Planner in the master branch that, to the best of my knowledge, is not tested.

5 identical results in the "Optimize & Plan" step

I get 5 identical results in the "Optimize & Plan" step.

AAM:

tosca_definitions_version: tosca_simple_yaml_1_0_0_wd03
description: Softcare
imports:
- tosca-normative-types:1.0.0.wd06-SNAPSHOT
topology_template:
  node_templates:
    forum-webapp-20151021:
      type: sc_req.forum-webapp-20151021
      properties:
        language: JAVA
        autoscale: false
node_types:
  sc_req.forum-webapp-20151021:
    derived_from: seaclouds.nodes.webapp.tomcat.TomcatServer
    properties:
      java_support:
        constraints:
        - equal: true
      tomcat_support:
        constraints:
        - equal: true
      java_version:
        constraints:
        - greater_or_equal: '7'
        - less_or_equal: '8'
      resource_type:
        constraints:
        - equal: platform
groups:
  operation_forum-webapp-20151021:
    members:
    - forum-webapp-20151021
    policies:
    - QoSInfo:
        execution_time: 100 ms
        benchmark_platform: Amazon_EC2_m1_medium_us_east_1
    - dependencies: {}
    - AppQoSRequirements:
        response_time:
          less_than: 200.0 ms
        availability:
          greater_than: 0.99
        cost:
          less_or_equal: 1000.0 euros_per_month
        workload:
          less_or_equal: 2400.0 req_per_min

These are the ADPs I get:

["tosca_definitions_version: tosca_simple_yaml_1_0_0_wd03
description: Softcare
imports:
- tosca-normative-types:1.0.0.wd06-SNAPSHOT
topology_template:
  node_templates:
    forum-webapp-20151021:
      type: sc_req.forum-webapp-20151021
      properties:
        language: JAVA
        autoscale: false
      requirements:
      - host: Cloud_Foundry
        instancesPOC: 1
    Cloud_Foundry:
      type: seaclouds.nodes.Platform.Cloud_Foundry
      properties:
        node_support: true
        go_support: true
        tomcat_version: 7
        private_hosting: true
        resource_type: platform
        tomcat_support: true
        auto_scaling: false
        public_hosting: false
        java_support: true
        horizontal_scaling: true
        ruby_support: true
        python_support: true
        scala_support: true
        vertical_scaling: true
        location: CloudFoundry
        go_version: 1.4
        php_support: true
        performance: 192
        availability: 0.99871
        cost: 0.04
node_types:
  sc_req.forum-webapp-20151021:
    derived_from: seaclouds.nodes.webapp.tomcat.TomcatServer
    properties:
      java_support:
        constraints:
        - equal: true
      tomcat_support:
        constraints:
        - equal: true
      java_version:
        constraints:
        - greater_or_equal: '7'
        - less_or_equal: '8'
      resource_type:
        constraints:
        - equal: platform
  seaclouds.nodes.Compute:
    derived_from: tosca.nodes.Compute
    description: Custom compute
    properties:
      hardwareId:
        required: false
        type: string
groups:
  operation_forum-webapp-20151021:
    members:
    - forum-webapp-20151021
    policies:
    - QoSInfo:
        execution_time: 100 ms
        benchmark_platform: Amazon_EC2_m1_medium_us_east_1
    - dependencies: {}
    - AppQoSRequirements:
        response_time:
          less_than: 200.0 ms
        availability:
          greater_than: 0.99
        cost:
          less_or_equal: 1000.0 euros_per_month
        workload:
          less_or_equal: 2400.0 req_per_min
    - ExpectedQualityPOC:
        expectedAvailabilityPOC: 0.99871
        fitnessPOC: 0.6666666666666666
        expectedCostPOC: 28.8
        expectedExecutionTimePOC: .inf
", "tosca_definitions_version: tosca_simple_yaml_1_0_0_wd03
description: Softcare
imports:
- tosca-normative-types:1.0.0.wd06-SNAPSHOT
topology_template:
  node_templates:
    forum-webapp-20151021:
      type: sc_req.forum-webapp-20151021
      properties:
        language: JAVA
        autoscale: false
      requirements:
      - host: Cloud_Foundry
        instancesPOC: 1
    Cloud_Foundry:
      type: seaclouds.nodes.Platform.Cloud_Foundry
      properties:
        node_support: true
        go_support: true
        tomcat_version: 7
        private_hosting: true
        resource_type: platform
        tomcat_support: true
        auto_scaling: false
        public_hosting: false
        java_support: true
        horizontal_scaling: true
        ruby_support: true
        python_support: true
        scala_support: true
        vertical_scaling: true
        location: CloudFoundry
        go_version: 1.4
        php_support: true
        performance: 192
        availability: 0.99871
        cost: 0.04
node_types:
  sc_req.forum-webapp-20151021:
    derived_from: seaclouds.nodes.webapp.tomcat.TomcatServer
    properties:
      java_support:
        constraints:
        - equal: true
      tomcat_support:
        constraints:
        - equal: true
      java_version:
        constraints:
        - greater_or_equal: '7'
        - less_or_equal: '8'
      resource_type:
        constraints:
        - equal: platform
  seaclouds.nodes.Compute:
    derived_from: tosca.nodes.Compute
    description: Custom compute
    properties:
      hardwareId:
        required: false
        type: string
groups:
  operation_forum-webapp-20151021:
    members:
    - forum-webapp-20151021
    policies:
    - QoSInfo:
        execution_time: 100 ms
        benchmark_platform: Amazon_EC2_m1_medium_us_east_1
    - dependencies: {}
    - AppQoSRequirements:
        response_time:
          less_than: 200.0 ms
        availability:
          greater_than: 0.99
        cost:
          less_or_equal: 1000.0 euros_per_month
        workload:
          less_or_equal: 2400.0 req_per_min
    - ExpectedQualityPOC:
        expectedAvailabilityPOC: 0.99871
        fitnessPOC: 0.6666666666666666
        expectedCostPOC: 28.8
        expectedExecutionTimePOC: .inf
", "tosca_definitions_version: tosca_simple_yaml_1_0_0_wd03
description: Softcare
imports:
- tosca-normative-types:1.0.0.wd06-SNAPSHOT
topology_template:
  node_templates:
    forum-webapp-20151021:
      type: sc_req.forum-webapp-20151021
      properties:
        language: JAVA
        autoscale: false
      requirements:
      - host: Cloud_Foundry
        instancesPOC: 1
    Cloud_Foundry:
      type: seaclouds.nodes.Platform.Cloud_Foundry
      properties:
        node_support: true
        go_support: true
        tomcat_version: 7
        private_hosting: true
        resource_type: platform
        tomcat_support: true
        auto_scaling: false
        public_hosting: false
        java_support: true
        horizontal_scaling: true
        ruby_support: true
        python_support: true
        scala_support: true
        vertical_scaling: true
        location: CloudFoundry
        go_version: 1.4
        php_support: true
        performance: 192
        availability: 0.99871
        cost: 0.04
node_types:
  sc_req.forum-webapp-20151021:
    derived_from: seaclouds.nodes.webapp.tomcat.TomcatServer
    properties:
      java_support:
        constraints:
        - equal: true
      tomcat_support:
        constraints:
        - equal: true
      java_version:
        constraints:
        - greater_or_equal: '7'
        - less_or_equal: '8'
      resource_type:
        constraints:
        - equal: platform
  seaclouds.nodes.Compute:
    derived_from: tosca.nodes.Compute
    description: Custom compute
    properties:
      hardwareId:
        required: false
        type: string
groups:
  operation_forum-webapp-20151021:
    members:
    - forum-webapp-20151021
    policies:
    - QoSInfo:
        execution_time: 100 ms
        benchmark_platform: Amazon_EC2_m1_medium_us_east_1
    - dependencies: {}
    - AppQoSRequirements:
        response_time:
          less_than: 200.0 ms
        availability:
          greater_than: 0.99
        cost:
          less_or_equal: 1000.0 euros_per_month
        workload:
          less_or_equal: 2400.0 req_per_min
    - ExpectedQualityPOC:
        expectedAvailabilityPOC: 0.99871
        fitnessPOC: 0.6666666666666666
        expectedCostPOC: 28.8
        expectedExecutionTimePOC: .inf
", "tosca_definitions_version: tosca_simple_yaml_1_0_0_wd03
description: Softcare
imports:
- tosca-normative-types:1.0.0.wd06-SNAPSHOT
topology_template:
  node_templates:
    forum-webapp-20151021:
      type: sc_req.forum-webapp-20151021
      properties:
        language: JAVA
        autoscale: false
      requirements:
      - host: Cloud_Foundry
        instancesPOC: 1
    Cloud_Foundry:
      type: seaclouds.nodes.Platform.Cloud_Foundry
      properties:
        node_support: true
        go_support: true
        tomcat_version: 7
        private_hosting: true
        resource_type: platform
        tomcat_support: true
        auto_scaling: false
        public_hosting: false
        java_support: true
        horizontal_scaling: true
        ruby_support: true
        python_support: true
        scala_support: true
        vertical_scaling: true
        location: CloudFoundry
        go_version: 1.4
        php_support: true
        performance: 192
        availability: 0.99871
        cost: 0.04
node_types:
  sc_req.forum-webapp-20151021:
    derived_from: seaclouds.nodes.webapp.tomcat.TomcatServer
    properties:
      java_support:
        constraints:
        - equal: true
      tomcat_support:
        constraints:
        - equal: true
      java_version:
        constraints:
        - greater_or_equal: '7'
        - less_or_equal: '8'
      resource_type:
        constraints:
        - equal: platform
  seaclouds.nodes.Compute:
    derived_from: tosca.nodes.Compute
    description: Custom compute
    properties:
      hardwareId:
        required: false
        type: string
groups:
  operation_forum-webapp-20151021:
    members:
    - forum-webapp-20151021
    policies:
    - QoSInfo:
        execution_time: 100 ms
        benchmark_platform: Amazon_EC2_m1_medium_us_east_1
    - dependencies: {}
    - AppQoSRequirements:
        response_time:
          less_than: 200.0 ms
        availability:
          greater_than: 0.99
        cost:
          less_or_equal: 1000.0 euros_per_month
        workload:
          less_or_equal: 2400.0 req_per_min
    - ExpectedQualityPOC:
        expectedAvailabilityPOC: 0.99871
        fitnessPOC: 0.6666666666666666
        expectedCostPOC: 28.8
        expectedExecutionTimePOC: .inf
", "tosca_definitions_version: tosca_simple_yaml_1_0_0_wd03
description: Softcare
imports:
- tosca-normative-types:1.0.0.wd06-SNAPSHOT
topology_template:
  node_templates:
    forum-webapp-20151021:
      type: sc_req.forum-webapp-20151021
      properties:
        language: JAVA
        autoscale: false
      requirements:
      - host: Cloud_Foundry
        instancesPOC: 1
    Cloud_Foundry:
      type: seaclouds.nodes.Platform.Cloud_Foundry
      properties:
        node_support: true
        go_support: true
        tomcat_version: 7
        private_hosting: true
        resource_type: platform
        tomcat_support: true
        auto_scaling: false
        public_hosting: false
        java_support: true
        horizontal_scaling: true
        ruby_support: true
        python_support: true
        scala_support: true
        vertical_scaling: true
        location: CloudFoundry
        go_version: 1.4
        php_support: true
        performance: 192
        availability: 0.99871
        cost: 0.04
node_types:
  sc_req.forum-webapp-20151021:
    derived_from: seaclouds.nodes.webapp.tomcat.TomcatServer
    properties:
      java_support:
        constraints:
        - equal: true
      tomcat_support:
        constraints:
        - equal: true
      java_version:
        constraints:
        - greater_or_equal: '7'
        - less_or_equal: '8'
      resource_type:
        constraints:
        - equal: platform
  seaclouds.nodes.Compute:
    derived_from: tosca.nodes.Compute
    description: Custom compute
    properties:
      hardwareId:
        required: false
        type: string
groups:
  operation_forum-webapp-20151021:
    members:
    - forum-webapp-20151021
    policies:
    - QoSInfo:
        execution_time: 100 ms
        benchmark_platform: Amazon_EC2_m1_medium_us_east_1
    - dependencies: {}
    - AppQoSRequirements:
        response_time:
          less_than: 200.0 ms
        availability:
          greater_than: 0.99
        cost:
          less_or_equal: 1000.0 euros_per_month
        workload:
          less_or_equal: 2400.0 req_per_min
    - ExpectedQualityPOC:
        expectedAvailabilityPOC: 0.99871
        fitnessPOC: 0.6666666666666666
        expectedCostPOC: 28.8
        expectedExecutionTimePOC: .inf
"]

Errors when installing SeaClouds

This is the log:

08:24:01,401 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
08:24:01,402 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
08:24:01,402 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/home/cfuser/SeaCloudsPlatform/usage/installer/target/seaclouds-installer-dist/seaclouds-installer/conf/logback.xml]
08:24:01,612 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
08:24:01,630 |-INFO in ch.qos.logback.core.joran.util.ConfigurationWatchListUtil@5d64b55b - Adding [jar:file:/home/cfuser/SeaCloudsPlatform/usage/installer/target/seaclouds-installer-dist/seaclouds-installer/lib/brooklyn-logback-includes-0.7.0-20150614.2158.jar!/logback-main.xml] to configuration watch list.
08:24:01,630 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@7ebe9943 - URL [jar:file:/home/cfuser/SeaCloudsPlatform/usage/installer/target/seaclouds-installer-dist/seaclouds-installer/lib/brooklyn-logback-includes-0.7.0-20150614.2158.jar!/logback-main.xml] is not of type file
08:24:01,637 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to INFO
08:24:01,637 |-INFO in ch.qos.logback.core.joran.util.ConfigurationWatchListUtil@5d64b55b - Adding [jar:file:/home/cfuser/SeaCloudsPlatform/usage/installer/target/seaclouds-installer-dist/seaclouds-installer/lib/brooklyn-logback-includes-0.7.0-20150614.2158.jar!/brooklyn/logback-debug.xml] to configuration watch list.
08:24:01,638 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@7ebe9943 - URL [jar:file:/home/cfuser/SeaCloudsPlatform/usage/installer/target/seaclouds-installer-dist/seaclouds-installer/lib/brooklyn-logback-includes-0.7.0-20150614.2158.jar!/brooklyn/logback-debug.xml] is not of type file
08:24:01,641 |-INFO in ch.qos.logback.core.joran.util.ConfigurationWatchListUtil@5d64b55b - Adding [jar:file:/home/cfuser/SeaCloudsPlatform/usage/installer/target/seaclouds-installer-dist/seaclouds-installer/lib/brooklyn-logback-includes-0.7.0-20150614.2158.jar!/brooklyn/logback-logger-debug-all.xml] to configuration watch list.
08:24:01,641 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@7ebe9943 - URL [jar:file:/home/cfuser/SeaCloudsPlatform/usage/installer/target/seaclouds-installer-dist/seaclouds-installer/lib/brooklyn-logback-includes-0.7.0-20150614.2158.jar!/brooklyn/logback-logger-debug-all.xml] is not of type file
08:24:01,646 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [brooklyn] to DEBUG
08:24:01,647 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [io.brooklyn] to DEBUG
08:24:01,647 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.jclouds] to DEBUG
08:24:01,647 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [jclouds] to DEBUG
08:24:01,647 |-INFO in ch.qos.logback.core.joran.util.ConfigurationWatchListUtil@5d64b55b - Adding [jar:file:/home/cfuser/SeaCloudsPlatform/usage/installer/target/seaclouds-installer-dist/seaclouds-installer/lib/brooklyn-logback-includes-0.7.0-20150614.2158.jar!/brooklyn/logback-logger-debug-favs.xml] to configuration watch list.
08:24:01,647 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@7ebe9943 - URL [jar:file:/home/cfuser/SeaCloudsPlatform/usage/installer/target/seaclouds-installer-dist/seaclouds-installer/lib/brooklyn-logback-includes-0.7.0-20150614.2158.jar!/brooklyn/logback-logger-debug-favs.xml] is not of type file
08:24:01,651 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [brooklyn.SSH] to DEBUG
08:24:01,651 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [brooklyn.location.basic.jclouds] to DEBUG
08:24:01,651 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [brooklyn.util.internal.ssh] to DEBUG
08:24:01,652 |-INFO in ch.qos.logback.core.joran.util.ConfigurationWatchListUtil@5d64b55b - Adding [jar:file:/home/cfuser/SeaCloudsPlatform/usage/installer/target/seaclouds-installer-dist/seaclouds-installer/lib/brooklyn-logback-includes-0.7.0-20150614.2158.jar!/logback-custom.xml] to configuration watch list.
08:24:01,652 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@7ebe9943 - URL [jar:file:/home/cfuser/SeaCloudsPlatform/usage/installer/target/seaclouds-installer-dist/seaclouds-installer/lib/brooklyn-logback-includes-0.7.0-20150614.2158.jar!/logback-custom.xml] is not of type file
08:24:01,656 |-INFO in ch.qos.logback.core.joran.util.ConfigurationWatchListUtil@5d64b55b - Adding [jar:file:/home/cfuser/SeaCloudsPlatform/usage/installer/target/seaclouds-installer-dist/seaclouds-installer/lib/brooklyn-logback-includes-0.7.0-20150614.2158.jar!/brooklyn/logback-appender-file.xml] to configuration watch list.
08:24:01,656 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@7ebe9943 - URL [jar:file:/home/cfuser/SeaCloudsPlatform/usage/installer/target/seaclouds-installer-dist/seaclouds-installer/lib/brooklyn-logback-includes-0.7.0-20150614.2158.jar!/brooklyn/logback-appender-file.xml] is not of type file
08:24:01,661 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
08:24:01,669 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [FILE]
08:24:01,736 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
08:24:01,869 |-INFO in ch.qos.logback.core.rolling.FixedWindowRollingPolicy@13403eb7 - Will use zip compression
08:24:01,887 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Active log file name: ./brooklyn.debug.log
08:24:01,887 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - File property is set to [./brooklyn.debug.log]
08:24:01,889 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - openFile(./brooklyn.debug.log,true) call failed. java.io.FileNotFoundException: ./brooklyn.debug.log (Permission denied)
    at java.io.FileNotFoundException: ./brooklyn.debug.log (Permission denied)
    at  at java.io.FileOutputStream.open(Native Method)
    at  at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
    at  at ch.qos.logback.core.recovery.ResilientFileOutputStream.<init>(ResilientFileOutputStream.java:28)
    at  at ch.qos.logback.core.FileAppender.openFile(FileAppender.java:149)
    at  at ch.qos.logback.core.FileAppender.start(FileAppender.java:108)
    at  at ch.qos.logback.core.rolling.RollingFileAppender.start(RollingFileAppender.java:72)
    at  at ch.qos.logback.core.joran.action.AppenderAction.end(AppenderAction.java:96)
    at  at ch.qos.logback.core.joran.spi.Interpreter.callEndAction(Interpreter.java:318)
    at  at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:197)
    at  at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:183)
    at  at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:62)
    at  at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:157)
    at  at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:143)
    at  at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:106)
    at  at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:56)
    at  at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75)
    at  at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:148)
    at  at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:84)
    at  at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:54)
    at  at org.slf4j.LoggerFactory.bind(LoggerFactory.java:141)
    at  at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:120)
    at  at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:331)
    at  at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:283)
    at  at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:304)
    at  at brooklyn.cli.AbstractMain.<clinit>(AbstractMain.java:70)
08:24:01,889 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
08:24:01,889 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [INFO-FILE]
08:24:01,891 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
08:24:01,903 |-INFO in ch.qos.logback.core.rolling.FixedWindowRollingPolicy@2e7ff81e - Will use zip compression
08:24:01,905 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[INFO-FILE] - Active log file name: ./brooklyn.info.log
08:24:01,905 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[INFO-FILE] - File property is set to [./brooklyn.info.log]
08:24:01,905 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[INFO-FILE] - openFile(./brooklyn.info.log,true) call failed. java.io.FileNotFoundException: ./brooklyn.info.log (Permission denied)
    at java.io.FileNotFoundException: ./brooklyn.info.log (Permission denied)
    at  at java.io.FileOutputStream.open(Native Method)
    at  at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
    at  at ch.qos.logback.core.recovery.ResilientFileOutputStream.<init>(ResilientFileOutputStream.java:28)
    at  at ch.qos.logback.core.FileAppender.openFile(FileAppender.java:149)
    at  at ch.qos.logback.core.FileAppender.start(FileAppender.java:108)
    at  at ch.qos.logback.core.rolling.RollingFileAppender.start(RollingFileAppender.java:72)
    at  at ch.qos.logback.core.joran.action.AppenderAction.end(AppenderAction.java:96)
    at  at ch.qos.logback.core.joran.spi.Interpreter.callEndAction(Interpreter.java:318)
    at  at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:197)
    at  at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:183)
    at  at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:62)
    at  at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:157)
    at  at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:143)
    at  at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:106)
    at  at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:56)
    at  at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75)
    at  at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:148)
    at  at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:84)
    at  at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:54)
    at  at org.slf4j.LoggerFactory.bind(LoggerFactory.java:141)
    at  at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:120)
    at  at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:331)
    at  at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:283)
    at  at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:304)
    at  at brooklyn.cli.AbstractMain.<clinit>(AbstractMain.java:70)
08:24:01,905 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE] to Logger[ROOT]
08:24:01,906 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [INFO-FILE] to Logger[ROOT]
08:24:01,907 |-INFO in ch.qos.logback.core.joran.util.ConfigurationWatchListUtil@5d64b55b - Adding [jar:file:/home/cfuser/SeaCloudsPlatform/usage/installer/target/seaclouds-installer-dist/seaclouds-installer/lib/brooklyn-logback-includes-0.7.0-20150614.2158.jar!/brooklyn/logback-appender-stdout.xml] to configuration watch list.
08:24:01,907 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@7ebe9943 - URL [jar:file:/home/cfuser/SeaCloudsPlatform/usage/installer/target/seaclouds-installer-dist/seaclouds-installer/lib/brooklyn-logback-includes-0.7.0-20150614.2158.jar!/brooklyn/logback-appender-stdout.xml] is not of type file
08:24:01,911 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
08:24:01,914 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
08:24:01,918 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
08:24:01,920 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
08:24:01,921 |-INFO in ch.qos.logback.core.joran.util.ConfigurationWatchListUtil@5d64b55b - Adding [jar:file:/home/cfuser/SeaCloudsPlatform/usage/installer/target/seaclouds-installer-dist/seaclouds-installer/lib/brooklyn-logback-includes-0.7.0-20150614.2158.jar!/brooklyn/logback-logger-excludes.xml] to configuration watch list.
08:24:01,921 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@7ebe9943 - URL [jar:file:/home/cfuser/SeaCloudsPlatform/usage/installer/target/seaclouds-installer-dist/seaclouds-installer/lib/brooklyn-logback-includes-0.7.0-20150614.2158.jar!/brooklyn/logback-logger-excludes.xml] is not of type file
08:24:01,925 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [net.schmizz] to WARN
08:24:01,925 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [net.schmizz] to false
08:24:01,925 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE] to Logger[net.schmizz]
08:24:01,926 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.eclipse.jetty] to WARN
08:24:01,926 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [org.reflections.Reflections] to false
08:24:01,926 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE] to Logger[org.reflections.Reflections]
08:24:01,926 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [com.sun.jersey.server.impl.application] to false
08:24:01,926 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE] to Logger[com.sun.jersey.server.impl.application]
08:24:01,926 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [org.apache.whirr.service.ComputeCache] to false
08:24:01,926 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE] to Logger[org.apache.whirr.service.ComputeCache]
08:24:01,926 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [jclouds.ssh] to false
08:24:01,926 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE] to Logger[jclouds.ssh]
08:24:01,927 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [org.apache.http.impl.client] to false
08:24:01,927 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE] to Logger[org.apache.http.impl.client]
08:24:01,927 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [javax.management.remote] to false
08:24:01,927 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE] to Logger[javax.management.remote]
08:24:01,927 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [com.wordnik.swagger] to false
08:24:01,927 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
08:24:01,929 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@537a916b - Registering current configuration as safe fallback point

 _                     _    _             
| |__  _ __ ___   ___ | | _| |_   _ _ __ (R)
| '_ \| '__/ _ \ / _ \| |/ / | | | | '_ \ 
| |_) | | | (_) | (_) |   <| | |_| | | | |
|_.__/|_|  \___/ \___/|_|\_\_|\__, |_| |_|
                              |___/             0.7.0-20150614.2158

2015-07-23 08:24:03,182 INFO  No locations supplied; defaulting to locations defined in YAML (if any)
2015-07-23 08:24:05,216 INFO  Starting Brooklyn web-console with passwordless access on localhost and protected access from any other interfaces (no bind address specified)
2015-07-23 08:24:08,600 INFO  Started Brooklyn console at http://127.0.0.1:8081/, running classpath://brooklyn.war
2015-07-23 08:24:08,620 INFO  Persistence disabled
2015-07-23 08:24:08,620 INFO  High availability disabled
2015-07-23 08:24:15,403 INFO  Starting brooklyn application BasicApplicationImpl{id=G8A4xyId} in locations []
2015-07-23 08:24:15,559 INFO  Starting SameServerEntityImpl{id=KrQsr42S}, obtaining a new location instance in FixedListMachineProvisioningLocation{id=L6kAiTGq, name=FixedListMachineProvisioningLocation:L6kA} with ports [22, 8001, 8000, 31880, 8443, 8080, 31001, 1099, 3306]
2015-07-23 08:24:15,564 INFO  Starting SameServerEntityImpl{id=drdndtOA}, obtaining a new location instance in FixedListMachineProvisioningLocation{id=L6kAiTGq, name=FixedListMachineProvisioningLocation:L6kA} with ports [22, 8175, 8170, 8443, 8081]
2015-07-23 08:24:15,570 INFO  Starting SameServerEntityImpl{id=drdndtOA} on machine SshMachineLocation[SshMachineLocation:wlCk:95.211.172.245/95.211.172.245:22@wlCkphIY]
2015-07-23 08:24:15,574 INFO  Starting SameServerEntityImpl{id=KrQsr42S} on machine SshMachineLocation[SshMachineLocation:B61B:95.211.172.244/95.211.172.244:22@B61B7WNu]
2015-07-23 08:24:21,403 INFO  Starting BrooklynNodeImpl{id=b1aSIVPL} on machine SshMachineLocation[SshMachineLocation:wlCk:95.211.172.245/95.211.172.245:22@wlCkphIY]
2015-07-23 08:24:21,408 INFO  Starting SameServerEntityImpl{id=wylJrK1t} on machine SshMachineLocation[SshMachineLocation:wlCk:95.211.172.245/95.211.172.245:22@wlCkphIY]
2015-07-23 08:24:21,451 INFO  Starting MODACloudsDeterministicDataAnalyzerImpl{id=j98qAYIp} on machine SshMachineLocation[SshMachineLocation:wlCk:95.211.172.245/95.211.172.245:22@wlCkphIY]
2015-07-23 08:24:21,487 INFO  Starting SeacloudsDashboardImpl{id=yhHvfCb1} on machine SshMachineLocation[SshMachineLocation:B61B:95.211.172.244/95.211.172.244:22@B61B7WNu]
2015-07-23 08:24:21,488 INFO  Starting SameServerEntityImpl{id=IBS9Wfxi} on machine SshMachineLocation[SshMachineLocation:B61B:95.211.172.244/95.211.172.244:22@B61B7WNu]
2015-07-23 08:24:21,495 INFO  Starting MODACloudsMonitoringManagerImpl{id=Mzhold7G} on machine SshMachineLocation[SshMachineLocation:wlCk:95.211.172.245/95.211.172.245:22@wlCkphIY]
2015-07-23 08:24:21,533 INFO  Starting MySqlNodeImpl{id=OuVlZk4t} on machine SshMachineLocation[SshMachineLocation:B61B:95.211.172.244/95.211.172.244:22@B61B7WNu]
2015-07-23 08:24:21,544 INFO  Starting TomcatServerImpl{id=UYGvOCM8} on machine SshMachineLocation[SshMachineLocation:B61B:95.211.172.244/95.211.172.244:22@B61B7WNu]
2015-07-23 08:24:21,764 WARN  Logger libraray was already set earlier to "auto"; change to "SLF4J" won't effect loggers created earlier.
2015-07-23 08:26:06,891 WARN  SSH task ended with exit code 1 when non-zero was not explicitly allowed (error may be thrown in future), in Task[ssh: install java (1.7):rGupUZZj]: install java (1.7)
2015-07-23 08:26:06,892 WARN  Installation of Java 1.7 failed at TomcatServerImpl{id=UYGvOCM8}@SshMachineLocation[SshMachineLocation:B61B:95.211.172.244/95.211.172.244:22@B61B7WNu]: E: Problem renaming the file /var/cache/apt/srcpkgcache.bin.ifJYPI to /var/cache/apt/srcpkgcache.bin - rename (2: No such file or directory)
E: Problem renaming the file /var/cache/apt/pkgcache.bin.f9ckll to /var/cache/apt/pkgcache.bin - rename (2: No such file or directory)
debconf: apt-extracttemplates failed: No such file or directory
Extracting templates from packages: 16%
Extracting templates from packages: 32%
Extracting templates from packages: 48%
Extracting templates from packages: 64%
Extracting templates from packages: 81%
Extracting templates from packages: 97%
Extracting templates from packages: 100%
dpkg: error: dpkg status database is locked by another process
E: Sub-process /usr/bin/dpkg returned an error code (2)
WARNING: no known/successful package manager to install {apt=openjdk-7-jdk, yum=java-1.7.0-openjdk-devel}, may fail subsequently

2015-07-23 08:26:21,239 WARN  SSH task ended with exit code 1 when non-zero was not explicitly allowed (error may be thrown in future), in Task[ssh: install java (1.7):aFAmgiUL]: install java (1.7)
2015-07-23 08:26:21,241 WARN  Installation of Java 1.7 failed at SeacloudsDashboardImpl{id=yhHvfCb1}@SshMachineLocation[SshMachineLocation:B61B:95.211.172.244/95.211.172.244:22@B61B7WNu]: E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
WARNING: no known/successful package manager to install {apt=openjdk-7-jdk, yum=java-1.7.0-openjdk-devel}, may fail subsequently

2015-07-23 08:30:51,023 WARN  Execution failed, invalid result 9 for installing BrooklynNodeImpl{id=b1aSIVPL} (throwing)
2015-07-23 08:30:51,023 INFO  STDERR of problem in Task[ssh: installing BrooklynNodeImpl{id=b1aSIVPL}:G3mK8NGN]:
... kages - open (2: No such file or directory)
E: Could not open file /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_precise_universe_binary-amd64_Packages - open (2: No such file or directory)
WARNING: no known/successful package manager to install curl, may fail subsequently
/tmp/brooklyn-20150723-083044876-P5dt-installing_BrooklynNodeImpl_id.sh: line 8: curl: command not found
/tmp/brooklyn-20150723-083044876-P5dt-installing_BrooklynNodeImpl_id.sh: line 8: curl: command not found
/tmp/brooklyn-20150723-083044876-P5dt-installing_BrooklynNodeImpl_id.sh: line 8: curl: command not found
Could not retrieve brooklynnode-0.7.0-snapshot.tar.gz. Tried: file://$HOME/.brooklyn/repository/BrooklynNode/0.7.0-SNAPSHOT/brooklynnode-0.7.0-snapshot.tar.gz, https://repository.apache.org/service/local/artifact/maven/redirect?r=snapshots&g=org.apache.brooklyn&v=0.7.0-SNAPSHOT&a=brooklyn-dist&c=dist&e=tar.gz, http://downloads.cloudsoftcorp.com/brooklyn/repository/BrooklynNode/0.7.0-SNAPSHOT/brooklynnode-0.7.0-snapshot.tar.gz

2015-07-23 08:30:51,023 INFO  STDOUT of problem in Task[ssh: installing BrooklynNodeImpl{id=b1aSIVPL}:G3mK8NGN]:
/usr/bin/apt-get
apt-get exists, doing update
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  libcurl3 librtmp0
The following NEW packages will be installed:
  curl libcurl3 librtmp0
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
WARNING: no known/successful package manager to install curl, may fail subsequently
Could not retrieve brooklynnode-0.7.0-snapshot.tar.gz. Tried: file://$HOME/.brooklyn/repository/BrooklynNode/0.7.0-SNAPSHOT/brooklynnode-0.7.0-snapshot.tar.gz, https://repository.apache.org/service/local/artifact/maven/redirect?r=snapshots&g=org.apache.brooklyn&v=0.7.0-SNAPSHOT&a=brooklyn-dist&c=dist&e=tar.gz, http://downloads.cloudsoftcorp.com/brooklyn/repository/BrooklynNode/0.7.0-SNAPSHOT/brooklynnode-0.7.0-snapshot.tar.gz
Executed /tmp/brooklyn-20150723-083044876-P5dt-installing_BrooklynNodeImpl_id.sh, result 9

2015-07-23 08:30:51,024 INFO  STDIN of problem in Task[ssh: installing BrooklynNodeImpl{id=b1aSIVPL}:G3mK8NGN]:
... lynNode_0.7.0-SNAPSHOT"
mkdir -p $INSTALL_DIR
cd $INSTALL_DIR
test -f BROOKLYN && exit 0
{ which curl || ( { which zypper && { echo zypper exists, doing refresh && (( if test "$UID" -eq 0; then ( zypper --non-interactive --no-gpg-checks refresh ); else sudo -E -n -S -- zypper --non-interactive --no-gpg-checks refresh; fi ) || true) && ( if test "$UID" -eq 0; then ( zypper --non-interactive --no-gpg-checks install curl ); else sudo -E -n -S -- zypper --non-interactive --no-gpg-checks install curl; fi ) ; } ; } || { which apt-get && { echo apt-get exists, doing update && export DEBIAN_FRONTEND=noninteractive && (( if test "$UID" -eq 0; then ( apt-get update ); else sudo -E -n -S -- apt-get update; fi ) || true) && ( if test "$UID" -eq 0; then ( apt-get install -y --allow-unauthenticated curl ); else sudo -E -n -S -- apt-get install -y --allow-unauthenticated curl; fi ) ; } ; } || { which yum && { echo yum exists, doing update && (( if test "$UID" -eq 0; then ( yum check-update ); else sudo -E -n -S -- yum check-update; fi ) || true) && ( if test "$UID" -eq 0; then ( yum -y --nogpgcheck install curl ); else sudo -E -n -S -- yum -y --nogpgcheck install curl; fi ) ; } ; } || { which brew && brew install curl ; } || { which port && ( if test "$UID" -eq 0; then ( port install curl ); else sudo -E -n -S -- port install curl; fi ) ; } || (( echo "WARNING: no known/successful package manager to install curl, may fail subsequently" | tee /dev/stderr ) || true) ) ; }
{ ( curl -f -L -k --retry 10 --keepalive-time 30 --speed-time 30 "file://$HOME/.brooklyn/repository/BrooklynNode/0.7.0-SNAPSHOT/brooklynnode-0.7.0-snapshot.tar.gz" -o brooklynnode-0.7.0-snapshot.tar.gz || curl -f -L -k --retry 10 --keepalive-time 30 --speed-time 30 "https://repository.apache.org/service/local/artifact/maven/redirect?r=snapshots&g=org.apache.brooklyn&v=0.7.0-SNAPSHOT&a=brooklyn-dist&c=dist&e=tar.gz" -o brooklynnode-0.7.0-snapshot.tar.gz || curl -f -L -k --retry 10 --keepalive-time 30 --speed-time 30 "http://downloads.cloudsoftcorp.com/brooklyn/repository/BrooklynNode/0.7.0-SNAPSHOT/brooklynnode-0.7.0-snapshot.tar.gz" -o brooklynnode-0.7.0-snapshot.tar.gz ) || { ( echo "Could not retrieve brooklynnode-0.7.0-snapshot.tar.gz. Tried: file://\$HOME/.brooklyn/repository/BrooklynNode/0.7.0-SNAPSHOT/brooklynnode-0.7.0-snapshot.tar.gz, https://repository.apache.org/service/local/artifact/maven/redirect?r=snapshots&g=org.apache.brooklyn&v=0.7.0-SNAPSHOT&a=brooklyn-dist&c=dist&e=tar.gz, http://downloads.cloudsoftcorp.com/brooklyn/repository/BrooklynNode/0.7.0-SNAPSHOT/brooklynnode-0.7.0-snapshot.tar.gz" | tee /dev/stderr ) && exit 9 ; } ; }
{ which tar || ( { which zypper && { echo zypper exists, doing refresh && (( if test "$UID" -eq 0; then ( zypper --non-interactive --no-gpg-checks refresh ); else sudo -E -n -S -- zypper --non-interactive --no-gpg-checks refresh; fi ) || true) && ( if test "$UID" -eq 0; then ( zypper --non-interactive --no-gpg-checks install tar ); else sudo -E -n -S -- zypper --non-interactive --no-gpg-checks install tar; fi ) ; } ; } || { which apt-get && { echo apt-get exists, doing update && export DEBIAN_FRONTEND=noninteractive && (( if test "$UID" -eq 0; then ( apt-get update ); else sudo -E -n -S -- apt-get update; fi ) || true) && ( if test "$UID" -eq 0; then ( apt-get install -y --allow-unauthenticated tar ); else sudo -E -n -S -- apt-get install -y --allow-unauthenticated tar; fi ) ; } ; } || { which yum && { echo yum exists, doing update && (( if test "$UID" -eq 0; then ( yum check-update ); else sudo -E -n -S -- yum check-update; fi ) || true) && ( if test "$UID" -eq 0; then ( yum -y --nogpgcheck install tar ); else sudo -E -n -S -- yum -y --nogpgcheck install tar; fi ) ; } ; } || { which brew && brew install tar ; } || { which port && ( if test "$UID" -eq 0; then ( port install tar ); else sudo -E -n -S -- port install tar; fi ) ; } || (( echo "WARNING: no known/successful package manager to install tar, may fail subsequently" | tee /dev/stderr ) || true) ) ; }
tar xzfv brooklynnode-0.7.0-snapshot.tar.gz
date > $INSTALL_DIR/BROOKLYN
2015-07-23 08:30:51,041 WARN  Error invoking start at BrooklynNodeImpl{id=b1aSIVPL}: Execution failed, invalid result 9 for installing BrooklynNodeImpl{id=b1aSIVPL}
2015-07-23 08:31:20,911 WARN  SSH task ended with exit code 1 when non-zero was not explicitly allowed (error may be thrown in future), in Task[ssh: install java (1.7):DB2Y0x3o]: install java (1.7)
2015-07-23 08:31:20,912 WARN  Installation of Java 1.7 failed at MODACloudsMonitoringManagerImpl{id=Mzhold7G}@SshMachineLocation[SshMachineLocation:wlCk:95.211.172.245/95.211.172.245:22@wlCkphIY]: E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
WARNING: no known/successful package manager to install {apt=openjdk-7-jdk, yum=java-1.7.0-openjdk-devel}, may fail subsequently

2015-07-23 08:32:38,379 WARN  Error invoking start at SameServerEntityImpl{id=drdndtOA}: 1 of 2 parallel child tasks failed: Error invoking start at BrooklynNodeImpl{id=b1aSIVPL}: Execution failed, invalid result 9 for installing BrooklynNodeImpl{id=b1aSIVPL}
2015-07-23 08:33:12,758 WARN  Execution failed, invalid result 1 for customizing MySqlNodeImpl{id=OuVlZk4t} (throwing)
2015-07-23 08:33:12,758 INFO  STDERR of problem in Task[ssh: customizing MySqlNodeImpl{id=OuVlZk4t}:Zl84p1B7]:
/home/notroot/brooklyn-managed-processes/installs/MySqlNode_5.5.37/mysql-5.5.37-linux2.6-x86_64/bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory

2015-07-23 08:33:12,758 INFO  STDOUT of problem in Task[ssh: customizing MySqlNodeImpl{id=OuVlZk4t}:Zl84p1B7]:
...  mysqld daemon with:
    shell> /home/notroot/brooklyn-managed-processes/installs/MySqlNode_5.5.37/mysql-5.5.37-linux2.6-x86_64/bin/mysqld --skip-grant &
and use the command line tool /home/notroot/brooklyn-managed-processes/installs/MySqlNode_5.5.37/mysql-5.5.37-linux2.6-x86_64/bin/mysql
to connect to the mysql database and look at the grant tables:
    shell> /home/notroot/brooklyn-managed-processes/installs/MySqlNode_5.5.37/mysql-5.5.37-linux2.6-x86_64/bin/mysql -u root mysql
    mysql> show tables
Try 'mysqld --help' if you have problems with paths.  Using --log
gives you a log in . that may be helpful.
Please consult the MySQL manual section
'Problems running mysql_install_db', and the manual section that
describes problems on your OS.  Another information source are the
MySQL email archives available at http://lists.mysql.com/.
Please check all of the above before submitting a bug report
at http://bugs.mysql.com/
Executed /tmp/brooklyn-20150723-083312675-RkF0-customizing_MySqlNodeImpl_id_O.sh, result 1

2015-07-23 08:33:12,759 INFO  STDIN of problem in Task[ssh: customizing MySqlNodeImpl{id=OuVlZk4t}:Zl84p1B7]:
export RUN_DIR="/home/notroot/brooklyn-managed-processes/apps/G8A4xyId/entities/MySqlNode_OuVlZk4t"
mkdir -p $RUN_DIR
cd $RUN_DIR
chmod 600 mymysql.cnf
/home/notroot/brooklyn-managed-processes/installs/MySqlNode_5.5.37/mysql-5.5.37-linux2.6-x86_64/scripts/mysql_install_db --basedir=/home/notroot/brooklyn-managed-processes/installs/MySqlNode_5.5.37/mysql-5.5.37-linux2.6-x86_64 --datadir=. --defaults-file=mymysql.cnf
2015-07-23 08:33:12,783 WARN  Error invoking start at MySqlNodeImpl{id=OuVlZk4t}: Execution failed, invalid result 1 for customizing MySqlNodeImpl{id=OuVlZk4t}
2015-07-23 08:33:12,797 WARN  Error invoking start at TomcatServerImpl{id=UYGvOCM8}: java.lang.IllegalArgumentException: Error resolving config install.latch, $brooklyn:component(sla-db).attributeWhenReady(service.isUp), in brooklyn.util.task.BasicExecutionContext@6b30cee2([Wrapped[contextEntity:TomcatServerImpl{id=UYGvOCM8}]]): brooklyn.util.exceptions.PropagatedRuntimeException: Aborted waiting for ready from MySqlNodeImpl{id=OuVlZk4t} Sensor: service.isUp (java.lang.Boolean): java.lang.Exception: Abort due to MySqlNodeImpl{id=OuVlZk4t} -> Sensor: service.state (brooklyn.entity.basic.Lifecycle)
2015-07-23 08:33:12,862 WARN  Error invoking start at SameServerEntityImpl{id=IBS9Wfxi}: 2 of 2 parallel child tasks failed, 2 errors including: Error invoking start at TomcatServerImpl{id=UYGvOCM8}: java.lang.IllegalArgumentException: Error resolving config install.latch, $brooklyn:component(sla-db).attributeWhenReady(service.isUp), in brooklyn.util.task.BasicExecutionContext@6b30cee2([Wrapped[contextEntity:TomcatServerImpl{id=UYGvOCM8}]]): brooklyn.util.exceptions.PropagatedRuntimeException: Aborted waiting for ready from MySqlNodeImpl{id=OuVlZk4t} Sensor: service.isUp (java.lang.Boolean): java.lang.Exception: Abort due to MySqlNodeImpl{id=OuVlZk4t} -> Sensor: service.state (brooklyn.entity.basic.Lifecycle)
2015-07-23 08:33:41,249 WARN  Error invoking start at SeacloudsDashboardImpl{id=yhHvfCb1}: java.lang.IllegalArgumentException: Error resolving config launch.latch, $brooklyn:component(sla-core).attributeWhenReady(service.isUp), in brooklyn.util.task.BasicExecutionContext@5d38360e([Wrapped[contextEntity:SeacloudsDashboardImpl{id=yhHvfCb1}]]): brooklyn.util.exceptions.PropagatedRuntimeException: Aborted waiting for ready from TomcatServerImpl{id=UYGvOCM8} Sensor: service.isUp (java.lang.Boolean): java.lang.Exception: Abort due to TomcatServerImpl{id=UYGvOCM8} -> Sensor: service.state (brooklyn.entity.basic.Lifecycle)
2015-07-23 08:33:41,293 WARN  Error invoking start at SameServerEntityImpl{id=KrQsr42S}: 2 of 2 parallel child tasks failed, 2 errors including: Error invoking start at SeacloudsDashboardImpl{id=yhHvfCb1}: java.lang.IllegalArgumentException: Error resolving config launch.latch, $brooklyn:component(sla-core).attributeWhenReady(service.isUp), in brooklyn.util.task.BasicExecutionContext@5d38360e([Wrapped[contextEntity:SeacloudsDashboardImpl{id=yhHvfCb1}]]): brooklyn.util.exceptions.PropagatedRuntimeException: Aborted waiting for ready from TomcatServerImpl{id=UYGvOCM8} Sensor: service.isUp (java.lang.Boolean): java.lang.Exception: Abort due to TomcatServerImpl{id=UYGvOCM8} -> Sensor: service.state (brooklyn.entity.basic.Lifecycle)
2015-07-23 08:33:41,330 WARN  Setting BasicApplicationImpl{id=G8A4xyId} on-fire due to problems when expected running, up=true, problems: {service-lifecycle-indicators-from-children-and-members=Required entities not healthy: SameServerEntityImpl{id=drdndtOA}, SameServerEntityImpl{id=KrQsr42S}}
2015-07-23 08:33:41,334 WARN  Error invoking start at BasicApplicationImpl{id=G8A4xyId}: 2 of 2 parallel child tasks failed, 2 errors including: 1 of 2 parallel child tasks failed: Error invoking start at BrooklynNodeImpl{id=b1aSIVPL}: Execution failed, invalid result 9 for installing BrooklynNodeImpl{id=b1aSIVPL}
2015-07-23 08:33:41,365 ERROR Error starting BasicApplicationImpl{id=G8A4xyId}: Error invoking start at BasicApplicationImpl{id=G8A4xyId}: 2 of 2 parallel child tasks failed, 2 errors including: 1 of 2 parallel child tasks failed: Error invoking start at BrooklynNodeImpl{id=b1aSIVPL}: Execution failed, invalid result 9 for installing BrooklynNodeImpl{id=b1aSIVPL}
brooklyn.util.exceptions.CompoundRuntimeException: 2 of 2 parallel child tasks failed, 2 errors including: 1 of 2 parallel child tasks failed: Error invoking start at BrooklynNodeImpl{id=b1aSIVPL}: Execution failed, invalid result 9 for installing BrooklynNodeImpl{id=b1aSIVPL}
    at brooklyn.util.exceptions.Exceptions.create(Exceptions.java:281) ~[brooklyn-utils-common-0.7.0-20150614.2158.jar:0.7.0-20150614.2158]
Caused by: java.util.concurrent.ExecutionException: brooklyn.util.exceptions.PropagatedRuntimeException: Error invoking start at SameServerEntityImpl{id=drdndtOA}: 1 of 2 parallel child tasks failed: Error invoking start at BrooklynNodeImpl{id=b1aSIVPL}: Execution failed, invalid result 9 for installing BrooklynNodeImpl{id=b1aSIVPL}
    at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[na:1.7.0_79]
Caused by: brooklyn.util.exceptions.PropagatedRuntimeException: Error invoking start at SameServerEntityImpl{id=drdndtOA}
    at brooklyn.management.internal.EffectorUtils.handleEffectorException(EffectorUtils.java:270) ~[brooklyn-core-0.7.0-20150614.2158.jar:0.7.0-20150614.2158]
Caused by: java.util.concurrent.ExecutionException: brooklyn.util.exceptions.PropagatedRuntimeException: 1 of 2 parallel child tasks failed: Error invoking start at BrooklynNodeImpl{id=b1aSIVPL}: Execution failed, invalid result 9 for installing BrooklynNodeImpl{id=b1aSIVPL}
    at brooklyn.management.internal.AbstractManagementContext.invokeEffectorMethodSync(AbstractManagementContext.java:314) ~[brooklyn-core-0.7.0-20150614.2158.jar:0.7.0-20150614.2158]
Caused by: brooklyn.util.exceptions.PropagatedRuntimeException: 
    at brooklyn.util.exceptions.Exceptions.propagate(Exceptions.java:97) ~[brooklyn-utils-common-0.7.0-20150614.2158.jar:0.7.0-20150614.2158]
Caused by: java.util.concurrent.ExecutionException: brooklyn.util.exceptions.PropagatedRuntimeException: 1 of 2 parallel child tasks failed: Error invoking start at BrooklynNodeImpl{id=b1aSIVPL}: Execution failed, invalid result 9 for installing BrooklynNodeImpl{id=b1aSIVPL}
    at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[na:1.7.0_79]
Caused by: brooklyn.util.exceptions.PropagatedRuntimeException: 
    at brooklyn.util.exceptions.Exceptions.propagate(Exceptions.java:97) ~[brooklyn-utils-common-0.7.0-20150614.2158.jar:0.7.0-20150614.2158]
Caused by: java.util.concurrent.ExecutionException: brooklyn.util.exceptions.PropagatedRuntimeException: 1 of 2 parallel child tasks failed: Error invoking start at BrooklynNodeImpl{id=b1aSIVPL}: Execution failed, invalid result 9 for installing BrooklynNodeImpl{id=b1aSIVPL}
    at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[na:1.7.0_79]
Caused by: brooklyn.util.exceptions.PropagatedRuntimeException: 1 of 2 parallel child tasks failed: Error invoking start at BrooklynNodeImpl{id=b1aSIVPL}: Execution failed, invalid result 9 for installing BrooklynNodeImpl{id=b1aSIVPL}
    at brooklyn.util.exceptions.Exceptions.create(Exceptions.java:274) ~[brooklyn-utils-common-0.7.0-20150614.2158.jar:0.7.0-20150614.2158]
Caused by: java.util.concurrent.ExecutionException: brooklyn.util.exceptions.PropagatedRuntimeException: Error invoking start at BrooklynNodeImpl{id=b1aSIVPL}: Execution failed, invalid result 9 for installing BrooklynNodeImpl{id=b1aSIVPL}
    at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[na:1.7.0_79]
Caused by: brooklyn.util.exceptions.PropagatedRuntimeException: Error invoking start at BrooklynNodeImpl{id=b1aSIVPL}
    at brooklyn.management.internal.EffectorUtils.handleEffectorException(EffectorUtils.java:270) ~[brooklyn-core-0.7.0-20150614.2158.jar:0.7.0-20150614.2158]
Caused by: brooklyn.util.exceptions.PropagatedRuntimeException: 
    at brooklyn.util.exceptions.Exceptions.propagate(Exceptions.java:97) ~[brooklyn-utils-common-0.7.0-20150614.2158.jar:0.7.0-20150614.2158]
Caused by: java.util.concurrent.ExecutionException: brooklyn.util.exceptions.PropagatedRuntimeException: Execution failed, invalid result 9 for installing BrooklynNodeImpl{id=b1aSIVPL}
    at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[na:1.7.0_79]
Caused by: brooklyn.util.exceptions.PropagatedRuntimeException: 
    at brooklyn.util.exceptions.Exceptions.propagate(Exceptions.java:97) ~[brooklyn-utils-common-0.7.0-20150614.2158.jar:0.7.0-20150614.2158]
Caused by: java.util.concurrent.ExecutionException: brooklyn.util.exceptions.PropagatedRuntimeException: Execution failed, invalid result 9 for installing BrooklynNodeImpl{id=b1aSIVPL}
    at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[na:1.7.0_79]
Caused by: brooklyn.util.exceptions.PropagatedRuntimeException: 
    at brooklyn.util.exceptions.Exceptions.propagate(Exceptions.java:97) ~[brooklyn-utils-common-0.7.0-20150614.2158.jar:0.7.0-20150614.2158]
Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Execution failed, invalid result 9 for installing BrooklynNodeImpl{id=b1aSIVPL}
    at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[na:1.7.0_79]
Caused by: java.lang.IllegalStateException: Execution failed, invalid result 9 for installing BrooklynNodeImpl{id=b1aSIVPL}
    at brooklyn.entity.basic.lifecycle.ScriptHelper.logWithDetailsAndThrow(ScriptHelper.java:390) ~[brooklyn-software-base-0.7.0-20150614.2158.jar:0.7.0-20150614.2158]
2015-07-23 08:33:41,379 ERROR Subsystem for brooklyn autostart apps had startup error (continuing with startup): brooklyn.util.exceptions.FatalRuntimeException: Error starting applications: Error invoking start at BasicApplicationImpl{id=G8A4xyId}: 2 of 2 parallel child tasks failed, 2 errors including: 1 of 2 parallel child tasks failed: Error invoking start at BrooklynNodeImpl{id=b1aSIVPL}: Execution failed, invalid result 9 for installing BrooklynNodeImpl{id=b1aSIVPL}
brooklyn.util.exceptions.FatalRuntimeException: Error starting applications: Error invoking start at BasicApplicationImpl{id=G8A4xyId}: 2 of 2 parallel child tasks failed, 2 errors including: 1 of 2 parallel child tasks failed: Error invoking start at BrooklynNodeImpl{id=b1aSIVPL}: Execution failed, invalid result 9 for installing BrooklynNodeImpl{id=b1aSIVPL}
    at brooklyn.launcher.BrooklynLauncher.startApps(BrooklynLauncher.java:995) ~[brooklyn-launcher-0.7.0-20150614.2158.jar:0.7.0-20150614.2158]
Caused by: brooklyn.util.exceptions.PropagatedRuntimeException: 
    at brooklyn.util.exceptions.Exceptions.create(Exceptions.java:273) ~[brooklyn-utils-common-0.7.0-20150614.2158.jar:0.7.0-20150614.2158]
Caused by: brooklyn.util.exceptions.PropagatedRuntimeException: Error invoking start at BasicApplicationImpl{id=G8A4xyId}: 2 of 2 parallel child tasks failed, 2 errors including: 1 of 2 parallel child tasks failed: Error invoking start at BrooklynNodeImpl{id=b1aSIVPL}: Execution failed, invalid result 9 for installing BrooklynNodeImpl{id=b1aSIVPL}
    at brooklyn.util.exceptions.Exceptions.collapse(Exceptions.java:199) ~[brooklyn-utils-common-0.7.0-20150614.2158.jar:0.7.0-20150614.2158]
brooklyn.util.exceptions.CompoundRuntimeException: 2 of 2 parallel child tasks failed, 2 errors including: 1 of 2 parallel child tasks failed: Error invoking start at BrooklynNodeImpl{id=b1aSIVPL}: Execution failed, invalid result 9 for installing BrooklynNodeImpl{id=b1aSIVPL}
    at brooklyn.util.exceptions.Exceptions.create(Exceptions.java:281) ~[brooklyn-utils-common-0.7.0-20150614.2158.jar:0.7.0-20150614.2158]
Caused by: java.util.concurrent.ExecutionException: brooklyn.util.exceptions.PropagatedRuntimeException: Error invoking start at SameServerEntityImpl{id=drdndtOA}: 1 of 2 parallel child tasks failed: Error invoking start at BrooklynNodeImpl{id=b1aSIVPL}: Execution failed, invalid result 9 for installing BrooklynNodeImpl{id=b1aSIVPL}
    at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[na:1.7.0_79]
Caused by: brooklyn.util.exceptions.PropagatedRuntimeException: Error invoking start at SameServerEntityImpl{id=drdndtOA}
    at brooklyn.management.internal.EffectorUtils.handleEffectorException(EffectorUtils.java:270) ~[brooklyn-core-0.7.0-20150614.2158.jar:0.7.0-20150614.2158]
Caused by: java.util.concurrent.ExecutionException: brooklyn.util.exceptions.PropagatedRuntimeException: 1 of 2 parallel child tasks failed: Error invoking start at BrooklynNodeImpl{id=b1aSIVPL}: Execution failed, invalid result 9 for installing BrooklynNodeImpl{id=b1aSIVPL}
    at brooklyn.management.internal.AbstractManagementContext.invokeEffectorMethodSync(AbstractManagementContext.java:314) ~[brooklyn-core-0.7.0-20150614.2158.jar:0.7.0-20150614.2158]
Caused by: brooklyn.util.exceptions.PropagatedRuntimeException: 
    at brooklyn.util.exceptions.Exceptions.propagate(Exceptions.java:97) ~[brooklyn-utils-common-0.7.0-20150614.2158.jar:0.7.0-20150614.2158]
Caused by: java.util.concurrent.ExecutionException: brooklyn.util.exceptions.PropagatedRuntimeException: 1 of 2 parallel child tasks failed: Error invoking start at BrooklynNodeImpl{id=b1aSIVPL}: Execution failed, invalid result 9 for installing BrooklynNodeImpl{id=b1aSIVPL}
    at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[na:1.7.0_79]
Caused by: brooklyn.util.exceptions.PropagatedRuntimeException: 
    at brooklyn.util.exceptions.Exceptions.propagate(Exceptions.java:97) ~[brooklyn-utils-common-0.7.0-20150614.2158.jar:0.7.0-20150614.2158]
Caused by: java.util.concurrent.ExecutionException: brooklyn.util.exceptions.PropagatedRuntimeException: 1 of 2 parallel child tasks failed: Error invoking start at BrooklynNodeImpl{id=b1aSIVPL}: Execution failed, invalid result 9 for installing BrooklynNodeImpl{id=b1aSIVPL}
    at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[na:1.7.0_79]
Caused by: brooklyn.util.exceptions.PropagatedRuntimeException: 1 of 2 parallel child tasks failed: Error invoking start at BrooklynNodeImpl{id=b1aSIVPL}: Execution failed, invalid result 9 for installing BrooklynNodeImpl{id=b1aSIVPL}
    at brooklyn.util.exceptions.Exceptions.create(Exceptions.java:274) ~[brooklyn-utils-common-0.7.0-20150614.2158.jar:0.7.0-20150614.2158]
Caused by: java.util.concurrent.ExecutionException: brooklyn.util.exceptions.PropagatedRuntimeException: Error invoking start at BrooklynNodeImpl{id=b1aSIVPL}: Execution failed, invalid result 9 for installing BrooklynNodeImpl{id=b1aSIVPL}
    at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[na:1.7.0_79]
Caused by: brooklyn.util.exceptions.PropagatedRuntimeException: Error invoking start at BrooklynNodeImpl{id=b1aSIVPL}
    at brooklyn.management.internal.EffectorUtils.handleEffectorException(EffectorUtils.java:270) ~[brooklyn-core-0.7.0-20150614.2158.jar:0.7.0-20150614.2158]
Caused by: brooklyn.util.exceptions.PropagatedRuntimeException: 
    at brooklyn.util.exceptions.Exceptions.propagate(Exceptions.java:97) ~[brooklyn-utils-common-0.7.0-20150614.2158.jar:0.7.0-20150614.2158]
Caused by: java.util.concurrent.ExecutionException: brooklyn.util.exceptions.PropagatedRuntimeException: Execution failed, invalid result 9 for installing BrooklynNodeImpl{id=b1aSIVPL}
    at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[na:1.7.0_79]
Caused by: brooklyn.util.exceptions.PropagatedRuntimeException: 
    at brooklyn.util.exceptions.Exceptions.propagate(Exceptions.java:97) ~[brooklyn-utils-common-0.7.0-20150614.2158.jar:0.7.0-20150614.2158]
Caused by: java.util.concurrent.ExecutionException: brooklyn.util.exceptions.PropagatedRuntimeException: Execution failed, invalid result 9 for installing BrooklynNodeImpl{id=b1aSIVPL}
    at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[na:1.7.0_79]
Caused by: brooklyn.util.exceptions.PropagatedRuntimeException: 
    at brooklyn.util.exceptions.Exceptions.propagate(Exceptions.java:97) ~[brooklyn-utils-common-0.7.0-20150614.2158.jar:0.7.0-20150614.2158]
Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Execution failed, invalid result 9 for installing BrooklynNodeImpl{id=b1aSIVPL}
    at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[na:1.7.0_79]
Caused by: java.lang.IllegalStateException: Execution failed, invalid result 9 for installing BrooklynNodeImpl{id=b1aSIVPL}
    at brooklyn.entity.basic.lifecycle.ScriptHelper.logWithDetailsAndThrow(ScriptHelper.java:390) ~[brooklyn-software-base-0.7.0-20150614.2158.jar:0.7.0-20150614.2158]
2015-07-23 08:33:41,380 INFO  Launched Brooklyn; will now block until shutdown command received via GUI/API (recommended) or process interrupt.

Location in AAM

The location is not being taken into account by the matchmaker.

The right format in the AAM should be:

 sc_req.www:
    derived_from: seaclouds.nodes.php.httpd.PhpHttpdServer
    properties:
      resource_type:
        constraints:
        - equal: compute
      continent:
        constraints:
        - equal: Europe

SLA Service does not start

SLA Service is not starting after changing spring version:

Configuration problem: You cannot use a spring-security-2.0.xsd or spring-security-3.0.xsd or spring-security-3.1.xsd schema with Spring Security 3.2. Please update your schema declarations to the 3.2 schema.

Planner doesn't return results for the adps

In relation to the issue 'Javascript bug when planner fails generating adps. #238': the Planner doesn't return results for the adps:

tosca_definitions_version: tosca_simple_yaml_1_0_0_wd03
description: test
imports:
- tosca-normative-types:1.0.0.wd06-SNAPSHOT
topology_template:
  node_templates:
    forum-webapp-20151021:
      type: sc_req.forum-webapp-20151021
      properties:
        language: JAVA
        autoscale: false
        java_version:
          constraints:
          - greater_or_equal: '6'
          - less_or_equal: '7'
node_types:
  sc_req.forum-webapp-20151021:
    derived_from: seaclouds.nodes.webapp.tomcat.TomcatServer
    properties:
      resource_type:
        constraints:
        - equal: compute
groups:
  operation_forum-webapp-20151021:
    members:
    - forum-webapp-20151021
    policies:
    - QoSInfo:
        execution_time: 100 ms
        benchmark_platform: Amazon_EC2_m1_large_us_east_1
    - dependencies: {}
    - AppQoSRequirements:
        response_time:
          less_than: 2000.0 ms
        availability:
          greater_than: 0.99
        cost:
          less_or_equal: 1000.0 euros_per_month
        workload:
          less_or_equal: 60.0 req_per_min

Javascript bug when planner fails generating adps.

add-application.js:112+

feasibleAdps = {code: 500, message: "There was an error processing your request. It has been logged (ID 7e8ae386d6fb67a5)."}

getAdpList (:110) should not success. Entering the success block raises

TypeError: Cannot read property 'map' of undefined
    at add-application.js:113
    at dependencies.js:12
    at i (dependencies.js:13)
    at dependencies.js:13
    at o.$eval (dependencies.js:13)
    at o.$digest (dependencies.js:13)
    at o.$apply (dependencies.js:13)
    at f (dependencies.js:12)
    at q (dependencies.js:12)
    at XMLHttpRequest.v.onload (dependencies.js:12)

AAM uses node type equals IAAS or equals PAAS

The node types in the AAM contains (e.g.) the following:

node_types:
  sc_req.www:
    derived_from: seaclouds.nodes.SoftwareComponent
    properties:
      resource_type:
        constraints:
        - equal: IAAS

Instead of "IAAS", it should say "compute".
Instead of "PAAS", it should say "platform".

Missing TOSCA policies types

TOSCA policies should contains a defined type. Probably, it should be added from AAM writer.
Below, a set of policies is shown. Each policy must contain a type.

groups:
  operation_www:
    members: [www]
    policies:
    - QoSInfo: {execution_time: 200 ms, benchmark_platform: hp_cloud_services.2xl}
    - dependencies: {operation_webservices: '2'}
    - QoSRequirements:
        response_time: {less_than: 2000.0 ms}
        availability: {greater_than: 0.98}
        cost: {less_or_equal: 200.0 euros_per_month}
        workload: {less_or_equal: 50.0 req_per_min}
    - ExpectedQualityPOC: {expectedExecutionTimePOC: .NaN, fitnessPOC: .NaN, expectedCostPOC: 2571.84}
  operation_webservices:
    members: [webservices]
    policies:
    - QoSInfo: {execution_time: 100 ms, benchmark_platform: hp_cloud_services.2xl}
    - dependencies: {operation_db1: '1'}

For example

    policies:
    - QoSInfo:
        type: seaclouds.policies.qos.info
        execution_time: 100 ms
        benchmark_platform: hp_cloud_services.2xl

The credential editor is not working properly

After the DAM is generated, the credential editor is raising an exception due a mismatch on the expected DAM syntax. @rosogon could you take a look?

DAM

tosca_definitions_version: tosca_simple_yaml_1_0_0_wd03
description: fasf
imports: ['tosca-normative-types:1.0.0.wd06-SNAPSHOT']
topology_template:
  node_templates:
    asfasf:
      type: sc_req.asfasf
      properties: {autoscale: false}
      requirements:
      - {host: DigitalOcean_1gb_ny1}
    DigitalOcean_1gb_ny1:
      type: seaclouds.nodes.Compute.DigitalOcean
      properties: {num_cpus: 1, country: United States, cost: 0.013, hardwareId: 1gb,
        city: NEW YORK, disk_type: ssd, resource_type: compute, disk_size: 30, location: 'digitalocean:compute',
        availability: 0.9999, region: ny1, ram: 1, performance: 140}
    modacloudsDc_asfasf:
      interfaces:
        Standard: {start: 'https://s3-eu-west-1.amazonaws.com/modacloudsdc-start-script/installModacloudsDc.sh'}
      properties:
        shell.env: {MODACLOUDS_TOWER4CLOUDS_DC_SYNC_PERIOD: '10', MODACLOUDS_TOWER4CLOUDS_VM_ID: DigitalOcean_1gb_ny1_ID,
          MODACLOUDS_TOWER4CLOUDS_INFLUXDB_IP: 52.48.12.68, MODACLOUDS_TOWER4CLOUDS_MANAGER_PORT: '8170',
          MODACLOUDS_TOWER4CLOUDS_INTERNAL_COMPONENT_ID: asfasf_ID, MODACLOUDS_TOWER4CLOUDS_INFLUXDB_PORT: '8086',
          MODACLOUDS_TOWER4CLOUDS_RESOURCES_KEEP_ALIVE_PERIOD: '25', MODACLOUDS_TOWER4CLOUDS_MANAGER_IP: 52.48.12.68,
          MODACLOUDS_TOWER4CLOUDS_VM_TYPE: DigitalOcean_1gb_ny1, MODACLOUDS_TOWER4CLOUDS_INTERNAL_COMPONENT_TYPE: asfasf}
        install.latch: $brooklyn:component("asfasf").attributeWhenReady("service.isUp")
      type: seaclouds.nodes.Datacollector
      requirements: {host: DigitalOcean_1gb_ny1}
  groups:
    operation_asfasf:
      members: [asfasf]
      policies:
      - dependencies: {type: seaclouds.policies.dependencies}
      - AppQoSRequirements:
          response_time: {less_than: 22.0 ms}
          availability: {greater_than: 0.22}
          cost: {less_or_equal: 22.0 euros_per_month}
          workload: {less_or_equal: 1320.0 req_per_min}
          type: seaclouds.policies.AppQoSRequirements
      - ExpectedQualityPOC: {expectedAvailabilityPOC: 0.9999, fitnessPOC: 42.35042735042735,
          expectedCostPOC: 9.36, type: seaclouds.policies.ExpectedQualityPOC}
      - autoscaling: {maxPoolSize: 3, metric: '$brooklyn:sensor("seaclouds.nodes.ControlledDynamicWebAppCluster",
            "webapp.reqs.perSec.windowed.perNode")', minPoolSize: 1, metricUpperBound: .inf,
          type: seaclouds.policies.autoscalling.AutoscalerPolicy, metricLowerBound: .inf}
    add_brooklyn_location_DigitalOcean_1gb_ny1:
      policies:
      - {brooklyn.location: 'digitalocean:compute:ny1'}
      members: [DigitalOcean_1gb_ny1]
    monitoringInformation:
      policies:
      - monitoringrules.information.policy: {id: 501eae55-08f6-44b5-8226-f7c356d7b80b,
          type: seaclouds.policies.monitoringrules}
      members: [application]
    sla_gen_info:
      policies:
      - seaclouds.app.information: {id: 49913fd4-a40e-4089-9a9e-74fd937eb246, type: seaclouds.policies.app.information}
      members: [application]
node_types:
  sc_req.asfasf:
    derived_from: seaclouds.nodes.ControlledDynamicWebAppCluster
    properties:
      resource_type:
        constraints:
        - {equal: compute}
  seaclouds.nodes.Datacollector:
    derived_from: tosca.nodes.Root
    description: |
      A simple Datacollector
    properties:
      install_latch: {type: string, required: false}
      shell.env:
        type: map
        required: false
        entry_schema: {type: string}
    requirements:
    - {host: tosca.nodes.Compute, type: tosca.relationships.HostedOn}
template_name: seaclouds.app.TpGiKSFZ
template_version: 1.0.0-SNAPSHOT

JS Exception

TypeError: (node_template.requirements || []).filter is not a function
    at http://localhost:8000/static/lib/angular-topology-editor/credentials.js:234:17
    at Array.forEach (native)
    at Object.to_topology (http://localhost:8000/static/lib/angular-topology-editor/credentials.js:230:59)
    at o.angular.module.directive.$timeout.link.scope.drawCanvas (http://localhost:8000/static/lib/angular-topology-editor/angular-topology-editor.js:47:52)
    at http://localhost:8000/static/lib/angular-topology-editor/angular-topology-editor.js:55:31
    at http://localhost:8000/static/js/dependencies.js:13:19245
    at e (http://localhost:8000/static/js/dependencies.js:11:27136)
    at http://localhost:8000/static/js/dependencies.js:11:28590

Errors when installing SeaClouds

I'm trying to install the last version of the SeaClouds platform, but I can only install the monitoring components. I get a lot of errors with the other components. This is the YAML I'm using (from https://github.com/SeaCloudsEU/SeaCloudsPlatform/blob/master/usage/installer/src/main/assembly/files/blueprints/seaclouds-on-byon.yaml):

name: SeaClouds platform

location:
  byon:
    user: notroot
    privateKeyFile: /home/cfuser/.ssh/id_rsa
    hosts:
    - ip1
    - ip2

services:
- serviceType: org.apache.brooklyn.entity.software.base.SameServerEntity
  name: SeaClouds Deployer + Monitoring
  brooklyn.children:
  - serviceType: eu.seaclouds.modaclouds.dda.MODACloudsDeterministicDataAnalyzer
    name: Monitoring DDA
    id: monitoring-dda
  - serviceType: eu.seaclouds.modaclouds.manager.MODACloudsMonitoringManager
    name: Monitoring Manager
    id: monitoring-manager
    brooklyn.config:
      modaclouds.dda.ip: $brooklyn:component("monitoring-dda").attributeWhenReady("host.address")
  - serviceType: "classpath://org/apache/brooklyn/entity/brooklynnode/brooklyn-node.yaml"
    id: deployer
    name: Deployer
    brooklyn.config:
      brooklynnode.webconsole.nosecurity: true
      brooklynnode.classpath:
        - classpath://deployer-0.8.0-SNAPSHOT.jar

- serviceType: org.apache.brooklyn.entity.software.base.SameServerEntity
  name: SeaClouds Dashboard + Planner + SLA

  shell.env:
    SLA_HOST: $brooklyn:component("sla-core").attributeWhenReady("host.address")
    SLA_PORT: $brooklyn:component("sla-core").attributeWhenReady("http.port")

  brooklyn.children:
  - serviceType: eu.seaclouds.dashboard.SeacloudsDashboard
    name: Dashboard
    id: dashboard
    brooklyn.config:
      port: 8000
      adminPort: 8001
      deployerHost: $brooklyn:component("deployer").attributeWhenReady("host.address")
      deployerPort: $brooklyn:component("deployer").attributeWhenReady("brooklynnode.webconsole.httpPort")
      slaHost: $SLA_HOST
      monitorHost: $brooklyn:component("monitoring-manager").attributeWhenReady("host.address")
      monitorPort: $brooklyn:component("monitoring-manager").attributeWhenReady("modaclouds.mm.port")
    install.latch: $brooklyn:component("sla-core").attributeWhenReady("service.isUp")

  - serviceType: "classpath://eu.seaclouds.planner/planner_blueprint.yml"
    id: planner
    name: Planner
    brooklyn.config:
        planner.install.version: "0.8.0-20150918.142713-9"
    launch.latch: $brooklyn:component("sla-core").attributeWhenReady("service.isUp")

  - serviceType: org.apache.brooklyn.entity.webapp.tomcat.TomcatServer
    name: SLA Core
    id: sla-core
    brooklyn.config:
      java.sysprops:
          DB_URL: $brooklyn:formatString("jdbc:%s%s", component("sla-db").attributeWhenReady("datastore.url"), "sc_sla")
          DB_USERNAME: "atossla"
          DB_PASSWORD: "_atossla_"
          MONITOR_METRICS_URL: $brooklyn:formatString("%s/v1/metrics", component("monitoring-manager").attributeWhenReady("main.uri"))
          SLA_URL: $brooklyn:formatString("http://%s:%s", component("sla-core").attributeWhenReady("host.address"), component("sla-core").attributeWhenReady("http.port"))
    war: https://oss.sonatype.org/service/local/artifact/maven/redirect?r=snapshots&g=eu.seaclouds-project&a=sla-service&v=LATEST&e=war

  - serviceType: org.apache.brooklyn.entity.database.mysql.MySqlNode
    id: sla-db
    name: SLA Db
    brooklyn.config:
      creationScriptUrl: https://raw.githubusercontent.com/SeaCloudsEU/sla-core/e1d3bd4dec27236cfdefa1eae81d38db3dcd11da/sla-repository/src/main/resources/sql/01database.sql

And these are the errors :
CONSOLE:

2015-10-07 12:25:06,019 INFO  Starting VanillaSoftwareProcessImpl{id=cyb0uZGf} on machine SshMachineLocation[SshMachineLocation:fqft:ip5/ip5:22@fqftgv4h]
2015-10-07 12:25:06,069 INFO  Starting MySqlNodeImpl{id=PeN3dLBX} on machine SshMachineLocation[SshMachineLocation:fqft:ip5/ip5:22@fqftgv4h]
2015-10-07 12:25:26,458 WARN  Shutdown hook Task[destroying BasicApplicationImpl{id=Fy53hDSb}:zM0bEDtG] returned error (continuing): org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: java.util.concurrent.TimeoutException
2015-10-07 12:25:26,463 WARN  Submitting machine stop early in background for SameServerEntityImpl{id=w4LQ2zGs} because process stop has not finished
2015-10-07 12:25:26,473 WARN  Submitting machine stop early in background for SameServerEntityImpl{id=pcKndjgf} because process stop has not finished
2015-10-07 12:25:26,498 WARN  Submitting machine stop early in background for MODACloudsMonitoringManagerImpl{id=AihnEBsO} because process stop has not finished
2015-10-07 12:25:26,527 WARN  Execution failed, invocation error for stopping TomcatServerImpl{id=U95WAUGQ}: Error resolving config java.sysprops.DB_URL, $brooklyn:formatString("jdbc:%s%s",$brooklyn:entity("sla-db").attributeWhenReady("datastore.url"),sc_sla), in org.apache.brooklyn.util.core.task.BasicExecutionContext@3b7eb286([Wrapped[contextEntity:TomcatServerImpl{id=U95WAUGQ}]]): org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.RuntimeInterruptedException: java.lang.InterruptedException (throwing)
2015-10-07 12:25:26,527 INFO  STDIN of problem in Task[ssh: stopping TomcatServerImpl{id=U95WAUGQ}:roLLuPkk]:
...
2015-10-07 12:25:26,545 WARN  Error invoking stop at MODACloudsMonitoringManagerImpl{id=AihnEBsO}: java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@5cb10371 rejected from java.util.concurrent.ThreadPoolExecutor@3753241a[Shutting down, pool size = 27, active threads = 15, queued tasks = 0, completed tasks = 3977]
2015-10-07 12:25:26,548 WARN  Error invoking stop at BasicApplicationImpl{id=Fy53hDSb}: java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@795c90dc rejected from java.util.concurrent.ThreadPoolExecutor@3753241a[Shutting down, pool size = 22, active threads = 14, queued tasks = 0, completed tasks = 3978]
2015-10-07 12:25:26,548 WARN  Error invoking stop at TomcatServerImpl{id=U95WAUGQ}: java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@317dfd1e rejected from java.util.concurrent.ThreadPoolExecutor@3753241a[Shutting down, pool size = 22, active threads = 14, queued tasks = 0, completed tasks = 3978]
2015-10-07 12:26:28,780 INFO  Starting brooklyn on SshMachineLocation[SshMachineLocation:Hc3j:ip4/ip4:22@Hc3jPxkR] using command nohup bin/brooklyn launch --port 8081 --bindAddress 0.0.0.0 --noConsoleSecurity >> /home/notroot/brooklyn-managed-processes/apps/phF4jbaz/entities/BrooklynNode_YThir8OU/console 2>&1 </dev/null &
2015-10-07 12:27:50,664 WARN  Execution failed, invalid result 1 for customizing MySqlNodeImpl{id=PeN3dLBX} (throwing)
2015-10-07 12:27:50,665 INFO  STDERR of problem in Task[ssh: customizing MySqlNodeImpl{id=PeN3dLBX}:C7TIAgub]:
FATAL ERROR: please install the following Perl modules before executing /home/notroot/brooklyn-managed-processes/installs/MySqlNode_5.6.26/mysql-5.6.26-linux-glibc2.5-x86_64/scripts/mysql_install_db:
...
2015-10-07 12:27:50,682 WARN  Error invoking start at MySqlNodeImpl{id=PeN3dLBX}: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: java.lang.IllegalStateException: Execution failed, invalid result 1 for customizing MySqlNodeImpl{id=PeN3dLBX}
2015-10-07 12:27:50,688 WARN  Execution failed, invocation error for customizing TomcatServerImpl{id=FWg9vKGO}: Error resolving config java.sysprops.DB_URL, $brooklyn:formatString("jdbc:%s%s",$brooklyn:entity("sla-db").attributeWhenReady("datastore.url"),sc_sla), in org.apache.brooklyn.util.core.task.BasicExecutionContext@3f9886c1([Wrapped[contextEntity:TomcatServerImpl{id=FWg9vKGO}]]): org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.CompoundRuntimeException: Aborted waiting for ready from MySqlNodeImpl{id=PeN3dLBX} Sensor: datastore.url (java.lang.String): Aborted waiting for ready from MySqlNodeImpl{id=PeN3dLBX} Sensor: datastore.url (java.lang.String): java.lang.Exception: Abort due to MySqlNodeImpl{id=PeN3dLBX} -> Sensor: service.state (org.apache.brooklyn.core.entity.lifecycle.Lifecycle) (throwing)
2015-10-07 12:27:50,689 INFO  STDIN of problem in Task[ssh: customizing TomcatServerImpl{id=FWg9vKGO}:X34r9hDp]:
export RUN_DIR="/home/notroot/brooklyn-managed-processes/apps/phF4jbaz/entities/TomcatServer_FWg9vKGO"
mkdir -p $RUN_DIR
cd $RUN_DIR
mkdir -p conf logs webapps temp
2015-10-07 12:27:50,703 WARN  Error invoking start at TomcatServerImpl{id=FWg9vKGO}: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: java.lang.IllegalStateException: Execution failed, invocation error for customizing TomcatServerImpl{id=FWg9vKGO}: Error resolving config java.sysprops.DB_URL, $brooklyn:formatString("jdbc:%s%s",$brooklyn:entity("sla-db").attributeWhenReady("datastore.url"),sc_sla), in org.apache.brooklyn.util.core.task.BasicExecutionContext@3f9886c1([Wrapped[contextEntity:TomcatServerImpl{id=FWg9vKGO}]]): org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.CompoundRuntimeException: Aborted waiting for ready from MySqlNodeImpl{id=PeN3dLBX} Sensor: datastore.url (java.lang.String): Aborted waiting for ready from MySqlNodeImpl{id=PeN3dLBX} Sensor: datastore.url (java.lang.String): java.lang.Exception: Abort due to MySqlNodeImpl{id=PeN3dLBX} -> Sensor: service.state (org.apache.brooklyn.core.entity.lifecycle.Lifecycle): Execution failed, invocation error for customizing TomcatServerImpl{id=FWg9vKGO}: Error resolving config java.sysprops.DB_URL, $brooklyn:formatString("jdbc:%s%s",$brooklyn:entity("sla-db").attributeWhenReady("datastore.url"),sc_sla), in org.apache.brooklyn.util.core.task.BasicExecutionContext@3f9886c1([Wrapped[contextEntity:TomcatServerImpl{id=FWg9vKGO}]]): org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.CompoundRuntimeException: Aborted waiting for ready from MySqlNodeImpl{id=PeN3dLBX} Sensor: datastore.url (java.lang.String): Aborted waiting for ready from MySqlNodeImpl{id=PeN3dLBX} Sensor: datastore.url (java.lang.String): java.lang.Exception: Abort due to MySqlNodeImpl{id=PeN3dLBX} -> Sensor: service.state (org.apache.brooklyn.core.entity.lifecycle.Lifecycle): java.lang.IllegalArgumentException: Error resolving config java.sysprops.DB_URL, $brooklyn:formatString("jdbc:%s%s",$brooklyn:entity("sla-db").attributeWhenReady("datastore.url"),sc_sla), in org.apache.brooklyn.util.core.task.BasicExecutionContext@3f9886c1([Wrapped[contextEntity:TomcatServerImpl{id=FWg9vKGO}]]): org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.CompoundRuntimeException: Aborted waiting for ready from MySqlNodeImpl{id=PeN3dLBX} Sensor: datastore.url (java.lang.String): Aborted waiting for ready from MySqlNodeImpl{id=PeN3dLBX} Sensor: datastore.url (java.lang.String): java.lang.Exception: Abort due to MySqlNodeImpl{id=PeN3dLBX} -> Sensor: service.state (org.apache.brooklyn.core.entity.lifecycle.Lifecycle)
2015-10-07 12:27:50,727 WARN  Error invoking start at VanillaSoftwareProcessImpl{id=cyb0uZGf}: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: java.lang.IllegalArgumentException: Error resolving config launch.latch, $brooklyn:entity("sla-core").attributeWhenReady("service.isUp"), in org.apache.brooklyn.util.core.task.BasicExecutionContext@365566b8([Wrapped[contextEntity:VanillaSoftwareProcessImpl{id=cyb0uZGf}]]): org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.CompoundRuntimeException: Aborted waiting for ready from TomcatServerImpl{id=FWg9vKGO} Sensor: service.isUp (java.lang.Boolean): Aborted waiting for ready from TomcatServerImpl{id=FWg9vKGO} Sensor: service.isUp (java.lang.Boolean): java.lang.Exception: Abort due to TomcatServerImpl{id=FWg9vKGO} -> Sensor: service.state (org.apache.brooklyn.core.entity.lifecycle.Lifecycle)
2015-10-07 12:27:50,732 WARN  Error invoking start at SeacloudsDashboardImpl{id=OuZTYTp0}: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: java.lang.IllegalArgumentException: Error resolving config install.latch, $brooklyn:entity("sla-core").attributeWhenReady("service.isUp"), in org.apache.brooklyn.util.core.task.BasicExecutionContext@64a0ffdb([Wrapped[contextEntity:SeacloudsDashboardImpl{id=OuZTYTp0}]]): org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.CompoundRuntimeException: Aborted waiting for ready from TomcatServerImpl{id=FWg9vKGO} Sensor: service.isUp (java.lang.Boolean): Aborted waiting for ready from TomcatServerImpl{id=FWg9vKGO} Sensor: service.isUp (java.lang.Boolean): java.lang.Exception: Abort due to TomcatServerImpl{id=FWg9vKGO} -> Sensor: service.state (org.apache.brooklyn.core.entity.lifecycle.Lifecycle)
2015-10-07 12:27:50,744 WARN  Error invoking start at SameServerEntityImpl{id=WBZDzrTw}: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.CompoundRuntimeException: 4 of 4 parallel child tasks failed, 4 errors including: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: Error invoking start at SeacloudsDashboardImpl{id=OuZTYTp0}: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: java.lang.IllegalArgumentException: Error resolving config install.latch, $brooklyn:entity("sla-core").attributeWhenReady("service.isUp"), in org.apache.brooklyn.util.core.task.BasicExecutionContext@64a0ffdb([Wrapped[contextEntity:SeacloudsDashboardImpl{id=OuZTYTp0}]]): org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.CompoundRuntimeException: Aborted waiting for ready from TomcatServerImpl{id=FWg9vKGO} Sensor: service.isUp (java.lang.Boolean): Aborted waiting for ready from TomcatServerImpl{id=FWg9vKGO} Sensor: service.isUp (java.lang.Boolean): java.lang.Exception: Abort due to TomcatServerImpl{id=FWg9vKGO} -> Sensor: service.state (org.apache.brooklyn.core.entity.lifecycle.Lifecycle)

BROOKLYN / Dashboard:

Failure running task install (Kia1bdkE): java.lang.IllegalArgumentException: Error resolving config install.latch, $brooklyn:entity("sla-core").attributeWhenReady("service.isUp"), in org.apache.brooklyn.util.core.task.BasicExecutionContext@3250ae9f([Wrapped[contextEntity:SeacloudsDashboardImpl{id=NT5KXSdq}]]): org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.CompoundRuntimeException: Aborted waiting for ready from TomcatServerImpl{id=H6EU0fk6} Sensor: service.isUp (java.lang.Boolean): Aborted waiting for ready from TomcatServerImpl{id=H6EU0fk6} Sensor: service.isUp (java.lang.Boolean): java.lang.Exception: Abort due to TomcatServerImpl{id=H6EU0fk6} -> Sensor: service.state (org.apache.brooklyn.core.entity.lifecycle.Lifecycle)

BROOKLYN / Planner:

Failure running task launch (cwEUbdwg): java.lang.IllegalArgumentException: Error resolving config launch.latch, $brooklyn:entity("sla-core").attributeWhenReady("service.isUp"), in org.apache.brooklyn.util.core.task.BasicExecutionContext@7ebf9f3e([Wrapped[contextEntity:VanillaSoftwareProcessImpl{id=JPARsbpP}]]): org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.CompoundRuntimeException: Aborted waiting for ready from TomcatServerImpl{id=H6EU0fk6} Sensor: service.isUp (java.lang.Boolean): Aborted waiting for ready from TomcatServerImpl{id=H6EU0fk6} Sensor: service.isUp (java.lang.Boolean): java.lang.Exception: Abort due to TomcatServerImpl{id=H6EU0fk6} -> Sensor: service.state (org.apache.brooklyn.core.entity.lifecycle.Lifecycle)

BROOKLYN / SLA Core:

Failure running task ssh: customizing TomcatServerImpl{id=H6EU0fk6} (xE1wGER6): java.lang.IllegalStateException: Execution failed, invocation error for customizing TomcatServerImpl{id=H6EU0fk6}: Error resolving config java.sysprops.DB_URL, $brooklyn:formatString("jdbc:%s%s",$brooklyn:entity("sla-db").attributeWhenReady("datastore.url"),sc_sla), in org.apache.brooklyn.util.core.task.BasicExecutionContext@aa5a7c6([Wrapped[contextEntity:TomcatServerImpl{id=H6EU0fk6}]]): org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.CompoundRuntimeException: Aborted waiting for ready from MySqlNodeImpl{id=wdRVdl3h} Sensor: datastore.url (java.lang.String): Aborted waiting for ready from MySqlNodeImpl{id=wdRVdl3h} Sensor: datastore.url (java.lang.String): java.lang.Exception: Abort due to MySqlNodeImpl{id=wdRVdl3h} -> Sensor: service.state (org.apache.brooklyn.core.entity.lifecycle.Lifecycle): Execution failed, invocation error for customizing TomcatServerImpl{id=H6EU0fk6}: Error resolving config java.sysprops.DB_URL, $brooklyn:formatString("jdbc:%s%s",$brooklyn:entity("sla-db").attributeWhenReady("datastore.url"),sc_sla), in org.apache.brooklyn.util.core.task.BasicExecutionContext@aa5a7c6([Wrapped[contextEntity:TomcatServerImpl{id=H6EU0fk6}]]): org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.CompoundRuntimeException: Aborted waiting for ready from MySqlNodeImpl{id=wdRVdl3h} Sensor: datastore.url (java.lang.String): Aborted waiting for ready from MySqlNodeImpl{id=wdRVdl3h} Sensor: datastore.url (java.lang.String): java.lang.Exception: Abort due to MySqlNodeImpl{id=wdRVdl3h} -> Sensor: service.state (org.apache.brooklyn.core.entity.lifecycle.Lifecycle): java.lang.IllegalArgumentException: Error resolving config java.sysprops.DB_URL, $brooklyn:formatString("jdbc:%s%s",$brooklyn:entity("sla-db").attributeWhenReady("datastore.url"),sc_sla), in org.apache.brooklyn.util.core.task.BasicExecutionContext@aa5a7c6([Wrapped[contextEntity:TomcatServerImpl{id=H6EU0fk6}]]): org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: org.apache.brooklyn.util.exceptions.CompoundRuntimeException: Aborted waiting for ready from MySqlNodeImpl{id=wdRVdl3h} Sensor: datastore.url (java.lang.String): Aborted waiting for ready from MySqlNodeImpl{id=wdRVdl3h} Sensor: datastore.url (java.lang.String): java.lang.Exception: Abort due to MySqlNodeImpl{id=wdRVdl3h} -> Sensor: service.state (org.apache.brooklyn.core.entity.lifecycle.Lifecycle)

BROOKLYN / SLA Db:

Failure running task ssh: customizing MySqlNodeImpl{id=wdRVdl3h} (IzFhoAux): java.lang.IllegalStateException: Execution failed, invalid result 1 for customizing MySqlNodeImpl{id=wdRVdl3h}

BROOKLYN / Deployer:

Failure running task post-start (PLeXAIfO): java.lang.IllegalStateException: Timeout waiting for SERVICE_UP from BrooklynNodeImpl{id=Pzbnz4PF}

Errors in the validation of a TOSCA DAM generated by the Dashboard for a web app (PaaS)

This is the DAM created by the dashboard (http://95.211.172.242:8001/#/wizards/add-application) for a single java web application that should be deployed in a PaaS provider:

tosca_definitions_version: tosca_simple_yaml_1_0_0_wd03
description: Softcare_v1
imports:
  - 'tosca-normative-types:1.0.0.wd06-SNAPSHOT'
topology_template:
  node_templates:
    webApp:
      type: org.apache.brooklyn.entity.webapp.tomcat.TomcatServer
      properties:
        language: JAVA
        location: STATIC
        location_option: AMERICA
        autoscale: false
      requirements:
        - host: Cloud_Foundry
    Cloud_Foundry:
      type: tosca.nodes.Platform
      properties:
        node_support: true
        go_support: true
        tomcat_version: 7
        private_hosting: true
        resource_type: platform
        tomcat_support: true
        auto_scaling: false
        public_hosting: false
        java_support: true
        horizontal_scaling: true
        ruby_support: true
        python_support: true
        scala_support: true
        vertical_scaling: true
        location: CloudFoundry
        go_version: 1.4
        php_support: true
        performance: 192
        availability: 0.99871
        cost: 0.04
  groups:
    operation_webApp:
      members:
        - webApp
      policies:
        - QoSInfo:
            execution_time: 5 ms
            benchmark_platform: Amazon_EC2_m1_medium_us_east_1
            type: seaclouds.policies.QoSInfo
        - dependencies:
            type: seaclouds.policies.dependencies
        - AppQoSRequirements:
            response_time:
              less_than: 200.0 ms
            availability:
              greater_than: 0.99
            cost:
              less_or_equal: 1000.0 euros_per_month
            workload:
              less_or_equal: 300.0 req_per_min
            type: seaclouds.policies.AppQoSRequirements
        - ExpectedQualityPOC:
            expectedAvailabilityPOC: 0.99871
            fitnessPOC: 47.75193798449605
            expectedCostPOC: 28.8
            expectedExecutionTimePOC: 0.004038257173219979
            type: seaclouds.policies.ExpectedQualityPOC
    add_brooklyn_location_Cloud_Foundry:
      policies:
        - brooklyn.location: CloudFoundry
      members:
        - Cloud_Foundry
    monitoringInformation:
      policies:
        - monitoringrules.information.policy:
            id: 20187676-b392-4306-8b50-901f8a6aab65
            type: seaclouds.policies.monitoringrules
      members:
        - application
    sla_gen_info:
      policies:
        - seaclouds.app.information:
            id: 6e3d444d-917b-44c9-89e7-0095e6e3bb70
            type: seaclouds.policies.app.information
      members:
        - application
node_types:
  org.apache.brooklyn.entity.webapp.tomcat.TomcatServer:
    derived_from: tosca.nodes.Root
    description: |
      A simple Tomcat server
    properties:
      http.port:
        type: list
        required: false
        entry_schema:
          type: string
      java.sysprops:
        type: map
        required: false
        entry_schema:
          type: string
      wars.root:
        type: string
        required: false
    requirements:
      - host: tosca.nodes.Compute
        type: tosca.relationships.HostedOn
  seaclouds.nodes.Datacollector:
    derived_from: tosca.nodes.Root
    description: |
      A simple DC
    properties:
      install_latch:
        type: string
        required: false
      shell.env:
        type: map
        required: false
        entry_schema:
          type: string
    requirements:
      - host: tosca.nodes.Compute
        type: tosca.relationships.HostedOn
template_name: seaclouds.app.JBkCjgWn
template_version: 1.0.0-SNAPSHOT

The problems are the following:

  1. I'm unable to deploy the application using the dashboard.
  2. When I try to deploy this application using brooklyn (http://52.31.210.230:8081/ ) I get the following errors:
Unable to instantiate item; 2 errors including: Transformer for tosca gave an error creating this plan: Could not parse submitted-tosca-plan as TOSCA: 

Context: Derived_from type not found 
Problem: The type specified for a node_template is not found neither in the archive nor its dependencies. 
Note: tosca.nodes.Platform 
Start: SimpleMark(line=17, column=7) 
End : SimpleMark(line=39, column=3) 
Level: ERROR
Code : TYPE_NOT_FOUND 

Context: null Problem: null Note: application Start: SimpleMark(line=6, column=3) End : SimpleMark(line=85, column=1) Level: WARNING Code : UNKOWN_GROUP_MEMBER 

Context: null Problem: null Note: application Start: SimpleMark(line=6, column=3) End : SimpleMark(line=85, column=1) Level: WARNING Code : UNKOWN_GROUP_MEMBER 

Context: null Problem: null Note: host Start: SimpleMark(line=15, column=17) End : SimpleMark(line=15, column=30) Level: ERROR Code : REQUIREMENT_CAPABILITY_NOT_FOUND 

Context: null Problem: null Note: host Start: SimpleMark(line=15, column=17) End : SimpleMark(line=15, column=30) Level: WARNING Code : RELATIONSHIP_NOT_BUILT

Error in unified api getting the ADPs

@adriannieto : The planner successfully return a set of adps, but the dashboard raises an exception:

ERROR [2015-11-27 13:24:55,513] io.dropwizard.jersey.errors.LoggingExceptionMapper: Error handling a request: db8797eaadf9d9d2
! java.lang.IllegalStateException: null
! at com.google.gson.JsonArray.getAsString(JsonArray.java:179) ~[dashboard.jar:na]
! at eu.seaclouds.platform.dashboard.resources.PlannerResource.getAdps(PlannerResource.java:71) ~[dashboard.jar:na]
! at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_31]
! at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_31]
! at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_31]
! at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_31]
! at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) ~[dashboard.jar:na]
! at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:164) ~[dashboard.jar:na]
! at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:181) ~[dashboard.jar:na]
! at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:158) ~[dashboard.jar:na]
! at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:101) ~[dashboard.jar:na]
! at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389) ~[dashboard.jar:na]
! at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347) ~[dashboard.jar:na]
! at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102) ~[dashboard.jar:na]
! at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:305) ~[dashboard.jar:na]
! at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) [dashboard.jar:na]
! at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) [dashboard.jar:na]
! at org.glassfish.jersey.internal.Errors.process(Errors.java:315) [dashboard.jar:na]
! at org.glassfish.jersey.internal.Errors.process(Errors.java:297) [dashboard.jar:na]
! at org.glassfish.jersey.internal.Errors.process(Errors.java:267) [dashboard.jar:na]
! at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317) [dashboard.jar:na]
! at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:288) [dashboard.jar:na]
! at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1110) [dashboard.jar:na]
! at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:401) [dashboard.jar:na]
! at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:386) [dashboard.jar:na]
! at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:335) [dashboard.jar:na]
! at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:222) [dashboard.jar:na]
! at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:49) [dashboard.jar:na]
! at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669) [dashboard.jar:na]

! at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:83) [dashboard.jar:na]
! at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:300) [dashboard.jar:na]
! at io.dropwizard.jetty.BiDiGzipFilter.doFilter(BiDiGzipFilter.java:134) [dashboard.jar:na]
! at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) [dashboard.jar:na]

! at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:29) [dashboard.jar:na]
! at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) [dashboard.jar:na]

! at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:44) [dashboard.jar:na]
! at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:39) [dashboard.jar:na]

! at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) [dashboard.jar:na]

! at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585) [dashboard.jar:na]
! at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127) [dashboard.jar:na]
! at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) [dashboard.jar:na]
! at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061) [dashboard.jar:na]
! at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [dashboard.jar:na]
! at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) [dashboard.jar:na]
! at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:240) [dashboard.jar:na]
! at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:38) [dashboard.jar:na]
! at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) [dashboard.jar:na]
! at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:95) [dashboard.jar:na]
! at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) [dashboard.jar:na]
! at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:159) [dashboard.jar:na]
! at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) [dashboard.jar:na]
! at org.eclipse.jetty.server.Server.handle(Server.java:497) [dashboard.jar:na]
! at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310) [dashboard.jar:na]
! at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257) [dashboard.jar:na]
! at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540) [dashboard.jar:na]
! at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) [dashboard.jar:na]
! at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) [dashboard.jar:na]
! at java.lang.Thread.run(Unknown Source) [na:1.8.0_31]

Please, coordinate with @szenzaro: I think the planner output has changed.

Add doc for each component

Add README file to each maven module.
This will contain the following:

  • Description
  • Usage (how to build your component? What components it depends on? ecc )
  • How to run it

Improve visualization of the wizard ADP selector

After #173 was reviewed @rosogon suggested some changes that should be done on the wizard adp selector:

  • The Offering title should be modified to be more descriptive with the provider.
  • The Service name should be retrieved from the node template instead of the node type.
  • Properties should be collapsible.

The SLA is not notified about the rules installation

Testing the SeaClouds platform and trying to show also the SLA working it seems theSLA is not notified after the rules installation and we still need to notify the SLA manually. Also looking at the code here https://github.com/SeaCloudsEU/SeaCloudsPlatform/blob/master/dashboard/src/main/java/eu/seaclouds/platform/dashboard/resources/DeployerResource.java#L67 it looks like the Dashboard send the agreements but does not notify the SLA about the rules installation. In order to perform this notification the following REST call needs to be performed: POST SLA-IP:8080/seaclouds/commands/rulesready. @adriannieto

Unify YAML examples in common module

We have defined a lot of examples of TOSCA files with independence of each module. A simple search returns more than 80 YAML files (https://github.com/SeaCloudsEU/SeaCloudsPlatform/search?l=yaml&q=yaml&type=Code&utf8=%E2%9C%93). In order to simplify the integration tests and provide the developer an unified way to interact with the YAML representation of AAM/ADP/DAM we should move all the representations to the same package inside common module. Each partner should agree in a reasonable amount of examples.

@SeaCloudsEU What do you think?

CloudFoundry location name

I think that the Discoverer has a wrong configuration. You changed the name of the CloudFoundry to cloud foundry-instance inside of Discoverer’s files but the Planner’s configuration file was not updated in the master, take a look here. The Planner README.md has to be updated too.

Vagrant up fail because brooklyn url is not available

When installing SeaClouds on a BYON development environment I found this error:

==> brooklyn: 
==> brooklyn: gzip: stdin: not in gzip format

Debugging the server.yaml file I found that the repository where Vagrant is looking for brooklyn is down.

$ wget http://apache.mirror.anlx.net/incubator/brooklyn/apache-brooklyn-0.8.0-incubating/apache-brooklyn-0.8.0-incubating-bin.tar.gz
--2015-12-02 11:05:31--  http://apache.mirror.anlx.net/incubator/brooklyn/apache-brooklyn-0.8.0-incubating/apache-brooklyn-0.8.0-incubating-bin.tar.gz
Resolving apache.mirror.anlx.net... 81.91.108.244
Connecting to apache.mirror.anlx.net|81.91.108.244|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-12-02 11:05:32 ERROR 404: Not Found.

@andreaturli could do you take a look to this?

Replace the ENV vars of the Dashboard with a YAML file

Regarding to the review of #47 we found an interesting way to replace enviroment variables that wires the entire project with the Dashboard. Maybe as we are using Dropwizard.io to deploy the dashboard, we can use the configuration YAML to setup all the necessary parameters.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.