*** davideagle has quit IRC | 01:37 | |
*** sysx1000 has joined #swift3 | 06:20 | |
*** sysx1000 has left #swift3 | 06:20 | |
*** laci has joined #swift3 | 06:34 | |
laci | hi | 06:34 |
---|---|---|
laci | how can I turn on debug logging to swift3? | 06:48 |
kota_ | laci: hi. please add log_level = DEBUG in your proxy-server.conf setting | 07:07 |
laci | kota_, Thank you! | 07:07 |
laci | kota_, I cannot get list from swift s3 because of invalidbucketname "<BucketName>v1</BucketName>" | 07:08 |
laci | kota_, Should I create separate endpoint for s3? | 07:09 |
kota_ | laci: it looks you may specify swift url, could you tell me your endpoint? | 07:09 |
laci | kota_, | d52d955ba9a548a4a76481a099a74b5e | CEURegion | swift | object-store | True | admin | http://172.17.1.2:8080 | | 07:10 |
laci | | dcc0861d8b3b4e67b5ecb0e33b7a406e | CEURegion | swift | object-store | True | internal | http://172.17.1.2:8080/v1/AUTH_%(tenant_id)s | | 07:10 |
laci | | eb7ffdd3a36a48aa80c87121cf6cd1f1 | CEURegion | swift | object-store | True | public | http://172.17.1.2:8080/v1/AUTH_%(tenant_id)s | | 07:10 |
laci | kota_, I just changed admin url, but same result | 07:10 |
laci | kota_, removed 'v1' from the end | 07:11 |
kota_ | k, though depending on your client, you can use http://172.17.1.2 for the s3 host | 07:11 |
kota_ | any path is not required except your bucket and object | 07:11 |
kota_ | so if you want to make a 'bucket/object' | 07:12 |
kota_ | you should try to make the path like 'http://172.17.1.2:8080/buckt/object' | 07:12 |
kota_ | s/buckt/bucket | 07:12 |
laci | kota_, I've used this: " ./s3curl.pl --id b4a9bf5d7a9b4a7ebc1193cc397953eb --key 4c8f7ea5813c47528fda48a292cd32a5 -s -v http://172.17.1.2:8080" | 07:13 |
laci | kota_, I would like to use swift s3 as a file store backend for canvas-lms learning system | 07:14 |
kota_ | laci: did it go to same result? | 07:14 |
laci | kota_, yes | 07:14 |
kota_ | invalidbucketname "<BucketName>v1</BucketName>"? | 07:15 |
laci | kota_, http://paste.openstack.org/show/590414/ | 07:15 |
kota_ | interesting | 07:18 |
kota_ | can i make sure your pipeline setting in your proxy-server.conf? | 07:19 |
laci | kota_, pipeline = catch_errors gatekeeper healthcheck proxy-logging cache container_sync bulk ratelimit swift3 s3token authtoken keystoneauth container-quotas account-quotas slo dlo versioned_writes proxy-logging proxy-server | 07:20 |
kota_ | thx | 07:21 |
kota_ | that looks fine | 07:22 |
kota_ | but.. the reason why I doubt the setting is becasue some subrequests from the middlewares in the left of swift3 may cause the problem | 07:22 |
kota_ | if you could try to the minimum pipeline setting, it may be helpful to know what happens | 07:23 |
kota_ | swift3 minimum setting is pipeline = proxy-logging cache swift3 s3token authtoken keystoneauth bulk slo proxy-logging proxy-server | 07:23 |
kota_ | ah, bulk should be right of swift3 | 07:24 |
kota_ | i'm thinking bulk is not a problem, maybe ratelimit or container_sync??? | 07:24 |
laci | kota_, I've modofied and restarted, same result: http://paste.openstack.org/show/590415/ | 07:26 |
kota_ | hmmm | 07:32 |
kota_ | laci: sorry frequent questions, what version are you using? | 07:35 |
laci | it is a centos and mitaka | 07:36 |
laci | centos7 | 07:36 |
kota_ | the stacktrace shows different rows | 07:36 |
kota_ | ah, i meant swift3 version | 07:36 |
laci | kota_, openstack-swift-plugin-swift3-1.10-1.el7.noarch | 07:36 |
kota_ | k, it looks like 1.10... maybe? | 07:37 |
laci | kota_, yest , I think | 07:37 |
kota_ | i don't know who made the package though. | 07:37 |
laci | kota_, should I install it from source? | 07:38 |
kota_ | laci: may be, wait a bit. I'm closing onto youre env | 07:38 |
kota_ | curious | 07:40 |
kota_ | if the log said true thing, swift can say 'Invalid Bucket Name' | 07:41 |
kota_ | however, I don't think swift can do that because the 'bucket' is a word for S3 not Swift | 07:41 |
laci | kota_, strange, I do not have any s3 account in amazon.. | 07:42 |
laci | kota_, it mus come from swift.. | 07:42 |
kota_ | in my current idea, you could set swift3 twice | 07:42 |
kota_ | or could set swift3 in account/container/object server setting | 07:43 |
laci | kota_, I've found, in the response.py | 07:43 |
laci | kota_, how can I do that | 07:43 |
kota_ | no, it should not | 07:43 |
kota_ | the possiblity we can get such a response | 07:44 |
kota_ | so likely pipeline = swift3 swift3 <snip> may cause the problem?? | 07:45 |
kota_ | but looking back to your setting, that doesn't seem to happen... | 07:45 |
kota_ | so i cannot reach true answer yet. | 07:45 |
laci | kota_, I am not really see debug information in the log regardless of config file.. I can't say what happening under the hood | 07:47 |
laci | kota_, thank you, anyway! | 07:54 |
kota_ | laci: sorry, I could not solve your problem. now I tried my setting with v1.10 swift3 and s3curl, that works well... | 07:56 |
laci | kota_, no problem, thank you for your help!! | 07:56 |
*** acoles_ is now known as acoles | 09:20 | |
*** davideagle_ has joined #swift3 | 09:47 | |
*** laci has quit IRC | 09:47 | |
*** davideagle_ has quit IRC | 10:19 | |
*** 18WAAUL0E has joined #swift3 | 10:22 | |
*** 18WAAUL0E has quit IRC | 12:29 | |
*** davideagle_ has joined #swift3 | 12:55 | |
*** davideagle_ has quit IRC | 13:16 | |
*** davideagle has joined #swift3 | 13:17 | |
*** DSLegends has quit IRC | 14:59 | |
*** DSLegends has joined #swift3 | 15:15 | |
*** openstackgerrit has quit IRC | 15:18 | |
*** openstackgerrit has joined #swift3 | 15:19 | |
*** davideagle has quit IRC | 18:31 | |
*** acoles is now known as acoles_ | 18:52 | |
*** nikivi has joined #swift3 | 21:52 | |
*** nikivi has quit IRC | 21:58 | |
*** nikivi has joined #swift3 | 22:43 | |
*** nikivi has quit IRC | 23:02 | |
*** davideagle has joined #swift3 | 23:28 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!