Monday, 2018-08-27

*** mikecmpbll has quit IRC00:18
*** psachin has joined #openstack-swift02:46
*** gkadam has joined #openstack-swift03:41
*** viks__ has joined #openstack-swift03:51
*** hseipp has joined #openstack-swift06:43
*** pcaruana has joined #openstack-swift06:49
*** ccamacho has joined #openstack-swift06:50
*** cbartz has joined #openstack-swift06:53
*** links has joined #openstack-swift06:59
*** rcernin has quit IRC07:31
*** d0ugal has joined #openstack-swift07:54
*** mikecmpbll has joined #openstack-swift10:18
*** pcaruana has quit IRC10:32
*** pcaruana has joined #openstack-swift10:32
*** hseipp has quit IRC11:03
*** threestrands has quit IRC11:05
*** gkadam has quit IRC11:23
*** gkadam has joined #openstack-swift11:23
*** hseipp has joined #openstack-swift12:03
tdasilvagood morning12:15
*** gkadam has quit IRC12:51
*** links has quit IRC12:57
*** cbartz has quit IRC13:00
*** cbartz has joined #openstack-swift13:17
*** vinsh has joined #openstack-swift13:46
*** psachin has quit IRC13:50
*** vinsh_ has quit IRC13:50
*** vinsh has quit IRC14:16
*** ianychoi has quit IRC14:36
*** ianychoi has joined #openstack-swift14:42
*** pcaruana has quit IRC15:29
notmynamegood morning15:42
*** ccamacho is now known as ccamacho|brb16:10
*** cbartz has quit IRC16:13
*** hseipp has quit IRC16:26
*** pcaruana has joined #openstack-swift16:26
*** itlinux has joined #openstack-swift16:29
*** jlviva-viva is now known as jlvillal16:40
openstackgerritTim Burke proposed openstack/swift master: Move legacy-swift-dsvm-functional job in-tree  https://review.openstack.org/58927016:57
openstackgerritTim Burke proposed openstack/swift master: Add IPv6 DSVM tests  https://review.openstack.org/59149716:57
*** openstackgerrit has quit IRC17:04
*** gyee has joined #openstack-swift18:27
*** gyee has quit IRC18:28
*** gyee has joined #openstack-swift18:28
*** openstackgerrit has joined #openstack-swift18:32
openstackgerritMerged openstack/swift master: import zuul job settings from project-config  https://review.openstack.org/59621018:32
*** itlinux has quit IRC18:54
*** itlinux has joined #openstack-swift19:11
*** pcaruana has quit IRC19:13
*** itlinux has quit IRC19:16
openstackgerritMerged openstack/swift master: minor updates to changelog and release notes  https://review.openstack.org/59526019:40
*** geaaru has joined #openstack-swift21:33
samueldmqhello!21:36
samueldmqI'm talking to swift and getting 200 OK and 'NoSuchKey' as body on an object that does not exist21:37
samueldmqis that a known behavior or is the cloud I'm talking to really broken?21:37
samueldmq#link http://paste.openstack.org/show/728877/ example using openstacksdk21:37
DHEit should behave properly with a 404 response21:37
samueldmqexactly, not sure why I'm hitting a 200 in that case21:38
*** rcernin has joined #openstack-swift21:51
notmynamesamueldmq: NoSuchKey is an S3 api error response22:18
notmynameso it sounds like you're talking to an endpoint with the s3 api compat layer enabled22:18
samueldmqnotmyname: kk but what about the 200 OK, is that expected within the s3 api compat layer?22:29
* samueldmq looks for docs on that22:29
notmynameon the container write?22:34
samueldmqnotmyname: GET on an object that does not exist22:36
*** zaitcev has joined #openstack-swift22:36
*** ChanServ sets mode: +v zaitcev22:36
samueldmqnotmyname: http://paste.openstack.org/show/728877/22:36
notmynameit would be much easier to debug if you could show the actual API calls being made, eg using curl instead of an SDK that's wrapping the calls22:37
notmynameeg i don't actually see a 200 response code in that paste22:37
samueldmqnotmyname: you're very right, I saw that by debugging myself with sdk. I will redo with curl22:40
samueldmqnotmyname: there it is22:51
samueldmq#link http://paste.openstack.org/show/728883/22:51
notmynamesamueldmq: that does indeed look odd22:54
notmynamethe x-mesh-debug-req-id header hints that there may be something in between the client and the cluster?22:54
notmynameand are you expecting to use the s3 api?22:55
samueldmqnotmyname: I don't know what my provider is doing. tbh I just wanted to use the swift apis :-)22:56
notmynameah ok22:56
samueldmqI am writing some functional tests to validate -sdk against a lot of clouds ... and just stumbled on this22:56
samueldmqperhaps I can ask my provider what the they're doing22:57
notmynamethen confirm that the storage url you're getting back from auth is ok. maybe they're returning separate swift and s3 endpoints?22:57
notmynamethe "/swift/" in the URL is also somewhat unusual in my experience22:58
notmynameassuming the endpoint from auth is ok, then everything I've seen in the pastebin look fine. you'll need to take it up iwth your provider22:58
notmynameI'd be able to help more if you had control over the cluster22:58
*** mikecmpbll has quit IRC23:00
samueldmqnotmyname: jsut checked the service catalog and yes, that's the url I get back from it23:03
samueldmqthat's the only public endpoint for swift I can see23:04
mattoliverauMost radosgw deploys I've seen tend to have a /swift in the url. So you might not actually be hitting something that isn't using a 100% Swift API. Can you run an /info on it.23:04
samueldmqnotmyname: I will take it up with them, that's a huge help already, appreciated it!23:04
mattoliveraulol, double negative, lets try again, you might be hitting something that isn't 100% compliant with the Swift API23:05
notmynamemattoliverau: oh, interesting23:05
mattoliverauie. they might be running a Ceph Radosgw end point.23:05
samueldmqhmmm23:05
samueldmqlet me see a /info23:06
mattoliverauwhat does a swift stat look like?23:06
mattoliverauwhat account name comes back, in most radogw stats on the account I do doesn't give me the account name in the output. though maybe that's just a mis configuration on my end (I'm no a ceph expert). But it's used here at work dev cloud builds sometimes and it confused the hell out of me23:07
samueldmq#link http://paste.openstack.org/show/728885/23:09
samueldmqfor the /info request23:09
notmynameyeah, that's suspicious: "version":"12.2.6"23:10
notmynameswift just released 2.19.023:10
samueldmqoh they're far far ahead :-)23:10
* notmyname starts to wonder what's in the magical swift v1223:10
notmynameit's the future!!23:11
samueldmqhehe this is getting interesting. I'll poke the apis and see what we're gonna implement next23:11
notmynamelol23:12
mattoliveraulol23:12
samueldmqI can't run the swift stat thing it's a public cloud23:15
mattoliverau12.2.6 looks like it might be Ceph Luminous (well I quick google search). So yeah, radosgw's swift api endpoint.23:16
samueldmq12.2.6 is clearly a ceph version though. thye might be doing the radosgw endpoint thing you mentioned. even though I don't know what kind of sourcery is that23:16
samueldmqbut seems like puttin swift API on top of base ceph?23:16
mattoliverauthey're just have their own implementation of the Swift API.23:16
notmynamesamueldmq: yeah, they do that. at least some of it23:16
samueldmqwhich returns 200 on GET /OBJECT_THAT_DOES_NOT_EXIST ! awesome23:17
mattoliveraulol, yeah nice :P23:17
samueldmqnotmyname: mattoliverau: awesome, I appreciate your time helping to debug. this was interesting23:19
notmynamenp23:19
mattoliverausamueldmq: nps :)23:19
samueldmq#protip TIL when you implement an API, keep the all the contracts consistent.23:20
mattoliverau+10023:21
mattoliverauoh and good morning swift channel :)23:22
notmynameoh hi mattoliverau :-)23:22
timburkefwiw, the json response is also very strange to me -- swift3/s3api does xml...23:25
*** Jeffrey4l has quit IRC23:26
*** Jeffrey4l has joined #openstack-swift23:28
*** kei-ichi has joined #openstack-swift23:30

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