]> git-server-git.apps.pok.os.sepia.ceph.com Git - ragweed.git/log
ragweed.git
17 months agotox: fix whitespace error in passenv
Casey Bodley [Wed, 11 Sep 2024 18:19:58 +0000 (14:19 -0400)]
tox: fix whitespace error in passenv

> py: failed with pass_env values cannot contain whitespace, use comma to have multiple values in a single line, invalid values found 'PYTHONPATH RAGWEED_CONF RAGWEED_STAGES'

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit b5d3e27a282244b6b46ff1e636acc4f683e9f777)

2 years agoupdate output format of admin bucket check api
Cory Snyder [Mon, 25 Sep 2023 11:18:05 +0000 (11:18 +0000)]
update output format of admin bucket check api

Signed-off-by: Cory Snyder <csnyder@1111systems.com>
(cherry picked from commit 8aac16be1436af80a7c8c62b0332dec5b6ebb9d7)

3 years agoconfig: read_file() instead of deprecated readfp()
Casey Bodley [Fri, 17 Feb 2023 01:19:43 +0000 (20:19 -0500)]
config: read_file() instead of deprecated readfp()

  ragweed/framework.py:385: DeprecationWarning: This method will be removed in future versions.  Use 'parser.read_file()' instead.
    cfg.readfp(f)

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 3b74aaef228abacc5ce880e4129d757eabd2de8a)

3 years agoadd tox.ini and update README
Casey Bodley [Tue, 31 Jan 2023 17:31:45 +0000 (12:31 -0500)]
add tox.ini and update README

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 7a3645f271c5bff57a66e7980d59fd5b749eec6b)

3 years agoremove bootstrap script
Casey Bodley [Tue, 31 Jan 2023 17:44:42 +0000 (12:44 -0500)]
remove bootstrap script

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 29d85b9de7179700f641760c897f0d36c11d947a)

3 years agoremove nose imports
Casey Bodley [Tue, 31 Jan 2023 17:42:56 +0000 (12:42 -0500)]
remove nose imports

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agoragweed: switch to pytest framework
Yehuda Sadeh [Tue, 31 Jan 2023 16:56:18 +0000 (11:56 -0500)]
ragweed: switch to pytest framework

due to deprecation of nose

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 8fedfb579fe2bca916922e9b33517ca3c7e1b824)

3 years agoon ubuntu 20.04 the `python3-distro-info` package causes error
mkogan [Mon, 30 Jan 2023 17:20:32 +0000 (19:20 +0200)]
on ubuntu 20.04 the `python3-distro-info` package causes error

`Invalid version: '0.23ubuntu1' (package: distro-info)`
during bootstrap executing the command:
`./virtualenv/bin/python setup.py develop`

ref:
https://bugs.launchpad.net/ubuntu/+source/distro-info/+bug/1991606/comments/18

Fixes: https://tracker.ceph.com/issues/58549
Signed-off-by: mkogan <mkogan@ibm.com>
(cherry picked from commit 75f5a77dc667c6b0fc8964c85f2ee3344076783b)

4 years agorgw: ragweed: fix virtualenv error unrecognized argument --distribute
Mark Kogan [Wed, 28 Apr 2021 09:59:51 +0000 (12:59 +0300)]
rgw: ragweed: fix virtualenv error unrecognized argument --distribute

Fixes: https://tracker.ceph.com/issues/50553
Signed-off-by: Mark Kogan <mkogan@redhat.com>
(cherry picked from commit f514013dc1b03d3c4a8b4293ab5eb4b08fd6dee2)

5 years agoragweed: fix teuthology failure related to pip issue 6264
Mark Kogan [Sun, 3 Jan 2021 13:46:03 +0000 (15:46 +0200)]
ragweed: fix teuthology failure related to pip issue 6264

refrence of tethology error log:
```
2021-01-02T19:25:59.174 INFO:teuthology.orchestra.run.smithi181.stderr:
AttributeError: module 'setuptools.build_meta' has no attribute
'__legacy__'
2021-01-02T19:25:59.174 INFO:teuthology.orchestra.run.smithi181.stderr:
----------------------------------------
2021-01-02T19:25:59.174
INFO:teuthology.orchestra.run.smithi181.stderr:ERROR: Command errored
out with exit status 1:
/home/ubuntu/cephtest/ragweed/virtualenv/bin/python3
/home/ubuntu/cephtest/ragweed/virtualenv/lib/python3.6/site-packages/pip/
2021-01-02T19:25:59.303 DEBUG:teuthology.orchestra.run:got remote
process result: 1
```

