Thursday, 2020-10-08

*** clarkb has left #openstack-swift00:21
*** gyee has quit IRC00:31
timburkeyeah, and it should work well enough to just set `logging.logThreads = 0` -- but i really want to find a reason for *why* we're garbage-collecting this generator at an inopportune time00:39
*** ianychoi__ is now known as ianychoi00:44
*** rcernin has quit IRC00:48
*** rcernin has joined #openstack-swift00:55
*** rcernin has quit IRC01:08
*** rcernin has joined #openstack-swift01:25
*** rcernin has quit IRC01:39
*** mikecmpbll has quit IRC01:40
*** mikecmpbll has joined #openstack-swift01:44
*** tkajinam has quit IRC01:52
*** tkajinam has joined #openstack-swift01:53
*** rcernin has joined #openstack-swift02:13
*** evrardjp has quit IRC04:33
*** evrardjp has joined #openstack-swift04:33
*** openstackgerrit has joined #openstack-swift04:44
openstackgerritMerged openstack/swift stable/ussuri: Authors/ChangeLog for 2.25.1  https://review.opendev.org/75616604:44
*** psachin has joined #openstack-swift06:29
*** rpittau|afk is now known as rpittau07:27
*** mattoliverau has quit IRC07:33
*** mattoliverau has joined #openstack-swift07:38
*** tepper.freenode.net sets mode: +v mattoliverau07:38
*** rcernin has quit IRC07:57
*** rcernin has joined #openstack-swift10:28
*** rcernin has quit IRC10:31
*** psachin has quit IRC10:53
*** psachin has joined #openstack-swift11:03
*** m75abrams has joined #openstack-swift11:51
*** rledisez has quit IRC11:58
*** alecuyer has quit IRC11:58
*** rledisez has joined #openstack-swift11:59
*** ChanServ sets mode: +v rledisez11:59
*** alecuyer has joined #openstack-swift12:02
*** mikecmpbll has quit IRC12:54
*** mikecmpbll has joined #openstack-swift12:58
*** gyee has joined #openstack-swift16:00
*** rpittau is now known as rpittau|afk16:01
*** sri_ has joined #openstack-swift16:18
*** psachin has quit IRC16:57
*** m75abrams has quit IRC17:52
sri_quick question, I am trying to use swift with awscli with ec2 credentials but I am always getting this error   "An error occurred (403) when calling the CreateBucket operation: Forbidden",17:59
timburkesri_, have you tried with --debug? in particular, i'm hoping for more information in the response body of the 40318:01
sri_In my setup I am using ceph rgw and swift proxy, https://docs.ceph.com/en/latest/radosgw/keystone/18:01
sri_timburke: sorry, here this logs https://paste.centos.org/view/56836d9a18:03
timburkelooking... i should wanr you that i may not be able to help much, though -- i don't have much of any experience with ceph or how it does s318:04
timburkesri_, i wonder if you might need to specify --endpoint=http://192.168.122.60:8080 instead of --endpoint=http://192.168.122.60:8080/swift/v118:06
timburkei know when accessing swift over s3, you'd need to drop the /v1 -- i think it's a safe bet that ceph would want you to drop the swift-y prefix18:07
sri_timburke: it's working  when use this "endpoint=http://192.168.122.60:8080"18:09
timburke\o/18:09
sri_timburke: awesome :)18:10
sri_timburke: by the way my ceph rgw is running on http://192.168.122.60:808018:11
timburkethat's what i figured ;-)18:11
timburkefwiw, if you get tired of needing to add the endpoint to every command, i've had pretty good luck with https://pypi.org/project/awscli-plugin-endpoint/ (though i haven't tried it with awscli 2.0+)18:11
sri_timburke: here is more details about my env  :  https://paste.centos.org/view/cc7d324418:12
sri_timburke: I will give it try https://pypi.org/project/awscli-plugin-endpoint/18:14
sri_timburke: I am just trying to expose swift endpoint instead  of ceph-rgw endpoint. Maybe I am look at this from wrong angle18:16
timburkemy understanding is that ceph-rgw can be accessed over either the swift or s3 apis, and both are reading and writing data that's stored in ceph. when accessing over the swift api, urls have that "swift/v1" prefix to the request path; when using the s3 api, they don't. i don't know off hand whether the buckets and objects you create via s3 are accessible via the swift api, though18:24
sri_timburke: good question, I can see the objects in swift created from rgw endpoint https://paste.centos.org/view/7c80759318:30
timburkecool! TIL18:31
sri_timburke: because I am using  ec2 credentials there is relation  https://docs.ceph.com/en/latest/radosgw/s3/authentication/18:32
sri_timburke: I have other environment where rgw and swift endpoint are different RegionOne | radosgw      | object-store    | True    | public    |    https://mydomain.com/object-store/v118:36
sri_I can access the swift object from that endpoint but I am not able to use that endpoint it's giveing me the same error what was getting previously ""An error occurred (403) when calling the CreateBucket operation: Forbidden", "18:38
timburkewhat about if you just use https://mydomain.com for the s3 endpoint?18:39
sri_timburke: no luck https://paste.centos.org/view/c62e4cce18:44
timburkemaybe keep the object-store? like https://mydomain.com/object-store18:52
sri_timburke: i got An error occurred (405) when calling the ListBuckets operation: Method Not Allowed18:52
timburkeidk -- i'm guessing there's some reverse-proxy that exposes swift access to rgw as /object-store/v1 (or even all of /object-store) on port 80 and you'll need to find out how (if at all) it exposes s3 access18:59
sri_timburke: that makes sense19:00
sri_timburke: Thanks you very much for your time,  you saved my day :)19:01
timburkesure thing! glad i could help a bit19:01
openstackgerritTim Burke proposed openstack/swift master: proxy: stop sending frags to PyECLib with a Queue  https://review.opendev.org/70489219:13
openstackgerritTim Burke proposed openstack/swift master: Add a new URL parameter to allow for async cleanup of SLO segments  https://review.opendev.org/73302619:33
*** hoonetorg has quit IRC19:47
*** hoonetorg has joined #openstack-swift19:59
openstackgerritTim Burke proposed openstack/liberasurecode master: Authors/ChangeLog for 1.6.2  https://review.opendev.org/75692420:08
*** mikecmpbll has quit IRC20:19
*** mikecmpbll has joined #openstack-swift20:22
openstackgerritTim Burke proposed openstack/liberasurecode master: Release 1.6.2  https://review.opendev.org/75692421:47
*** dsariel has quit IRC22:19
*** rcernin has joined #openstack-swift22:47
*** gyee has quit IRC23:50

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!