Adding new members to fabric ensemble causes connections errors

Solution Verified - Updated -

Issue

When adding members to my ensemble, I'm seeing connection errors. The following are my steps:

FuseFabric:admin@root> container-create-ssh --host host002 --user host002 root2
FuseFabric:admin@root> container-create-ssh --host host003 --user host003 root3
FuseFabric:admin@root> ensemble-add root2 root3

Await provisioning success:

FuseFabric:admin@root> watch -n 1 container-list

Using a demo to that connects to my fabric, I see the following error message:

11:30:07 WARN 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)
        at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:592)
        at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:286)
        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1035)
11:30:08 INFO ?Opening socket connection to server itfus001.anon.com/10.97.5.147:2181

Using lsof -i you can see that the port 2181 has been replaced by 2182. Re-run the demo as a producer with port 2182 in the zookeeper.url and now you see:

11:40:33 ERROR javax.jms.JMSException: Could not connect to broker URL: discovery:(fabric:test-group).
Reason: org.apache.zookeeper.KeeperException$NoAuthException: KeeperErrorCode = NoAuth for /fabric/registry/clusters/fusemq/demo-group-1

Environment

  • Fuse ESB Enterprise 7.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content