Details
-
Bug
-
Resolution: Done
-
Major
-
jboss-fuse-6.3
-
%
-
Sprint 5 - towards ER2
Description
With 045 you can update the ssh credentials to the machine. Changing the credentials to the invalid ones and then deleting the container using container-delete does not raise any exception to std out and it seems everything worked OK, but the container is still running on the remote host.
JBossFuse:karaf@root> container-create-ssh --user working --password working --host localhost --proxy-uri http://localhost:9999/ ssh
The following containers have been created successfully:
Container: ssh.
JBossFuse:karaf@root> container-update-ssh-credentials --user invalid --password invalid ssh
JBossFuse:karaf@root> container-delete ssh
The list of container names: [ssh]
JBossFuse:karaf@root> container-list
[id] [version] [type] [connected] [profiles] [provision status]
root* 1.0 karaf yes fabric success
fabric-ensemble-0000-1
jboss-fuse-full
The exception is logged just into the log and the container is removed from the container list.
IMHO the error message should be logged to stdout and the container shouldn't be removed from the container list (unless you specify the --force flag).