blemmenes / radosgw_usage_exporter

Prometheus exporter for scraping Ceph RADOSGW usage data.
MIT License
54 stars 40 forks source link

DEBUG:requests.packages.urllib3.connectionpool:"GET /swq/admin/bucket/?format=json&stats=True HTTP/1.1" 404 139 #19

Open swq499809608 opened 4 years ago

swq499809608 commented 4 years ago

I executed the command:


python radosgw_usage_exporter.py -a W11DWXXXXXXX -s XXXXXXXX -H https://tests3in.aws.com.cn/swq/


Error info:


INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): tests3in..aws.com.cn DEBUG:requests.packages.urllib3.connectionpool:"GET /swq/admin/usage/?format=json&show-summary=False HTTP/1.1" 404 139 Request error [404]: {"Code":"NoSuchKey","BucketName":"swq","RequestId":"tx0000000000000000740a3-005e68c309-2744508-default","HostId":"2744508-default-default"} INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): tests3in.aws.com.cn DEBUG:requests.packages.urllib3.connectionpool:"GET /swq/admin/bucket/?format=json&stats=True HTTP/1.1" 404 139 Request error [404]: {"Code":"NoSuchKey","BucketName":"swq","RequestId":"tx000000000000000008a86-005e68c309-32eb993-default","HostId":"32eb993-default-default"} Polling https://tests3in.aws.com.cn/swq/. Serving at port: 9242


### Is the above operation the correct operation and is it already in the collection data**

k0ste commented 4 years ago

You host should be without any buckets, eg https://tests3in.aws.com.cn/.