Whirr
  1. Whirr
  2. WHIRR-590

ssh port timeout fails the whole cluster

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.7.1
    • Fix Version/s: 0.7.2
    • Component/s: None
    • Labels:
      None

      Description

      If the ssh port does not open before the jclouds.compute.timeout.port-open timeout, the whole cluster fails to launch rather than starting a replacement for the failed node and continuing provisioning. You can simulate this by setting your jclouds.compute.timeout.port-open to something very small, such as:

      jclouds.compute.timeout.port-open=5

      I believe that the failure happens because the node winds up both the successfulNodes and the lostNodes reported by the RunNodesException. I filed a bug for this in jclouds: https://code.google.com/p/jclouds/issues/detail?id=923

      1. WHIRR-590.patch
        2 kB
        Doug Daniels

        Activity

        Doug Daniels created issue -
        Hide
        Andrei Savu added a comment -

        Do you think it makes sense to implement a workaround in Whirr? (e.g. explicit removal of all the badNodes from the list of goodNodes).

        Show
        Andrei Savu added a comment - Do you think it makes sense to implement a workaround in Whirr? (e.g. explicit removal of all the badNodes from the list of goodNodes).
        Doug Daniels made changes -
        Field Original Value New Value
        Attachment WHIRR-590.patch [ 12526537 ]
        Hide
        Doug Daniels added a comment -

        Sure thing. I added a patch that removes any badNodes from the list of goodNodes. I tested it manually, but it doesn't have unit tests yet.

        Show
        Doug Daniels added a comment - Sure thing. I added a patch that removes any badNodes from the list of goodNodes. I tested it manually, but it doesn't have unit tests yet.
        Doug Daniels made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hide
        Andrei Savu added a comment -

        Committed to trunk & branch 0.7. Thanks Doug!

        Show
        Andrei Savu added a comment - Committed to trunk & branch 0.7. Thanks Doug!
        Andrei Savu made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Assignee Doug Daniels [ ddaniels888 ]
        Fix Version/s 0.8.0 [ 12318880 ]
        Fix Version/s 0.7.2 [ 12320175 ]
        Resolution Fixed [ 1 ]
        Andrei Savu made changes -
        Fix Version/s 0.8.0-alpha.1 [ 12318880 ]

          People

          • Assignee:
            Doug Daniels
            Reporter:
            Doug Daniels
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development