01:48:52.674 [main] INFO  [CloudPoolRestApiImpl:<init>:102] - CloudPoolRestApiImpl created
01:48:52.675 [main] INFO  [CloudPoolServer:restoreConfig:169] - restoring cloudpool config from /home/simon/git/elastisys/scale.cloudpool/target/checkout/api/target/cloudpool/storage/config.json
01:48:52.735 [main] INFO  [Log:initialized:193] - Logging initialized @3003ms to org.eclipse.jetty.util.log.Slf4jLog
01:48:52.871 [main] DEBUG [ServletServerBuilder:createServletHandler:206] - adding servlet 'org.glassfish.jersey.servlet.ServletContainer@1af6cd73' at context path '/' with path spec '/*' and init-params {}
01:48:52.872 [main] DEBUG [ServletServerBuilder:addCrossOriginFilter:113] - enabling CORS support
01:48:52.884 [main] INFO  [Server:doStart:371] - jetty-9.4.12.v20180830; built: 2018-08-30T13:59:14.071Z; git: 27208684755d94a92186989f695db2d7b21ebc51; jvm 11.0.2+9-Ubuntu-3ubuntu118.04.3
01:48:52.937 [main] INFO  [DefaultSessionIdManager:doStart:365] - DefaultSessionIdManager workerName=node0
01:48:52.937 [main] INFO  [DefaultSessionIdManager:doStart:370] - No SessionScavenger set, using defaults
01:48:52.939 [main] INFO  [HouseKeeper:startScavenging:149] - node0 Scavenging every 600000ms
01:48:53.652 [main] INFO  [ContextHandler:doStart:850] - Started o.e.j.s.ServletContextHandler@4748a39a{/,null,AVAILABLE}
01:48:53.715 [main] INFO  [SslContextFactory:load:310] - x509=X509@39086d6b(1,h=[],w=[]) for SslContextFactory@303fe95c[provider=null,keyStore=file:///home/simon/git/elastisys/scale.cloudpool/target/checkout/api/target/test-classes/security/server/server_keystore.p12,trustStore=file:///home/simon/git/elastisys/scale.cloudpool/target/checkout/api/target/test-classes/security/server/server_keystore.p12]
01:48:53.750 [main] INFO  [AbstractConnector:doStart:292] - Started ServerConnector@23339a25{SSL,[ssl, http/1.1]}{0.0.0.0:33503}
01:48:53.751 [main] INFO  [Server:doStart:408] - Started @4019ms
01:48:53.882 [main] DEBUG [Http:execute:82] - sending request (GET https://localhost:33503/pool/size HTTP/1.1)
01:48:54.315 [qtp592313486-20] INFO  [RequestLogFilter:filter:26] - GET https://localhost:33503/pool/size by 127.0.0.1
01:48:54.363 [main] DEBUG [Http:execute:82] - sending request (POST https://localhost:33503/config HTTP/1.1)
01:48:54.415 [qtp592313486-22] INFO  [RequestLogFilter:filter:26] - POST https://localhost:33503/config by 127.0.0.1
01:48:54.428 [qtp592313486-22] ERROR [CloudPoolRestApiImpl:setConfig:154] - illegal input: bad config!
java.lang.IllegalArgumentException: bad config!
	at com.elastisys.scale.cloudpool.api.restapi.impl.CloudPoolRestApiImpl.setConfig(CloudPoolRestApiImpl.java:149)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
	at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473)
	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:865)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1655)
	at org.eclipse.jetty.servlets.CrossOriginFilter.handle(CrossOriginFilter.java:311)
	at org.eclipse.jetty.servlets.CrossOriginFilter.doFilter(CrossOriginFilter.java:265)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
	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:1340)
	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:1242)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
	at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:61)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
	at org.eclipse.jetty.server.Server.handle(Server.java:503)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:411)
	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:305)
	at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:159)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	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:765)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683)
	at java.base/java.lang.Thread.run(Thread.java:834)
