Skip to contentSkip to conversation

OpenStack Swift functional tests on RGW

DISCUSSION Rajath Shashidhara 4 participants 5 messages Mar 28, 2017 – Mar 29, 2017

lore
Share & tools
lore
#0 lore raw

Hi,

I am getting started with contributing to Ceph. I sent my first pull request a couple of weeks ago - https://github.com/ceph/ceph/pull/13908
. In testing the feature, I realized that the ceph/swift repository is outdated. I tweaked some relevant functional tests on the openstack/swift repository to run on RadosGW.

I was thinking that may be I can port all the functional tests from openstack/swift to work on RGW. This way we can test how well RGW complies with the Swift REST API. I'd like to know if that would be a useful contribution to ceph. Also, since ceph/stack has diverged from openstack/swift (20 commits ahead and 4919 commits behind upstream - openstack/swift as of today), what approach should I take to push these tests ?

Thanks,

Rajath Shashidhara

#1 lore raw
Quoted 16 lines · Rajath Shashidhara

Hi,

I am getting started with contributing to Ceph. I sent my first pull request a couple of weeks ago - https://github.com/ceph/ceph/pull/13908
. In testing the feature, I realized that the ceph/swift repository is outdated. I tweaked some relevant functional tests on the openstack/swift repository to run on RadosGW.

I was thinking that may be I can port all the functional tests from openstack/swift to work on RGW. This way we can test how well RGW complies with the Swift REST API. I'd like to know if that would be a useful contribution to ceph. Also, since ceph/stack has diverged from openstack/swift (20 commits ahead and 4919 commits behind upstream - openstack/swift as of today), what approach should I take to push these tests ?

Quoted 8 lines

Thanks,

Rajath Shashidhara

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Hi Rajath,

Thanks for looking into this - I think it would be extremely valuable to bring our swift tests up to date. Looking at our fork, it appears that most of our changes fall into two categories: updating dependencies/bootstrapping, and adding 'fails_on_rgw' tags to tests that we know won't pass.

I'm hoping that the latest openstack/swift repo has the correct dependencies, so we may not need to carry all of those patches forward.

Rebasing the commits that add our tags sounds tedious, but should be pretty straightforward. For new upstream tests that don't pass against rgw, maybe add a separate tag like 'new_fails_on_rgw' so that we can go through and evaluate each of those once you finish.

Thanks,
Casey

#2 lore raw
Quoted 32 lines · Casey Bodley
Quoted 16 lines · Rajath Shashidhara

Hi,

I am getting started with contributing to Ceph. I sent my first pull request a couple of weeks ago - https://github.com/ceph/ceph/pull/13908
. In testing the feature, I realized that the ceph/swift repository is outdated. I tweaked some relevant functional tests on the openstack/swift repository to run on RadosGW.

I was thinking that may be I can port all the functional tests from openstack/swift to work on RGW. This way we can test how well RGW complies with the Swift REST API. I'd like to know if that would be a useful contribution to ceph. Also, since ceph/stack has diverged from openstack/swift (20 commits ahead and 4919 commits behind upstream - openstack/swift as of today), what approach should I take to push these tests ?

Quoted 8 lines

Thanks,

Rajath Shashidhara

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Hi Rajath,

Thanks for looking into this - I think it would be extremely valuable to bring our swift tests up to date. Looking at our fork, it appears that most of our changes fall into two categories: updating dependencies/bootstrapping, and adding 'fails_on_rgw' tags to tests that we know won't pass.

Quoted 7 lines

I'm hoping that the latest openstack/swift repo has the correct dependencies, so we may not need to carry all of those patches forward.

Rebasing the commits that add our tags sounds tedious, but should be pretty straightforward. For new upstream tests that don't pass against rgw, maybe add a separate tag like 'new_fails_on_rgw' so that we can go through and evaluate each of those once you finish.

See also:

	https://github.com/ceph/ceph/pull/6111

sage

#3 lore raw

Hi all,

I met the same issue when I ran OpenStack tempest API test with radosgw in recent. It is great if we can update swift tests up to date.

@Casey, are there special test cases in Ceph used to test Swift API? Could you please share me more information?

Thanks a lot!

Br,
Tone

Quoted 50 lines · Sage Weil
Quoted 32 lines · Casey Bodley
Quoted 16 lines · Rajath Shashidhara

Hi,

I am getting started with contributing to Ceph. I sent my first pull request a couple of weeks ago - https://github.com/ceph/ceph/pull/13908
. In testing the feature, I realized that the ceph/swift repository is outdated. I tweaked some relevant functional tests on the openstack/swift repository to run on RadosGW.

I was thinking that may be I can port all the functional tests from openstack/swift to work on RGW. This way we can test how well RGW complies with the Swift REST API. I'd like to know if that would be a useful contribution to ceph. Also, since ceph/stack has diverged from openstack/swift (20 commits ahead and 4919 commits behind upstream - openstack/swift as of today), what approach should I take to push these tests ?

Quoted 8 lines

Thanks,

Rajath Shashidhara

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Hi Rajath,

Thanks for looking into this - I think it would be extremely valuable to bring our swift tests up to date. Looking at our fork, it appears that most of our changes fall into two categories: updating dependencies/bootstrapping, and adding 'fails_on_rgw' tags to tests that we know won't pass.

Quoted 7 lines

I'm hoping that the latest openstack/swift repo has the correct dependencies, so we may not need to carry all of those patches forward.

Rebasing the commits that add our tags sounds tedious, but should be pretty straightforward. For new upstream tests that don't pass against rgw, maybe add a separate tag like 'new_fails_on_rgw' so that we can go through and evaluate each of those once you finish.

See also:

        https://github.com/ceph/ceph/pull/6111

sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
Quoted 9 lines · Tone Zhang

Hi all,

I met the same issue when I ran OpenStack tempest API test with radosgw in recent. It is great if we can update swift tests up to date.

@Casey, are there special test cases in Ceph used to test Swift API? Could you please share me more information?

Quoted 55 lines

Thanks a lot!

Br,
Tone

Quoted 49 lines · Sage Weil
Quoted 32 lines · Casey Bodley
Quoted 16 lines · Rajath Shashidhara

Hi,

I am getting started with contributing to Ceph. I sent my first pull request a couple of weeks ago - https://github.com/ceph/ceph/pull/13908
. In testing the feature, I realized that the ceph/swift repository is outdated. I tweaked some relevant functional tests on the openstack/swift repository to run on RadosGW.

I was thinking that may be I can port all the functional tests from openstack/swift to work on RGW. This way we can test how well RGW complies with the Swift REST API. I'd like to know if that would be a useful contribution to ceph. Also, since ceph/stack has diverged from openstack/swift (20 commits ahead and 4919 commits behind upstream - openstack/swift as of today), what approach should I take to push these tests ?

Quoted 8 lines

Thanks,

Rajath Shashidhara

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Hi Rajath,

Thanks for looking into this - I think it would be extremely valuable to bring our swift tests up to date. Looking at our fork, it appears that most of our changes fall into two categories: updating dependencies/bootstrapping, and adding 'fails_on_rgw' tags to tests that we know won't pass.

Quoted 7 lines

I'm hoping that the latest openstack/swift repo has the correct dependencies, so we may not need to carry all of those patches forward.

Rebasing the commits that add our tags sounds tedious, but should be pretty straightforward. For new upstream tests that don't pass against rgw, maybe add a separate tag like 'new_fails_on_rgw' so that we can go through and evaluate each of those once you finish.

See also:

         https://github.com/ceph/ceph/pull/6111

sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Hi Tone - it doesn't look like our fork has added any new test cases, no.