Friday, 2016-01-22

*** haomaiwang has quit IRC00:01
*** haomaiwang has joined #openstack-swift00:01
kota_good morning00:03
openstackgerritPaul Dardeau proposed openstack/swift: Remove limit of 64K devices in ring  https://review.openstack.org/26492200:05
*** dmorita_ has quit IRC00:05
*** dmorita has joined #openstack-swift00:06
ho_kota_: morning!00:06
*** dmorita has quit IRC00:06
*** dmorita has joined #openstack-swift00:06
kota_ho_: o/00:07
kota_ho_: btw, does your RBAC patch (patch 202411) include the direction to something like online docs for RBAC?00:08
patchbotkota_: https://review.openstack.org/#/c/202411/ - Add functional test for access control (RBAC) with...00:08
*** asettle has quit IRC00:08
*** asettle has joined #openstack-swift00:09
kota_ho_: i wanna review but not sure for the expected behavior so i want some docs for double checking.00:09
kota_ho_: i didn't start to review yet though :P00:09
*** darrenc_afk is now known as darrenc00:12
*** zhill has quit IRC00:14
ho_kota_: thanks! there is a link in a comment (10:24am in Nov 9). if you click it, you can see some urls. i summarized expected result in the docs from code.00:16
*** dmorita has quit IRC00:16
*** dmorita has joined #openstack-swift00:17
kota_ho_: in gerrit comment?00:17
*** nadeem has quit IRC00:18
ho_kota_: yes.00:20
*** asettle has quit IRC00:20
*** asettle has joined #openstack-swift00:20
kota_ho_: sorry, i found no http link there, i might be missing something...00:21
*** dmorita has quit IRC00:21
*** dmorita has joined #openstack-swift00:21
kota_ho_: you commented, "@Jordan, thanks for the comment. I think it's not necessary to change proxy-server.conf for this patch and I put 6th user to sample.conf. After this patch will be lauded I will submit a patch to add users to run these tests."00:21
kota_at 10:24am in Nov.900:21
ho_kota_: one commen above. http://paste.openstack.org/show/478061/00:22
*** asettle has quit IRC00:22
ho_kota_: sorry two comments00:22
*** asettle has joined #openstack-swift00:22
kota_ho_: all right00:22
kota_ho_: looks like experimental result, right? no docs of keystone?00:23
mattoliveraukota_, ho_: morning00:23
ho_kota_: yeah, (expected result from code) i think no doc for it.00:25
ho_mattoliverau: morning!00:25
*** gyee has quit IRC00:28
*** ho_away has joined #openstack-swift00:29
*** yarkot has joined #openstack-swift00:29
kota_ho_: ok, i think that matrix you made is already worthful :-)00:30
*** mingdang1 has joined #openstack-swift00:30
*** gyee has joined #openstack-swift00:30
kota_ho_: i could take small time today for this and would be able to look at in detail next week (sorry, not so enough time for now)00:31
ho_kota_: np! i really appreciate it :-)00:31
*** mingdang1 has quit IRC00:38
*** achhabra has quit IRC00:39
*** m_kazuhiro has joined #openstack-swift00:41
*** dmorita has quit IRC00:42
*** dmorita has joined #openstack-swift00:43
*** lpabon has quit IRC00:44
*** dmorita has quit IRC00:47
*** ho_away has quit IRC00:48
clayggateway_role = self.node.org.noderole_set.first(runs_gateway=True)00:50
clayghrmmm...00:50
*** dmorita has joined #openstack-swift00:50
*** bwall has quit IRC00:53
*** bwall has joined #openstack-swift00:57
*** bwall has joined #openstack-swift00:57
*** jlvillal has quit IRC00:58
ho_clayg: could you please check my comment on patch 266190? (short summary is 2 replicas is no chance but 4 replicas is reasonable approach for the problem)01:00
patchbotho_: https://review.openstack.org/#/c/266190/ - Fix posting accounts behavior when half of account...01:00
*** haomaiwang has quit IRC01:01
ho_clayg: i will start to write unittest soon.01:01
*** haomaiwa_ has joined #openstack-swift01:01
claygho_: I'm not sure I understand your comment :)01:02
*** jlvillal has joined #openstack-swift01:02
claygho_: my comment was about the behavior with three replicas - but yeah the general idea is that the node that says 204 might not be "correct" - or worse - it could be only copy of the operation (so it'd be unfair to return 2XX to the client)01:02
claygho_: given that constrain for 3-replica, we can begin to consider different configurations - but we must preserve the symantic behavior of the api in the 3-replica case01:03
claygthe reason the 3-replica DELETE case can translate 404->2XX is because it writes the tombstone regardless.  There's some risk that DELETE t1 gets (503, 404, 2XX) -> 2XX then DELETE t2 gets (204, 404, 503) -> 2XX - but FWIW everyone seemed to agree it was better than the alternatives we had at the time and despite giving the wrong answer (2XX a delete that should have 404'd) the risk seemed nominal compared to the undesireabl01:07
ho_clayg: wait a minutes i'm trying understand...01:08
claygin your case the 503 is still just as undeseriable - but the risk is higher - on the container/account layer 404 means nothing is stored, so we have nothing like a quorm - worse yet, it's possible the correct response would have 40401:08
ho_clayg: "in your case" means 4 replicas case?01:09
claygho_: no, i should have said in the account/container case - it's still the same for 3-replica01:09
claygI think my comments here could have been more clear - the 404->204 transloation makes sense for the object layer DELETE only because of how the DELETE 404 case is handled01:11
clayg... in the object-server's ObjectController01:11
ho_clayg: i see. i understand less than 4 replicas we might loss data if a node which has a replica never comes back.01:12
claygho_: ok that's a fair rephrasing - so if the quorum value is 2/3 we have to have two successful opts to return 2xx - that's the deal ;)01:14
claygho_: but the point I was trying to make was that the "successfulness" of a 404 on an object server DELETE is *dramatically* different than the account/container 404 case for POST or DELETE01:15
*** dmorita has quit IRC01:15
*** dmorita has joined #openstack-swift01:16
ho_clayg: yeah, I understand well (current three replica behavior is really well-designed). if we have 4 replicas and account/container 404 case for post or delete, we can gurantee the realiability (same level as 3 replica) when we replace a 404 to 20401:17
*** haomaiwa_ has quit IRC01:17
*** yarkot_ has joined #openstack-swift01:18
claygho_: is that so?  is (204, 204, 404, 503) really meeting the durability guarantee for 4 replicas?01:18
*** dmorita has quit IRC01:19
*** dmorita has joined #openstack-swift01:19
claygho_: what about (204, 404, 404, 503) - I believe the 404 won't quorum, so you'll move into translation and return success after having only one replica of the data?01:19
clayg... i might be confused about when/how the realtive translations under make-request are applied01:20
*** dmorita has quit IRC01:20
ho_clayg: my challenge is failed :-) my approach can't save second one01:20
*** dmorita has joined #openstack-swift01:21
claygho_: it's possible i'm mis-reading best_reponse - but I think that's how it works01:21
ho_clayg: at least two 204 are necessary to gurantee data is my understanding so my current patch doesn't work for the case.01:21
claygeither way I think the point is more about treating a 404 from a storage server as a 204 - it's only appropriate to do so if the behavior of the storage server is know to be equivilent for those status codes - then I think the number of replicas matters not01:22
claygho_: well that's sort of orthagonal - but it's come up many times if the quorum of even replicas should be changed from >50% to >=50% - I'm not sure I disagree that "at least two [in a 4-replica ring] is sufficent to guarantee data" - but that's not how swift currently calculates quorum - today a 2xx response from a 4-replica policy should return at least 3 successful responses01:24
ho_clayg: i understand but i would like to solve the problem :)01:25
claygho_: yeah I'm down!01:25
claygho_: which problem?  specficially mult-region clusters returning bad responses?01:26
ho_clayg: 2 region - 4 replicas and one region down01:26
ho_clayg: deployers want to have same config in a region...01:28
claygho_: so fwiw my idea on metadata-layer updates for geo-clusters is to over-replicate and under-quorum.  Basically allow an operator to explicitly craft a deployment where there's 3 account/container db's in each region and metadata updates across the region only happen through replication01:29
*** yarkot_ has quit IRC01:29
claygho_: it ties into sam's ideas on composite rings - region A has a container ring with *its* devices, the db's and updates go where they go (but only locally) - similar setup in region B01:30
claygbut then the container *replicator* has a compostie ring with all the replicas and syncs the updates out of band01:30
ho_clayg: unnn. sounds great01:31
claygho_: fuck yeah - you should do it!01:31
claygtorgomatic can review it01:31
*** dmorita has quit IRC01:31
* clayg drops the mic01:31
ho_clayg: i have to study a lot :-)01:31
ho_clayg: thanks a lot!01:31
claygho_: I think it's very helpful just to raise the pain01:31
*** nadeem has joined #openstack-swift01:32
claygnotmyname: you see ho_ feeling the pain!?01:32
*** dmorita has joined #openstack-swift01:33
claygho_: but anyway - there might be better ideas01:36
claygho_: another idea maybe is to allow for "loose_quorum" on even replicas01:37
claygho_: another idea might be to udpate the account/container servers so they can record the request for metadata/delete operations even when the db does not exist01:37
ho_clayg: actually my proposed patches are based on my pains (user troubles)01:37
claygho_: yes I understand, I am sorry the solution is not stright forward - but I don't see how we can preserve the durability guarentees we expect/require in the 3-replica case with those changes01:39
claygho_: but I'll be the first to admit multi-region metadata case is not satisfactory01:39
claygwell... rather not satisfactory *to me*01:39
ho_clayg: i thought last idea but i would like to avoid  cost for db copy01:39
claygho_: yup it's the sux - and might have negative consequences in the single region 3-replica case which could prevent it going in without some sort of flag/option01:40
claygho_: but better to not have flags/options and just be awesome all the time!01:41
ho_clayg: i" metadata updates across the region only happen through replication" sounds best, other (my approach if it solves the problem) sounds like workaround...01:43
*** nadeem has quit IRC01:44
claygho_: yeah it's be pretty fucking sweet01:46
ho_clayg: i will explain this discussion to users (for thier current problem). thank you very much!01:46
claygbah - good luck :'(01:47
claygsux01:47
*** awelleck has joined #openstack-swift01:48
*** ho_away has joined #openstack-swift01:49
*** ho_away has quit IRC01:53
*** dkalleg has joined #openstack-swift01:53
dkallegHi, I notice the swift client doesn't have a quota-set api call like some other services.  Is there some other way to set swift quotas, or am I missing some fundamental swift concept?01:54
timburkedkalleg: you should be able to specify it with the --meta argument, like in `swift post container --meta 'quota-bytes: 1000000000'`01:57
timburkethat also works for accounts01:58
dkallegtimburke: I see, thanks.02:00
*** noark9 has joined #openstack-swift02:01
*** awelleck has quit IRC02:05
*** haomaiwang has joined #openstack-swift02:05
dkallegtimburke: I'm trying to glean some info from here: http://docs.openstack.org/juno/config-reference/content/object-storage-account-quotas.html and from the swift help menu.  I'm not seeing info on what some of these flags mean, -AUK02:12
dkallegIs there a better set of docs somewhere I can refer to?02:12
openstackgerritKota Tsuyuzaki proposed openstack/swift: Follow up for Kazuhiro  https://review.openstack.org/27111902:13
timburkedkalleg: -A is for the auth url, -U the username, and -K the api key (password). those are all assuming v1 auth; keystone (v2 or v3) gets more complicated, but swift recognizes (to my knowledge) all the standard environment variables02:15
dkallegok, thats good, wasn't seeing a confirmation it would consume OS_xxx env vars.02:16
dkallegI could end up asking a bunch more questions, but if you want to teach me how to fish instead of feeding me, I'd be happy to read up on it myself.  Still just not finding docs that explain most of this stuff02:18
*** mingdang1 has joined #openstack-swift02:18
timburkedkalleg: swift --os-help has a nice long description of all the openstack auth options02:18
*** asettle has quit IRC02:18
dkallegOr is docs.openstack.org the best there is?02:18
dkallegah ok, cool02:18
*** asettle has joined #openstack-swift02:18
dkallegI didn't realize --os-help would give more02:18
dkallegthanks02:18
dkallegI02:19
dkallegwhoops, nvm02:19
timburkethe usage strings are probably your best bet; http://docs.openstack.org/developer/python-swiftclient/ is rather api-heavy and cli-light02:19
dkallegtimburke: thanks, will give this a look02:20
mingdang1swift upload a large file,swift can split the large file to little?02:29
dkallegtimburke: one more question, the docs seem to suggest that once you set quota-bytes for an account, any put with data greater than that quota would fail.  So is this telling me the user can put an unlimited number of objects of the quota size or less?  Or is that quota size a cumulative size for all of that users objects in storage?02:30
*** ho_away has joined #openstack-swift02:32
*** asettle has quit IRC02:35
timburkedkalleg: cumulative. though it should be noted that due to eventual consistency, users may exceed their quota in some situations (or be prevented from uploading new data until account updates propagate)02:35
dkallegtimburke: gotcha, thanks again02:36
*** asettle has joined #openstack-swift02:37
*** haomaiwang has quit IRC03:01
*** 77CAAARUP has joined #openstack-swift03:01
*** sanchitmalhotra has joined #openstack-swift03:06
*** ho_away has quit IRC03:22
*** links has joined #openstack-swift03:26
jrichliacoles tdasilva: back to slo and versioning, I am wondering what container(s) we expect the user to version.  the normal container, the segment container, or both?  timburke, have you ever used slo with versioning?03:27
*** wasmum- has quit IRC03:33
*** wasmum has joined #openstack-swift03:36
jrichlior maybe if you are doing slo with versioning, you shouldn't use a different container for segments03:37
*** venkat has joined #openstack-swift03:38
openstackgerritMerged openstack/swift: Fix memory/socket leak in proxy on truncated SLO/DLO GET  https://review.openstack.org/27023403:39
*** links has quit IRC03:40
openstackgerritMerged openstack/swift: Fix memory/socket leak in proxy on truncated SLO/DLO GET  https://review.openstack.org/27023303:41
openstackgerritKazuhiro MIYAHARA proposed openstack/swift: Fix handling of "Permission Denied" error from NamedTemporaryFile function  https://review.openstack.org/27060703:44
*** asettle is now known as asettle-afk03:45
*** bill_az has quit IRC03:46
*** links has joined #openstack-swift03:48
notmynamehello, world03:49
openstackgerritKazuhiro MIYAHARA proposed openstack/swift: Fix handling of "Permission Denied" error from NamedTemporaryFile function  https://review.openstack.org/27060703:49
notmynamejust before lunch I got pulled into a all-day meeting. looks like I missed a bunch03:49
jrichlidid you accomplish great things in the meeting, though?03:52
notmyname...including peluse_ leaving. looks like clayg already made the "maybe if I -2 this, he'll stay" joke03:53
*** ho_away has joined #openstack-swift03:54
notmynamejrichli: oh, I hope so. mostly arguing, though. it was design-related stuff for some thing we're working on at swiftstack03:54
notmyname(I mean that in a friendly way)03:54
notmynameit was good03:54
jrichlii figured that is the type of arguing you meant - healthy debate!03:54
notmynamedoesn't look like the gate situation has improved any. still 32+ hours long04:00
*** 77CAAARUP has quit IRC04:01
notmynamea few things landed, but still several more in the queue before the release can be tagged. maybe it will clear out this weekend04:01
openstackgerritMichael Barton proposed openstack/swift: go: multipart writer that matches swift  https://review.openstack.org/27113104:01
*** haomaiwa_ has joined #openstack-swift04:01
*** links has quit IRC04:04
*** mrmoje has quit IRC04:09
openstackgerritOpenStack Proposal Bot proposed openstack/swift: Updated from global requirements  https://review.openstack.org/8873604:09
*** ho_away has quit IRC04:10
*** daemontool_ has quit IRC04:12
*** daemontool_ has joined #openstack-swift04:13
*** ho_away has joined #openstack-swift04:16
*** links has joined #openstack-swift04:16
*** daemontool_ has quit IRC04:18
*** links has quit IRC04:27
*** links has joined #openstack-swift04:27
openstackgerritTakashi Kajinami proposed openstack/swift: Fix proxy-server's support for chunked transferring in GET object  https://review.openstack.org/25620104:33
openstackgerritMerged openstack/swift: Bump eventlet min version to 0.17.4  https://review.openstack.org/26981104:39
*** wanghua has quit IRC04:44
*** links has quit IRC04:50
brianclineomfsm @ the gate delay04:51
*** ho_away has quit IRC04:53
jrichliacoles tdasilva timburke: I think I have answered my own question - the segment containers should specify a 'X-Versions-Location'.  each one could be different.04:54
*** links has joined #openstack-swift04:57
*** haomaiwa_ has quit IRC05:01
*** esker has joined #openstack-swift05:01
*** haomaiwang has joined #openstack-swift05:01
mahatic_peluse_: damn!05:04
*** links has quit IRC05:13
*** ppai has joined #openstack-swift05:13
*** haomaiwang has quit IRC05:13
*** dmorita has quit IRC05:19
*** links has joined #openstack-swift05:21
*** klrmn has quit IRC05:24
*** trifon has joined #openstack-swift05:31
*** esker has quit IRC05:32
openstackgerritHisashi Osanai proposed openstack/swift: Add unit tests for checking responses in AccountController  https://review.openstack.org/27114205:34
*** links has quit IRC05:36
*** links has joined #openstack-swift05:37
*** SkyRocknRoll has joined #openstack-swift05:40
openstackgerritHisashi Osanai proposed openstack/swift: Add unit tests for checking responses in AccountController  https://review.openstack.org/27114205:44
*** tdasilva has quit IRC05:45
openstackgerritMerged openstack/swift: authors and changelog updates for 2.6.0  https://review.openstack.org/26991105:49
openstackgerritMerged openstack/python-swiftclient: Use bulk-delete middleware when available  https://review.openstack.org/19088705:49
openstackgerritMerged openstack/swift: Validate X-Timestamps  https://review.openstack.org/26548805:50
briancline\o/05:53
*** links has quit IRC05:59
*** links has joined #openstack-swift06:01
*** tdasilva has joined #openstack-swift06:04
*** asettle-afk is now known as asettle06:18
*** asettle has quit IRC06:20
*** asettle has joined #openstack-swift06:20
*** links has quit IRC06:22
openstackgerritHisashi Osanai proposed openstack/swift: Fix posting accounts behavior when half of account servers downed  https://review.openstack.org/26619006:22
*** links has joined #openstack-swift06:23
ho_briancline: hello06:25
*** ChubYann has quit IRC06:26
*** venkat has quit IRC06:35
*** links has quit IRC06:46
*** venkat has joined #openstack-swift06:47
*** links has joined #openstack-swift06:50
*** asettle has quit IRC06:50
*** silor has joined #openstack-swift07:02
*** mrmoje has joined #openstack-swift07:04
*** silor has quit IRC07:07
*** silor has joined #openstack-swift07:08
mahatic_acoles_: thanks for the heads up on master merge07:08
*** links has quit IRC07:09
*** links has joined #openstack-swift07:09
*** mrmoje has quit IRC07:10
*** silor1 has joined #openstack-swift07:14
*** silor has quit IRC07:16
*** silor1 is now known as silor07:16
openstackgerritHisashi Osanai proposed openstack/swift: Add unit tests for checking responses in ContainerController  https://review.openstack.org/27116007:17
*** dmorita has joined #openstack-swift07:20
*** dmorita has quit IRC07:25
openstackgerritHisashi Osanai proposed openstack/swift: Add unit tests for checking responses in AccountController  https://review.openstack.org/27114207:28
zaitcevHmm. Looks like my hackathon invitation might have expired.07:30
*** rcernin has joined #openstack-swift07:31
*** links has quit IRC07:31
*** zaitcev has quit IRC07:35
onovyho_: hi07:40
onovyho_: just tried "your" bug in our production. r=4, geocluster, 2 regions, 2 repl / region. stopped one whole region, a+c+o07:41
onovyand guess what? everything worked fine07:41
onovyput for containers/objects is working07:41
*** links has joined #openstack-swift07:48
*** ChanServ sets mode: +v cschwede07:52
*** links has quit IRC07:54
ho_onovy: really? nice to hear it. do you have proxy log for the request? i want to see log like (200, 200, 503, 503) then 50307:55
ho_onovy: btw there is no problem on object.07:55
*** venkat has quit IRC07:57
ho_onovy: if you have log for post container/account, i would like to compare with  expected result (https://review.openstack.org/#/c/266190/3/test/unit/proxy/controllers/test_account.py)07:58
*** rledisez has joined #openstack-swift08:07
*** venkat has joined #openstack-swift08:09
*** geaaru has joined #openstack-swift08:11
*** daemontool has joined #openstack-swift08:18
*** links has joined #openstack-swift08:22
*** jith_ has joined #openstack-swift08:25
jith_hi all what is the best way to monitor the swift cluster.. i m trying to configure a statsd server with swift-recon... but stuck in between.. can anyone please provide a guiding url ?08:26
*** links has quit IRC08:35
*** venkat has quit IRC08:38
*** arnox has joined #openstack-swift08:39
onovyho_: i will download logs08:40
*** baojg has joined #openstack-swift08:44
onovyho_: don't have this lines in log at all. only Jan 22 07:30:15 sdn-swift-proxy1 swift-proxy-server: ERROR with Container server <hostname> Trying to HEAD /v1/AUTH_d_25/d_15120128: Connection refused (txn: tx644b8ee1b96143658496d-0056a1cc77)08:45
*** jmccarthy has quit IRC08:45
*** jmccarthy has joined #openstack-swift08:45
*** daemontool has quit IRC08:48
onovyho_:  i think reason is simple: proxy are using handoff location for a/c when primary fails08:48
*** daemontool has joined #openstack-swift08:48
onovyso i have (200, 200, 200, 200) i think08:48
onovyand 2 of them are handoffs08:48
*** venkat has joined #openstack-swift08:52
*** acoles_ is now known as acoles09:00
*** daemontool_ has joined #openstack-swift09:03
*** jordanP has joined #openstack-swift09:04
ho_onovy: thanks for the info. i think there is no contaier db so it will return 404. https://github.com/openstack/swift/blob/master/swift/container/server.py#L55209:05
*** daemontool has quit IRC09:06
ho_onovy: but result is fine for you :-)09:07
*** mrmoje has joined #openstack-swift09:09
acolesgood morning09:12
ho_acoles: good morning!09:12
mahatic_acoles: good morning!09:14
janonymousmorning all09:15
*** jistr has joined #openstack-swift09:15
*** mrmoje has quit IRC09:32
*** joeljwright has joined #openstack-swift09:33
*** ChanServ sets mode: +v joeljwright09:33
*** mrmoje has joined #openstack-swift09:33
acolespeluse_: https://www.youtube.com/watch?v=NuEWR-Ur0SU09:38
*** venkat has quit IRC09:38
ho_onovy: post container works if  you executes put container then post container to created container during region down09:40
*** mrmoje has quit IRC09:40
ho_onovy: if there is a container before region down. post contaienr to the contaier during region down should be failed with 503 (204, 204, 404, 404)09:42
*** venkat has joined #openstack-swift09:50
*** arnox has left #openstack-swift09:52
*** baojg has quit IRC09:52
*** arnox has joined #openstack-swift09:52
*** baojg has joined #openstack-swift09:54
onovyho_: ah! can you talk about it with my colleage "kaleta"?09:55
onovymarek will try to reproduce it inside our lab and can work on fix (if it's needed) with you09:55
onovykaleta: ^^09:55
onovyho_: in this table: http://paste.openstack.org/show/484089/ you have: container+PUT => 50309:57
onovywe created containers fine where half servers were downed09:57
*** hyakuhei_ has joined #openstack-swift09:58
*** haomaiwang has joined #openstack-swift09:59
kaletaho_: hi. If I understand you correctly, the 503 should occur with container POST when half servers down to containers created just before shutting down the servers. Am I right?10:00
*** haomaiwang has quit IRC10:01
*** haomaiwa_ has joined #openstack-swift10:01
ho_onovy: yep. detailed condition to reproduce put container failure is really rare (replica of account is moving from handoff to the target node) so it's expected with your situation10:02
kaletathanks10:05
ho_kaleta: you are right. above my commen is for put container not post container. sorry for confusion.10:10
*** mrmoje has joined #openstack-swift10:17
*** aix has joined #openstack-swift10:23
*** mrmoje has quit IRC10:30
*** haomaiwa_ has quit IRC10:32
*** esker has joined #openstack-swift10:33
*** esker has quit IRC10:38
openstackgerritMerged openstack/swift: Stop overriding builtin range  https://review.openstack.org/27054910:40
*** mingdang1 has quit IRC10:41
*** hyakuhei_ has quit IRC10:44
*** venkat has quit IRC10:48
*** ho_ has quit IRC10:48
*** baojg has quit IRC10:58
*** venkat has joined #openstack-swift11:02
*** arnox has quit IRC11:03
*** arnox has joined #openstack-swift11:04
*** arnox has quit IRC11:11
*** arnox has joined #openstack-swift11:11
*** arnox has quit IRC11:12
*** arnox has joined #openstack-swift11:12
*** arnox has left #openstack-swift11:12
*** jith_ has quit IRC11:20
*** aix has quit IRC11:23
*** fthiagogv has joined #openstack-swift11:26
*** sanchitmalhotra has quit IRC11:34
*** noark9 has quit IRC11:35
*** kei_yama has quit IRC11:36
*** aix has joined #openstack-swift11:37
*** m_kazuhiro has quit IRC11:41
*** mingdang1 has joined #openstack-swift11:44
*** ChanServ sets mode: +v tdasilva11:47
*** openstackgerrit has quit IRC11:47
*** openstackgerrit has joined #openstack-swift11:47
*** venkat has quit IRC11:50
*** haomaiwang has joined #openstack-swift11:54
*** haomaiwang has quit IRC11:58
*** venkat has joined #openstack-swift12:01
*** SkyRocknRoll has quit IRC12:03
*** km has quit IRC12:11
*** hseipp has joined #openstack-swift12:15
*** hseipp has quit IRC12:15
*** hseipp has joined #openstack-swift12:15
*** hyakuhei_ has joined #openstack-swift12:19
*** dmorita has joined #openstack-swift12:19
openstackgerritrenminmin proposed openstack/python-swiftclient: Add pre-check quota before object uploading  https://review.openstack.org/26088712:22
*** dmorita has quit IRC12:24
*** mingdang1 has quit IRC12:24
*** openstackgerrit has quit IRC12:33
*** openstackgerrit has joined #openstack-swift12:33
*** proteusguy has quit IRC12:38
*** jordanP has quit IRC12:40
acolestdasilva: jrichli: i logged a bug re the SLO versioning issue we were discussing yesterday: bug 153704212:43
openstackbug 1537042 in OpenStack Object Storage (swift) "SLO manifests become the large object when versioned" [Undecided,New] https://launchpad.net/bugs/153704212:43
acolesif people think its not a bug but desired behaviour then we can debate it there !12:43
tdasilvaacoles: thanks, looking it up now12:49
acolestdasilva:  https://gist.github.com/alistairncoles/32a3f6674abfa1cbd6e5 <- func test12:50
*** proteusguy has joined #openstack-swift12:51
acolestdasilva: i want to try that test on your patch12:51
acolestdasilva: it fails on master12:51
tdasilvammm...looking12:51
*** haomaiwang has joined #openstack-swift12:55
*** ppai has quit IRC12:58
*** bill_az has joined #openstack-swift12:59
*** silor1 has joined #openstack-swift12:59
*** haomaiwang has quit IRC13:00
*** silor has quit IRC13:02
*** silor1 is now known as silor13:02
*** daemontool_ has quit IRC13:04
*** silor1 has joined #openstack-swift13:05
*** silor has quit IRC13:06
*** silor1 is now known as silor13:06
*** marcusrafael has quit IRC13:10
*** esker has joined #openstack-swift13:15
*** hyakuhei_ has quit IRC13:16
openstackgerritMerged openstack/python-swiftclient: Convert http response(byte string) to string in python3.  https://review.openstack.org/21364013:16
*** mrmoje has joined #openstack-swift13:18
*** esker has quit IRC13:20
*** ho_away has joined #openstack-swift13:22
*** silor1 has joined #openstack-swift13:26
*** silor1 has quit IRC13:28
*** silor has quit IRC13:28
*** silor has joined #openstack-swift13:29
tdasilvaacoles: good description with the bug report and the test also looks good13:32
*** diogogmt has quit IRC13:35
*** jordanP has joined #openstack-swift13:35
*** diogogmt has joined #openstack-swift13:36
acolestdasilva: thinking about this overnight...having versioned writes do its own 'copying' does help simplify things, makes it easier to reason about what should happen with an 'internal copy' vs client COPY13:37
tdasilvaacoles: yeah, I like the idea of having more control13:38
tdasilvafor example, i was really happy with the idea of reducing that extra HEAD request13:39
acolestdasilva: yes!13:39
acolestdasilva: of course it does mean that you cannot maintain the (buggy) master behavior with SLO's without having versioned_writes call copy hooks in SLO :/ which would defeat the purpose. So let's hope it is a bug and not deliberate.13:42
*** venkat has quit IRC13:42
tdasilvaacoles: IMO it's a bug, but yeah, I think we need to get agreement from others. I think the fact that we have no cross-function testing between slo and versioning is also an argument for it being a bug13:43
tdasilvain fact, it's an area we need to work on, cross functionality testing13:43
acolestdasilva: hehe - any feature not tested is by definition a bug :P13:44
acolestdasilva: agree, i have also been thinking I'd like to see a func test job running with fast post enabled13:44
jrichliafter the large obejct is copied, you would get an error retrieving that file if it was over limit, right?  i would think that means its a bug13:45
acolesjrichli: idk, actually what happens if you do a client COPY of an SLO that is over 5GB?13:46
acolesI mean client initiated COPY request13:46
*** diogogmt has quit IRC13:47
jrichlioh, i guess i dont know.  i was stuck on what had happened with dlo post-as-copy, but its prob diff with slo normal copy since that was the designed behavior13:48
tdasilvajrichli: I don't think you get an error on a GET if object is over 5GB13:50
acolestdasilva: jrichli: how about a PUT to a versioning SLO manifest that has a Range header? Do we create a version object that is just the ranges from the original? :/13:50
tdasilvathe check is only on a PUT13:50
acolesmy money is on yes13:50
jrichlitdasilva: ah, right, of course.  again, that dlo post-as-copy had me all messed up13:51
tdasilvaacoles, jrichli: sorry, i need to run out for a couple of hours, but will be back later13:51
jrichlihave fun!13:52
jrichliacoles: thanks for writing a test.  i am excited to look at it.  I got as far as to think about how I would approach a test and to play around with some things13:52
acolesactually looks like the versioned_writes COPY does not include the Range header13:52
acolesjrichli: if you want to you could try to replicate a similar test for DLO (although the expected outcomes will differ)13:53
acolesI didn't look for a DLO+versioning test, so I guess you might want to look first13:54
jrichliacoles: sure, i can look into that.  it will be over the weekend, probably.  there is the test.functional.tests.TestObjectVersioning.test_versioning_dlo.  but i expect there could be things we can add.13:55
jrichliso, you say a "versioning manifest".  I thought versioning was dictated at a container level?13:56
*** esker has joined #openstack-swift13:56
jrichliso I was thinking for slo versioning, it would be about whether or not each segment was in a versioned container13:57
*** mrmoje has quit IRC13:57
*** mrmoje has joined #openstack-swift13:57
jrichlioh, so i guess that can still be right.  you have only been talking about actions against the manifest.13:58
jrichlithat would apply for requests against the segments13:59
jrichlii just wanted to be sure - if you have the manifest in a versioned container, that doesn't necessarily mean that the segments will be versioned.  right?13:59
*** lpabon has joined #openstack-swift14:02
*** esker has quit IRC14:03
*** mrmoje has quit IRC14:05
*** esker has joined #openstack-swift14:06
*** rledisez has quit IRC14:07
*** rledisez has joined #openstack-swift14:08
*** ho_away has quit IRC14:08
*** daemontool has joined #openstack-swift14:08
*** hyakuhei_ has joined #openstack-swift14:12
*** daemontool_ has joined #openstack-swift14:12
*** daemontool has quit IRC14:13
*** haomaiwang has joined #openstack-swift14:14
*** haomaiwang has quit IRC14:18
*** esker has quit IRC14:31
*** haomaiwang has joined #openstack-swift14:35
*** daemontool_ has quit IRC14:37
*** lcurtis has joined #openstack-swift14:38
*** haomaiwang has quit IRC14:39
*** rledisez has quit IRC14:40
*** mrmoje has joined #openstack-swift14:42
acolesjrichli: right.14:47
acolesjrichli: and when I (sloppily) say "versioning manifest" I mean a manifest in a container with X-versions-location, that will therefore experience the versioning phenomenon.14:47
*** pcaruana has joined #openstack-swift14:50
*** haomaiwang has joined #openstack-swift14:56
*** blmartin has joined #openstack-swift14:59
*** haomaiwang has quit IRC15:00
*** esker has joined #openstack-swift15:04
*** SkyRocknRoll has joined #openstack-swift15:11
*** mrmoje has quit IRC15:11
*** diogogmt has joined #openstack-swift15:12
*** haomaiwang has joined #openstack-swift15:17
*** jistr has quit IRC15:18
*** haomaiwang has quit IRC15:22
*** mrmoje has joined #openstack-swift15:30
*** mragupat has joined #openstack-swift15:30
*** arch-nemesis has joined #openstack-swift15:31
*** cebruns_ has quit IRC15:32
*** cebruns has joined #openstack-swift15:33
*** haomaiwang has joined #openstack-swift15:38
*** mrmoje has quit IRC15:38
*** rledisez has joined #openstack-swift15:40
*** arnox has joined #openstack-swift15:41
*** haomaiwang has quit IRC15:43
*** awelleck has joined #openstack-swift15:47
*** daemontool has joined #openstack-swift15:58
*** haomaiwang has joined #openstack-swift15:58
*** haomaiwang has quit IRC16:01
*** daemontool has quit IRC16:03
*** klrmn has joined #openstack-swift16:04
openstackgerritMerged openstack/swift: remove unneeded duplicate dict keys  https://review.openstack.org/27052316:04
*** mragupat has quit IRC16:12
nttHi, I have a problem with swift and bulk upload. If I create a tar.gz from fedora (locale = UTF8) with filenames with characters like àèìòù, it works. If I create the tar from windows10, characters are wrong and bulk upload doesn't work. It happens the same if I create a file from windows and I try to transfer to linux (without using swift): ls -alh show my wrong filename. Someone can help me please?16:12
*** mragupat has joined #openstack-swift16:15
*** rcernin has quit IRC16:15
*** diazjf has joined #openstack-swift16:15
*** diazjf1 has joined #openstack-swift16:17
*** trifon has quit IRC16:18
*** diazjf has quit IRC16:20
*** diazjf has joined #openstack-swift16:21
*** diazjf1 has quit IRC16:22
onovyntt: so you have problem with windows encoding, not swift and bulk upload, right? :)16:30
*** minwoob has joined #openstack-swift16:31
onovyacoles: https://review.openstack.org/#/c/270523/ // reverify is obsolete. just write "recheck" and new +A is not needed16:32
onovyrecheck = run "check" and if +2+A then run "gate"16:32
*** mrmoje has joined #openstack-swift16:34
*** awelleck has quit IRC16:35
*** arch-nemesis has quit IRC16:40
*** awelleck has joined #openstack-swift16:42
*** jistr has joined #openstack-swift16:43
*** arch-nemesis has joined #openstack-swift16:43
*** zaitcev has joined #openstack-swift16:45
*** ChanServ sets mode: +v zaitcev16:45
*** silor has quit IRC16:49
*** mrmoje has quit IRC16:52
*** mrmoje has joined #openstack-swift16:52
*** nadeem has joined #openstack-swift16:52
*** rcernin has joined #openstack-swift16:54
*** mrmoje has quit IRC16:57
*** dslevin has joined #openstack-swift16:57
*** esker has quit IRC16:59
*** hyakuhei_ has quit IRC17:00
*** zhill has joined #openstack-swift17:03
*** arnox has quit IRC17:07
*** jistr has quit IRC17:08
*** jistr has joined #openstack-swift17:09
*** rickyrem has joined #openstack-swift17:10
onovynotmyname: hi. is there any release to not release new version of swift-bench? newest version is ~2 years old and there and new features in git. Thanks17:11
onovy /any release/any reason/17:11
*** jistr has quit IRC17:14
*** jistr has joined #openstack-swift17:17
*** rledisez has quit IRC17:17
rickyremDo any of you know of a guide to reset swift with no containers?17:21
*** haomaiwa_ has joined #openstack-swift17:21
*** klrmn has quit IRC17:23
*** haomaiwa_ has quit IRC17:26
*** esker has joined #openstack-swift17:27
timburkejrichli: it depends on how you use it. in the general case, i think you're right; the segments contain will need versioning as well, although until patch 214922 there won't be any protection against deletes. if you're always using swiftclient, it's default behavior will get in your way; on overwrites, it'll want to clean up the old segments by default. if you're diligent enough to always use --leave-segments (or are using the API and17:27
timburkealways create your SwiftService with 'leave_segments': True), you could probably get away with not versioning the segments container at all; it bakes in the file's size and mtime (or the current time) when uploading, so collisions seem unlikely. it won't protect against an attacker, but it should be sufficient for a fair number of uses17:27
*** gyee_ has joined #openstack-swift17:27
patchbottimburke: https://review.openstack.org/#/c/214922/ - Add delete markers to versioned_writes middleware17:27
*** nadeem has quit IRC17:32
*** nadeem has joined #openstack-swift17:32
*** fthiagogv has quit IRC17:33
*** dmorita has joined #openstack-swift17:33
*** dmorita has quit IRC17:33
*** dmorita has joined #openstack-swift17:34
*** joeljwright has quit IRC17:34
*** dmorita has quit IRC17:35
timburkerickyrem: `swift delete --all` will walk an entire account and attempt to delete all objects and containers. alternatively, if you don't actually want the account any more (and the cluster has allow_account_management turned on), you can delete the account itself; subsequent requests will (iirc) return a 410 Gone until the account reaper has had time to clean up all the objects and containers17:35
*** dmorita_ has joined #openstack-swift17:35
*** mrmoje has joined #openstack-swift17:36
rickyremtimburke: I moved my drives arround and cleaned them out outside of Swift.17:37
rickyremI rebuilt my rings, but the storage nodes are still aware of the old drives for some reason.17:38
*** haomaiwang has joined #openstack-swift17:42
*** jordanP has quit IRC17:42
*** hyakuhei_ has joined #openstack-swift17:42
*** esker has quit IRC17:44
*** mrmoje has quit IRC17:45
*** haomaiwang has quit IRC17:47
timburkewere these just the drives from the object ring(s), or the account and container rings as well? and were these all pulled and cleaned at once, or over some period of time? i'd expect that either (1) this was done gradually, so from swift's perspective it looked like a bunch of drive failures and replacements17:48
timburkeor (2) this was done immediately, but only for the object ring(s), so there are container dbs out there that think some objects exist when they don't. and assuming no tombstone files were written as part of the cleanup, swift's processes (container-updater, maybe? i forget) won't know to fix them17:48
rickyremI rebuilt the account, object, and container rings at the same time.17:50
rickyremThe drives that are now part of those new and old rings were rm -rf'ed17:50
-openstackstatus- NOTICE: Restarting zuul due to a memory leak17:51
rickyremIs there something else I can delete to make Swift act like this is it's first time running?17:52
*** esker has joined #openstack-swift17:52
*** thumpba has joined #openstack-swift17:54
openstackgerritTim Burke proposed openstack/python-swiftclient: Include response headers in ClientExceptions  https://review.openstack.org/26938217:56
*** jistr has quit IRC17:57
notmynameonovy: good question. I know I looked at it a while back, but for whatever reason I didn't follow through with a release. I'll look into it again, soon17:58
*** mragupat has quit IRC17:58
openstackgerritTim Burke proposed openstack/python-swiftclient: Accept gzip-encoded API responses  https://review.openstack.org/18495618:00
*** 14WAAR75L has joined #openstack-swift18:03
openstackgerritTim Burke proposed openstack/python-swiftclient: Prompt for missing password  https://review.openstack.org/18938718:03
*** esker has quit IRC18:05
*** 14WAAR75L has quit IRC18:08
openstackgerritTim Burke proposed openstack/python-swiftclient: Add --decode-content option  https://review.openstack.org/18495718:08
*** hyakuhei_ has quit IRC18:11
*** hseipp has quit IRC18:12
*** klrmn has joined #openstack-swift18:16
*** haomaiwang has joined #openstack-swift18:24
*** haomaiwang has quit IRC18:29
*** nadeem has quit IRC18:33
tdasilvaacoles, jrichli: back..looking through your comments on the patch right now, thanks for the review18:34
*** jordanP has joined #openstack-swift18:36
acolestdasilva: np. the EC response not having swift_x_timestamp took some tracking down. I thought I had a fix but some unit tests are now failing, I think because timburke said that time can't be negative anymore.18:38
acolesthat'll teach me to rebase!18:38
*** geaaru has quit IRC18:38
*** lpabon has quit IRC18:40
*** haomaiwang has joined #openstack-swift18:45
*** jordanP has quit IRC18:46
onovynotmyname: thanks18:48
tdasilvaacoles: hmm..interesting..so is using x-timestamp a possiblity?18:48
acolestdasilva: it should work, i think i have a local problem with the unit test making the epoch into negative time float :/ my machine thinks it has DST, i'm confused!18:49
*** haomaiwang has quit IRC18:49
acolestdasilva: gotta go, back on it next week, have a good weekend18:50
*** acoles is now known as acoles_18:51
*** ChubYann has joined #openstack-swift18:54
timburkeacoles_: i can't help but wonder why you wanted a negative timestamp...i was pushing to allow them originally, but clayg said no (paraphrasing) :(18:57
*** PsionTheory has joined #openstack-swift19:01
notmynameah, cool. looks like just one more patch in the gate queue that is referenced in this release19:05
notmynamepatch 20580319:05
patchbotnotmyname: https://review.openstack.org/#/c/205803/ - Container-Sync to iterate only over synced containers19:05
notmynameestimated ~1 hour more19:06
*** haomaiwang has joined #openstack-swift19:06
*** haomaiwang has quit IRC19:11
claygtimburke: I really just said "this makes my brain hurt - what's the use case" and then you changed to the patch get rid of a 500 and without making my brain hurt so we merged it19:11
claygtimburke: acoles_: if there's a use case for negative timestamps I'm all ears!19:11
*** rcernin has quit IRC19:12
*** esker has joined #openstack-swift19:13
notmynametorgomatic: your patch 252096 has 2 +2s and another +1 from a core. do you have any idea why it doesn't have a +A?19:14
patchbotnotmyname: https://review.openstack.org/#/c/252096/ - Allow smaller segments in static large objects19:14
notmynamecschwede: ^ you were 2nd +219:15
openstackgerritPaul Dardeau proposed openstack/swift: Remove limit of 64K devices  https://review.openstack.org/26492219:17
*** mragupat has joined #openstack-swift19:19
openstackgerritOndřej Nový proposed openstack/swift-bench: Bump eventlet min version to 0.17.4  https://review.openstack.org/27148719:22
*** chmouel_ is now known as chmouel19:25
*** haomaiwang has joined #openstack-swift19:27
*** haomaiwang has quit IRC19:32
*** bjkeller has joined #openstack-swift19:35
*** haomaiwang has joined #openstack-swift19:48
*** haomaiwang has quit IRC19:53
*** zhill has quit IRC19:53
*** zhill_ has joined #openstack-swift19:53
*** hyakuhei_ has joined #openstack-swift20:04
*** haomaiwang has joined #openstack-swift20:09
*** haomaiwang has quit IRC20:13
*** lpabon has joined #openstack-swift20:14
*** pcaruana has quit IRC20:14
*** esker has quit IRC20:16
*** esker has joined #openstack-swift20:17
*** haomaiwang has joined #openstack-swift20:30
*** haomaiwang has quit IRC20:34
*** hyakuhei_ has quit IRC20:46
*** acoles_ is now known as acoles20:52
acolestimburke: clayg the result of this line https://github.com/openstack/swift/blob/master/swift/common/middleware/versioned_writes.py#L212-212 is negative if the last-modified time is <hour after the epoch *and* your machine timezone is not UTC. tdasilva's patch 260179 coincidentally changes a unit test to use 1 sec after the epoch. so it broke after rebase onto master on my machine.21:03
patchbotacoles: https://review.openstack.org/#/c/260179/ - decouple versioned writes from COPY21:03
acolesafter an hour trying to understand python timezone handling and mktime() i just changed my timezone to UTC :)21:04
timburketime is hard :(21:04
*** mrmoje has joined #openstack-swift21:05
acolesi still don't really understand it :/ nor if there's a real world bug there if a timestamp is within hours of the epoch21:06
acoles'it' being localtime handling21:06
*** number80 is now known as hguemar21:06
*** hguemar is now known as number8021:07
acolestimburke: the good news is that in my timezone it is beer time :)21:09
*** acoles is now known as acoles_21:12
*** marcusvrn_ has quit IRC21:17
timburkethat certainly *seems* like a bug; we're getting a GMT last-modified header, parsing it, and replacing the tzinfo with our local tz21:20
*** nadeem has joined #openstack-swift21:23
*** luksaur has quit IRC21:23
timburkelooks like we want calendar.timegm instead of time.mktime?21:26
pdardeauredbo: thx for having a look at patch 26492221:26
patchbotpdardeau: https://review.openstack.org/#/c/264922/ - Remove limit of 64K devices21:26
*** nadeem has quit IRC21:26
*** nadeem has joined #openstack-swift21:27
pdardeauredbo: would you recommend changing both methods to standalone functions?21:27
redboI think so.  Since they don't actually touch anything in the class or instantiate it.21:31
timburkeoh man, see how smart clayg is? versioned_writes would've been all kinds of sad if i'd allowed negative timestamps! everything before 1970 would've come out in reverse!21:38
torgomaticisn't that the plot of Back to the Future or something?21:42
*** cebruns has quit IRC21:44
*** cebruns has joined #openstack-swift21:46
*** eranrom has joined #openstack-swift21:47
*** pcaruana has joined #openstack-swift21:48
*** dkalleg has left #openstack-swift21:50
*** rcernin has joined #openstack-swift21:52
*** cebruns has quit IRC21:53
*** haomaiwang has joined #openstack-swift21:53
*** cebruns has joined #openstack-swift21:55
*** awelleck1 has joined #openstack-swift21:56
*** haomaiwang has quit IRC21:57
*** awelleck has quit IRC21:58
*** mragupat has quit IRC21:59
*** nadeem has quit IRC22:00
*** hyakuhei_ has joined #openstack-swift22:01
pdardeauredbo: i had one of those methods as classmethod and the other as staticmethod -- which is wonky22:02
pdardeauredbo: the reason for marking staticmethod was in hopes of making things more understandable from where they're called.22:03
*** nadeem has joined #openstack-swift22:03
pdardeauso that seeing RingData.create_part2dev_array might be more meaningful than just create_part2dev_array. or at least that was my thinking22:04
jrichlitimburke: thanks for the good info!22:05
openstackgerritTim Burke proposed openstack/swift: Use calendar.timegm not time.mktime  https://review.openstack.org/27154222:13
timburkeacoles_: ^^22:13
*** minwoob has quit IRC22:18
*** mrmoje has quit IRC22:18
*** blmartin has quit IRC22:20
*** haomaiwang has joined #openstack-swift22:33
*** haomaiwang has quit IRC22:38
*** PsionTheory has quit IRC22:38
claygtimburke: point of fact - clayg is exceptionally dumb - which just happens to be a benifit in working on distributed systems because it tends to keep you from trying to be too clever for your own good22:40
claygtimburke: something about "If the implementation is easy to explain, it may be a good idea"22:41
*** hyakuhei_ has quit IRC22:46
openstackgerritMerged openstack/swift: Container-Sync to iterate only over synced containers  https://review.openstack.org/20580322:49
notmynameyay!22:50
notmynameso I've asked for permission to do the 2.6.0 release22:50
notmynamehttps://review.openstack.org/#/c/271555/22:50
notmynameso when that one lands, we'll have it22:51
*** rcernin has quit IRC22:53
*** rickyrem has left #openstack-swift22:57
*** diazjf has quit IRC22:58
*** bjkeller has left #openstack-swift23:03
*** jamielennox is now known as jamielennox|away23:15
*** awelleck1 has quit IRC23:16
*** nadeem has quit IRC23:22
*** shakamunyi has quit IRC23:22
*** bill_az has quit IRC23:34
*** thumpba has quit IRC23:34
*** lcurtis has quit IRC23:45

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