You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by Duncan Grant <du...@cloudsoftcorp.com> on 2015/05/05 17:11:29 UTC
When implementing stop in sshdriver should I use failOnNonZeroResultCode
When I am implementing stop in an ssh driver class should I use the
failOnNonZeroResultCode check?
Normally the entity's machine will get cleaned up properly anyway but if
stop fails then it will result in on-fire images and warnings in log files.
However, I can use the stop effector on the service without stopping the
vm. Should the entity be on fire if the service didn't stop under these
circumstance.
Looking through brooklyn I can see that sometimes the check is used and
sometimes it isn't.
thanks
Duncan