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

        Andrei Savu created issue -
        Andrei Savu made changes -
        Field Original Value New Value
        Assignee Andrei Savu [ savu.andrei ]
        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.
        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.
        Andrei Savu made changes -
        Attachment WHIRR-437.patch [ 12506675 ]
        Andrei Savu made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hide
        Adrian Cole (Inactive) added a comment -

        testing now

        Show
        Adrian Cole (Inactive) added a comment - testing now
        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 -

        test output that passed

        Show
        Adrian Cole (Inactive) added a comment - test output that passed
        Adrian Cole (Inactive) made changes -
        Attachment cassandra-aws-ec2.out [ 12506865 ]
        Attachment cassandra-cloudservers-us.out [ 12506866 ]
        Hide
        Andrei Savu added a comment -

        Committed. Thanks Adrian for review!

        Show
        Andrei Savu added a comment - Committed. Thanks Adrian for review!
        Andrei Savu made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        18d 1h 46m 1 Andrei Savu 08/Dec/11 22:42
        Patch Available Patch Available Resolved Resolved
        2d 29m 1 Andrei Savu 10/Dec/11 23:12

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development