Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jul 14 2016 13:06
    andreaturli unlabeled #311
  • Jul 14 2016 13:06

    rosogon on master

    Updating deployer and brooklyn-… Merge pull request #311 from ki… (compare)

  • Jul 14 2016 13:06
    rosogon closed #311
  • Jul 14 2016 13:06
    rosogon commented #311
  • Jul 14 2016 10:15
    kiuby88 commented #311
  • Jul 14 2016 08:50
    codecov-io commented #311
  • Jul 14 2016 08:42
    codecov-io commented #311
  • Jul 14 2016 08:42
    kiuby88 synchronize #311
  • Jul 13 2016 16:22

    rosogon on 1.1.0-beta

    (compare)

  • Jul 13 2016 11:24
    rosogon commented #311
  • Jul 13 2016 11:19
    kiuby88 synchronize #311
  • Jul 13 2016 10:15
    codecov-io commented #311
  • Jul 13 2016 10:08
    kiuby88 commented #311
  • Jul 13 2016 10:08
    andreaturli labeled #311
  • Jul 13 2016 10:08
    kiuby88 opened #311
  • Jul 11 2016 16:41
    IvanFebles commented #310
  • Jul 10 2016 18:09
    fradandria labeled #310
  • Jul 10 2016 18:09
    fradandria assigned #310
  • Jul 10 2016 18:09
    fradandria opened #310
  • Jun 29 2016 15:22
    andreaturli unlabeled #309
Jose
@kiuby88
Andrea, give me 1 minute and I will send the jars
about the new issue
the problem is that planner requires SLA endpoint too
Andrea Turli
@andreaturli
no tell me the URLs, don’t send me anything
Jose
@kiuby88
sorry, I wanted to say the urls
Jose
@kiuby88
I am not stupid hahahahaha
Román SG
@rosogon
I think the sla generator url is passed to the planner.
Andrea Turli
@andreaturli
sla endpoint is the sla-core url?
Román SG
@rosogon
I saw it filled in the conf yesterday.
Yes
Andrea Turli
@andreaturli
      - type: seaclouds-planner
        name: seaclouds-planner
        brooklyn.config:
          planner.discoverer.url: $brooklyn:formatString("http://%s:%s/", $brooklyn:component("discoverer").attributeWhenReady("host.address"), $brooklyn:component("discoverer").config("http.port"))
          planner.sla_generator.url: $brooklyn:component("sla-core").attributeWhenReady("main.uri")
          planner.grafana.url: $brooklyn:component("grafana").attributeWhenReady("host.address")
          planner.monitor_manager.url: $brooklyn:component("monitor-manager").attributeWhenReady("host.address")
          planner.monitor_manager.port: $brooklyn:component("monitor-manager").config("monitor.manager.port")
        launch.latch: $brooklyn:component("deployer").attributeWhenReady("service.isUp”)
sla_generator is there
Jose
@kiuby88
I see
Andrea Turli
@andreaturli
and brooklyn resolves it as "SLA_GENERATOR_URL="http://127.0.0.1:8080/“"
I think the problem is the trailing slash in the end
as the log says eu.seaclouds.platform.planner.core.utils.HttpHelper: Getting request for http://127.0.0.1:8080//seaclouds/commands/fromtemplate
Jose
@kiuby88
Probably, it is not the correct URL
could you paste here the planner/conf.yml?
Andrea Turli
@andreaturli
which one?
the sla-core URL is correct
Jose
@kiuby88
ok
Andrea Turli
@andreaturli
please guys, don’t guess, you developed those things, you should now immediately the answers!
Jose
@kiuby88
I do not know. I need to check it
Andrea Turli
@andreaturli
why now? how is it possible that those problems are not known?
Jose
@kiuby88
I never found this problem :(
Andrea Turli
@andreaturli
it’s impossible
you never found this problem because someone else configured the planner for you
Román SG
@rosogon
The double slash is the error.
Jose
@kiuby88
I think so
Andrea Turli
@andreaturli
testing now again
Jose
@kiuby88
postman
I am trying
Andrea Turli
@andreaturli
@jose I’m waiting for the deployer URLs
Jose
@kiuby88
Andrea, doble slash are the problem. curl 52.36.119.104:9003//providers returns 404 (it is a SLA which is deployed currently on AWS)
Andrea Turli
@andreaturli
the URLS!
Andrea Turli
@andreaturli
thanks
ERROR [2016-04-15 08:38:59,734] eu.seaclouds.platform.planner.core.application.ApplicationFacade: TargetType definition tosca.nodes.Computewas not foundso it will not added to DAM
INFO  [2016-04-15 08:38:59,746] eu.seaclouds.monitor.monitoringdamgenerator.MonitoringDamGenerator: Request received.
INFO  [2016-04-15 08:38:59,756] eu.seaclouds.monitor.monitoringdamgenerator.adpparsing.YAMLMonitorParser: Parsing the Abstract Deployment Model.
INFO  [2016-04-15 08:38:59,764] eu.seaclouds.monitor.monitoringdamgenerator.MonitoringDamGenerator: Generating monitoring information for host SoftLayer_Cloud_Servers_1core_2gb_HOU
INFO  [2016-04-15 08:38:59,764] eu.seaclouds.monitor.monitoringdamgenerator.rulesgenerators.InfrastructuralRulesGenerator: Generating infrastructural level monitoring rules for host: SoftLayer_Cloud_Servers_1core_2gb_HOU
INFO  [2016-04-15 08:38:59,769] eu.seaclouds.monitor.monitoringdamgenerator.dcgenerators.MODACloudsDcGenerator: Generating required deployment script for the MODAClouds Data Collector.
INFO  [2016-04-15 08:38:59,774] eu.seaclouds.monitor.monitoringdamgenerator.MonitoringDamGenerator: Generating monitoring information for module t
INFO  [2016-04-15 08:38:59,774] eu.seaclouds.monitor.monitoringdamgenerator.rulesgenerators.ApplicationRulesGenerator: Generating application level monitoring rules for host: t
INFO  [2016-04-15 08:38:59,774] eu.seaclouds.monitor.monitoringdamgenerator.rulesgenerators.ApplicationRulesGenerator: Module t has a condition over the availability metric; generating SLA rule.
INFO  [2016-04-15 08:38:59,774] eu.seaclouds.monitor.monitoringdamgenerator.rulesgenerators.ApplicationRulesGenerator: Generating rules required for the replanning process for module t
INFO  [2016-04-15 08:38:59,774] eu.seaclouds.monitor.monitoringdamgenerator.dcgenerators.SeaCloudsDcGenerator: Generating required deployment script for the MODAClouds Data Collector.
INFO  [2016-04-15 08:38:59,842] eu.seaclouds.platform.planner.core.utils.HttpHelper: Posting request for http://127.0.0.1:8080/seaclouds/templates
ERROR [2016-04-15 08:39:00,313] eu.seaclouds.platform.planner.core.application.agreements.AgreementGenerator: Error AgreementTemplateId during dam generation eu.seaclouds.platform.planner.core.application.agreements.AgreementGenerator@6b50560b
INFO  [2016-04-15 08:39:00,325] eu.seaclouds.platform.planner.core.utils.HttpHelper: Getting request for http://127.0.0.1:8080/seaclouds/commands/fromtemplate
ERROR [2016-04-15 08:39:00,350] io.dropwizard.jersey.errors.LoggingExceptionMapper: Error handling a request: 76fec203ae671246
! java.util.NoSuchElementException: null
! at java.util.Scanner.throwFor(Scanner.java:907) ~[na:1.7.0_95]
! at java.util.Scanner.next(Scanner.java:1416) ~[na:1.7.0_95]
! at eu.seaclouds.platform.planner.core.utils.HttpHelper.getRequest(HttpHelper.java:73) ~[planner-service.jar:na]
! at eu.seaclouds.platform.planner.core.application.agreements.AgreementGenerator.getAgreement(AgreementGenerator.java:67) ~[planner-service.jar:na]
! at eu.seaclouds.platform.planner.core.application.decorators.SeaCloudsManagementPolicyDecorator.encodeAgreement(SeaCloudsManagementPolicyDecorator.java:111) ~[planner-service.jar:na]
! at eu.seaclouds.platform.planner.core.application.decorators.SeaCloudsManagementPolicyDecorator.getPolicyGroupValues(SeaCloudsManagementPolicyDecorator.java:87) ~[planner-service.jar:na]
! at eu.seaclouds.platform.planner.core.application.decorators.SeaCloudsManagementPolicyDecorator.addSeaCloudsManagementGroup(SeaCloudsManagementPolicyDecorator.java:72) ~[planner-service.jar:na]
! at eu.seaclouds.platform.planner.core.application.decorators.SeaCloudsManagementPolicyDecorator.apply(SeaCloudsManagementPolicyDecorator.java:68) ~[planner-service.jar:na]
! at eu.seaclouds.platform.planner.core.application.ApplicationFacadeDecoratorApplicator.applyDecorators(ApplicationFacadeDecoratorApplicator.java:21) ~[planner-service.jar:na]
! at eu.seaclouds.platform.planner.core.application.ApplicationFacade.applyDecorators(ApplicationFacade.java:140) ~[planner-service.jar:na]
single slash, same error
Jose
@kiuby88
ok
uhm…
Andrea Turli
@andreaturli
$ cat conf.yml
server:
  type: simple
  applicationContextPath: /planner
  adminContextPath: /admin
  connector:
    type: http
    port: 1234
discovererURL: http://127.0.0.1:2000/
slaGeneratorURL: http://127.0.0.1:8080
deployableProviders: ["openstack-nova","openstack-keystone","openstack-nova-ec2", "byon", "sts", "elasticstack", "cloudstack", "rackspace-cloudidentity","aws-ec2","gogrid","elastichosts-lon-p","elastichosts-sat-p","elastichosts-lon-b","openhosting-east1","serverlove-z1-man","skalicloud-sdg-my","go2cloud-jhb1","softlayer","hpcloud-compute","rackspace-cloudservers-us","rackspace-cloudservers-uk","azurecompute","google-compute-engine","CloudFoundry"]
filterOfferings: true
influxdbPort: 8086
influxdbURL: undefined
influxdbDatabase: tower4clouds
influxdbUsername: root
influxdbPassword: root
grafanaUsername: admin
grafanaPassword: admin
grafanaEndpoint: 127.0.0.1
monitorGeneratorURL: 127.0.0.1
monitorGeneratorPort: 8170
Román SG
@rosogon
I will check sla logs
Andrea Turli
@andreaturli
ok @rosogon I’ll leave it with you
I’ve updated the master with the newest bom
please use that one, thanks
Jose
@kiuby88
Thanks @andreaturli
I will check the DamGenerator and the Deployer too
Román SG
@rosogon
@andreaturli : Could you check there is application in 8080 (f.e. curl -v http://localhost:8080/providers). The webapps dir in my tomcat is empty.