Skip to content

Instantly share code, notes, and snippets.

@alexcos78
Created January 29, 2021 16:50
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/d6beefe88000bb4594b41d94b49c0696 to your computer and use it in GitHub Desktop.
Save alexcos78/d6beefe88000bb4594b41d94b49c0696 to your computer and use it in GitHub Desktop.
2021-01-29 16:44:28.630 DEBUG req-9a903309-edf7-4f8b-aceb-f8f281612d0b - 1 --- [ XNIO-2 task-6] i.r.o.c.f.CustomRequestLoggingFilter : {"headers":{"authorization":"Bearer eyJraWQiOiJyc2ExIiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJiMzcwZThkYi1hOGY1LTRjMGYtODkzZC00MjE5MzAwMDIwOTQiLCJpc3MiOiJodHRwczpcL1wvaW90d2lucy1pYW0uY2xvdWQuY25hZi5pbmZuLml0XC8iLCJuYW1lIjoiQWxlc3NhbmRybyBDb3N0YW50aW5pIiwiZ3JvdXBzIjpbIlRCMDIiLCJUQjAyXC9jbG91ZCIsIlRCMDJcL3MzIl0sInByZWZlcnJlZF91c2VybmFtZSI6ImFjb3N0YW50aW5pIiwib3JnYW5pc2F0aW9uX25hbWUiOiJpb3R3aW5zIiwiZXhwIjoxNjExOTQyMjUzLCJpYXQiOjE2MTE5Mzg2NTMsImp0aSI6ImVjMjM2MzI1LTk2MWMtNGM2Yi05NjFkLTQxMzAwNWFkYTlhZSIsImNsaWVudF9pZCI6ImViYTAyMWU1LTkxMDEtNGEyMi1hMDg2LTc2ZWUxNDE0ZjY5MSIsImVtYWlsIjoiYWxlc3NhbmRyby5jb3N0YW50aW5pQGNuYWYuaW5mbi5pdCJ9.tjUd6N-_FJGRthDn1rdERftSc3dsBG8fMuCEoLBxqc0SrWr3Dikr0XZM20xLXr8o3MrMbTwfQzMta6QxXfgoZB4N4Yl_UCEPNa8mKJbRIuYtPhKzJBghLn6dHTLyDI5v34A-S96NAhFuR1P11p7WX5uEysIzcWrIF96HLTv6YJQ","X-Forwarded-Prefix":"/orchestrator","Connection":"close","X-Forwarded-Proto":"https","X-Forwarded-For":"131.154.4.205","Host":"iotwins-paas.cloud.cnaf.infn.it","Content-Length":"1099","X-Real-IP":"131.154.4.205","accept-encoding":"gzip","accept":"application/json","user-agent":"Orchent","Content-Type":"application/json;charset=UTF-8"},"uri":"/deployments","type":"request","http_method":"POST","client_ip":"131.154.4.205"}
2021-01-29 16:44:29.307 DEBUG req-9a903309-edf7-4f8b-aceb-f8f281612d0b - 1 --- [ XNIO-2 task-6] .o.s.s.UserInfoIntrospectingTokenService : Validation of received access token performed in 677ms
2021-01-29 16:44:29.310 DEBUG req-9a903309-edf7-4f8b-aceb-f8f281612d0b 11eb6251-4158-22c9-8f72-0242f1c51fa0 1 --- [ XNIO-2 task-6] 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: >
TOSCA test for launching compute node with a specified image and getting
as an output the IP and SSH credentials to access
topology_template:
node_templates:
simple_node:
type: tosca.nodes.indigo.Compute
capabilities:
endpoint:
properties:
network_name: PUBLIC
ports:
user_port:
protocol: tcp
source: 9000
scalable:
properties:
count: 1
host:
properties:
instance_type: iotwins.medium
os:
properties:
image: ubuntu-xenial-CNAF-x86_64
outputs:
node_ip:
value: { get_attribute: [ simple_node, public_address, 0 ] }
node_creds:
value: { get_attribute: [ simple_node, endpoint, credential, 0 ] }
2021-01-29 16:44:29.311 INFO req-9a903309-edf7-4f8b-aceb-f8f281612d0b 11eb6251-4158-22c9-8f72-0242f1c51fa0 1 --- [ XNIO-2 task-6] i.r.o.tosca.RemoteRepositoryServiceImpl : Fetching local TOSCA dependency jar:file:/orchestrator/orchestrator.war!/WEB-INF/lib/orchestrator-2.4.1-RC.1.jar!/tosca-definitions/tosca-normative-types-1.0.0.yaml
2021-01-29 16:44:29.312 INFO req-9a903309-edf7-4f8b-aceb-f8f281612d0b 11eb6251-4158-22c9-8f72-0242f1c51fa0 1 --- [ XNIO-2 task-6] i.r.o.tosca.RemoteRepositoryServiceImpl : Fetched local TOSCA dependency jar:file:/orchestrator/orchestrator.war!/WEB-INF/lib/orchestrator-2.4.1-RC.1.jar!/tosca-definitions/tosca-normative-types-1.0.0.yaml
2021-01-29 16:44:29.320 WARN req-9a903309-edf7-4f8b-aceb-f8f281612d0b 11eb6251-4158-22c9-8f72-0242f1c51fa0 1 --- [ XNIO-2 task-6] i.r.orchestrator.tosca.TemplateParser : Non-fatal error parsing TOSCA template jar:file:/orchestrator/orchestrator.war!/WEB-INF/lib/orchestrator-2.4.1-RC.1.jar!/tosca-definitions/tosca-normative-types-1.0.0.yaml:
ParsingError(errorLevel=WARNING, errorCode=UNRECOGNIZED_PROPERTY, context=Ignored field during import, startMark=SimpleMark(line=63, column=9), problem=tosca key is not recognized, endMark=SimpleMark(line=65, column=7), note=entry_schema)
ParsingError(errorLevel=WARNING, errorCode=UNRECOGNIZED_PROPERTY, context=Ignored field during import, startMark=SimpleMark(line=67, column=9), problem=tosca key is not recognized, endMark=SimpleMark(line=69, column=5), note=entry_schema)
ParsingError(errorLevel=WARNING, errorCode=UNRECOGNIZED_PROPERTY, context=Ignored field during import, startMark=SimpleMark(line=401, column=9), problem=tosca key is not recognized, endMark=SimpleMark(line=401, column=29), note=status)
ParsingError(errorLevel=WARNING, errorCode=UNRECOGNIZED_PROPERTY, context=Ignored field during import, startMark=SimpleMark(line=599, column=9), problem=tosca key is not recognized, endMark=SimpleMark(line=599, column=29), note=status)
ParsingError(errorLevel=WARNING, errorCode=UNRECOGNIZED_PROPERTY, context=Ignored field during import, startMark=SimpleMark(line=604, column=9), problem=tosca key is not recognized, endMark=SimpleMark(line=604, column=29), note=status)
ParsingError(errorLevel=WARNING, errorCode=UNRECOGNIZED_PROPERTY, context=Ignored field during import, startMark=SimpleMark(line=742, column=1), problem=tosca key is not recognized, endMark=SimpleMark(line=782, column=1), note=interface_types)
ParsingError(errorLevel=WARNING, errorCode=UNRECOGNIZED_PROPERTY, context=Ignored field during import, startMark=SimpleMark(line=970, column=1), problem=tosca key is not recognized, endMark=SimpleMark(line=976, column=1), note=group_types)
2021-01-29 16:44:29.320 INFO req-9a903309-edf7-4f8b-aceb-f8f281612d0b 11eb6251-4158-22c9-8f72-0242f1c51fa0 1 --- [ XNIO-2 task-6] i.r.o.tosca.RemoteRepositoryServiceImpl : Parsed local TOSCA dependency jar:file:/orchestrator/orchestrator.war!/WEB-INF/lib/orchestrator-2.4.1-RC.1.jar!/tosca-definitions/tosca-normative-types-1.0.0.yaml
2021-01-29 16:44:29.396 INFO req-9a903309-edf7-4f8b-aceb-f8f281612d0b 11eb6251-4158-22c9-8f72-0242f1c51fa0 1 --- [ XNIO-2 task-6] i.r.o.tosca.RemoteRepositoryServiceImpl : Fetching remote TOSCA dependency https://raw.githubusercontent.com/indigo-dc/tosca-types/master/custom_types.yaml
2021-01-29 16:44:29.646 INFO req-9a903309-edf7-4f8b-aceb-f8f281612d0b 11eb6251-4158-22c9-8f72-0242f1c51fa0 1 --- [ XNIO-2 task-6] i.r.o.tosca.RemoteRepositoryServiceImpl : Fetched remote TOSCA dependency https://raw.githubusercontent.com/indigo-dc/tosca-types/master/custom_types.yaml
2021-01-29 16:44:29.675 WARN req-9a903309-edf7-4f8b-aceb-f8f281612d0b 11eb6251-4158-22c9-8f72-0242f1c51fa0 1 --- [ XNIO-2 task-6] i.r.orchestrator.tosca.TemplateParser : Non-fatal error parsing TOSCA template https://raw.githubusercontent.com/indigo-dc/tosca-types/master/custom_types.yaml:
ParsingError(errorLevel=WARNING, errorCode=UNRECOGNIZED_PROPERTY, context=Ignored field during import, startMark=SimpleMark(line=205, column=9), problem=tosca key is not recognized, endMark=SimpleMark(line=208, column=3), note=entry_schema)
ParsingError(errorLevel=WARNING, errorCode=UNRECOGNIZED_PROPERTY, context=Ignored field during import, startMark=SimpleMark(line=340, column=9), problem=tosca key is not recognized, endMark=SimpleMark(line=342, column=7), note=entry_schema)
ParsingError(errorLevel=WARNING, errorCode=UNRECOGNIZED_PROPERTY, context=Ignored field during import, startMark=SimpleMark(line=344, column=9), problem=tosca key is not recognized, endMark=SimpleMark(line=346, column=7), note=entry_schema)
ParsingError(errorLevel=WARNING, errorCode=UNRECOGNIZED_PROPERTY, context=Ignored field during import, startMark=SimpleMark(line=1486, column=9), problem=tosca key is not recognized, endMark=SimpleMark(line=1486, column=29), note=entry_schema)
2021-01-29 16:44:29.675 INFO req-9a903309-edf7-4f8b-aceb-f8f281612d0b 11eb6251-4158-22c9-8f72-0242f1c51fa0 1 --- [ XNIO-2 task-6] i.r.o.tosca.RemoteRepositoryServiceImpl : Parsed remote TOSCA dependency https://raw.githubusercontent.com/indigo-dc/tosca-types/master/custom_types.yaml
2021-01-29 16:44:29.763 INFO req-9a903309-edf7-4f8b-aceb-f8f281612d0b 11eb6251-4158-22c9-8f72-0242f1c51fa0 1 --- [ XNIO-2 task-6] i.r.o.s.s.OAuth2TokenCacheService : No refresh token found for OidcTokenId(clientsId=[eba021e5-9101-4a22-a086-76ee1414f691], oidcEntityId=OidcEntityId(super=OidcIssuerAwareId(issuer=https://iotwins-iam.cloud.cnaf.infn.it/), subject=b370e8db-a8f5-4c0f-893d-421930002094)). Exchanging access token with jti=ec236325-961c-4c6b-961d-413005ada9ae
2021-01-29 16:44:29.925 ERROR req-9a903309-edf7-4f8b-aceb-f8f281612d0b 11eb6251-4158-22c9-8f72-0242f1c51fa0 1 --- [ XNIO-2 task-6] i.r.o.e.GlobalControllerExceptionHandler : Error handling request ServletWebRequest: uri=/deployments;client=131.154.4.205;user=acostantini
javax.cache.processor.EntryProcessorException: org.springframework.web.client.HttpClientErrorException: 401 Unauthorized
at org.apache.ignite.internal.processors.cache.CacheInvokeResult.get(CacheInvokeResult.java:102)
at org.apache.ignite.internal.processors.cache.IgniteCacheProxyImpl.invoke(IgniteCacheProxyImpl.java:1340)
at org.apache.ignite.internal.processors.cache.GatewayProtectedCacheProxy.invoke(GatewayProtectedCacheProxy.java:1320)
at it.reply.orchestrator.service.security.OAuth2TokenCacheService.exchangeAccessToken(OAuth2TokenCacheService.java:110)
at it.reply.orchestrator.service.security.OAuth2TokenService.exchangeCurrentAccessToken(OAuth2TokenService.java:204)
at it.reply.orchestrator.service.DeploymentServiceImpl.buildDeploymentMessage(DeploymentServiceImpl.java:274)
at it.reply.orchestrator.service.DeploymentServiceImpl.createDeployment(DeploymentServiceImpl.java:241)
at it.reply.orchestrator.service.DeploymentServiceImpl$$FastClassBySpringCGLIB$$66a695a.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:736)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:671)
at it.reply.orchestrator.service.DeploymentServiceImpl$$EnhancerBySpringCGLIB$$1660dab0.createDeployment(<generated>)
at it.reply.orchestrator.controller.DeploymentController.createDeployment(DeploymentController.java:106)
at it.reply.orchestrator.controller.DeploymentController$$FastClassBySpringCGLIB$$11090036.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:736)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:69)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:671)
at it.reply.orchestrator.controller.DeploymentController$$EnhancerBySpringCGLIB$$99bb6fa7.createDeployment(<generated>)
at sun.reflect.GeneratedMethodAccessor444.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:854)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:765)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
at org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:111)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.oauth2.provider.authentication.OAuth2AuthenticationProcessingFilter.doFilter(OAuth2AuthenticationProcessingFilter.java:176)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:66)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:347)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:263)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
at it.reply.orchestrator.config.filters.CustomRequestLoggingFilter.doFilterInternal(CustomRequestLoggingFilter.java:314)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:109)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
at org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:103)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:65)
at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:132)
at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)
at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)
at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)
at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)
at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:336)
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:830)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.springframework.web.client.HttpClientErrorException: 401 Unauthorized
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.exchange(RestTemplate.java:599)
at it.reply.orchestrator.service.security.CustomOAuth2Template.postForObject(CustomOAuth2Template.java:137)
at it.reply.orchestrator.service.security.CustomOAuth2Template.postForAccessGrant(CustomOAuth2Template.java:143)
at it.reply.orchestrator.service.security.CustomOAuth2Template.exchangeToken(CustomOAuth2Template.java:92)
at it.reply.orchestrator.service.security.OAuth2TokenCacheService$AbstractGetEntryProcessor.lambda$exchange$3(OAuth2TokenCacheService.java:250)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
at it.reply.orchestrator.service.security.OAuth2TokenCacheService$AbstractGetEntryProcessor.exchange(OAuth2TokenCacheService.java:225)
at it.reply.orchestrator.service.security.OAuth2TokenCacheService$ExchangeEntryProcessor.processInternal(OAuth2TokenCacheService.java:144)
at it.reply.orchestrator.service.security.OAuth2TokenCacheService$AbstractGetEntryProcessor.process(OAuth2TokenCacheService.java:269)
at it.reply.orchestrator.service.security.OAuth2TokenCacheService$AbstractGetEntryProcessor.process(OAuth2TokenCacheService.java:185)
at it.reply.orchestrator.service.security.OAuth2TokenCacheService$EntryProcessorMdcDecorator.process(OAuth2TokenCacheService.java:305)
at org.apache.ignite.internal.processors.cache.EntryProcessorResourceInjectorProxy.process(EntryProcessorResourceInjectorProxy.java:68)
at org.apache.ignite.internal.processors.cache.GridCacheMapEntry$AtomicCacheUpdateClosure.runEntryProcessor(GridCacheMapEntry.java:4693)
at org.apache.ignite.internal.processors.cache.GridCacheMapEntry$AtomicCacheUpdateClosure.call(GridCacheMapEntry.java:4101)
at org.apache.ignite.internal.processors.cache.GridCacheMapEntry$AtomicCacheUpdateClosure.call(GridCacheMapEntry.java:3918)
at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree$Invoke.invokeClosure(BPlusTree.java:2988)
at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree$Invoke.access$6200(BPlusTree.java:2882)
at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree.invokeDown(BPlusTree.java:1713)
at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree.invoke(BPlusTree.java:1602)
at org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl$CacheDataStoreImpl.invoke(IgniteCacheOffheapManagerImpl.java:1201)
at org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl.invoke(IgniteCacheOffheapManagerImpl.java:343)
at org.apache.ignite.internal.processors.cache.GridCacheMapEntry.innerUpdate(GridCacheMapEntry.java:1693)
at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.updateSingle(GridDhtAtomicCache.java:2419)
at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.update(GridDhtAtomicCache.java:1882)
at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.updateAllAsyncInternal0(GridDhtAtomicCache.java:1735)
at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.updateAllAsyncInternal(GridDhtAtomicCache.java:1627)
at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicAbstractUpdateFuture.sendSingleRequest(GridNearAtomicAbstractUpdateFuture.java:299)
at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicSingleUpdateFuture.map(GridNearAtomicSingleUpdateFuture.java:483)
at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicSingleUpdateFuture.mapOnTopology(GridNearAtomicSingleUpdateFuture.java:443)
at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicAbstractUpdateFuture.map(GridNearAtomicAbstractUpdateFuture.java:248)
at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.update0(GridDhtAtomicCache.java:1116)
at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.invoke0(GridDhtAtomicCache.java:825)
at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.invoke(GridDhtAtomicCache.java:783)
at org.apache.ignite.internal.processors.cache.IgniteCacheProxyImpl.invoke(IgniteCacheProxyImpl.java:1338)
... 130 common frames omitted
2021-01-29 16:44:29.928 DEBUG req-9a903309-edf7-4f8b-aceb-f8f281612d0b 11eb6251-4158-22c9-8f72-0242f1c51fa0 1 --- [ XNIO-2 task-6] i.r.o.c.f.CustomRequestLoggingFilter : {"headers":{"authorization":"Bearer eyJraWQiOiJyc2ExIiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJiMzcwZThkYi1hOGY1LTRjMGYtODkzZC00MjE5MzAwMDIwOTQiLCJpc3MiOiJodHRwczpcL1wvaW90d2lucy1pYW0uY2xvdWQuY25hZi5pbmZuLml0XC8iLCJuYW1lIjoiQWxlc3NhbmRybyBDb3N0YW50aW5pIiwiZ3JvdXBzIjpbIlRCMDIiLCJUQjAyXC9jbG91ZCIsIlRCMDJcL3MzIl0sInByZWZlcnJlZF91c2VybmFtZSI6ImFjb3N0YW50aW5pIiwib3JnYW5pc2F0aW9uX25hbWUiOiJpb3R3aW5zIiwiZXhwIjoxNjExOTQyMjUzLCJpYXQiOjE2MTE5Mzg2NTMsImp0aSI6ImVjMjM2MzI1LTk2MWMtNGM2Yi05NjFkLTQxMzAwNWFkYTlhZSIsImNsaWVudF9pZCI6ImViYTAyMWU1LTkxMDEtNGEyMi1hMDg2LTc2ZWUxNDE0ZjY5MSIsImVtYWlsIjoiYWxlc3NhbmRyby5jb3N0YW50aW5pQGNuYWYuaW5mbi5pdCJ9.tjUd6N-_FJGRthDn1rdERftSc3dsBG8fMuCEoLBxqc0SrWr3Dikr0XZM20xLXr8o3MrMbTwfQzMta6QxXfgoZB4N4Yl_UCEPNa8mKJbRIuYtPhKzJBghLn6dHTLyDI5v34A-S96NAhFuR1P11p7WX5uEysIzcWrIF96HLTv6YJQ","X-Forwarded-Prefix":"/orchestrator","Connection":"close","X-Forwarded-Proto":"https","X-Forwarded-For":"131.154.4.205","Host":"iotwins-paas.cloud.cnaf.infn.it","Content-Length":"1099","X-Real-IP":"131.154.4.205","accept-encoding":"gzip","accept":"application/json","user-agent":"Orchent","Content-Type":"application/json;charset=UTF-8"},"uri":"/deployments","type":"response","http_method":"POST","client_ip":"131.154.4.205","response_status":500,"response_time":1299.0}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment