-
Bug
-
Resolution: Done
-
Critical
-
None
-
jboss-fuse-6.2.1
-
None
-
%
-
-
-
When starting with three karaf containers (say, node0, node1, and node2) and creating a fabric from on of the three (say node0), joining from the other two, then executing ensemble add <container 2> <container 3> from the first container, the user is met with
Error executing command: io.fabric8.api.FabricAuthenticationException: java.lang.SecurityException: Authentication failed
Debugging though, the auth failure seems coming from the createConnector method of ContainerTemplate. The source of the issue seems to be a missing node /fabric/authentication/containers/root in the zookeeper registry causing null to be returned as the container auth password by ZooKeeperUtils.getContainerTokens(CuratorFramework). Inserting an empty node at that location with:
zk:create /fabric/authentication/containers zk:create /fabric/authentication/containers/root zk:set /fabric/authentication/containers "" zk:set /fabric/authentication/containers/root ""
where root represents the name of the first ensemble container seems to be enough to resolve the issue.
In the original case, the customer was using an external git repository, but this issue seems to be encountered with the normal internal repo, as well.
- is blocked by
-
ENTESB-5075 Fabric - issue with external git repo and provisioning
- Closed