0 Replies Latest reply on Nov 4, 2015 11:04 AM by Iain Smith

    Provisioning process never ends

    Iain Smith Newbie

      I'm having problems with the deployment of a profile to a container never completing.

       

      I used Fabric8 to successfully deploy the application to a Fuse 6.2 instance running on localhost. I then used the Fuse Management Console to deploy the profile to a new container (which is a child of root).

       

      The new container is correctly displayed in the container list, however it is stuck in the state with the spinning arrows on the provision status.

       

      If I check fuse.log, the only errors I can see are related to a Server Session being aborted. I've already tried disabling firewalls, etc, but don't know if this is a red herring.

       

      Could this session error lead to the provisioning process failing, but not reporting back to the Management Console?

       

      Is there anywhere else I need to look for more details regarding the provisioning process and its status?

       

       

      2015-11-04 15:48:11,722 / INFO  / tp1408777651-932 / FabricServiceImpl            / 77 - io.fabric8.fabric-core - 1.2.0.redhat-133 / Starting container mycontainer
      2015-11-04 15:48:11,722 / INFO  / tp1408777651-932 / ChildContainerProvider       / 77 - io.fabric8.fabric-core - 1.2.0.redhat-133 / Using container controller io.fabric8.service.child.ChildContainerProvider$1@6b400368
      2015-11-04 15:48:40,015 / INFO  / 4]-nio2-thread-2 / ServerSession                / 58 - org.apache.sshd.core - 0.12.0.redhat-002 / Server session created from /127.0.0.1:57720
      2015-11-04 15:48:40,015 / INFO  / 4]-nio2-thread-2 / Nio2Session                  / 58 - org.apache.sshd.core - 0.12.0.redhat-002 / Exception handler threw exception, closing the session

      java.lang.IllegalStateException: No session available

          at org.apache.sshd.common.AbstractSessionIoHandler.exceptionCaught(AbstractSessionIoHandler.java:49)[58:org.apache.sshd.core:0.12.0.redhat-002]

          at org.apache.sshd.common.io.nio2.Nio2Session.exceptionCaught(Nio2Session.java:126)[58:org.apache.sshd.core:0.12.0.redhat-002]

          at org.apache.sshd.common.io.nio2.Nio2Session.access$500(Nio2Session.java:47)[58:org.apache.sshd.core:0.12.0.redhat-002]

          at org.apache.sshd.common.io.nio2.Nio2Session$2.onFailed(Nio2Session.java:230)

          at org.apache.sshd.common.io.nio2.Nio2CompletionHandler$2.run(Nio2CompletionHandler.java:41)

          at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_60]

          at org.apache.sshd.common.io.nio2.Nio2CompletionHandler.failed(Nio2CompletionHandler.java:39)[58:org.apache.sshd.core:0.12.0.redhat-002]

          at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:128)[:1.8.0_60]

          at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)[:1.8.0_60]

          at sun.nio.ch.Invoker.invoke(Invoker.java:185)[:1.8.0_60]

          at sun.nio.ch.Invoker.invoke(Invoker.java:297)[:1.8.0_60]

          at sun.nio.ch.WindowsAsynchronousSocketChannelImpl$WriteTask.run(WindowsAsynchronousSocketChannelImpl.java:811)[:1.8.0_60]

          at sun.nio.ch.WindowsAsynchronousSocketChannelImpl.implWrite(WindowsAsynchronousSocketChannelImpl.java:916)[:1.8.0_60]

          at sun.nio.ch.AsynchronousSocketChannelImpl.write(AsynchronousSocketChannelImpl.java:382)[:1.8.0_60]

          at sun.nio.ch.AsynchronousSocketChannelImpl.write(AsynchronousSocketChannelImpl.java:399)[:1.8.0_60]

          at java.nio.channels.AsynchronousSocketChannel.write(AsynchronousSocketChannel.java:577)[:1.8.0_60]

          at org.apache.sshd.common.io.nio2.Nio2Session.startWriting(Nio2Session.java:212)[58:org.apache.sshd.core:0.12.0.redhat-002]

          at org.apache.sshd.common.io.nio2.Nio2Session.write(Nio2Session.java:115)[58:org.apache.sshd.core:0.12.0.redhat-002]

          at org.apache.sshd.common.session.AbstractSession.doWritePacket(AbstractSession.java:508)[58:org.apache.sshd.core:0.12.0.redhat-002]

          at org.apache.sshd.common.session.AbstractSession.writePacket(AbstractSession.java:495)[58:org.apache.sshd.core:0.12.0.redhat-002]

          at org.apache.sshd.common.session.AbstractSession.sendKexInit(AbstractSession.java:856)[58:org.apache.sshd.core:0.12.0.redhat-002]

          at org.apache.sshd.server.session.ServerSession.sendKexInit(ServerSession.java:128)[58:org.apache.sshd.core:0.12.0.redhat-002]

          at org.apache.sshd.server.session.ServerSession.<init>(ServerSession.java:60)[58:org.apache.sshd.core:0.12.0.redhat-002]

          at org.apache.sshd.server.session.SessionFactory.doCreateSession(SessionFactory.java:43)[58:org.apache.sshd.core:0.12.0.redhat-002]

          at org.apache.sshd.common.session.AbstractSessionFactory.createSession(AbstractSessionFactory.java:38)[58:org.apache.sshd.core:0.12.0.redhat-002]

          at org.apache.sshd.common.AbstractSessionIoHandler.sessionCreated(AbstractSessionIoHandler.java:36)[58:org.apache.sshd.core:0.12.0.redhat-002]

          at org.apache.sshd.common.io.nio2.Nio2Acceptor$AcceptCompletionHandler.onCompleted(Nio2Acceptor.java:127)[58:org.apache.sshd.core:0.12.0.redhat-002]

          at org.apache.sshd.common.io.nio2.Nio2Acceptor$AcceptCompletionHandler.onCompleted(Nio2Acceptor.java:108)[58:org.apache.sshd.core:0.12.0.redhat-002]

          at org.apache.sshd.common.io.nio2.Nio2CompletionHandler$1.run(Nio2CompletionHandler.java:32)

          at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_60]

          at org.apache.sshd.common.io.nio2.Nio2CompletionHandler.completed(Nio2CompletionHandler.java:30)[58:org.apache.sshd.core:0.12.0.redhat-002]

          at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)[:1.8.0_60]

          at sun.nio.ch.Invoker$2.run(Invoker.java:218)[:1.8.0_60]

          at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)[:1.8.0_60]

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_60]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_60]

          at java.lang.Thread.run(Thread.java:745)[:1.8.0_60]

      Caused by: java.io.IOException: An established connection was aborted by the software in your host machine

          at sun.nio.ch.WindowsAsynchronousSocketChannelImpl.write0(Native Method)[:1.8.0_60]

          at sun.nio.ch.WindowsAsynchronousSocketChannelImpl.access$900(WindowsAsynchronousSocketChannelImpl.java:43)[:1.8.0_60]