Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-5474

Using "$FUSE/bin/client", "fabric:create" throws Exception with "--wait-for-provisioning" option

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jboss-fuse-6.3
    • jboss-fuse-6.2.1
    • Fabric8 v1
    • None
    • % %
    • Hide
      • Start fuse instance
      • Using a different terminal, execute following command
        ./client -r 2 -d 20 -u admin -p admin "fabric:create --clean --zookeeper-password admin --zookeeper-data-dir zkdata --wait-for-provisioning"
        
      • Following Error messages will be displayed
        8008 [sshd-SshClient[3da60e09]-nio2-thread-4] WARN org.apache.sshd.client.session.ClientSessionImpl - Exception caught
        java.io.IOException: Connection reset by peer
        	at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
        	at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
        	at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
        	at sun.nio.ch.IOUtil.read(IOUtil.java:197)
        	at sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:387)
        	at sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)
        	at sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)
        	at sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:293)
        	at java.lang.Thread.run(Thread.java:745)
        
      • Using a different terminal, execute following command
        ./client -r 10 -d 20 -u admin -p admin "fabric:wait-for-provisioning"
        
      • Following message will be displayed and it's very slow
        Logging in as admin
        retrying (attempt 1) ...
        retrying (attempt 2) ...
        retrying (attempt 3) ...
        retrying (attempt 4) ...
        retrying (attempt 5) ...
        retrying (attempt 6) ...
        121169 [sshd-SshClient[71652c98]-nio2-thread-1] WARN org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at [/0.0.0.0:8101, DSA, f8:a1:fa:74:56:ba:fc:ea:57:6e:7f:98:2c:2c:d0:24] presented unverified {} key: {}
        SUCCESS
        
      Show
      Start fuse instance Using a different terminal, execute following command ./client -r 2 -d 20 -u admin -p admin "fabric:create --clean --zookeeper-password admin --zookeeper-data-dir zkdata --wait-for-provisioning" Following Error messages will be displayed 8008 [sshd-SshClient[3da60e09]-nio2-thread-4] WARN org.apache.sshd.client.session.ClientSessionImpl - Exception caught java.io.IOException: Connection reset by peer at sun.nio.ch.FileDispatcherImpl.read0(Native Method) at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) at sun.nio.ch.IOUtil.read(IOUtil.java:197) at sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:387) at sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191) at sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213) at sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:293) at java.lang.Thread.run(Thread.java:745) Using a different terminal, execute following command ./client -r 10 -d 20 -u admin -p admin "fabric:wait-for-provisioning" Following message will be displayed and it's very slow Logging in as admin retrying (attempt 1) ... retrying (attempt 2) ... retrying (attempt 3) ... retrying (attempt 4) ... retrying (attempt 5) ... retrying (attempt 6) ... 121169 [sshd-SshClient[71652c98]-nio2-thread-1] WARN org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at [/0.0.0.0:8101, DSA, f8:a1:fa:74:56:ba:fc:ea:57:6e:7f:98:2c:2c:d0:24] presented unverified {} key: {} SUCCESS

      Using "$FUSE/bin/client", "fabric:create" throws Exception with "--wait-for-provisioning" option.
      Also if user execute "wait-for-provisioning" after that, it takes 30 times slower than the usual.("wait-for-provisioning" takes 127 sec)
      With following operation, it works fine.("wait-for-provisioning" takes 4 sec.)

      bin/client -r 2 -d 20 -u admin -p admin "fabric:create --clean --zookeeper-password admin --zookeeper-data-dir zkdata"
      bin/client -r 10 -d 20 -u admin -p admin "fabric:wait-for-provisioning"
      

            pantinor@redhat.com Paolo Antinori
            rhn-support-hfuruich Hisao Furuichi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: