{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin-metrics/issues/145","repository_url":"https://api.github.com/repos/openshift/origin-metrics","labels_url":"https://api.github.com/repos/openshift/origin-metrics/issues/145/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin-metrics/issues/145/comments","events_url":"https://api.github.com/repos/openshift/origin-metrics/issues/145/events","html_url":"https://github.com/openshift/origin-metrics/issues/145","id":159718494,"number":145,"title":"openshift/origin-hawkular-metrics:v1.2.0 crash-loops because it can't connect to cassandra","user":{"login":"ibotty","id":296430,"avatar_url":"https://avatars.githubusercontent.com/u/296430?v=3","gravatar_id":"","url":"https://api.github.com/users/ibotty","html_url":"https://github.com/ibotty","followers_url":"https://api.github.com/users/ibotty/followers","following_url":"https://api.github.com/users/ibotty/following{/other_user}","gists_url":"https://api.github.com/users/ibotty/gists{/gist_id}","starred_url":"https://api.github.com/users/ibotty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibotty/subscriptions","organizations_url":"https://api.github.com/users/ibotty/orgs","repos_url":"https://api.github.com/users/ibotty/repos","events_url":"https://api.github.com/users/ibotty/events{/privacy}","received_events_url":"https://api.github.com/users/ibotty/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-06-10T20:41:25Z","updated_at":"2016-07-01T20:13:22Z","closed_at":null,"body":"This happens on a newly deployed as well as a refreshed origin-metrics deployment.\r\n\r\n\r\n```\r\n20:35:46,892 FATAL [org.hawkular.metrics.api.jaxrs.MetricsServiceLifecycle] (metricsservice-lifecycle-thread) HAWKMETRICS200006: An error occurred trying to connect to the Cassandra cluster: com.datastax.driver.core.exceptions.InvalidQueryException: unconfigured table task_queue\r\n\tat com.datastax.driver.core.exceptions.InvalidQueryException.copy(InvalidQueryException.java:50)\r\n\tat com.datastax.driver.core.DriverThrowables.propagateCause(DriverThrowables.java:37)\r\n\tat com.datastax.driver.core.AbstractSession.prepare(AbstractSession.java:98)\r\n\tat org.hawkular.metrics.tasks.impl.Queries.<init>(Queries.java:90)\r\n\tat org.hawkular.metrics.api.jaxrs.MetricsServiceLifecycle.initTaskScheduler(MetricsServiceLifecycle.java:310)\r\n\tat org.hawkular.metrics.api.jaxrs.MetricsServiceLifecycle.startMetricsService(MetricsServiceLifecycle.java:227)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)\r\n\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: com.datastax.driver.core.exceptions.InvalidQueryException: unconfigured table task_queue\r\n\tat com.datastax.driver.core.Responses$Error.asException(Responses.java:136)\r\n\tat com.datastax.driver.core.SessionManager$4.apply(SessionManager.java:220)\r\n\tat com.datastax.driver.core.SessionManager$4.apply(SessionManager.java:196)\r\n\tat com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:861)\r\n\tat com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:297)\r\n\tat com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)\r\n\tat com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:145)\r\n\tat com.google.common.util.concurrent.AbstractFuture.set(AbstractFuture.java:185)\r\n\tat com.datastax.driver.core.Connection$Future.onSet(Connection.java:1174)\r\n\tat com.datastax.driver.core.Connection$Future.onSet(Connection.java:1168)\r\n\tat com.datastax.driver.core.RequestHandler.setFinalResult(RequestHandler.java:184)\r\n\tat com.datastax.driver.core.RequestHandler.access$2500(RequestHandler.java:43)\r\n\tat com.datastax.driver.core.RequestHandler$SpeculativeExecution.setFinalResult(RequestHandler.java:798)\r\n\tat com.datastax.driver.core.RequestHandler$SpeculativeExecution.onSet(RequestHandler.java:617)\r\n\tat com.datastax.driver.core.Connection$Dispatcher.channelRead0(Connection.java:1005)\r\n\tat com.datastax.driver.core.Connection$Dispatcher.channelRead0(Connection.java:928)\r\n\tat io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:318)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:304)\r\n\tat io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:266)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:318)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:304)\r\n\tat io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:318)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:304)\r\n\tat io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:276)\r\n\tat io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:263)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:318)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:304)\r\n\tat io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1110)\r\n\tat io.netty.handler.ssl.SslHandler.decode(SslHandler.java:968)\r\n\tat io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:360)\r\n\tat io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:244)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:318)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:304)\r\n\tat io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846)\r\n\tat io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)\r\n\tat io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)\r\n\tat io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)\r\n\tat io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)\r\n\tat io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)\r\n\tat io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)\r\n\t... 1 more\r\n\r\n20:36:08,703 INFO  [org.jboss.as.server] (Thread-2) WFLYSRV0220: Server shutdown has been requested.\r\n*** JBossAS process (113) received TERM signal ***\r\n20:36:09,109 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 65) WFLYUT0022: Unregistered web context: /hawkular/metrics\r\n20:36:09,207 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0012: Scan of /opt/jboss/wildfly/standalone/deployments threw Exception: java.lang.RuntimeException: WFLYDS0036: Deployment model operation failed. undefined\r\n\tat org.jboss.as.server.deployment.scanner.DefaultDeploymentOperations.getUnrelatedDeployments(DefaultDeploymentOperations.java:113)\r\n\tat org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$ScanContext.<init>(FileSystemDeploymentService.java:1615)\r\n\tat org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$ScanContext.<init>(FileSystemDeploymentService.java:1563)\r\n\tat org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.scan(FileSystemDeploymentService.java:568)\r\n\tat org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.scan(FileSystemDeploymentService.java:489)\r\n\tat org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$DeploymentScanRunnable.run(FileSystemDeploymentService.java:250)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\r\n\tat java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)\r\n\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)\r\n\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n\tat org.jboss.threads.JBossThread.run(JBossThread.java:320)\r\n```"},"comment":{"url":"https://api.github.com/repos/openshift/origin-metrics/issues/comments/230037657","html_url":"https://github.com/openshift/origin-metrics/issues/145#issuecomment-230037657","issue_url":"https://api.github.com/repos/openshift/origin-metrics/issues/145","id":230037657,"user":{"login":"gravis","id":12752,"avatar_url":"https://avatars.githubusercontent.com/u/12752?v=3","gravatar_id":"","url":"https://api.github.com/users/gravis","html_url":"https://github.com/gravis","followers_url":"https://api.github.com/users/gravis/followers","following_url":"https://api.github.com/users/gravis/following{/other_user}","gists_url":"https://api.github.com/users/gravis/gists{/gist_id}","starred_url":"https://api.github.com/users/gravis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gravis/subscriptions","organizations_url":"https://api.github.com/users/gravis/orgs","repos_url":"https://api.github.com/users/gravis/repos","events_url":"https://api.github.com/users/gravis/events{/privacy}","received_events_url":"https://api.github.com/users/gravis/received_events","type":"User","site_admin":false},"created_at":"2016-07-01T20:13:22Z","updated_at":"2016-07-01T20:13:22Z","body":"I'm running exactly into this today. Same stack. Openshift v1.2.0"}}
{"actor":{"display_login":"gravis"}}