brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aledsage <>
Subject [GitHub] incubator-brooklyn pull request: Support for deployment to Windows
Date Wed, 20 May 2015 09:12:56 GMT
Github user aledsage commented on a diff in the pull request:
    --- Diff: locations/jclouds/src/main/java/brooklyn/location/jclouds/
    @@ -635,10 +645,12 @@ protected JcloudsSshMachineLocation obtainOnce(ConfigBag setup)
throws NoMachine
                     sshHostAndPortOverride = Optional.absent();
    -            if (waitForSshable && skipJcloudsSshing) {
    +            if (waitForSshable && skipJcloudsSshing && !windows) {
                     // once that host:port is definitely reachable, we can create the user
                     waitForReachable(computeService, node, sshHostAndPortOverride, node.getCredentials(),
                     userCredentials = createUser(computeService, node, sshHostAndPortOverride,
    +            } else if (windows) {
    --- End diff --
    We want to be able to defer/never waitForWinRmAvailable. That was intent of `waitForSshable`
- to turn that off. 
    Historically, reason for that was to let the caller set up port forwarding. However, that
is now covered in code above (but not for windows case!). So we generally don't make use of
the `waitForSshable` much these days. But given it's there...
    I wonder if we should generalise it to a "waitForReachable" or some such.
    Don't worry about it for this PR.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message