Project

General

Profile

Bug #16135

Updated by Nicolas CHARLES about 5 years ago

On 6.0beta1, I could create on Ubuntu16, creating a technique with empty name by adding a ressource resource & parameter silently failed 
 It didn't show up in the directive page, and when comming back to technique was save, without error but editor it could not be seen on directive list, nor be reloaded loaded anymore with error 
 <pre> 
 An Error occured! Could not parse Technique 'technique' 
 Details: 

  caused by : One or more metadata tags not found before the bundle agent declaration (bundle_name, bundle_args) in unknown 
 </pre> 
 
 Created files were in technique is in /var/rudder/configuration-repository/techniques/ncf_techniques/1.0/ 



 May be unrelated but logs 

 Logs says 
 <pre> 
 2019-11-06 15:53:36.137:WARN:oejs.HttpChannel:qtp1254526270-10: /rudder/secure/api/techniques//1.0/resources 
 org.springframework.security.web.firewall.RequestRejectedException: The request was rejected because the URL was not normalized. 
         at org.springframework.security.web.firewall.StrictHttpFirewall.getFirewalledRequest(StrictHttpFirewall.java:296) 
         at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:194) 
         at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178) 
         at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357) 
         at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270) 
         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1634) 
         at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533) 
         at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146) 
         at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) 
         at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) 
         at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257) 
         at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595) 
         at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) 
         at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1317) 
         at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) 
         at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473) 
         at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564) 
         at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) 
         at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1219) 
         at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) 
         at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:219) 
         at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126) 
         at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) 
         at org.eclipse.jetty.server.Server.handle(Server.java:531) 
         at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:352) 
         at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) 
         at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:281) 
         at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102) 
         at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) 
         at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) 
         at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) 
         at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) 
         at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) 
         at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) 
         at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:762) 
 </pre>

Back