Skip to content

Instantly share code, notes, and snippets.

@alexcos78
Created April 28, 2020 22:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexcos78/5af8136026648c7420e4ba3325adf691 to your computer and use it in GitHub Desktop.
Save alexcos78/5af8136026648c7420e4ba3325adf691 to your computer and use it in GitHub Desktop.
2020-04-28 22:09:47.466 DEBUG req-d5ffa034-5077-4b8a-b053-3954c5c5bb25 - 1 --- [ XNIO-2 task-1] i.r.o.c.f.CustomRequestLoggingFilter : {"headers":{"X-Forwarded-Prefix":"/orchestrator","Accept":"*/*","User-Agent":"python-requests/2.22.0","Connection":"close","X-Forwarded-Proto":"https","X-Forwarded-For":"131.154.97.60","Host":"paas-xdc.cloud.cnaf.infn.it","Accept-Encoding":"gzip, deflate","X-Real-IP":"131.154.97.60"},"uri":"/info","type":"request","http_method":"GET","client_ip":"131.154.97.60"}
2020-04-28 22:09:47.475 DEBUG req-d5ffa034-5077-4b8a-b053-3954c5c5bb25 - 1 --- [ XNIO-2 task-1] i.r.o.c.f.CustomRequestLoggingFilter : {"headers":{"X-Forwarded-Prefix":"/orchestrator","Accept":"*/*","User-Agent":"python-requests/2.22.0","Connection":"close","X-Forwarded-Proto":"https","X-Forwarded-For":"131.154.97.60","Host":"paas-xdc.cloud.cnaf.infn.it","Accept-Encoding":"gzip, deflate","X-Real-IP":"131.154.97.60"},"uri":"/info","type":"response","http_method":"GET","client_ip":"131.154.97.60","response_status":200,"response_time":11.0}
2020-04-28 22:09:47.516 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 - 1 --- [ XNIO-2 task-2] i.r.o.c.f.CustomRequestLoggingFilter : {"headers":{"Authorization":"bearer eyJraWQiOiJyc2ExIiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiI5N2EzN2Y1OC1kZWQ0LTRkYjEtOGYzYi1lNWI5MDA1MTRhNjgiLCJuYmYiOjE1ODgxMTEzMTksInNjb3BlIjoib3BlbmlkIG9mZmxpbmVfYWNjZXNzIHByb2ZpbGUgZW1haWwiLCJpc3MiOiJodHRwczpcL1wvaWFtLmV4dHJlbWUtZGF0YWNsb3VkLmV1XC8iLCJuYW1lIjoiQWxlc3NhbmRybyBDb3N0YW50aW5pIiwiZ3JvdXBzIjpbIm9yY2hlc3RyYXRvci1hZG1pbnMiXSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWNvc3RhbnRpbmkiLCJvcmdhbmlzYXRpb25fbmFtZSI6ImVYdHJlbWUtRGF0YUNsb3VkIiwiZXhwIjoxNTg4MTE0OTE5LCJpYXQiOjE1ODgxMTEzMTksImp0aSI6IjkwOWNhODNiLWQ3MTgtNGQzYy05MmRhLWRmZWZjN2JkOTAwMSIsImVtYWlsIjoiYWxlc3NhbmRyby5jb3N0YW50aW5pQGNuYWYuaW5mbi5pdCJ9.UvUX6cTKxGp4AEc_w84FsmPCiNFPSi_S74SCSNUHIaqcEQztM_WuaAajYaar2ZKw25dYQacgtO4dzeaBpF2sKGpkpCeV5qUtRcSoJBadydKOib1NIFsgamh8arTEZ3rgDCusma0tEGnbYRPn47Ze-KAtdVm9kDkss3T71MKWB0k","X-Forwarded-Prefix":"/orchestrator","Accept":"*/*","User-Agent":"python-requests/2.22.0","Connection":"close","X-Forwarded-Proto":"https","X-Forwarded-For":"131.154.97.60","Host":"paas-xdc.cloud.cnaf.infn.it","Accept-Encoding":"gzip, deflate","Content-Length":"2949","X-Real-IP":"131.154.97.60","Content-Type":"application/json;charset=UTF-8"},"uri":"/deployments/?keepLastAttempt=false","type":"request","http_method":"POST","client_ip":"131.154.97.60"}
2020-04-28 22:09:47.518 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 - 1 --- [ XNIO-2 task-2] .o.s.s.UserInfoIntrospectingTokenService : Validation of received access token performed in 1ms
2020-04-28 22:09:47.522 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [ XNIO-2 task-2] i.r.o.service.DeploymentServiceImpl : Creating deployment with template
tosca_definitions_version: tosca_simple_yaml_1_0
imports:
- indigo_custom_types: https://raw.githubusercontent.com/indigo-dc/tosca-types/master/custom_types.yaml
description: 'Launch a compute node getting the IP and SSH credentials to access via
ssh
'
metadata:
display_name: Start a virtual machine
icon: https://indigo-paas.cloud.ba.infn.it/public/images/vm-icon.png
topology_template:
inputs:
num_cpus:
type: integer
description: Number of virtual cpus for the VM
default: 1
constraints:
- valid_values:
- 1
- 2
- 4
mem_size:
type: scalar-unit.size
description: Amount of memory for the VM
default: 2 GB
constraints:
- valid_values:
- 2 GB
- 4 GB
num_instances:
type: integer
description: Number of VMs to be spawned
default: 1
os_distribution:
type: string
default: ubuntu
description: Operating System distro - valid values ubuntu, centos
constraints:
- valid_values:
- ubuntu
- centos
os_version:
type: version
default: 16.04
description: Operating System distribution version
constraints:
- valid_values:
- '16.04'
- '7'
zabbix_server:
type: string
description: IP or DNS name of the Zabbix server
required: false
default: ''
zabbix_metadata:
type: string
description: Host metadata to be sent to the Zabbix server
required: false
default: ''
node_templates:
simple_node:
type: tosca.nodes.indigo.Compute
properties:
zabbix_server:
get_input: zabbix_server
zabbix_server_metadata:
get_input: zabbix_metadata
capabilities:
endpoint:
properties:
network_name: PUBLIC
scalable:
properties:
count:
get_input: num_instances
host:
properties:
num_cpus:
get_input: num_cpus
mem_size:
get_input: mem_size
os:
properties:
distribution:
get_input: os_distribution
version:
get_input: os_version
outputs:
node_ip:
value:
get_attribute:
- simple_node
- public_address
- 0
node_creds:
value:
get_attribute:
- simple_node
- endpoint
- credential
- 0
policies:
- deploy_on_specific_site:
type: tosca.policies.indigo.SlaPlacement
properties:
sla_id: 5e42654efcb23701baf7d211
2020-04-28 22:09:47.530 INFO req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [ XNIO-2 task-2] a.t.p.impl.advanced.LaxImportParser : import URL detected, replace TOSCA http path https://raw.githubusercontent.com/indigo-dc/tosca-types/master/custom_types.yaml with version 4.0.0
2020-04-28 22:09:47.541 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [ XNIO-2 task-2] i.r.o.s.IndigoInputsPreProcessorService : TOSCA input function replacement: <node_templates[simple_node][properties][zabbix_server]>, input name <zabbix_server>, input value <>
2020-04-28 22:09:47.541 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [ XNIO-2 task-2] i.r.o.s.IndigoInputsPreProcessorService : TOSCA input function replacement: <node_templates[simple_node][properties][zabbix_server_metadata]>, input name <zabbix_metadata>, input value <>
2020-04-28 22:09:47.541 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [ XNIO-2 task-2] i.r.o.s.IndigoInputsPreProcessorService : TOSCA input function replacement: <node_templates[simple_node][capabilities][scalable][properties][count]>, input name <num_instances>, input value <1>
2020-04-28 22:09:47.541 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [ XNIO-2 task-2] i.r.o.s.IndigoInputsPreProcessorService : TOSCA input function replacement: <node_templates[simple_node][capabilities][os][properties][distribution]>, input name <os_distribution>, input value <ubuntu>
2020-04-28 22:09:47.541 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [ XNIO-2 task-2] i.r.o.s.IndigoInputsPreProcessorService : TOSCA input function replacement: <node_templates[simple_node][capabilities][os][properties][version]>, input name <os_version>, input value <16.04>
2020-04-28 22:09:47.541 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [ XNIO-2 task-2] i.r.o.s.IndigoInputsPreProcessorService : TOSCA input function replacement: <node_templates[simple_node][capabilities][host][properties][num_cpus]>, input name <num_cpus>, input value <1>
2020-04-28 22:09:47.541 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [ XNIO-2 task-2] i.r.o.s.IndigoInputsPreProcessorService : TOSCA input function replacement: <node_templates[simple_node][capabilities][host][properties][mem_size]>, input name <mem_size>, input value <2 GB>
2020-04-28 22:09:47.684 INFO req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [ XNIO-2 task-2] i.r.o.s.s.OAuth2TokenCacheService : A valid refresh token for OidcTokenId(clientsId=[4c63bb59-0862-409f-ab40-534df28b4b27], oidcEntityId=OidcEntityId(super=OidcIssuerAwareId(issuer=https://iam.extreme-datacloud.eu/), subject=97a37f58-ded4-4db1-8f3b-e5b900514a68)) is already available. Not exchanging the current one
2020-04-28 22:09:47.689 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [ XNIO-2 task-2] i.r.o.s.s.OAuth2TokenCacheService : Retrieving access token for OidcTokenId(clientsId=[4c63bb59-0862-409f-ab40-534df28b4b27], oidcEntityId=OidcEntityId(super=OidcIssuerAwareId(issuer=https://iam.extreme-datacloud.eu/), subject=97a37f58-ded4-4db1-8f3b-e5b900514a68)) from cache
2020-04-28 22:09:47.848 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [ XNIO-2 task-2] i.r.o.c.f.CustomRequestLoggingFilter : {"headers":{"Authorization":"bearer eyJraWQiOiJyc2ExIiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiI5N2EzN2Y1OC1kZWQ0LTRkYjEtOGYzYi1lNWI5MDA1MTRhNjgiLCJuYmYiOjE1ODgxMTEzMTksInNjb3BlIjoib3BlbmlkIG9mZmxpbmVfYWNjZXNzIHByb2ZpbGUgZW1haWwiLCJpc3MiOiJodHRwczpcL1wvaWFtLmV4dHJlbWUtZGF0YWNsb3VkLmV1XC8iLCJuYW1lIjoiQWxlc3NhbmRybyBDb3N0YW50aW5pIiwiZ3JvdXBzIjpbIm9yY2hlc3RyYXRvci1hZG1pbnMiXSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWNvc3RhbnRpbmkiLCJvcmdhbmlzYXRpb25fbmFtZSI6ImVYdHJlbWUtRGF0YUNsb3VkIiwiZXhwIjoxNTg4MTE0OTE5LCJpYXQiOjE1ODgxMTEzMTksImp0aSI6IjkwOWNhODNiLWQ3MTgtNGQzYy05MmRhLWRmZWZjN2JkOTAwMSIsImVtYWlsIjoiYWxlc3NhbmRyby5jb3N0YW50aW5pQGNuYWYuaW5mbi5pdCJ9.UvUX6cTKxGp4AEc_w84FsmPCiNFPSi_S74SCSNUHIaqcEQztM_WuaAajYaar2ZKw25dYQacgtO4dzeaBpF2sKGpkpCeV5qUtRcSoJBadydKOib1NIFsgamh8arTEZ3rgDCusma0tEGnbYRPn47Ze-KAtdVm9kDkss3T71MKWB0k","X-Forwarded-Prefix":"/orchestrator","Accept":"*/*","User-Agent":"python-requests/2.22.0","Connection":"close","X-Forwarded-Proto":"https","X-Forwarded-For":"131.154.97.60","Host":"paas-xdc.cloud.cnaf.infn.it","Accept-Encoding":"gzip, deflate","Content-Length":"2949","X-Real-IP":"131.154.97.60","Content-Type":"application/json;charset=UTF-8"},"uri":"/deployments/?keepLastAttempt=false","type":"response","http_method":"POST","client_ip":"131.154.97.60","response_status":201,"response_time":332.0}
2020-04-28 22:09:47.854 INFO req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-71] i.r.o.service.commands.BaseJavaDelegate : Task Get SLAM - STARTED
2020-04-28 22:09:47.857 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-71] i.r.o.s.s.OAuth2TokenCacheService : Retrieving access token for OidcTokenId(clientsId=[4c63bb59-0862-409f-ab40-534df28b4b27], oidcEntityId=OidcEntityId(super=OidcIssuerAwareId(issuer=https://iam.extreme-datacloud.eu/), subject=97a37f58-ded4-4db1-8f3b-e5b900514a68)) from cache
2020-04-28 22:09:47.939 INFO req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-71] i.r.o.service.commands.BaseJavaDelegate : Task Get SLAM - ENDED SUCCESSFULLY
2020-04-28 22:09:47.958 DEBUG req-3cc26f21-3613-46d5-a079-3f16a1497b12 - 1 --- [ XNIO-2 task-3] i.r.o.c.f.CustomRequestLoggingFilter : {"headers":{"Authorization":"bearer eyJraWQiOiJyc2ExIiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiI5N2EzN2Y1OC1kZWQ0LTRkYjEtOGYzYi1lNWI5MDA1MTRhNjgiLCJuYmYiOjE1ODgxMTEzMTksInNjb3BlIjoib3BlbmlkIG9mZmxpbmVfYWNjZXNzIHByb2ZpbGUgZW1haWwiLCJpc3MiOiJodHRwczpcL1wvaWFtLmV4dHJlbWUtZGF0YWNsb3VkLmV1XC8iLCJuYW1lIjoiQWxlc3NhbmRybyBDb3N0YW50aW5pIiwiZ3JvdXBzIjpbIm9yY2hlc3RyYXRvci1hZG1pbnMiXSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWNvc3RhbnRpbmkiLCJvcmdhbmlzYXRpb25fbmFtZSI6ImVYdHJlbWUtRGF0YUNsb3VkIiwiZXhwIjoxNTg4MTE0OTE5LCJpYXQiOjE1ODgxMTEzMTksImp0aSI6IjkwOWNhODNiLWQ3MTgtNGQzYy05MmRhLWRmZWZjN2JkOTAwMSIsImVtYWlsIjoiYWxlc3NhbmRyby5jb3N0YW50aW5pQGNuYWYuaW5mbi5pdCJ9.UvUX6cTKxGp4AEc_w84FsmPCiNFPSi_S74SCSNUHIaqcEQztM_WuaAajYaar2ZKw25dYQacgtO4dzeaBpF2sKGpkpCeV5qUtRcSoJBadydKOib1NIFsgamh8arTEZ3rgDCusma0tEGnbYRPn47Ze-KAtdVm9kDkss3T71MKWB0k","X-Forwarded-Prefix":"/orchestrator","Accept":"*/*","User-Agent":"python-requests/2.22.0","Connection":"close","X-Forwarded-Proto":"https","X-Forwarded-For":"131.154.97.60","Host":"paas-xdc.cloud.cnaf.infn.it","Accept-Encoding":"gzip, deflate","X-Real-IP":"131.154.97.60"},"uri":"/deployments?createdBy=me&page=0&size=9999","type":"request","http_method":"GET","client_ip":"131.154.97.60"}
2020-04-28 22:09:47.959 DEBUG req-3cc26f21-3613-46d5-a079-3f16a1497b12 - 1 --- [ XNIO-2 task-3] .o.s.s.UserInfoIntrospectingTokenService : Validation of received access token performed in 1ms
2020-04-28 22:09:47.980 INFO req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-72] i.r.o.service.commands.BaseJavaDelegate : Task Get CMDB - STARTED
2020-04-28 22:09:48.013 DEBUG req-3cc26f21-3613-46d5-a079-3f16a1497b12 - 1 --- [ XNIO-2 task-3] i.r.o.c.f.CustomRequestLoggingFilter : {"headers":{"Authorization":"bearer eyJraWQiOiJyc2ExIiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiI5N2EzN2Y1OC1kZWQ0LTRkYjEtOGYzYi1lNWI5MDA1MTRhNjgiLCJuYmYiOjE1ODgxMTEzMTksInNjb3BlIjoib3BlbmlkIG9mZmxpbmVfYWNjZXNzIHByb2ZpbGUgZW1haWwiLCJpc3MiOiJodHRwczpcL1wvaWFtLmV4dHJlbWUtZGF0YWNsb3VkLmV1XC8iLCJuYW1lIjoiQWxlc3NhbmRybyBDb3N0YW50aW5pIiwiZ3JvdXBzIjpbIm9yY2hlc3RyYXRvci1hZG1pbnMiXSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWNvc3RhbnRpbmkiLCJvcmdhbmlzYXRpb25fbmFtZSI6ImVYdHJlbWUtRGF0YUNsb3VkIiwiZXhwIjoxNTg4MTE0OTE5LCJpYXQiOjE1ODgxMTEzMTksImp0aSI6IjkwOWNhODNiLWQ3MTgtNGQzYy05MmRhLWRmZWZjN2JkOTAwMSIsImVtYWlsIjoiYWxlc3NhbmRyby5jb3N0YW50aW5pQGNuYWYuaW5mbi5pdCJ9.UvUX6cTKxGp4AEc_w84FsmPCiNFPSi_S74SCSNUHIaqcEQztM_WuaAajYaar2ZKw25dYQacgtO4dzeaBpF2sKGpkpCeV5qUtRcSoJBadydKOib1NIFsgamh8arTEZ3rgDCusma0tEGnbYRPn47Ze-KAtdVm9kDkss3T71MKWB0k","X-Forwarded-Prefix":"/orchestrator","Accept":"*/*","User-Agent":"python-requests/2.22.0","Connection":"close","X-Forwarded-Proto":"https","X-Forwarded-For":"131.154.97.60","Host":"paas-xdc.cloud.cnaf.infn.it","Accept-Encoding":"gzip, deflate","X-Real-IP":"131.154.97.60"},"uri":"/deployments?createdBy=me&page=0&size=9999","type":"response","http_method":"GET","client_ip":"131.154.97.60","response_status":200,"response_time":55.0}
2020-04-28 22:09:48.061 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-72] i.r.o.service.CmdbServiceImpl : Image list for service <[Image(id=0f1d10d9493db36579819c8729004e4f, imageId=daff051c-451d-49ac-b3ce-05d73f6c0523, imageName=centos-6-SDDS-x86_64, imageDescription=null, architecture=x86_64, type=Linux, distribution=centos, version=6, service=https://horizon.cloud.cnaf.infn.it:5000/v3, userName=null, gpuDriver=false, gpuDriverVersion=null, cudaSupport=false, cudaVersion=null, cuDnnVersion=null), Image(id=0f1d10d9493db36579819c872900518d, imageId=f976d4f6-16e0-451b-b487-d57cea19e6e9, imageName=ubuntu-bionic-SDDS-x86_64, imageDescription=null, architecture=x86_64, type=Linux, distribution=ubuntu, version=18.04, service=https://horizon.cloud.cnaf.infn.it:5000/v3, userName=null, gpuDriver=false, gpuDriverVersion=null, cudaSupport=false, cudaVersion=null, cuDnnVersion=null), Image(id=0f1d10d9493db36579819c8729005b60, imageId=3d993ab8-5d7b-4362-8fd6-af1391edca39, imageName=ubuntu-xenial-SDDS-x86_64, imageDescription=null, architecture=x86_64, type=Linux, distribution=ubuntu, version=16.04, service=https://horizon.cloud.cnaf.infn.it:5000/v3, userName=null, gpuDriver=false, gpuDriverVersion=null, cudaSupport=false, cudaVersion=null, cuDnnVersion=null), Image(id=0f1d10d9493db36579819c87290060c7, imageId=3b0dbf93-3b7a-48b4-99a1-97c87ac6e8dd, imageName=cirros-0.3.4-x86_64-raw, imageDescription=null, architecture=x86_64, type=Linux, distribution=null, version=null, service=https://horizon.cloud.cnaf.infn.it:5000/v3, userName=null, gpuDriver=false, gpuDriverVersion=null, cudaSupport=false, cudaVersion=null, cuDnnVersion=null), Image(id=0f1d10d9493db36579819c8729006ff6, imageId=e61e6be1-eeb3-438f-ac9f-06bad8e67be0, imageName=centos-7-SDDS-x86_64, imageDescription=null, architecture=x86_64, type=Linux, distribution=centos, version=7, service=https://horizon.cloud.cnaf.infn.it:5000/v3, userName=null, gpuDriver=false, gpuDriverVersion=null, cudaSupport=false, cudaVersion=null, cuDnnVersion=null)]> of provider <INFN_XDC_55ec1775-3c4b-4d05-81e0-ebbd11f81b43>: <INFN_XDC>
2020-04-28 22:09:48.061 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-72] i.r.o.service.CmdbServiceImpl : Flavor list for service <[Flavor(id=0f1d10d9493db36579819c8729007ef9, flavorId=f84019d4-fb48-4d6f-9729-8935a45f1148, flavorName=bd.training, memSize=4096.0, numCpus=2, diskSize=20.0, numGpus=0, gpuVendor=null, gpuModel=null), Flavor(id=0f1d10d9493db36579819c87290087ef, flavorId=1, flavorName=m1.tiny, memSize=512.0, numCpus=1, diskSize=1.0, numGpus=0, gpuVendor=null, gpuModel=null), Flavor(id=0f1d10d9493db36579819c8729009596, flavorId=3, flavorName=m1.medium, memSize=4096.0, numCpus=2, diskSize=40.0, numGpus=0, gpuVendor=null, gpuModel=null), Flavor(id=0f1d10d9493db36579819c872900a33c, flavorId=b56d5c48-40d6-4e37-a4db-8a1269bc22f0, flavorName=sdds.medium, memSize=8192.0, numCpus=4, diskSize=40.0, numGpus=0, gpuVendor=null, gpuModel=null), Flavor(id=0f1d10d9493db36579819c872900acf3, flavorId=5, flavorName=m1.xlarge, memSize=16384.0, numCpus=8, diskSize=160.0, numGpus=0, gpuVendor=null, gpuModel=null), Flavor(id=0f1d10d9493db36579819c872900b4ce, flavorId=4, flavorName=m1.large, memSize=8192.0, numCpus=4, diskSize=80.0, numGpus=0, gpuVendor=null, gpuModel=null), Flavor(id=0f1d10d9493db36579819c872900c3b2, flavorId=dfa697f9-2c3b-4c6d-8460-9fa344ec408d, flavorName=m1.small, memSize=2048.0, numCpus=1, diskSize=10.0, numGpus=0, gpuVendor=null, gpuModel=null), Flavor(id=0f1d10d9493db36579819c872900ccca, flavorId=c0cfbbf3-3677-4e8a-b6eb-e0cf9b313159, flavorName=m2.medium, memSize=2048.0, numCpus=2, diskSize=40.0, numGpus=0, gpuVendor=null, gpuModel=null), Flavor(id=0f1d10d9493db36579819c872900ce60, flavorId=bc66f25e-feb3-4b97-a995-a5f42c141a6b, flavorName=d1.small, memSize=1024.0, numCpus=1, diskSize=10.0, numGpus=0, gpuVendor=null, gpuModel=null)]> of provider <INFN_XDC_55ec1775-3c4b-4d05-81e0-ebbd11f81b43>: <INFN_XDC>
2020-04-28 22:09:48.113 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-72] i.r.o.service.CmdbServiceImpl : Image list for service <[Image(id=0f1d10d9493db36579819c872900d6e2, imageId=8f667fbc-40bf-45b8-b22d-40f05b48d060, imageName=RECAS Ubuntu 16.04 LTS [Daily Build 20181114], imageDescription=null, architecture=x86_64, type=Linux, distribution=ubuntu, version=16.04, service=https://cloud.recas.ba.infn.it:5000/v3, userName=null, gpuDriver=false, gpuDriverVersion=null, cudaSupport=false, cudaVersion=null, cuDnnVersion=null), Image(id=0f1d10d9493db36579819c872900da41, imageId=027d715c-fc0c-4f60-aa3a-cb115536a354, imageName=Image for FedCloud Monitoring VA [Other/TinyCoreLinux/QEMU-KVM]_Appliance, imageDescription=This is a special Virtual Appliance entry used only for monitoring purposes., architecture=x86_64, type=Linux, distribution=null, version=null, service=https://cloud.recas.ba.infn.it:5000/v3, userName=null, gpuDriver=false, gpuDriverVersion=null, cudaSupport=false, cudaVersion=null, cuDnnVersion=null), Image(id=0f1d10d9493db36579819c872900f2ce, imageId=b4bd93b6-bbd8-487a-a045-c7ff3839d7e9, imageName=CentOS-7-x86_64, imageDescription=null, architecture=x86_64, type=Linux, distribution=null, version=null, service=https://cloud.recas.ba.infn.it:5000/v3, userName=null, gpuDriver=false, gpuDriverVersion=null, cudaSupport=false, cudaVersion=null, cuDnnVersion=null), Image(id=0f1d10d9493db36579819c872900fc22, imageId=24489ae2-62ac-49f0-8cad-c283a3273a01, imageName=Debian 9, imageDescription=null, architecture=x86_64, type=Linux, distribution=null, version=null, service=https://cloud.recas.ba.infn.it:5000/v3, userName=null, gpuDriver=false, gpuDriverVersion=null, cudaSupport=false, cudaVersion=null, cuDnnVersion=null), Image(id=0f1d10d9493db36579819c8729010b0d, imageId=85e9458e-755a-460d-b8f1-25e59f86a775, imageName=CentOS 6, imageDescription=null, architecture=x86_64, type=Linux, distribution=null, version=null, service=https://cloud.recas.ba.infn.it:5000/v3, userName=null, gpuDriver=false, gpuDriverVersion=null, cudaSupport=false, cudaVersion=null, cuDnnVersion=null), Image(id=0f1d10d9493db36579819c872901120b, imageId=2bdfed8d-e41c-4c4d-8041-2fcb69224fe4, imageName=Fedora23, imageDescription=null, architecture=x86_64, type=Linux, distribution=null, version=null, service=https://cloud.recas.ba.infn.it:5000/v3, userName=null, gpuDriver=false, gpuDriverVersion=null, cudaSupport=false, cudaVersion=null, cuDnnVersion=null), Image(id=0f1d10d9493db36579819c8729011658, imageId=783b49b5-c40a-4968-991f-6078decb1d1f, imageName=CoreOS, imageDescription=null, architecture=x86_64, type=Linux, distribution=null, version=null, service=https://cloud.recas.ba.infn.it:5000/v3, userName=null, gpuDriver=false, gpuDriverVersion=null, cudaSupport=false, cudaVersion=null, cuDnnVersion=null), Image(id=0f1d10d9493db36579819c872901235a, imageId=f34535e4-2371-4e08-9f42-e0258e0bd0e1, imageName=Debian 8.2, imageDescription=null, architecture=x86_64, type=Linux, distribution=null, version=null, service=https://cloud.recas.ba.infn.it:5000/v3, userName=null, gpuDriver=false, gpuDriverVersion=null, cudaSupport=false, cudaVersion=null, cuDnnVersion=null), Image(id=0f1d10d9493db36579819c872901239c, imageId=0de96743-4a12-4470-b8b2-6dc260977a40, imageName=CentOS 7, imageDescription=null, architecture=x86_64, type=Linux, distribution=null, version=null, service=https://cloud.recas.ba.infn.it:5000/v3, userName=null, gpuDriver=false, gpuDriverVersion=null, cudaSupport=false, cudaVersion=null, cuDnnVersion=null), Image(id=0f1d10d9493db36579819c87290126f7, imageId=5d202a2a-7688-4743-b700-81f1d1b387b0, imageName=Fedora 25, imageDescription=null, architecture=x86_64, type=Linux, distribution=null, version=null, service=https://cloud.recas.ba.infn.it:5000/v3, userName=null, gpuDriver=false, gpuDriverVersion=null, cudaSupport=false, cudaVersion=null, cuDnnVersion=null), Image(id=0f1d10d9493db36579819c8729012f83, imageId=8edd65b9-7f9d-45d7-bd4f-cc4245d0695c, imageName=CentOS-7.5-x86_64, imageDescription=null, architecture=x86_64, type=Linux, distribution=null, version=null, service=https://cloud.recas.ba.infn.it:5000/v3, userName=null, gpuDriver=false, gpuDriverVersion=null, cudaSupport=false, cudaVersion=null, cuDnnVersion=null), Image(id=0f1d10d9493db36579819c8729013b4a, imageId=9ba220c2-7205-484b-bd19-d4af8194d298, imageName=Ubuntu 16.04, imageDescription=null, architecture=x86_64, type=Linux, distribution=null, version=null, service=https://cloud.recas.ba.infn.it:5000/v3, userName=null, gpuDriver=false, gpuDriverVersion=null, cudaSupport=false, cudaVersion=null, cuDnnVersion=null), Image(id=0f1d10d9493db36579819c8729013f83, imageId=b7eaec80-4883-46dd-ad39-904d48d29edf, imageName=ReCaS-Bari Debian 9, imageDescription=null, architecture=x86_64, type=Linux, distribution=null, version=null, service=https://cloud.recas.ba.infn.it:5000/v3, userName=null, gpuDriver=false, gpuDriverVersion=null, cudaSupport=false, cudaVersion=null, cuDnnVersion=null), Image(id=0f1d10d9493db36579819c87290140ea, imageId=1834b442-ba14-444c-a0cd-81ab4f3595bd, imageName=Ubuntu 18.04, imageDescription=null, architecture=x86_64, type=Linux, distribution=null, version=null, service=https://cloud.recas.ba.infn.it:5000/v3, userName=null, gpuDriver=false, gpuDriverVersion=null, cudaSupport=false, cudaVersion=null, cuDnnVersion=null), Image(id=0f1d10d9493db36579819c8729018352, imageId=858c8035-c07a-4f44-8ec1-55b069632ce4, imageName=ReCaS-Bari Debian 10, imageDescription=null, architecture=x86_64, type=Linux, distribution=null, version=null, service=https://cloud.recas.ba.infn.it:5000/v3, userName=null, gpuDriver=false, gpuDriverVersion=null, cudaSupport=false, cudaVersion=null, cuDnnVersion=null), Image(id=0f1d10d9493db36579819c8729018ef4, imageId=c540c683-a174-4941-abea-52192b6d4e4d, imageName=CentOS 8, imageDescription=null, architecture=x86_64, type=Linux, distribution=null, version=null, service=https://cloud.recas.ba.infn.it:5000/v3, userName=null, gpuDriver=false, gpuDriverVersion=null, cudaSupport=false, cudaVersion=null, cuDnnVersion=null)]> of provider <RECAS-BARI_034c4fb4-7b5d-4582-99a2-d1b84575c2f6>: <RECAS-BARI>
2020-04-28 22:09:48.113 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-72] i.r.o.service.CmdbServiceImpl : Flavor list for service <[Flavor(id=0f1d10d9493db36579819c87290150b6, flavorId=11, flavorName=xxlarge, memSize=32768.0, numCpus=16, diskSize=20.0, numGpus=0, gpuVendor=null, gpuModel=null), Flavor(id=0f1d10d9493db36579819c87290160ac, flavorId=10, flavorName=xlarge, memSize=16384.0, numCpus=8, diskSize=20.0, numGpus=0, gpuVendor=null, gpuModel=null), Flavor(id=0f1d10d9493db36579819c8729016a0a, flavorId=7, flavorName=small, memSize=2048.0, numCpus=1, diskSize=20.0, numGpus=0, gpuVendor=null, gpuModel=null), Flavor(id=0f1d10d9493db36579819c87290172c2, flavorId=6, flavorName=tiny, memSize=512.0, numCpus=1, diskSize=20.0, numGpus=0, gpuVendor=null, gpuModel=null), Flavor(id=0f1d10d9493db36579819c87290176c4, flavorId=9, flavorName=large, memSize=8192.0, numCpus=4, diskSize=20.0, numGpus=0, gpuVendor=null, gpuModel=null), Flavor(id=0f1d10d9493db36579819c872901803e, flavorId=8, flavorName=medium, memSize=4096.0, numCpus=2, diskSize=20.0, numGpus=0, gpuVendor=null, gpuModel=null)]> of provider <RECAS-BARI_034c4fb4-7b5d-4582-99a2-d1b84575c2f6>: <RECAS-BARI>
2020-04-28 22:09:48.116 INFO req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-72] i.r.o.service.commands.BaseJavaDelegate : Task Get CMDB - ENDED SUCCESSFULLY
2020-04-28 22:09:48.174 INFO req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-73] i.r.o.service.commands.BaseJavaDelegate : Task Get Dynafed - STARTED
2020-04-28 22:09:48.178 INFO req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-73] i.r.o.service.commands.BaseJavaDelegate : Task Get Dynafed - ENDED SUCCESSFULLY
2020-04-28 22:09:50.863 INFO req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-75] i.r.o.service.commands.BaseJavaDelegate : Task Get OneData - STARTED
2020-04-28 22:09:50.866 INFO req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-75] i.r.o.service.commands.BaseJavaDelegate : Task Get OneData - ENDED SUCCESSFULLY
2020-04-28 22:09:50.886 INFO req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-76] i.r.o.service.commands.BaseJavaDelegate : Task Prefilter Cloud Providers - STARTED
2020-04-28 22:09:50.890 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-76] i.r.o.s.c.PrefilterCloudProviders : Discarded service RECAS-BARI_034c4fb4-7b5d-4582-99a2-d1b84575c2f6 of provider RECAS-BARI because it doesn't match SLA policies
2020-04-28 22:09:50.890 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-76] i.r.o.s.c.PrefilterCloudProviders : Discarded provider RECAS-BARI because it doesn't have any compute service matching the deployment requirements
2020-04-28 22:09:50.900 INFO req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-76] a.t.p.impl.advanced.LaxImportParser : import URL detected, replace TOSCA http path https://raw.githubusercontent.com/indigo-dc/tosca-types/master/custom_types.yaml with version 4.0.0
2020-04-28 22:09:50.929 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-76] i.r.o.s.IndigoInputsPreProcessorService : TOSCA input function replacement: <node_templates[simple_node][properties][zabbix_server]>, input name <zabbix_server>, input value <>
2020-04-28 22:09:50.930 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-76] i.r.o.s.IndigoInputsPreProcessorService : TOSCA input function replacement: <node_templates[simple_node][properties][zabbix_server_metadata]>, input name <zabbix_metadata>, input value <>
2020-04-28 22:09:50.930 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-76] i.r.o.s.IndigoInputsPreProcessorService : TOSCA input function replacement: <node_templates[simple_node][capabilities][scalable][properties][count]>, input name <num_instances>, input value <1>
2020-04-28 22:09:50.930 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-76] i.r.o.s.IndigoInputsPreProcessorService : TOSCA input function replacement: <node_templates[simple_node][capabilities][os][properties][distribution]>, input name <os_distribution>, input value <ubuntu>
2020-04-28 22:09:50.930 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-76] i.r.o.s.IndigoInputsPreProcessorService : TOSCA input function replacement: <node_templates[simple_node][capabilities][os][properties][version]>, input name <os_version>, input value <16.04>
2020-04-28 22:09:50.931 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-76] i.r.o.s.IndigoInputsPreProcessorService : TOSCA input function replacement: <node_templates[simple_node][capabilities][host][properties][num_cpus]>, input name <num_cpus>, input value <1>
2020-04-28 22:09:50.931 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-76] i.r.o.s.IndigoInputsPreProcessorService : TOSCA input function replacement: <node_templates[simple_node][capabilities][host][properties][mem_size]>, input name <mem_size>, input value <2 GB>
2020-04-28 22:09:50.931 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-76] i.r.o.service.ToscaServiceImpl : Looking up images by metatada Image(id=null, imageId=null, imageName=null, imageDescription=null, architecture=null, type=null, distribution=ubuntu, version=16.04, service=null, userName=null, gpuDriver=null, gpuDriverVersion=null, cudaSupport=null, cudaVersion=null, cuDnnVersion=null)
2020-04-28 22:09:50.932 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-76] i.r.o.service.ToscaServiceImpl : Found image match in service <INFN_XDC_55ec1775-3c4b-4d05-81e0-ebbd11f81b43> of provider <INFN_XDC>: Image(id=0f1d10d9493db36579819c8729005b60, imageId=3d993ab8-5d7b-4362-8fd6-af1391edca39, imageName=ubuntu-xenial-SDDS-x86_64, imageDescription=null, architecture=x86_64, type=Linux, distribution=ubuntu, version=16.04, service=https://horizon.cloud.cnaf.infn.it:5000/v3, userName=null, gpuDriver=false, gpuDriverVersion=null, cudaSupport=false, cudaVersion=null, cuDnnVersion=null)
2020-04-28 22:09:50.932 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-76] i.r.o.service.ToscaServiceImpl : Looking up flavors by metatada Flavor(id=null, flavorId=null, flavorName=null, memSize=2000.0, numCpus=1, diskSize=null, numGpus=null, gpuVendor=null, gpuModel=null)
2020-04-28 22:09:50.933 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-76] i.r.o.service.ToscaServiceImpl : Found flavor match in service <INFN_XDC_55ec1775-3c4b-4d05-81e0-ebbd11f81b43> of provider <INFN_XDC>: Flavor(id=0f1d10d9493db36579819c872900c3b2, flavorId=dfa697f9-2c3b-4c6d-8460-9fa344ec408d, flavorName=m1.small, memSize=2048.0, numCpus=1, diskSize=10.0, numGpus=0, gpuVendor=null, gpuModel=null)
2020-04-28 22:09:50.933 INFO req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-76] i.r.o.service.commands.BaseJavaDelegate : Task Prefilter Cloud Providers - ENDED SUCCESSFULLY
2020-04-28 22:09:50.968 INFO req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-77] i.r.o.service.commands.BaseJavaDelegate : Task Get Monitoring - STARTED
2020-04-28 22:09:52.042 INFO req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-77] i.r.o.service.commands.BaseJavaDelegate : Task Get Monitoring - ENDED SUCCESSFULLY
2020-04-28 22:09:52.067 INFO req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-78] i.r.o.service.commands.BaseJavaDelegate : Task Get Providers Rank - STARTED
2020-04-28 22:09:52.112 INFO req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-78] i.r.o.service.commands.BaseJavaDelegate : Task Get Providers Rank - ENDED SUCCESSFULLY
2020-04-28 22:09:52.164 INFO req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-79] i.r.o.service.commands.BaseJavaDelegate : Task Choose Provider and update Deployment - STARTED
2020-04-28 22:09:52.169 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-79] i.r.o.service.commands.UpdateDeployment : Generated Cloud Provider Endpoint is: CloudProviderEndpoint(imEndpoint=null, cpEndpoint=https://horizon.cloud.cnaf.infn.it:5000/v3, cpComputeServiceId=INFN_XDC_55ec1775-3c4b-4d05-81e0-ebbd11f81b43, iaasType=OPENSTACK, region=Optional.empty, iaasHeaderId=Optional.empty, vaultEndpoint=null, hybridCloudProviderEndpoints={}, iamEnabled=false)
2020-04-28 22:09:52.170 INFO req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-79] i.r.o.service.commands.BaseJavaDelegate : Task Choose Provider and update Deployment - ENDED SUCCESSFULLY
2020-04-28 22:09:52.215 INFO req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-80] i.r.o.service.commands.BaseJavaDelegate : Task Deploy - STARTED
2020-04-28 22:09:52.226 INFO req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-80] a.t.p.impl.advanced.LaxImportParser : import URL detected, replace TOSCA http path https://raw.githubusercontent.com/indigo-dc/tosca-types/master/custom_types.yaml with version 4.0.0
2020-04-28 22:09:52.236 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-80] i.r.o.s.IndigoInputsPreProcessorService : TOSCA input function replacement: <node_templates[simple_node][properties][zabbix_server]>, input name <zabbix_server>, input value <>
2020-04-28 22:09:52.236 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-80] i.r.o.s.IndigoInputsPreProcessorService : TOSCA input function replacement: <node_templates[simple_node][properties][zabbix_server_metadata]>, input name <zabbix_metadata>, input value <>
2020-04-28 22:09:52.237 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-80] i.r.o.s.IndigoInputsPreProcessorService : TOSCA input function replacement: <node_templates[simple_node][capabilities][scalable][properties][count]>, input name <num_instances>, input value <1>
2020-04-28 22:09:52.237 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-80] i.r.o.s.IndigoInputsPreProcessorService : TOSCA input function replacement: <node_templates[simple_node][capabilities][os][properties][distribution]>, input name <os_distribution>, input value <ubuntu>
2020-04-28 22:09:52.237 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-80] i.r.o.s.IndigoInputsPreProcessorService : TOSCA input function replacement: <node_templates[simple_node][capabilities][os][properties][version]>, input name <os_version>, input value <16.04>
2020-04-28 22:09:52.237 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-80] i.r.o.s.IndigoInputsPreProcessorService : TOSCA input function replacement: <node_templates[simple_node][capabilities][host][properties][num_cpus]>, input name <num_cpus>, input value <1>
2020-04-28 22:09:52.237 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-80] i.r.o.s.IndigoInputsPreProcessorService : TOSCA input function replacement: <node_templates[simple_node][capabilities][host][properties][mem_size]>, input name <mem_size>, input value <2 GB>
2020-04-28 22:09:52.238 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-80] i.r.o.s.s.OAuth2TokenCacheService : Retrieving access token for OidcTokenId(clientsId=[4c63bb59-0862-409f-ab40-534df28b4b27], oidcEntityId=OidcEntityId(super=OidcIssuerAwareId(issuer=https://iam.extreme-datacloud.eu/), subject=97a37f58-ded4-4db1-8f3b-e5b900514a68)) from cache
2020-04-28 22:09:52.239 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-80] i.r.o.service.ToscaServiceImpl : Looking up images by metatada Image(id=null, imageId=null, imageName=null, imageDescription=null, architecture=null, type=null, distribution=ubuntu, version=16.04, service=null, userName=null, gpuDriver=null, gpuDriverVersion=null, cudaSupport=null, cudaVersion=null, cuDnnVersion=null)
2020-04-28 22:09:52.239 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-80] i.r.o.service.ToscaServiceImpl : Found image match in service <INFN_XDC_55ec1775-3c4b-4d05-81e0-ebbd11f81b43> of provider <INFN_XDC>: Image(id=0f1d10d9493db36579819c8729005b60, imageId=3d993ab8-5d7b-4362-8fd6-af1391edca39, imageName=ubuntu-xenial-SDDS-x86_64, imageDescription=null, architecture=x86_64, type=Linux, distribution=ubuntu, version=16.04, service=https://horizon.cloud.cnaf.infn.it:5000/v3, userName=null, gpuDriver=false, gpuDriverVersion=null, cudaSupport=false, cudaVersion=null, cuDnnVersion=null)
2020-04-28 22:09:52.240 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-80] i.r.o.service.ToscaServiceImpl : Looking up flavors by metatada Flavor(id=null, flavorId=null, flavorName=null, memSize=2000.0, numCpus=1, diskSize=null, numGpus=null, gpuVendor=null, gpuModel=null)
2020-04-28 22:09:52.240 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-80] i.r.o.service.ToscaServiceImpl : Found flavor match in service <INFN_XDC_55ec1775-3c4b-4d05-81e0-ebbd11f81b43> of provider <INFN_XDC>: Flavor(id=0f1d10d9493db36579819c872900c3b2, flavorId=dfa697f9-2c3b-4c6d-8460-9fa344ec408d, flavorName=m1.small, memSize=2048.0, numCpus=1, diskSize=10.0, numGpus=0, gpuVendor=null, gpuModel=null)
2020-04-28 22:09:52.244 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-80] i.r.o.service.ToscaServiceImpl : tosca_definitions_version: tosca_simple_yaml_1_0
metadata:
template_name: template
template_version: 1.0.0-SNAPSHOT
template_author: orchestrator
description: "Launch a compute node getting the IP and SSH credentials to access via ssh"
imports:
- indigo_custom_types: https://raw.githubusercontent.com/indigo-dc/tosca-types/master/custom_types.yaml
topology_template:
inputs:
num_cpus:
type: integer
required: true
default: 1
constraints:
- valid_values: [1, 2, 4]
description: "Number of virtual cpus for the VM"
mem_size:
type: scalar-unit.size
required: true
default: "2 GB"
constraints:
- valid_values: ["2 GB", "4 GB"]
description: "Amount of memory for the VM"
num_instances:
type: integer
required: true
default: 1
description: "Number of VMs to be spawned"
os_distribution:
type: string
required: true
default: ubuntu
constraints:
- valid_values: [ubuntu, centos]
description: "Operating System distro - valid values ubuntu, centos"
os_version:
type: version
required: true
default: 16.04
constraints:
- valid_values: [16.04, 7]
description: "Operating System distribution version"
zabbix_server:
type: string
required: false
default: ""
description: "IP or DNS name of the Zabbix server"
zabbix_metadata:
type: string
required: false
default: ""
description: "Host metadata to be sent to the Zabbix server"
node_templates:
simple_node:
type: tosca.nodes.indigo.Compute
properties:
zabbix_server: ""
zabbix_server_port: 10051
zabbix_server_metadata: ""
capabilities:
scalable:
properties:
min_instances: 1
max_instances: 1
count: 1
os:
properties:
distribution: ubuntu
version: 16.04
image: "ost://horizon.cloud.cnaf.infn.it/3d993ab8-5d7b-4362-8fd6-af1391edca39"
endpoint:
properties:
private_ip: true
protocol: tcp
secure: false
network_name: PUBLIC
initiator: source
host:
properties:
num_cpus: 1
mem_size: "2 GB"
instance_type: "m1.small"
artifacts:
zabbix_agent_role:
file: indigo-dc.zabbix-agent,master
type: tosca.artifacts.AnsibleGalaxy.role
policies:
- deploy_on_specific_site:
type: tosca.policies.indigo.SlaPlacement
properties:
sla_id: 5e42654efcb23701baf7d211
outputs:
node_creds:
value: { get_attribute: [ simple_node, endpoint, credential, 0 ] }
node_ip:
value: { get_attribute: [ simple_node, public_address, 0 ] }
2020-04-28 22:09:52.247 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-80] i.r.o.s.s.OAuth2TokenCacheService : Retrieving access token for OidcTokenId(clientsId=[4c63bb59-0862-409f-ab40-534df28b4b27], oidcEntityId=OidcEntityId(super=OidcIssuerAwareId(issuer=https://iam.extreme-datacloud.eu/), subject=97a37f58-ded4-4db1-8f3b-e5b900514a68)) from cache
2020-04-28 22:09:52.248 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-80] i.r.o.s.d.p.factory.ImClientFactory : IM authorization header built from access token
2020-04-28 22:09:52.248 DEBUG req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-80] i.r.o.s.d.p.factory.ImClientFactory : Generating OPENSTACK credentials with: CloudProviderEndpoint(imEndpoint=null, cpEndpoint=https://horizon.cloud.cnaf.infn.it:5000/v3, cpComputeServiceId=INFN_XDC_55ec1775-3c4b-4d05-81e0-ebbd11f81b43, iaasType=OPENSTACK, region=Optional.empty, iaasHeaderId=Optional.empty, vaultEndpoint=null, hybridCloudProviderEndpoints={}, iamEnabled=false)
2020-04-28 22:09:52.321 WARN req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-80] i.r.o.service.VaultServiceImpl : Got response 400 with error cause:
error validating signature: oidc: id token issued by a different provider, expected "https://iam.deep-hybrid-datacloud.eu/" got "https://iam.extreme-datacloud.eu/"
2020-04-28 22:09:52.322 ERROR req-7ad514a4-271b-484b-b22b-dafb54bfe843 11ea899c-f917-ef05-a8b7-02426ee092cb 1 --- [TaskExecutor-80] i.r.o.service.commands.BaseJavaDelegate : Task Deploy - ENDED WITH ERROR:
Error deploying
org.springframework.web.client.HttpClientErrorException: 400 Bad Request
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:108)
at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:709)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:662)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:637)
at org.springframework.web.client.RestTemplate.postForObject(RestTemplate.java:407)
at it.reply.orchestrator.service.VaultServiceImpl.retrieveToken(VaultServiceImpl.java:149)
at it.reply.orchestrator.service.deployment.providers.CredentialProviderServiceImpl.credentialProvider(CredentialProviderServiceImpl.java:58)
at it.reply.orchestrator.service.deployment.providers.factory.ImClientFactory.getOpenStackAuthHeader(ImClientFactory.java:106)
at it.reply.orchestrator.service.deployment.providers.factory.ImClientFactory.getIaasAuthHeader(ImClientFactory.java:255)
at it.reply.orchestrator.service.deployment.providers.factory.ImClientFactory.lambda$build$2(ImClientFactory.java:292)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
at java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:312)
at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:743)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
at it.reply.orchestrator.service.deployment.providers.factory.ImClientFactory.build(ImClientFactory.java:296)
at it.reply.orchestrator.service.deployment.providers.ImServiceImpl.lambda$executeWithClientForResult$0(ImServiceImpl.java:115)
at it.reply.orchestrator.service.security.OAuth2TokenService.executeWithClientForResult(OAuth2TokenService.java:247)
at it.reply.orchestrator.service.deployment.providers.ImServiceImpl.executeWithClientForResult(ImServiceImpl.java:114)
at it.reply.orchestrator.service.deployment.providers.ImServiceImpl.doDeploy(ImServiceImpl.java:186)
at it.reply.orchestrator.service.commands.Deploy.execute(Deploy.java:32)
at it.reply.orchestrator.service.commands.Deploy.execute(Deploy.java:25)
at it.reply.orchestrator.service.commands.BaseWorkflowCommand.customExecute(BaseWorkflowCommand.java:38)
at it.reply.orchestrator.service.commands.BaseJavaDelegate.execute(BaseJavaDelegate.java:57)
at org.flowable.engine.impl.delegate.invocation.JavaDelegateInvocation.invoke(JavaDelegateInvocation.java:35)
at org.flowable.engine.impl.delegate.invocation.DelegateInvocation.proceed(DelegateInvocation.java:35)
at org.flowable.engine.impl.delegate.invocation.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:26)
at org.flowable.engine.impl.bpmn.behavior.ServiceTaskDelegateExpressionActivityBehavior.execute(ServiceTaskDelegateExpressionActivityBehavior.java:105)
at org.flowable.engine.impl.agenda.ContinueProcessOperation.executeActivityBehavior(ContinueProcessOperation.java:258)
at org.flowable.engine.impl.agenda.ContinueProcessOperation.executeSynchronous(ContinueProcessOperation.java:155)
at org.flowable.engine.impl.agenda.ContinueProcessOperation.continueThroughFlowNode(ContinueProcessOperation.java:112)
at org.flowable.engine.impl.agenda.ContinueProcessOperation.run(ContinueProcessOperation.java:76)
at org.flowable.engine.impl.interceptor.CommandInvoker.executeOperation(CommandInvoker.java:88)
at org.flowable.engine.impl.interceptor.CommandInvoker.executeOperations(CommandInvoker.java:72)
at org.flowable.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:56)
at org.flowable.engine.impl.interceptor.BpmnOverrideContextInterceptor.execute(BpmnOverrideContextInterceptor.java:25)
at org.flowable.engine.common.impl.interceptor.TransactionContextInterceptor.execute(TransactionContextInterceptor.java:53)
at org.flowable.engine.common.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:71)
at org.flowable.idm.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:49)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
at org.flowable.idm.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:46)
at org.flowable.engine.common.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:30)
at org.flowable.engine.common.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:56)
at org.flowable.engine.common.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:51)
at org.flowable.job.service.impl.asyncexecutor.ExecuteAsyncRunnable.executeJob(ExecuteAsyncRunnable.java:128)
at org.flowable.job.service.impl.asyncexecutor.ExecuteAsyncRunnable.run(ExecuteAsyncRunnable.java:116)
at java.lang.Thread.run(Thread.java:748)
2020-04-28 22:09:52.329 ERROR - - 1 --- [TaskExecutor-80] ltAsyncRunnableExecutionExceptionHandler : Job 11ea899c-fbdd-28a4-a8b7-02426ee092cb failed
org.flowable.engine.common.api.FlowableException: Error deploying; nested exception is org.springframework.web.client.HttpClientErrorException: 400 Bad Request
at org.flowable.engine.impl.bpmn.behavior.ServiceTaskDelegateExpressionActivityBehavior.execute(ServiceTaskDelegateExpressionActivityBehavior.java:137)
at org.flowable.engine.impl.agenda.ContinueProcessOperation.executeActivityBehavior(ContinueProcessOperation.java:258)
at org.flowable.engine.impl.agenda.ContinueProcessOperation.executeSynchronous(ContinueProcessOperation.java:155)
at org.flowable.engine.impl.agenda.ContinueProcessOperation.continueThroughFlowNode(ContinueProcessOperation.java:112)
at org.flowable.engine.impl.agenda.ContinueProcessOperation.run(ContinueProcessOperation.java:76)
at org.flowable.engine.impl.interceptor.CommandInvoker.executeOperation(CommandInvoker.java:88)
at org.flowable.engine.impl.interceptor.CommandInvoker.executeOperations(CommandInvoker.java:72)
at org.flowable.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:56)
at org.flowable.engine.impl.interceptor.BpmnOverrideContextInterceptor.execute(BpmnOverrideContextInterceptor.java:25)
at org.flowable.engine.common.impl.interceptor.TransactionContextInterceptor.execute(TransactionContextInterceptor.java:53)
at org.flowable.engine.common.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:71)
at org.flowable.idm.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:49)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
at org.flowable.idm.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:46)
at org.flowable.engine.common.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:30)
at org.flowable.engine.common.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:56)
at org.flowable.engine.common.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:51)
at org.flowable.job.service.impl.asyncexecutor.ExecuteAsyncRunnable.executeJob(ExecuteAsyncRunnable.java:128)
at org.flowable.job.service.impl.asyncexecutor.ExecuteAsyncRunnable.run(ExecuteAsyncRunnable.java:116)
at java.lang.Thread.run(Thread.java:748)
Caused by: it.reply.orchestrator.exception.service.WorkflowException: Error deploying; nested exception is org.springframework.web.client.HttpClientErrorException: 400 Bad Request
at it.reply.orchestrator.service.commands.BaseJavaDelegate.execute(BaseJavaDelegate.java:68)
at org.flowable.engine.impl.delegate.invocation.JavaDelegateInvocation.invoke(JavaDelegateInvocation.java:35)
at org.flowable.engine.impl.delegate.invocation.DelegateInvocation.proceed(DelegateInvocation.java:35)
at org.flowable.engine.impl.delegate.invocation.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:26)
at org.flowable.engine.impl.bpmn.behavior.ServiceTaskDelegateExpressionActivityBehavior.execute(ServiceTaskDelegateExpressionActivityBehavior.java:105)
... 19 common frames omitted
Caused by: org.springframework.web.client.HttpClientErrorException: 400 Bad Request
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:108)
at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:709)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:662)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:637)
at org.springframework.web.client.RestTemplate.postForObject(RestTemplate.java:407)
at it.reply.orchestrator.service.VaultServiceImpl.retrieveToken(VaultServiceImpl.java:149)
at it.reply.orchestrator.service.deployment.providers.CredentialProviderServiceImpl.credentialProvider(CredentialProviderServiceImpl.java:58)
at it.reply.orchestrator.service.deployment.providers.factory.ImClientFactory.getOpenStackAuthHeader(ImClientFactory.java:106)
at it.reply.orchestrator.service.deployment.providers.factory.ImClientFactory.getIaasAuthHeader(ImClientFactory.java:255)
at it.reply.orchestrator.service.deployment.providers.factory.ImClientFactory.lambda$build$2(ImClientFactory.java:292)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
at java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:312)
at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:743)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
at it.reply.orchestrator.service.deployment.providers.factory.ImClientFactory.build(ImClientFactory.java:296)
at it.reply.orchestrator.service.deployment.providers.ImServiceImpl.lambda$executeWithClientForResult$0(ImServiceImpl.java:115)
at it.reply.orchestrator.service.security.OAuth2TokenService.executeWithClientForResult(OAuth2TokenService.java:247)
at it.reply.orchestrator.service.deployment.providers.ImServiceImpl.executeWithClientForResult(ImServiceImpl.java:114)
at it.reply.orchestrator.service.deployment.providers.ImServiceImpl.doDeploy(ImServiceImpl.java:186)
at it.reply.orchestrator.service.commands.Deploy.execute(Deploy.java:32)
at it.reply.orchestrator.service.commands.Deploy.execute(Deploy.java:25)
at it.reply.orchestrator.service.commands.BaseWorkflowCommand.customExecute(BaseWorkflowCommand.java:38)
at it.reply.orchestrator.service.commands.BaseJavaDelegate.execute(BaseJavaDelegate.java:57)
... 23 common frames omitted
2020-04-28 22:09:52.332 DEBUG - - 1 --- [TaskExecutor-80] i.r.o.workflow.CustomJobRetryCmd : activity or FailedJobRetryTimerCycleValue is null in job 11ea899c-fbdd-28a4-a8b7-02426ee092cb. Only decrementing retries.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment