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

Unable to create fabric when using --min-port and --max-port

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • jboss-fuse-6.2
    • jboss-fuse-6.1, jboss-fuse-6.2
    • None
    • None
    • % %

    Description

      Tested on a r1 patched instance

      fabric:create --min-port 50000 --max-port 60000
      

      Losgs

      11:32:04,695 | INFO  | pool-27-thread-1 | ZooKeeper                        | 53 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-394 | Client environment:user.dir=/opt/rh/jboss-fuse-6.1.0.redhat-37
      9
      11:32:04,696 | INFO  | pool-27-thread-1 | ZooKeeper                        | 53 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-394 | Initiating client connection, connectString=c05913ecf43a:2181 
      sessionTimeout=60000 watcher=org.apache.curator.ConnectionState@52722d5e
      11:32:04,707 | INFO  | 5913ecf43a:2181) | ClientCnxn                       | 53 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-394 | Opening socket connection to server c05913ecf43a/172.17.0.2:21
      81. Will not attempt to authenticate using SASL (unknown error)
      11:32:04,711 | WARN  | 5913ecf43a:2181) | ClientCnxn                       | 53 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-394 | Session 0x0 for server null, unexpected error, closing socket 
      connection and attempting reconnect
      java.net.ConnectException: Connection refused
              at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)[:1.7.0_65]
              at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739)[:1.7.0_65]
              at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)[53:io.fabric8.fabric-zookeeper:1.0.0.redhat-394]
              at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)[53:io.fabric8.fabric-zookeeper:1.0.0.redhat-394]
      11:32:05,814 | INFO  | 5913ecf43a:2181) | ClientCnxn                       | 53 - io.fabric8.fabric-zookeeper - 1.0.0.redhat-394 | Opening socket connection to server c05913ecf43a/172.17.0.2:21
      81. Will not attempt to authenticate using SASL (unknown error)
      
      
      bash-4.1# ss -lpn | grep $(ps aux | grep karaf | grep -v grep |  awk '{ print $2}')
      LISTEN     0      128                      :::61616                   :::*      users:(("java",14796,451))
      LISTEN     0      50                       :::8181                    :::*      users:(("java",14796,285))
      LISTEN     0      50                       :::44444                   :::*      users:(("java",14796,437))
      LISTEN     0      50                       :::36477                   :::*      users:(("java",14796,22))
      LISTEN     0      50                       :::62181                   :::*      users:(("java",14796,382))
      LISTEN     0      50                       :::8101                    :::*      users:(("java",14796,380))
      LISTEN     0      1          ::ffff:127.0.0.1:39141                   :::*      users:(("java",14796,99))
      LISTEN     0      50                       :::1099                    :::*      users:(("java",14796,433))
      

      Attachments

        Activity

          People

            pantinor@redhat.com Paolo Antinori
            pantinor@redhat.com Paolo Antinori
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: