You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/rgw/boto3/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ This directory contains examples on how to use AWS CLI/boto3 to exercise the Rad
3
3
This is an extension to the [AWS SDK](https://github.com/boto/botocore/blob/develop/botocore/data/s3/2006-03-01/service-2.json).
4
4
5
5
# Users
6
-
For the standard client to support these extensions, the:``service-2.sdk-extras.json`` file should be placed under: ``~/.aws/models/s3/2006-03-01/``directory.
6
+
For the standard client to support these extensions, the ``service-2.sdk-extras.json`` file should be added. You can place it under the default folder ``~/.aws/models/s3/2006-03-01/``or create a custom one ``/path/to/custom/folder/models/s3/2006-03-01/`` and add it to ``AWS_DATA_PATH`` environment variable.
7
7
For more information see [here](https://github.com/boto/botocore/blob/develop/botocore/loaders.py#L33).
8
8
## Python
9
9
The [boto3 client](https://boto3.amazonaws.com/v1/documentation/api/latest/index.html) could be used with the extensions, code samples exists in this directory.
Copy file name to clipboardExpand all lines: src/test/rgw/bucket_notification/README.rst
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,7 @@ we would need the following configuration file::
25
25
access_key = 1234567890
26
26
secret_key = pencil
27
27
28
+
Add boto3 extension to the standard client: https://github.com/ceph/ceph/tree/main/examples/rgw/boto3#introduction.
28
29
29
30
===========
30
31
Kafka Tests
@@ -125,29 +126,33 @@ To run the Kafka security test, you also need to provide the test with the locat
125
126
RabbitMQ Tests
126
127
==============
127
128
128
-
You need to install RabbitMQ in the following way::
129
+
You need to install RabbitMQ, check supported platforms: https://www.rabbitmq.com/docs/platforms. For example, for Fedora::
129
130
130
131
sudo dnf install rabbitmq-server
131
132
132
133
Then you need to run the following command::
133
134
134
135
sudo chkconfig rabbitmq-server on
135
136
137
+
Update rabbitmq-server configuration to allow access to the guest user from anywhere on the network. Uncomment or add line to rabbirmq configuration, usually `/etc/rabbitmq/rabbirmq.comf`::
138
+
139
+
loopback_user.guest = false
140
+
136
141
Finally, to start the RabbitMQ server you need to run the following command::
137
142
138
-
sudo /sbin/service rabbitmq-server start
143
+
sudo systemctl start rabbitmq-server
139
144
140
145
To confirm that the RabbitMQ server is running you can run the following command to check the status of the server::
141
146
142
-
sudo /sbin/service rabbitmq-server status
147
+
sudo systemctl status rabbitmq-server
143
148
144
149
After running `vstart.sh` and RabbitMQ server you're ready to run the AMQP tests::
145
150
146
151
BNTESTS_CONF=bntests.conf python -m nose -s /path/to/ceph/src/test/rgw/bucket_notification/test_bn.py -v -a 'amqp_test'
147
152
148
153
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::
149
154
150
-
sudo /sbin/service rabbitmq-server stop
155
+
sudo systemctl stop rabbitmq-server
151
156
152
157
To run the RabbitMQ SSL security tests use the following::
153
158
@@ -156,4 +161,3 @@ To run the RabbitMQ SSL security tests use the following::
156
161
During these tests, the test script will restart the RabbitMQ server with the correct security configuration (``sudo`` privileges will be needed).
157
162
For that reason it is not recommended to run the `amqp_ssl_test` tests, that assumes a manually configured rabbirmq server, in the same run as `amqp_test` tests,
158
163
that assume the rabbitmq daemon running on the host as a service.
0 commit comments