https://github.com/jgraichen/ceph-rgw-51574
https://github.com/jgraichen/ceph-rgw-51574
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jgraichen/ceph-rgw-51574
- Owner: jgraichen
- Created: 2021-11-22T18:46:36.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-08-11T16:13:37.000Z (almost 2 years ago)
- Last Synced: 2025-03-20T08:13:36.445Z (over 1 year ago)
- Language: Shell
- Size: 25.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Demonstration for [#51574](https://tracker.ceph.com/issues/51574)
## Usage
```
docker-compose up
gem install aws-sdk-s3
ruby ./script.rb
```
## Description
The `docker-compose.yml` sets up a ceph demo environment based on the `quay.io/ceph/daemon` image. A container image tag can be specified using the `CEPH_TAG` environment variable.
The `./script.rb` ruby script uses the `aws-sdk-s3` client to first set up the S3 policy defined in `policy.yml`, and then tries to upload a file. This will crash the `radosgw` process, and the container will stop.
## CI
See https://github.com/jgraichen/ceph-rgw-51574/actions. If the test is
green, the file was uploaded successfully.