-
Bug
-
Resolution: Done
-
Major
-
jboss-fuse-6.2.1, jboss-fuse-6.3
-
None
-
%
-
Sprint 7 - towards CR2
Trying to stop a remote ssh container that has changed its access credentials fails as expected.
But the cli operation reports the stop invocation happened correctly:
JBossFuse:karaf@root> container-stop ssh2
The list of container names: [ssh2]
Container 'ssh2' stopped successfully.
while in the logs you can see:
2016-03-23 11:16:04,627 | ERROR | l Console Thread | SshContainerProvider | 269 - io.fabric8.fabric-core-agent-ssh - 1.2.0.redhat-621084 | Failed to stop container: ssh2
com.jcraft.jsch.JSchException: Auth fail
at com.jcraft.jsch.Session.connect(Session.java:512)
at com.jcraft.jsch.Session.connect(Session.java:183)
at io.fabric8.service.ssh.SshContainerProvider.createSession(SshContainerProvider.java:255)
at io.fabric8.service.ssh.SshContainerProvider.stop(SshContainerProvider.java:163)
at io.fabric8.service.FabricServiceImpl.stopContainer(FabricServiceImpl.java:375)
at io.fabric8.internal.ContainerImpl.stop(ContainerImpl.java:517)
at io.fabric8.commands.ContainerStopAction.doExecute(ContainerStopAction.java:46)
at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)
at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_95]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_95]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_95]
at java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_95]
at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)[19:org.apache.aries.proxy.impl:1.0.4]
at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)[19:org.apache.aries.proxy.impl:1.0.4]
at io.fabric8.commands.$ContainerStop857633276.execute(Unknown Source)[mvn:org.apache.aries.proxy/org.apache.aries.proxy.impl/1.0.4:]
at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[38:org.apache.karaf.shell.console:2.4.0.redhat-621084]
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[38:org.apache.karaf.shell.console:2.4.0.redhat-621084]
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[38:org.apache.karaf.shell.console:2.4.0.redhat-621084]
at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[38:org.apache.karaf.shell.console:2.4.0.redhat-621084]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[38:org.apache.karaf.shell.console:2.4.0.redhat-621084]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[38:org.apache.karaf.shell.console:2.4.0.redhat-621084]
at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)[38:org.apache.karaf.shell.console:2.4.0.redhat-621084]
at org.apache.karaf.shell.console.jline.Console.run(Console.java:197)[38:org.apache.karaf.shell.console:2.4.0.redhat-621084]
at org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:79)[38:org.apache.karaf.shell.console:2.4.0.redhat-621084]
- is related to
-
ENTESB-5400 ChildContainers don't have correct RBAC configuration.
- Closed