Project

General

Profile

Backport #44614

Updated by Nathan Cutler about 4 years ago

https://github.com/ceph/ceph/pull/33978 

 --- 

 when trying to set a new topic, get a list of topics etc. the operation fails with "MethodNotAllowed". 
 CreateTopic: 
 <pre> 
 30085 2020-03-13 13:00:23.368 7f9c372c5700    1 ====== starting new request req=0x55d2d07588c0 ===== 
 30086 2020-03-13 13:00:23.368 7f9c372c5700    2 req 396 0.000s initializing for trans_id = tx00000000000000000018c-005e6b67c7-1030-a1 
 30087 2020-03-13 13:00:23.368 7f9c372c5700 10 rgw api priority: s3=8 s3website=7 
 30088 2020-03-13 13:00:23.368 7f9c372c5700 10 host=localhost 
 30089 2020-03-13 13:00:23.368 7f9c372c5700 20 subdomain= domain= in_hosted_domain=0 in_hosted_domain_s3website=0 
 30090 2020-03-13 13:00:23.368 7f9c372c5700 20 final domain/bucket subdomain= domain= in_hosted_domain=0 in_hosted_domain_s3website=0 s->info.domain= s->info.request_uri=/ 
 30091 2020-03-13 13:00:23.368 7f9c372c5700 20 get_handler handler=26RGWHandler_REST_Service_S3 
 30092 2020-03-13 13:00:23.368 7f9c372c5700 10 handler=26RGWHandler_REST_Service_S3 
 30093 2020-03-13 13:00:23.368 7f9c372c5700    2 req 396 0.000s getting op 4 
 30094 2020-03-13 13:00:23.368 7f9c372c5700 10 Content of POST: Name=faaybt-1_topic_1&Attributes.entry.2.key=amqp-exchange&Attributes.entry.1.key=amqp-ack-level&Attributes.entry.2.value=amqp.direct&Version=2010-03-31&Attributes.entry.3.val        ue=amqp%3A%2F%2F127.0.0.1%3A7001&Attributes.entry.1.value=none&Action=CreateTopic&Attributes.entry.3.key=push-endpoint 
 30095 2020-03-13 13:00:23.368 7f9c372c5700 10 Content of POST: Name=faaybt-1_topic_1&Attributes.entry.2.key=amqp-exchange&Attributes.entry.1.key=amqp-ack-level&Attributes.entry.2.value=amqp.direct&Version=2010-03-31&Attributes.entry.3.val        ue=amqp%3A%2F%2F127.0.0.1%3A7001&Attributes.entry.1.value=none&Action=CreateTopic&Attributes.entry.3.key=push-endpoint 
 30096 2020-03-13 13:00:23.368 7f9c372c5700 10 Content of POST: Name=faaybt-1_topic_1&Attributes.entry.2.key=amqp-exchange&Attributes.entry.1.key=amqp-ack-level&Attributes.entry.2.value=amqp.direct&Version=2010-03-31&Attributes.entry.3.val        ue=amqp%3A%2F%2F127.0.0.1%3A7001&Attributes.entry.1.value=none&Action=CreateTopic&Attributes.entry.3.key=push-endpoint 
 30097 2020-03-13 13:00:23.368 7f9c372c5700 20 handler->ERRORHANDLER: err_no=-2003 new_err_no=-2003 
 30098 2020-03-13 13:00:23.368 7f9c372c5700    2 req 396 0.000s http status=405 
 30099 2020-03-13 13:00:23.368 7f9c372c5700    1 ====== req done req=0x55d2d07588c0 op status=0 http_status=405 latency=0s ====== 
 </pre> 

 ListTopics: 
 <pre> 
 2020-03-13 13:00:23.356 7f9c50af8700    1 ====== starting new request req=0x55d2cfd628c0 ===== 
 30057 2020-03-13 13:00:23.357 7f9c50af8700    2 req 395 0.001s initializing for trans_id = tx00000000000000000018b-005e6b67c7-1030-a1 
 30058 2020-03-13 13:00:23.357 7f9c50af8700 10 rgw api priority: s3=8 s3website=7 
 30059 2020-03-13 13:00:23.357 7f9c50af8700 10 host=localhost 
 30060 2020-03-13 13:00:23.357 7f9c50af8700 20 subdomain= domain= in_hosted_domain=0 in_hosted_domain_s3website=0 
 30061 2020-03-13 13:00:23.357 7f9c50af8700 20 final domain/bucket subdomain= domain= in_hosted_domain=0 in_hosted_domain_s3website=0 s->info.domain= s->info.request_uri=/ 
 30062 2020-03-13 13:00:23.357 7f9c50af8700 20 get_handler handler=26RGWHandler_REST_Service_S3 
 30063 2020-03-13 13:00:23.357 7f9c50af8700 10 handler=26RGWHandler_REST_Service_S3 
 30064 2020-03-13 13:00:23.357 7f9c50af8700    2 req 395 0.001s getting op 4 
 30065 2020-03-13 13:00:23.357 7f9c50af8700 10 Content of POST: Action=ListTopics&Version=2010-03-31 
 30066 2020-03-13 13:00:23.357 7f9c50af8700 10 Content of POST: Action=ListTopics&Version=2010-03-31 
 30067 2020-03-13 13:00:23.357 7f9c50af8700 10 Content of POST: Action=ListTopics&Version=2010-03-31 
 30068 2020-03-13 13:00:23.357 7f9c50af8700 20 handler->ERRORHANDLER: err_no=-2003 new_err_no=-2003 
 30069 2020-03-13 13:00:23.357 7f9c50af8700    2 req 395 0.001s http status=405 
 30070 2020-03-13 13:00:23.357 7f9c50af8700    1 ====== req done req=0x55d2cfd628c0 op status=0 http_status=405 latency=0.00100004s ====== 
 </pre>

Back