DeltaCloud
  1. DeltaCloud
  2. DTACLOUD-300

creating an new bucket from us-east1 and accessing it from different locations like us-west1 throws bad uri error

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Labels:
      None
    • Environment:
      OS- Fedora 16, 17, RHEL6.x
      commit - 4ca9433f7f5c0239d6b6eda6cc239d18e66b2a3c

      Description

      Reproduction steps;
      ================
      1. Create a new bucket in us-east-1
      2. change the provider to different location say, us-west-1 and try to access the above created bucket

      Result:
      =====
      Throws "Deltacloud::ExceptionHandler::ProviderError - bad URI(is not URI?):"

        Activity

        Ramesh A created issue -
        Ramesh A made changes -
        Field Original Value New Value
        Environment OS- Fedora 16, 17, RHEL6.x OS- Fedora 16, 17, RHEL6.x
        commit - 4ca9433f7f5c0239d6b6eda6cc239d18e66b2a3c
        Ramesh A made changes -
        Attachment Bad-URI.png [ 12540658 ]
        Marios Andreou made changes -
        Assignee Marios Andreou [ marios ]
        Hide
        Marios Andreou added a comment -

        should resolve issue please test

        Show
        Marios Andreou added a comment - should resolve issue please test
        Marios Andreou made changes -
        Marios Andreou made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Marios Andreou [ marios ] Ramesh A [ rananda ]
        Resolution Fixed [ 1 ]
        Hide
        Ramesh A added a comment -

        verified and working fine.
        ACK for the patch.

        NACK for closing this issue till the unit test is ready

        Show
        Ramesh A added a comment - verified and working fine. ACK for the patch. NACK for closing this issue till the unit test is ready
        Ramesh A made changes -
        Assignee Ramesh A [ rananda ] Marios Andreou [ marios ]
        Hide
        Marios Andreou added a comment -

        attached patch adds ec2 driver unit test

        original patch (i.e. driver fix) was committed by David Lutterkort with commit id: e45a7a8b4f765cca37cc3ede08c4097b861666b8

        Show
        Marios Andreou added a comment - attached patch adds ec2 driver unit test original patch (i.e. driver fix) was committed by David Lutterkort with commit id: e45a7a8b4f765cca37cc3ede08c4097b861666b8
        Marios Andreou made changes -
        Marios Andreou made changes -
        Assignee Marios Andreou [ marios ] Ramesh A [ rananda ]
        Hide
        Ronelle Landy added a comment -

        Hi Marios,

        Was the test-related patch ever pushed to master?
        If so, I'd like to close this JIRA out.

        Show
        Ronelle Landy added a comment - Hi Marios, Was the test-related patch ever pushed to master? If so, I'd like to close this JIRA out.
        Hide
        Marios Andreou added a comment -

        Good catch! indeed this was forgotten - i rebased and pushed it as commit 633b9b9588a24fe639771a7a53f2410a9a052f0d - I'll close out the ticket now too.

        cd server; rake test:drivers:ec2 TEST_OPTS=-v

        Run options: -v

        1. Running tests:

        Ec2Driver Buckets#test_0002_must handle us-east buckets from other regions = 0.04 s = .
        Ec2Driver Buckets#test_0001_must throw error when wrong credentials for buckets = 0.01 s = .

        [ .... all the other tests ]

        Finished tests in 8.405267s, 3.3312 tests/s, 21.2962 assertions/s.

        28 tests, 179 assertions, 0 failures, 0 errors, 0 skips

        Show
        Marios Andreou added a comment - Good catch! indeed this was forgotten - i rebased and pushed it as commit 633b9b9588a24fe639771a7a53f2410a9a052f0d - I'll close out the ticket now too. cd server; rake test:drivers:ec2 TEST_OPTS=-v Run options: -v Running tests: Ec2Driver Buckets#test_0002_must handle us-east buckets from other regions = 0.04 s = . Ec2Driver Buckets#test_0001_must throw error when wrong credentials for buckets = 0.01 s = . [ .... all the other tests ] Finished tests in 8.405267s, 3.3312 tests/s, 21.2962 assertions/s. 28 tests, 179 assertions, 0 failures, 0 errors, 0 skips
        Marios Andreou made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Ramesh A
            Reporter:
            Ramesh A
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development