diff options
author | rkhudov <rhudov@gmail.com> | 2024-08-29 15:08:04 +0200 |
---|---|---|
committer | rkhudov <rhudov@gmail.com> | 2024-08-29 15:17:05 +0200 |
commit | 570adc62352d9312fd2affb4c7f4eaee37bcb513 (patch) | |
tree | e9cfccb57a189d821ccaa02bb25e3cb8b7799184 /src/test/rgw/bucket_notification/README.rst | |
parent | src/test/rgw/bucket_notification/README.rst: update RabbitMQ documentation. F... (diff) | |
download | ceph-570adc62352d9312fd2affb4c7f4eaee37bcb513.tar.xz ceph-570adc62352d9312fd2affb4c7f4eaee37bcb513.zip |
src/test/rgw/bucket_notification/README.rst: use systemctl, update rabbitmq installation process. Fixes: https://tracker.ceph.com/issues/67768
Signed-off-by: rkhudov <rhudov@gmail.com>
Diffstat (limited to '')
-rw-r--r-- | src/test/rgw/bucket_notification/README.rst | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/src/test/rgw/bucket_notification/README.rst b/src/test/rgw/bucket_notification/README.rst index 95e1e58a76d..9e553cea432 100644 --- a/src/test/rgw/bucket_notification/README.rst +++ b/src/test/rgw/bucket_notification/README.rst @@ -25,6 +25,7 @@ we would need the following configuration file:: access_key = 1234567890 secret_key = pencil +Add boto3 extension to the standard client: https://github.com/ceph/ceph/tree/main/examples/rgw/boto3#introduction. =========== Kafka Tests @@ -125,7 +126,7 @@ To run the Kafka security test, you also need to provide the test with the locat RabbitMQ Tests ============== -You need to install RabbitMQ in the following way:: +You need to install RabbitMQ, check supported platforms: https://www.rabbitmq.com/docs/platforms. For example, for Fedora:: sudo dnf install rabbitmq-server @@ -139,23 +140,11 @@ Update rabbitmq-server configuration to allow access to the guest user from anyw Finally, to start the RabbitMQ server you need to run the following command:: - sudo /sbin/service rabbitmq-server start + sudo systemctl start rabbitmq-server To confirm that the RabbitMQ server is running you can run the following command to check the status of the server:: - sudo /sbin/service rabbitmq-server status - -Add [boto3 extension](https://github.com/ceph/ceph/tree/main/examples/rgw/boto3#introduction) as it's required for bucket notification tests. You can use the default folder or create a custom one, more information [here](https://github.com/boto/botocore/blob/develop/botocore/loaders.py#L33). -Default folder:: - - mkdir -p ~/.aws/models/s3/2006-03-01/ - cp /path/to/ceph/examples/rgw/boto3/service-2.sdk-extras.json ~/.aws/models/s3/2006-03-01/ - -Custom folder:: - - mkdir -p /path/to/custom/folder/models/s3/2006-03-01/ - cp /path/to/ceph/examples/rgw/boto3/service-2.sdk-extras.json /path/to/custom/folder/models/s3/2006-03-01/ - export AWS_DATA_PATH=/path/to/custom/folder/ + sudo systemctl status rabbitmq-server After running `vstart.sh` and RabbitMQ server you're ready to run the AMQP tests:: @@ -163,7 +152,7 @@ After running `vstart.sh` and RabbitMQ server you're ready to run the AMQP tests After running the tests you need to stop the vstart cluster (``/path/to/ceph/src/stop.sh``) and the RabbitMQ server by running the following command:: - sudo /sbin/service rabbitmq-server stop + sudo systemctl stop rabbitmq-server To run the RabbitMQ SSL security tests use the following:: |