Whirr
  1. Whirr
  2. WHIRR-437

Cassandra integration test is failing

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.7.0
    • Component/s: service/cassandra
    • Labels:
      None

      Description

      I have tried to run the Cassandra integration tests on aws-ec2 and the execution never ends. We should investigate and make this work as expected.

      1. cassandra-aws-ec2.out
        16 kB
        Adrian Cole
      2. cassandra-cloudservers-us.out
        12 kB
        Adrian Cole
      3. WHIRR-437.patch
        4 kB
        Andrei Savu

        Activity

        Hide
        Andrei Savu added a comment -

        Committed. Thanks Adrian for review!

        Show
        Andrei Savu added a comment - Committed. Thanks Adrian for review!
        Hide
        Adrian Cole (Inactive) added a comment -

        test output that passed

        Show
        Adrian Cole (Inactive) added a comment - test output that passed
        Hide
        Adrian Cole (Inactive) added a comment -

        +1 approach is more portable than before b/c any cloud that uses static nat will need this change, too.

        Show
        Adrian Cole (Inactive) added a comment - +1 approach is more portable than before b/c any cloud that uses static nat will need this change, too.
        Hide
        Adrian Cole (Inactive) added a comment -

        testing now

        Show
        Adrian Cole (Inactive) added a comment - testing now
        Hide
        Andrei Savu added a comment -

        In this patch:

        • improved logging & removed infinite loop
        • bind some sockets to 0.0.0.0 - the public IP is not available as an interface on ec2

        Tested on aws-ec2 & cloudservers-uk with trunk+this+447.

        Show
        Andrei Savu added a comment - In this patch: improved logging & removed infinite loop bind some sockets to 0.0.0.0 - the public IP is not available as an interface on ec2 Tested on aws-ec2 & cloudservers-uk with trunk+this+447.
        Hide
        Andrei Savu added a comment -

        I have done some small changes on a local branch (improved logging & removed infinite loop) and it seems like it works as expected on cloudservers. I think it fails to start on aws-ec2 because it tries to bind a socket to the public address. Updating code now.

        Show
        Andrei Savu added a comment - I have done some small changes on a local branch (improved logging & removed infinite loop) and it seems like it works as expected on cloudservers. I think it fails to start on aws-ec2 because it tries to bind a socket to the public address. Updating code now.

          People

          • Assignee:
            Andrei Savu
            Reporter:
            Andrei Savu
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development