Friday, 2016-11-25

*** davideagle has quit IRC01:37
*** sysx1000 has joined #swift306:20
*** sysx1000 has left #swift306:20
*** laci has joined #swift306:34
lacihi06:34
lacihow can I turn on debug logging to swift3?06:48
kota_laci: hi. please add log_level = DEBUG in your proxy-server.conf setting07:07
lacikota_, Thank you!07:07
lacikota_, I cannot get list from swift s3 because of invalidbucketname "<BucketName>v1</BucketName>"07:08
lacikota_, 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
lacikota_, | 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
lacikota_, I just changed admin url, but same result07:10
lacikota_, removed 'v1' from the end07:11
kota_k, though depending on your client, you can use http://172.17.1.2 for the s3 host07:11
kota_any path is not required except your bucket and object07: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/bucket07:12
lacikota_, I've used this: " ./s3curl.pl --id b4a9bf5d7a9b4a7ebc1193cc397953eb --key 4c8f7ea5813c47528fda48a292cd32a5 -s -v http://172.17.1.2:8080"07:13
lacikota_, I would like to use swift s3 as a file store backend for canvas-lms learning system07:14
kota_laci: did it go to same result?07:14
lacikota_, yes07:14
kota_ invalidbucketname "<BucketName>v1</BucketName>"?07:15
lacikota_, http://paste.openstack.org/show/590414/07:15
kota_interesting07:18
kota_can i make sure your pipeline setting in your proxy-server.conf?07:19
lacikota_, 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-server07:20
kota_thx07:21
kota_that looks fine07: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 problem07:22
kota_if you could try to the minimum pipeline setting, it may be helpful to know what happens07:23
kota_swift3 minimum setting is pipeline = proxy-logging cache swift3 s3token authtoken keystoneauth bulk slo proxy-logging proxy-server07:23
kota_ah, bulk should be right of swift307:24
kota_i'm thinking bulk is not a problem, maybe ratelimit or container_sync???07:24
lacikota_, I've modofied and restarted, same result: http://paste.openstack.org/show/590415/07:26
kota_hmmm07:32
kota_laci: sorry frequent questions, what version are you using?07:35
laciit is a centos and mitaka07:36
lacicentos707:36
kota_the stacktrace shows different rows07:36
kota_ah, i meant swift3 version07:36
lacikota_, openstack-swift-plugin-swift3-1.10-1.el7.noarch07:36
kota_k, it looks like 1.10... maybe?07:37
lacikota_, yest , I think07:37
kota_i don't know who made the package though.07:37
lacikota_, should I install it from source?07:38
kota_laci: may be, wait a bit. I'm closing onto youre env07:38
kota_curious07: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 Swift07:41
lacikota_, strange, I do not have any s3 account in amazon..07:42
lacikota_, it mus come from swift..07:42
kota_in my current idea, you could set swift3 twice07:42
kota_or could set swift3 in account/container/object server setting07:43
lacikota_, I've found, in the response.py07:43
lacikota_, how can I do that07:43
kota_no, it should not07:43
kota_the possiblity we can get such a response07: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
lacikota_, I am not really see debug information in the log regardless of config file.. I can't say what happening under the hood07:47
lacikota_, 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
lacikota_, no problem, thank you for your help!!07:56
*** acoles_ is now known as acoles09:20
*** davideagle_ has joined #swift309:47
*** laci has quit IRC09:47
*** davideagle_ has quit IRC10:19
*** 18WAAUL0E has joined #swift310:22
*** 18WAAUL0E has quit IRC12:29
*** davideagle_ has joined #swift312:55
*** davideagle_ has quit IRC13:16
*** davideagle has joined #swift313:17
*** DSLegends has quit IRC14:59
*** DSLegends has joined #swift315:15
*** openstackgerrit has quit IRC15:18
*** openstackgerrit has joined #swift315:19
*** davideagle has quit IRC18:31
*** acoles is now known as acoles_18:52
*** nikivi has joined #swift321:52
*** nikivi has quit IRC21:58
*** nikivi has joined #swift322:43
*** nikivi has quit IRC23:02
*** davideagle has joined #swift323:28

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!