"container-list" command causes container to hang with exception "Could not acquire port lock"
Issue
Whilst Fuse was running, when we were triggering "Container-list" on the root node. It got hanged with following exception and as a work around we took a manual fuse restart. This also followed profiles removal and addition to bring up the container on previous state.
2016-02-15 05:12:03,092 | INFO | Thread-134681 | Console | araf.shell.console.jline.Console 220 | 17 - org.apache.karaf.shell.console - 2.3.0.redhat-611429 | Exception caught while executing command
io.fabric8.api.FabricException: Could not acquire port lock for pid org.ops4j.pax.web
at io.fabric8.service.ZookeeperPortService.registerPort(ZookeeperPortService.java:95)
at io.fabric8.service.PortPlaceholderResolver.resolve(PortPlaceholderResolver.java:79)
at io.fabric8.service.FabricServiceImpl$2.getValue(FabricServiceImpl.java:1075)
at io.fabric8.zookeeper.utils.InterpolationHelper.substVars(InterpolationHelper.java:178)
at io.fabric8.service.FabricServiceImpl.substituteConfigurations(FabricServiceImpl.java:1071)
at io.fabric8.internal.ProfileOverlayImpl.getConfigurations(ProfileOverlayImpl.java:358)
at io.fabric8.internal.ProfileOverlayImpl.getConfiguration(ProfileOverlayImpl.java:368)
at io.fabric8.internal.ContainerImpl.isManaged(ContainerImpl.java:149)
at io.fabric8.commands.support.CommandUtils.status(CommandUtils.java:176)
at io.fabric8.commands.ContainerList.printContainers(ContainerList.java:98)
at io.fabric8.commands.ContainerList.doExecute(ContainerList.java:73)
Environment
- JBoss Fuse
- 6.1 GA
- 6.1.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
