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
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.
Andrea Turli
@andreaturli
just to be sure, @jose when you say I will check what methodology will you use?
Román SG
@rosogon
@andreaturli : There is also a misconfiguration:
SLA_URL: $brooklyn:formatString("%s", component("sla-core").attributeWhenReady("host.address"), component("sla-core").attributeWhenReady("http.port"))
It should be %s:%s
Andrea Turli
@andreaturli
ok thanks
Román SG
@rosogon
Well, "http://%s:%s"
Andrea Turli
@andreaturli
shouldn’t be http://%s:%s ?
Román SG
@rosogon
:) Yes
Andrea Turli
@andreaturli
ok testing now
Andrea Turli
@andreaturli
ok it works now
pushing to master
:sunny: thanks @rosogon and @kiuby88
Jose
@kiuby88
Thanks to you (@rosgon and @andreaturli )
Just a stupid question
could you show the jars in dropins folder please?
Andrea Turli
@andreaturli
you can do it yourself, no? this is why we use the same installer, I think
perezp
@perezp
@andreaturli I've a question regarding the code you sent yesterday https://github.com/SeaCloudsEU/SeaCloudsPlatform/blob/master/byon/files/seaclouds-catalog.bom#L289-L296 Is now the right moment?
Jose
@kiuby88
sure
Andrea Turli
@andreaturli
tell me @perezp
that’s an ugly workaround, of course, we should fix the code
Jose
@kiuby88
( I said it was a stupid question :shipit: )
perezp
@perezp
Instead of the full UR?
URL?
Andrea Turli
@andreaturli
yes it should, thanks I will fix it
is it ok if I push straight to master or you want to review it?
perezp
@perezp
my comment? You can push it. Acutally I'm far from being 100% aware of the definition of installation process... I just made a syntactic comment.
Andrea Turli
@andreaturli
it is not only syntactic
if someone redefines that ENV VAR the curl command would have fetched the old URL, so it was a bug
thanks!
perezp
@perezp
:)
Andrea Turli
@andreaturli
even if I haven’t created the attribute to redefine that FILE so basically the error cannot happen
@kiuby88 I can see
/lib/dropins$ ls
deployer-brooklyn-tosca-transformer-0.9.0-20160404.172409.jar  redirect
which looks wrong