Signed-off-by: Mark Kogan <mkogan@redhat.com>
ragweed: fix teuthology failure related to pip issue 6264 (add sudo)

Signed-off-by: Mark Kogan <mkogan@redhat.com>
ragweed: fix cffi package installation error

address the following sporadic error
```
2021-01-04T16:12:01.116
INFO:teuthology.orchestra.run.smithi065.stdout:Collecting cffi
2021-01-04T16:12:01.116 INFO:teuthology.orchestra.run.smithi065.stderr:
The repository located at apt-mirror.front.sepia.ceph.com is not a
trusted or secure host and is being ignored. If this repository is
available via HTTPS it is recommended
to use HTTPS instead, otherwise you may silence this warning and allow
it anyways with '--trusted-host apt-mirror.front.sepia.ceph.com'.
2021-01-04T16:12:01.117 INFO:teuthology.orchestra.run.smithi065.stderr:
Could not find a version that satisfies the requirement cffi (from
    versions: )
2021-01-04T16:12:01.117
INFO:teuthology.orchestra.run.smithi065.stderr:No matching distribution
found for cffi
```

Signed-off-by: Mark Kogan <mkogan@redhat.com>
ragweed: fix missing ffi.h building '_cffi_backend' extension

Signed-off-by: Mark Kogan <mkogan@redhat.com>
ragweed: fix teuthology failure - pip issue 6264, cont.

upgrade setuptools pkg before old ver used in venv creation
(b/c of --system-site-packages)

Signed-off-by: Mark Kogan <mkogan@redhat.com>
ragweed: fix teuthology failure rel to pip issue 6264, cont.

Fixes: https://tracker.ceph.com/issues/49017
fix error on ubuntu related to missing cachecontrol module:
```
gibba028.stdout:Installing setuptools, pkg_resources, pip, wheel...
gibba028.stdout:  Complete output from command
/home/ubuntu/cephtes...rtualenv/bin/python3 - setuptools pkg_resources
pip wheel:
gibba028.stdout:  Traceback (most recent call last):
  gibba028.stdout:  File
  "/usr/share/python-wheels/pip-9.0.1-py2.py3-none-any.whl/pip/_vendor/__init__.py",
  line 33, in vendored
  gibba028.stdout:ModuleNotFoundError: No module named
  'pip._vendor.cachecontrol'
```

Signed-off-by: Mark Kogan <mkogan@redhat.com>
ragweed: fix teuthology failure rel to pip issue 6264 cont..

Fixes: https://tracker.ceph.com/issues/49017
cont. fixing missing python module

```
ModuleNotFoundError: No module named
  'pip._vendor.cachecontrol'
```

Signed-off-by: Mark Kogan <mkogan@redhat.com>
ragweed: fix teuthology failure rel to pip issue 6264 keep fixing

Signed-off-by: Mark Kogan <mkogan@redhat.com>
ragweed: fix teuthology failure rel to pip issue 6264 - cffi version

address cffi version mismatch between apt and old ver from local pip
mirror

Signed-off-by: Mark Kogan <mkogan@redhat.com>
6 years agoMerge pull request #6 from ceph/py3
Sage Weil [Wed, 18 Dec 2019 18:27:25 +0000 (12:27 -0600)]
Merge pull request #6 from ceph/py3

more python3

6 years agoMerge pull request #5 from ceph/py3
Yehuda Sadeh [Wed, 18 Dec 2019 18:24:15 +0000 (20:24 +0200)]
Merge pull request #5 from ceph/py3

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agoragweed: python3 string / bytearray fixes wip-sage3-testing-2019-12-17-1443 6/head
Yehuda Sadeh [Wed, 18 Dec 2019 16:58:50 +0000 (08:58 -0800)]
ragweed: python3 string / bytearray fixes

and other related issues

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agoragweed: more python3 changes
Yehuda Sadeh [Wed, 18 Dec 2019 15:51:42 +0000 (07:51 -0800)]
ragweed: more python3 changes

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agoragweed/framework: open() not file() 5/head
Sage Weil [Tue, 17 Dec 2019 22:02:22 +0000 (16:02 -0600)]
ragweed/framework: open() not file()

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoupdate for py3 imports
Sage Weil [Tue, 17 Dec 2019 20:33:08 +0000 (14:33 -0600)]
update for py3 imports

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoprint is a function
Sage Weil [Tue, 17 Dec 2019 20:30:49 +0000 (14:30 -0600)]
print is a function

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agopython3
Sage Weil [Tue, 17 Dec 2019 20:30:38 +0000 (14:30 -0600)]
python3

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #4 from soumyakoduri/master
Casey Bodley [Fri, 16 Aug 2019 15:37:01 +0000 (11:37 -0400)]
Merge pull request #4 from soumyakoduri/master

