-
Bug
-
Resolution: Done
-
Major
-
jboss-fuse-6.2
-
%
-
-
In Fuse 6.2.0, sometimes it is unable to create child containers, the error shows:
*************************
2016-05-11 09:42:59,641 | ERROR | 1823708575-25794 | FabricManager | 77 - io.fabric8.fabric-core - 1.2.0.redhat-133 | Failed to create container z1:
io.fabric8.api.FabricException: Could not find port within range [8101,8201] for pid org.apache.karaf.shell
at io.fabric8.service.ZookeeperPortService.registerPort(ZookeeperPortService.java:98)[77:io.fabric8.fabric-core:1.2.0.redhat-133]
at io.fabric8.service.child.ChildContainerProvider.doCreateKaraf(ChildContainerProvider.java:311)[77:io.fabric8.fabric-core:1.2.0.redhat-133]
at io.fabric8.service.child.ChildContainerProvider.access$100(ChildContainerProvider.java:73)[77:io.fabric8.fabric-core:1.2.0.redhat-133]
at io.fabric8.service.child.ChildContainerProvider$1$1.doWithAdminService(ChildContainerProvider.java:210)[77:io.fabric8.fabric-core:1.2.0.redhat-133]
at io.fabric8.service.child.ChildContainerProvider$1$1.doWithAdminService(ChildContainerProvider.java:208)[77:io.fabric8.fabric-core:1.2.0.redhat-133]
at io.fabric8.service.ContainerTemplate$2.doWithJmxConnector(ContainerTemplate.java:94)[77:io.fabric8.fabric-core:1.2.0.redhat-133]
at io.fabric8.service.NonCachingJmxTemplate.execute(NonCachingJmxTemplate.java:37)[77:io.fabric8.fabric-core:1.2.0.redhat-133]
at io.fabric8.service.ContainerTemplate.execute(ContainerTemplate.java:91)[77:io.fabric8.fabric-core:1.2.0.redhat-133]
at io.fabric8.service.child.ChildContainerProvider$1.create(ChildContainerProvider.java:208)[77:io.fabric8.fabric-core:1.2.0.redhat-133]
at io.fabric8.service.child.ChildContainerProvider.create(ChildContainerProvider.java:105)[77:io.fabric8.fabric-core:1.2.0.redhat-133]
at io.fabric8.service.child.ChildContainerProvider.create(ChildContainerProvider.java:67)[77:io.fabric8.fabric-core:1.2.0.redhat-133]
at io.fabric8.service.FabricServiceImpl$1.run(FabricServiceImpl.java:564)[77:io.fabric8.fabric-core:1.2.0.redhat-133]
*************************
Although there has only 15 child containers, so the rest of ports should be released.