01:48:54.436 [main] DEBUG [Http:execute:82] - sending request (GET https://localhost:33503/pool HTTP/1.1)
01:48:54.491 [qtp592313486-20] INFO  [RequestLogFilter:filter:26] - GET https://localhost:33503/pool by 127.0.0.1
01:48:54.497 [main] DEBUG [Http:execute:82] - sending request (POST https://localhost:33503/config HTTP/1.1)
01:48:54.547 [qtp592313486-22] INFO  [RequestLogFilter:filter:26] - POST https://localhost:33503/config by 127.0.0.1
01:48:54.559 [main] DEBUG [Http:execute:82] - sending request (POST https://localhost:33503/pool/terminate HTTP/1.1)
01:48:54.616 [qtp592313486-19] INFO  [RequestLogFilter:filter:26] - POST https://localhost:33503/pool/terminate by 127.0.0.1
01:48:54.625 [main] DEBUG [Http:execute:82] - sending request (POST https://localhost:33503/pool/detach HTTP/1.1)
01:48:54.670 [qtp592313486-17] INFO  [RequestLogFilter:filter:26] - POST https://localhost:33503/pool/detach by 127.0.0.1
01:48:54.679 [main] DEBUG [Http:execute:82] - sending request (POST https://localhost:33503/pool/membershipStatus HTTP/1.1)
01:48:54.707 [qtp592313486-20] INFO  [RequestLogFilter:filter:26] - POST https://localhost:33503/pool/membershipStatus by 127.0.0.1
01:48:54.713 [main] DEBUG [Http:execute:82] - sending request (GET https://localhost:33503/config HTTP/1.1)
01:48:54.740 [qtp592313486-19] INFO  [RequestLogFilter:filter:26] - GET https://localhost:33503/config by 127.0.0.1
01:48:54.745 [main] DEBUG [Http:execute:82] - sending request (POST https://localhost:33503/pool/serviceState HTTP/1.1)
01:48:54.771 [qtp592313486-19] INFO  [RequestLogFilter:filter:26] - POST https://localhost:33503/pool/serviceState by 127.0.0.1
01:48:54.805 [main] DEBUG [Http:execute:82] - sending request (POST https://localhost:33503/stop HTTP/1.1)
01:48:54.839 [qtp592313486-19] INFO  [RequestLogFilter:filter:26] - POST https://localhost:33503/stop by 127.0.0.1
01:48:54.844 [main] DEBUG [Http:execute:82] - sending request (POST https://localhost:33503/pool/membershipStatus HTTP/1.1)
01:48:54.881 [qtp592313486-20] INFO  [RequestLogFilter:filter:26] - POST https://localhost:33503/pool/membershipStatus by 127.0.0.1
01:48:54.888 [main] DEBUG [Http:execute:82] - sending request (POST https://localhost:33503/pool/attach HTTP/1.1)
01:48:54.922 [qtp592313486-17] INFO  [RequestLogFilter:filter:26] - POST https://localhost:33503/pool/attach by 127.0.0.1
01:48:54.926 [main] DEBUG [Http:execute:82] - sending request (POST https://localhost:33503/start HTTP/1.1)
01:48:54.962 [qtp592313486-19] INFO  [RequestLogFilter:filter:26] - POST https://localhost:33503/start by 127.0.0.1
01:48:54.970 [main] DEBUG [Http:execute:82] - sending request (POST https://localhost:33503/pool/serviceState HTTP/1.1)
01:48:55.000 [qtp592313486-19] INFO  [RequestLogFilter:filter:26] - POST https://localhost:33503/pool/serviceState by 127.0.0.1
01:48:55.008 [main] DEBUG [Http:execute:82] - sending request (GET https://localhost:33503/config HTTP/1.1)
01:48:55.040 [qtp592313486-20] INFO  [RequestLogFilter:filter:26] - GET https://localhost:33503/config by 127.0.0.1
01:48:55.047 [main] DEBUG [Http:execute:82] - sending request (GET https://localhost:33503/status HTTP/1.1)
01:48:55.079 [qtp592313486-20] INFO  [RequestLogFilter:filter:26] - GET https://localhost:33503/status by 127.0.0.1
01:48:55.085 [main] DEBUG [Http:execute:82] - sending request (POST https://localhost:33503/pool/attach HTTP/1.1)
01:48:55.118 [qtp592313486-20] INFO  [RequestLogFilter:filter:26] - POST https://localhost:33503/pool/attach by 127.0.0.1
01:48:55.127 [main] DEBUG [Http:execute:82] - sending request (POST https://localhost:33503/pool/terminate HTTP/1.1)
01:48:55.158 [qtp592313486-19] INFO  [RequestLogFilter:filter:26] - POST https://localhost:33503/pool/terminate by 127.0.0.1
01:48:55.163 [main] DEBUG [Http:execute:82] - sending request (POST https://localhost:33503/pool/size HTTP/1.1)
01:48:55.200 [qtp592313486-20] INFO  [RequestLogFilter:filter:26] - POST https://localhost:33503/pool/size by 127.0.0.1
01:48:55.207 [main] DEBUG [Http:execute:82] - sending request (POST https://localhost:33503/pool/detach HTTP/1.1)
01:48:55.245 [qtp592313486-17] INFO  [RequestLogFilter:filter:26] - POST https://localhost:33503/pool/detach by 127.0.0.1
01:48:55.251 [main] DEBUG [Http:execute:82] - sending request (POST https://localhost:33503/pool/size HTTP/1.1)
01:48:55.282 [qtp592313486-22] INFO  [RequestLogFilter:filter:26] - POST https://localhost:33503/pool/size by 127.0.0.1
01:48:55.287 [main] DEBUG [Http:execute:82] - sending request (POST https://localhost:33503/start HTTP/1.1)
01:48:55.314 [qtp592313486-19] INFO  [RequestLogFilter:filter:26] - POST https://localhost:33503/start by 127.0.0.1
01:48:55.315 [qtp592313486-19] ERROR [CloudPoolRestApiImpl:start:169] - no config set!
01:48:55.327 [main] INFO  [AbstractConnector:doStop:341] - Stopped ServerConnector@23339a25{SSL,[ssl, http/1.1]}{0.0.0.0:33503}
01:48:55.327 [main] INFO  [HouseKeeper:stopScavenging:167] - node0 Stopped scavenging
01:48:55.334 [main] INFO  [ContextHandler:doStop:1040] - Stopped o.e.j.s.ServletContextHandler@4748a39a{/,null,UNAVAILABLE}
