Advertisement
Guest User

log of s3cmd, 405 MethodNotAllowed

a guest
Mar 13th, 2014
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.45 KB | None | 0 0
  1. [root@node_a radosgw]# s3cmd ls
  2. DEBUG: Updating Config.Config cache_file ->
  3. DEBUG: Updating Config.Config encoding -> UTF-8
  4. DEBUG: Updating Config.Config follow_symlinks -> False
  5. DEBUG: Updating Config.Config verbosity -> 30
  6. DEBUG: Unicodising 'ls' using UTF-8
  7. DEBUG: Command: ls
  8. DEBUG: SignHeaders: 'GET\n\n\n\nx-amz-date:Thu, 13 Mar 2014 08:51:38 +0000\n/'
  9. DEBUG: CreateRequest: resource[uri]=/
  10. DEBUG: SignHeaders: 'GET\n\n\n\nx-amz-date:Thu, 13 Mar 2014 08:51:38 +0000\n/'
  11. DEBUG: Processing request, please wait...
  12. DEBUG: get_hostname(None): node_a
  13. DEBUG: ConnMan.get(): creating new connection: http://node_a
  14. DEBUG: format_uri(): /
  15. DEBUG: Sending request method_string='GET', uri='/', headers={'content-length': '0', 'Authorization': 'AWS I957A1L630SRIP63N2OG:24lWA+BAeaU3t0Ficck5Tk5oq7E=', 'x-amz-date': 'Thu, 13 Mar 2014 08:51:38 +0000'}, body=(0 bytes)
  16. DEBUG: Response: {'status': 200, 'headers': {'date': 'Thu, 13 Mar 2014 08:51:38 GMT', 'transfer-encoding': 'chunked', 'connection': 'close', 'content-type': 'application/xml', 'server': 'Apache/2.2.15 (CentOS)'}, 'reason': '', 'data': '<?xml version="1.0" encoding="UTF-8"?><ListAllMyBucketsResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Owner><ID>admin</ID><DisplayName>admin</DisplayName></Owner><Buckets><Bucket><Name>new-bucket-5996518c</Name><CreationDate>2014-03-13T02:52:19.000Z</CreationDate></Bucket><Bucket><Name>new-bucket-b51e6eb8</Name><CreationDate>2014-03-13T01:48:40.000Z</CreationDate></Bucket><Bucket><Name>new-bucket-fa45b8a8</Name><CreationDate>2014-03-13T01:46:17.000Z</CreationDate></Bucket></Buckets></ListAllMyBucketsResult>'}
  17. DEBUG: ConnMan.put(): connection put back to pool (http://node_a#1)
  18. 2014-03-13 02:52 s3://new-bucket-5996518c
  19. 2014-03-13 01:48 s3://new-bucket-b51e6eb8
  20. 2014-03-13 01:46 s3://new-bucket-fa45b8a8
  21. [root@node_a radosgw]# s3cmd ls s3://new-bucket-5996518c
  22. DEBUG: Updating Config.Config cache_file ->
  23. DEBUG: Updating Config.Config encoding -> UTF-8
  24. DEBUG: Updating Config.Config follow_symlinks -> False
  25. DEBUG: Updating Config.Config verbosity -> 30
  26. DEBUG: Unicodising 'ls' using UTF-8
  27. DEBUG: Unicodising 's3://new-bucket-5996518c' using UTF-8
  28. DEBUG: Command: ls
  29. DEBUG: Bucket 's3://new-bucket-5996518c':
  30. DEBUG: SignHeaders: 'GET\n\n\n\nx-amz-date:Thu, 13 Mar 2014 08:51:45 +0000\n/new-bucket-5996518c/'
  31. DEBUG: CreateRequest: resource[uri]=/
  32. DEBUG: SignHeaders: 'GET\n\n\n\nx-amz-date:Thu, 13 Mar 2014 08:51:45 +0000\n/new-bucket-5996518c/'
  33. DEBUG: Processing request, please wait...
  34. DEBUG: get_hostname(new-bucket-5996518c): new-bucket-5996518c.node_a
  35. DEBUG: ConnMan.get(): creating new connection: http://new-bucket-5996518c.node_a
  36. DEBUG: format_uri(): /?delimiter=/
  37. DEBUG: Sending request method_string='GET', uri='/?delimiter=/', headers={'content-length': '0', 'Authorization': 'AWS I957A1L630SRIP63N2OG:IM+vPOcFGQFbuwl/OdtZFwK+32g=', 'x-amz-date': 'Thu, 13 Mar 2014 08:51:45 +0000'}, body=(0 bytes)
  38. DEBUG: Response: {'status': 403, 'headers': {'content-length': '78', 'accept-ranges': 'bytes', 'server': 'Apache/2.2.15 (CentOS)', 'connection': 'close', 'date': 'Thu, 13 Mar 2014 08:51:45 GMT', 'content-type': 'application/xml'}, 'reason': '', 'data': '<?xml version="1.0" encoding="UTF-8"?><Error><Code>AccessDenied</Code></Error>'}
  39. DEBUG: ConnMan.put(): connection put back to pool (http://new-bucket-5996518c.node_a#1)
  40. DEBUG: S3Error: 403 ()
  41. DEBUG: HttpHeader: content-length: 78
  42. DEBUG: HttpHeader: accept-ranges: bytes
  43. DEBUG: HttpHeader: server: Apache/2.2.15 (CentOS)
  44. DEBUG: HttpHeader: connection: close
  45. DEBUG: HttpHeader: date: Thu, 13 Mar 2014 08:51:45 GMT
  46. DEBUG: HttpHeader: content-type: application/xml
  47. DEBUG: ErrorXML: Code: 'AccessDenied'
  48. ERROR: Access to bucket 'new-bucket-5996518c' was denied
  49. [root@node_a radosgw]# s3cmd mb s3://asdasdas
  50. DEBUG: Updating Config.Config cache_file ->
  51. DEBUG: Updating Config.Config encoding -> UTF-8
  52. DEBUG: Updating Config.Config follow_symlinks -> False
  53. DEBUG: Updating Config.Config verbosity -> 30
  54. DEBUG: Unicodising 'mb' using UTF-8
  55. DEBUG: Unicodising 's3://asdasdas' using UTF-8
  56. DEBUG: Command: mb
  57. DEBUG: SignHeaders: 'PUT\n\n\n\nx-amz-date:Thu, 13 Mar 2014 08:51:52 +0000\n/asdasdas/'
  58. DEBUG: CreateRequest: resource[uri]=/
  59. DEBUG: SignHeaders: 'PUT\n\n\n\nx-amz-date:Thu, 13 Mar 2014 08:51:52 +0000\n/asdasdas/'
  60. DEBUG: Processing request, please wait...
  61. DEBUG: get_hostname(asdasdas): asdasdas.node_a
  62. DEBUG: ConnMan.get(): creating new connection: http://asdasdas.node_a
  63. DEBUG: format_uri(): /
  64. DEBUG: Sending request method_string='PUT', uri='/', headers={'content-length': '0', 'Authorization': 'AWS I957A1L630SRIP63N2OG:+q4+bdgd2n8/fdC6lk09B+7qSxQ=', 'x-amz-date': 'Thu, 13 Mar 2014 08:51:52 +0000'}, body=(0 bytes)
  65. DEBUG: Response: {'status': 405, 'headers': {'content-length': '82', 'accept-ranges': 'bytes', 'server': 'Apache/2.2.15 (CentOS)', 'connection': 'close', 'date': 'Thu, 13 Mar 2014 08:51:52 GMT', 'content-type': 'application/xml'}, 'reason': '', 'data': '<?xml version="1.0" encoding="UTF-8"?><Error><Code>MethodNotAllowed</Code></Error>'}
  66. DEBUG: ConnMan.put(): connection put back to pool (http://asdasdas.node_a#1)
  67. DEBUG: S3Error: 405 ()
  68. DEBUG: HttpHeader: content-length: 82
  69. DEBUG: HttpHeader: accept-ranges: bytes
  70. DEBUG: HttpHeader: server: Apache/2.2.15 (CentOS)
  71. DEBUG: HttpHeader: connection: close
  72. DEBUG: HttpHeader: date: Thu, 13 Mar 2014 08:51:52 GMT
  73. DEBUG: HttpHeader: content-type: application/xml
  74. DEBUG: ErrorXML: Code: 'MethodNotAllowed'
  75. ERROR: S3 error: 405 (MethodNotAllowed):
  76. [root@node_a radosgw]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement