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: src/test/rgw/bucket_notification/README.rst
+16-1Lines changed: 16 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -133,6 +133,10 @@ Then you need to run the following command::
133
133
134
134
sudo chkconfig rabbitmq-server on
135
135
136
+
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`::
137
+
138
+
loopback_user.guest = false
139
+
136
140
Finally, to start the RabbitMQ server you need to run the following command::
137
141
138
142
sudo /sbin/service rabbitmq-server start
@@ -141,6 +145,18 @@ To confirm that the RabbitMQ server is running you can run the following command
141
145
142
146
sudo /sbin/service rabbitmq-server status
143
147
148
+
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).
After running `vstart.sh` and RabbitMQ server you're ready to run the AMQP tests::
145
161
146
162
BNTESTS_CONF=bntests.conf python -m nose -s /path/to/ceph/src/test/rgw/bucket_notification/test_bn.py -v -a 'amqp_test'
@@ -156,4 +172,3 @@ To run the RabbitMQ SSL security tests use the following::
156
172
During these tests, the test script will restart the RabbitMQ server with the correct security configuration (``sudo`` privileges will be needed).
157
173
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
174
that assume the rabbitmq daemon running on the host as a service.
0 commit comments