Bucket names cannot contain underscore

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoBucket names cannot contain underscore 4/head
Soumya Koduri [Tue, 25 Jun 2019 07:15:25 +0000 (12:45 +0530)]
Bucket names cannot contain underscore

As per Amazon s3 spec, bucket names cannot contain
underscore.
https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-s3-bucket-naming-requirements.html

This (along with other naming convention mentioned in the doc) are being
enforced via https://github.com/ceph/ceph/pull/26787

This patch is to correct the bucket name generated in ragweed
tests as well.

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
7 years agoMerge pull request #3 from yehudasa/wip-rgw-tiering
Yehuda Sadeh [Tue, 22 Jan 2019 17:02:28 +0000 (09:02 -0800)]
Merge pull request #3 from yehudasa/wip-rgw-tiering

ragweed: tiering related tests

7 years agoragweed: more storage class related tests wip-rgw-tiering-3 3/head
Yehuda Sadeh [Tue, 8 Jan 2019 01:48:01 +0000 (17:48 -0800)]
ragweed: more storage class related tests

combination of creating objects using multipart object and also
copying them.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agoragweed: test object create with storage_class
Yehuda Sadeh [Tue, 8 Jan 2019 00:31:48 +0000 (16:31 -0800)]
ragweed: test object create with storage_class

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agoragweed: support for storage classes in zone config
Yehuda Sadeh [Mon, 7 Jan 2019 18:27:45 +0000 (10:27 -0800)]
ragweed: support for storage classes in zone config

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #2 from yehudasa/wip-requirements
Yehuda Sadeh [Thu, 15 Feb 2018 18:35:16 +0000 (10:35 -0800)]
Merge pull request #2 from yehudasa/wip-requirements

requirements: add gevents

8 years agorequirements: add gevents 2/head
Yehuda Sadeh [Thu, 15 Feb 2018 18:35:03 +0000 (10:35 -0800)]
requirements: add gevents

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #1 from zhangsw/multipart-bucketcheck
Yehuda Sadeh [Fri, 9 Jun 2017 22:15:56 +0000 (15:15 -0700)]
Merge pull request #1 from zhangsw/multipart-bucketcheck

Add test case for checking bucket index after completing multipart upload

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoAdd test case for checking bucket index after completing multipart upload 1/head
zhangshaowen [Wed, 7 Jun 2017 08:55:34 +0000 (16:55 +0800)]
Add test case for checking bucket index after completing multipart upload
when bucket versioning is enabled.

Signed-off-by: Zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
9 years agobootstrap: pin setuptools version
Yehuda Sadeh [Fri, 24 Feb 2017 19:38:54 +0000 (11:38 -0800)]
bootstrap: pin setuptools version

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: fix explicit placement pool
Yehuda Sadeh [Thu, 23 Feb 2017 23:02:46 +0000 (15:02 -0800)]
rgw: fix explicit placement pool

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agofix, don't yield rb
Yehuda Sadeh [Wed, 22 Feb 2017 21:59:22 +0000 (13:59 -0800)]
fix, don't yield rb

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agos/stage/prepare
Yehuda Sadeh [Tue, 21 Feb 2017 22:53:21 +0000 (14:53 -0800)]
s/stage/prepare

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agobootstrap: enable system site packages, force install of nose
Yehuda Sadeh [Tue, 21 Feb 2017 22:12:40 +0000 (14:12 -0800)]
bootstrap: enable system site packages, force install of nose

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorequirements.txt: avoid specific boto version
Yehuda Sadeh [Tue, 21 Feb 2017 00:38:27 +0000 (16:38 -0800)]
requirements.txt: avoid specific boto version

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoadd virtualenv creation utils
Yehuda Sadeh [Tue, 24 Jan 2017 23:18:50 +0000 (15:18 -0800)]
add virtualenv creation utils

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoragweed: configurable bucket prefix
Yehuda Sadeh [Tue, 24 Jan 2017 22:37:31 +0000 (14:37 -0800)]
ragweed: configurable bucket prefix

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agosupport for old style placement encoding
Yehuda Sadeh [Wed, 18 Jan 2017 17:15:47 +0000 (09:15 -0800)]
support for old style placement encoding

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>