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

Unable to create child containers in Fuse 6.2.0, error shows "Could not find port within range [8101,8201] for pid org.apache.karaf.shell"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jboss-fuse-6.2.1
    • jboss-fuse-6.2
    • Fabric8 v1
    • % %
    • Hide

      It is randomly happened.

      Show
      It is randomly happened.

      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.

              pantinor@redhat.com Paolo Antinori
              zhangxu1324_jira xu zhang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: