Wednesday, 2014-03-26

*** saschpe has quit IRC00:00
*** Trozz has joined #openstack-swift00:03
*** saschpe has joined #openstack-swift00:07
openstackgerritA change was merged to openstack/swift: Make initialization test failure more explicit  https://review.openstack.org/8268800:13
*** krtaylor has joined #openstack-swift00:20
*** d89 has joined #openstack-swift00:26
*** matsuhashi has joined #openstack-swift00:27
*** h6w has left #openstack-swift00:28
*** piousbox has quit IRC00:32
*** h6w has joined #openstack-swift00:35
openstackgerritJohn Dickinson proposed a change to openstack/swift: Bump up sleep when expecting a timeout  https://review.openstack.org/8266400:35
* h6w thinks that that patch could be applied to life in general. ^^ :-p00:36
h6wAside from specifying affinity, is there any difference between adding a proxy server locally and adding a proxy server globally?  I'm specifically concerned about traffic between the geographically-disparate proxies.00:39
*** mlipchuk has quit IRC00:39
*** zaitcev has quit IRC00:45
*** shri has quit IRC00:49
*** byeager has quit IRC00:52
h6wHmmm.  Maybe I've done this a bit wrong.  Can a storage node bind to more than one IP?00:52
*** byeager has joined #openstack-swift00:52
h6wI have local and VPN-based networks with the local proxy only being on the local network in each case.  But this means that each storage node needs a local IP and  VPN IP.00:54
*** occupant has joined #openstack-swift00:56
*** byeager has quit IRC00:57
h6woic, maybe.  The "ip" should be the local IP and the "replication_ip" should be the VPN IP?00:57
*** godb has joined #openstack-swift01:04
openstackgerritClay Gerrard proposed a change to openstack/swift: Add object-reconciler daemon  https://review.openstack.org/8073001:04
godbhi, how can i use "rexpirer.py" script? it is not operation01:04
*** changbl has joined #openstack-swift01:12
*** matsuhashi has quit IRC01:12
godbi want delete dummy .ts file01:13
godbhow can i delete that?01:14
*** matsuhashi has joined #openstack-swift01:14
claygis this related to bug # https://bugs.launchpad.net/swift/+bug/125733001:15
clayggodb: ^01:15
godbclayg : hi, thx your answer.01:19
godbclayg : i did check it. and see https://gist.github.com/gholt/7777637 (external script)01:19
godbbut i don't know how can i running this scirpts.01:20
godbwhen i running this scripts. but, there is no response01:21
godbmy swift version 1.13  previous version 1.10 (last week upgrade)01:23
*** nosnos has joined #openstack-swift01:27
openstackgerritClay Gerrard proposed a change to openstack/swift: additional functional tests for account acls  https://review.openstack.org/8007301:30
openstackgerritClay Gerrard proposed a change to openstack/swift: Clean up Account ACL sysmeta in AccountController  https://review.openstack.org/8014001:30
openstackgerritClay Gerrard proposed a change to openstack/swift: Harden v2 common.middleware.acl interface  https://review.openstack.org/8018801:30
openstackgerritClay Gerrard proposed a change to openstack/swift: additional functional tests for account acls  https://review.openstack.org/8007301:31
openstackgerritClay Gerrard proposed a change to openstack/swift: Clean up Account ACL sysmeta in AccountController  https://review.openstack.org/8014001:31
openstackgerritClay Gerrard proposed a change to openstack/swift: Harden v2 common.middleware.acl interface  https://review.openstack.org/8018801:31
claygsorry, forgot to amend the commit msg01:31
claygthe script eats logs via stdin01:32
claygyou need to find the logs from your expirer while the expirer was effected and feed it to them via stdin01:32
*** krtaylor has quit IRC01:34
clayggodb: ^01:34
*** csd has quit IRC01:42
godbclayg : unfortunately, i was deleted last log file.01:45
godbthe day before yesterday.01:45
claygyeah that sucks, we really need a patch for the auditor zbf that looks for the x-delete-at metadata and just purges data files outside of a window01:46
claygit's sorta trixy though :\01:46
godbthen.. if i try to delete tombstone file then swift all clear?01:47
claygyou could probably suss out the object list from the deleted rows in the .expiring_objects container dbs - or just walk the objects dir "by hand" and pull out expired diskfiles01:47
*** wer_mocha is now known as wer01:47
clayggodb: well the bug was that the tombstone never got created, the .data files were left around on disk expired but the rows in the .expiring_object's containers were removed so they weren't retried01:48
godb.expiring_object is exist container db??01:49
clayg.expiring_objects is a system account, it'll have some containers under it, the rows in the containers represent objects to be expired01:50
*** mkollaro has quit IRC01:51
*** d89 has quit IRC01:51
godbhum.. if i delete expire file (.ts file and directory) directly. i worried confilct sqlite3 database .. there any no problems??01:52
godbor.. need to change any value in the sqlite3 database ?01:53
clayggodb: yeah expired object effected by that bug still had a row in their container databases IIRC01:53
clayggodb: probably better just to make the delete with the correct x-if-delete-at header via internal_client and let the container updates propogate like normal01:54
claygthe trick is finding the .data files that are expired weren't deleted01:54
clayg*expired _but_ weren't deleted01:55
godbthat's good. i try it.01:55
godband. i saw empth director in the container partition01:56
godbcan i delete these??01:56
godbempty eirectory01:56
claygif you get a chance you might grep around for 'Object audit (ALL) "forever" mode completed' - and see what the cycle time is on your auditors - it be a good proxy for how long it'd take to find expired .data files walking the tree directly01:56
claygthe directory name was just like a 3 char hex string?  (a suffix)01:57
godbno it is number01:57
godb like this /sdb1/containers/15313001:58
claygso /srv/node/sdb/containers/<part> where part is an ...01:58
claygyeah so thats' the partition01:58
godbcan i delete this empty dir?01:58
claygwellllll yeah if it's empty you can - but that sort of cleanup is normally the replicators job - lemme look at some code01:59
godbthx.:) .. last one more question.01:59
godbmy swift version is 1.13.02:00
*** matsuhashi has quit IRC02:00
godbthe bug that replicator can't delete expire object (.ts file and director)  is fix cleraly? in 1.13 version?02:01
clayghrm... yeah it looks like the container replicator doesn't clear up the partition dirs?02:02
godbyeah.02:02
claygthe expiring object but that caused expired objects to not be deleted is fixed in 1.1302:03
claygbut it couldn't retroactivly issues delete's for the previously expired but not deleted objects02:03
godbthat very good job!! .. my swift suffer from many inode .. :(02:04
claygi'll have to file a bug on container-replicators not cleaning up handoff partitions... seems very strange02:04
godbme too. the count of dir in the contaeinrs partition is 28302:05
godbbut empty dirs are 21402:05
godbtotal : 283 .. empty 21402:06
*** d89 has joined #openstack-swift02:07
*** matsuhashi has joined #openstack-swift02:08
godbi will check more that issue.02:08
clayggodb: https://bugs.launchpad.net/swift/+bug/129758002:11
godbclayg : thx. i will more check it.02:12
*** saschpe has quit IRC02:24
godb!Æ®·¹ÀÌ02:25
godb¢Æ Zero IRC ¢Æ < Æ®·¹ÀÌ»óÅ·ΠÀüȯÇÕ´Ï´Ù! >02:25
openstackgodb: Error: "Æ®·¹ÀÌ" is not a valid command.02:25
*** saschpe has joined #openstack-swift02:27
*** krtaylor has joined #openstack-swift02:38
portanteclayg, notmyname, dfg, others: the in-process functional tests were very helpful in finding the proxy-logging bug today, I did there work on that branch first and then moved it to master02:42
portanteI think it will be a very useful addition to help debug these situations02:43
claygportante: did you fix the thing where they don't work for that one test that was broken?02:43
portanteclayg: I believe I did, but let me double check02:43
openstackgerritClay Gerrard proposed a change to openstack/swift: Fix PUT to existing container w/o specific storage policy  https://review.openstack.org/8259002:45
openstackgerritClay Gerrard proposed a change to openstack/swift: Container Confict on obj update with wrong Storage-Policy-Index  https://review.openstack.org/7973102:45
portanteclayg: all the functional tests in-process are OKs, except 3 SKIPs, the test_tempauth_account_acls and the two test_file_size_limit runs02:48
portanteI think notmyname's patch fixes the tempauth one, right?02:48
claygno02:49
portanteokay, I'll track down why they are skipped02:49
claygwell i mean when I was testing the in-process tests I just fixed test_tempauth_account_acls by hand (as far as the container_info call goes) because I'd already fixed in the account_acl func test patch and it was still broken because it was re-reading the test.conf from disk and going and talking to my real servers or some crazyness - it was terrible02:50
claygjust make your change dependent on notmynames fix and work from there, I think you just need to say something like get_config... well I don't remember - it's whatever I ended up doing in the acct acl func test patch02:50
claygoh ptpthht - which i'm fixing a pep8 issue on now02:51
portanteokay, thanks, now I remember us discussion that, I'll do that02:51
openstackgerritYuan Zhou proposed a change to openstack/swift: Update swift-get-nodes to use storage_directory util func  https://review.openstack.org/8296802:52
openstackgerritClay Gerrard proposed a change to openstack/swift: additional functional tests for account acls  https://review.openstack.org/8007302:53
openstackgerritClay Gerrard proposed a change to openstack/swift: Clean up Account ACL sysmeta in AccountController  https://review.openstack.org/8014002:53
openstackgerritClay Gerrard proposed a change to openstack/swift: Harden v2 common.middleware.acl interface  https://review.openstack.org/8018802:53
*** gyee has quit IRC02:56
werwhat does it mean when an object gets .temp added to it?  I fear bad.02:56
claygprobably just a cancled upload02:57
claygyeah nm, i thought those went in /srv/node/device/tmp anyway... what do you mean ".temp added to it"02:58
werI ran swift upload some_container foo.xml and it 500'd :/  And now I have some_container/foo.xml.temp03:00
werThe cluster has a lot of writes happening right now... but I have never 500'd when attempting to upload something :/03:00
claygnot sure on that one, swift won't create an object name like that - and I don't see how swiftclient would do it either03:02
claygnormally a 500 just ends up looking the object upload never happened03:03
werok maybe it is unrelated.... it possible that file is legit or something.03:03
claygsometimes (if one of the backend nodes was successful) you can get a 500 and still have the object exist - but it has to be on the very last byte, so it's pretty rare03:03
claygeither way it ends up having the same name - or it's not there at all (common case)03:03
werok.  I must not be chasing the right thing.03:04
claygyou could try and find the trasnaction id of the 500'd request and dig for more info wrt what happened on the backend03:04
claygChunkWriteTimeout or some such most likly03:04
weryeah clarkb I think I saw some of those.  I am worried I am in a weird state.03:05
werObject HEAD failed is  what repeated attempts to upload gives me.  Ill dig in the logs.03:06
werit's just that one object :)  I can't seem to stat it from any of the nodes so far.03:10
werok I found the tx where it got deleted.03:12
werI see an object-server 204 the DELETE and the proxy 204.  Shouldn't I see two other object server DELETE requests if I have replication at 3?03:14
openstackgerritYuan Zhou proposed a change to openstack/swift: Indicate default storage policy in /info response  https://review.openstack.org/8296903:14
*** matsuhashi has quit IRC03:15
claygyuan: json has a boolean type bro ;)03:26
yuanclayg: ahh, thanks. will update it.03:28
*** nosnos has quit IRC03:28
Anju1notmyname, clayg : hii03:35
Anju1does swift provide any any api to create and delete metadata ata the same time ?03:36
claygAnju1: like create/update one key and remove a diferent key in the same request - yes03:37
Anju1clayg:  hii , https://github.com/openstack/tempest/blob/master/tempest/api/object_storage/test_account_services.py#L33603:38
Anju1can you please check this test03:38
openstackgerritYuan Zhou proposed a change to openstack/swift: Indicate default storage policy in /info response  https://review.openstack.org/8296903:40
claygAnju1: where is self.account_client.create_and_delete_account_metadata defined at?03:41
Anju1https://github.com/openstack/tempest/blob/master/tempest/services/object_storage/account_client.py#L9403:41
Anju1clayg:  ^^^03:42
dfgportante: i just meant to time from the proxy logging middleware to the proxy server itself- to see the overhead of all the middleware we have by itself. anyway- nm.03:48
claygAnju1: yeah i just tested it and it works for me - i stared at the test case for awhile but nothing jumps out at me03:48
Anju1clayg:   https://github.com/openstack/tempest/blob/master/tempest/services/object_storage/account_client.py#L94 did you check the method03:49
portantedfg: I think that would be interesting and easy to do with this change.03:51
claygAnju1: yeah it looked fine at first glance, i'd have to step through it - but at lest you know to keep digging -> https://gist.github.com/clayg/977670603:53
madhuriclayg: Thanks for reviewing :)04:09
claygdoes that container-info change conflict with the account-info change?04:09
claygi feel like they both wanted to update the man pages or something04:09
claygsame nit on account-info RE "Account_hash" btw04:09
madhurino04:12
madhuriclayg: Yes, I noticed that04:12
madhuriclayg: what happens when more than 1024 arrives at proxy server at a time?04:24
*** matsuhashi has joined #openstack-swift04:25
madhuriDoes it start discarding the requests?04:25
openstackgerritMORITA Kazutaka proposed a change to openstack/swift: Remove spaces between hacking rules  https://review.openstack.org/8298404:26
claygyou mean a single worker - and no eventlet.wsgi just stops accepting the sockets - eventually the tcp layer in linux probably backs up04:26
Anju1clayg: if we can use the remove header for removing the metadata  ,04:30
Anju1then what is the usability  of passing a metadata without any value04:31
claygi think the -remove was added before curl supported the -H 'header-value;' syntax for sending empty headers04:32
claygAnju1: so the -remove thing was just a friendly thing for clients that didn't like to send empty headers...04:32
claygAnju1: both will be supported04:32
openstackgerritMORITA Kazutaka proposed a change to openstack/swift: Update swift3 repository  https://review.openstack.org/8298504:33
*** nosnos has joined #openstack-swift04:36
claygwe just forked fujita? - hopefully he an update his README to reflect the new project home and we can get some original authorship credits for him on the stackforge project04:38
*** Manish_ has joined #openstack-swift04:39
Manish_Hi Clayg.....I have one query here04:39
* clayg feels like the late night swift support team - hugokuo where you at my man? :P04:40
claygManish_: what's up?04:41
Manish_ if somehow all the request are coming for one partition , so after some time that partition will be full and that partition will not be able to handle more data. What will happen in this scenario and Is there a mechanism to avoid this scenario?04:41
hugokuowasup04:41
claygif a storage node gets full it returns 507, the proxy will error limit the node, and new data will be placed on handoff04:42
*** creiht has quit IRC04:43
clayggenerally speaking (and emperically verified with monitoring data on most well operated clusters) the data per drive (typically with 100's or 1000's of partitions) is well distributed within 5-10%04:43
Manish_So, we have handled this scenario but haven't define a way to avoid this. Right?04:43
* hugokuo Manish_: am curious about the partition in your definition. Do you mean a physical disk or the logical partition number in Swift ?04:44
claygthe indroduction of the hash_path_suffix stuff very early on (pre-opensource IIRC) was added specifically to avoid being able to pre-calculate the partition for an object without the secret04:44
Manish_partition here is a logival directory on a disk04:45
Manish_ok..04:46
hugokuok04:46
Manish_So handoff is for storage node...but there is a possibility(although very-very thin possibility) that one partition gets all the requests accidently..right?04:47
Manish_all request ...means sufficient number of requests to full that partition04:48
hugokuohmm.... It's possible. But the chance is quite low tho. At least not in my life.   If the average object size is relevant large, then the chance is higher. Large I mean to contract the disk size.04:52
claygif you have small disks or you're running with a small part power you can tweek your max object size to force your clients to help you get your varience back in check04:53
* hugokuo if there're 20 100GB disks in your cluster. And the average object size about 4GB. Then it has higher chance to full a single drive. 04:53
* hugokuo clayg you are really my dude..... 04:54
* clayg hoping hugokuo is going to be in ALT?04:54
hugokuoSo if any object larger than the max_object_size, jut to ask clients using manifest feature for uploading larger object. You will have better distribution rate.04:56
hugokuoclayg: I think yes. A session was accepted ...04:56
* hugokuo manifest means SLO or DLO...04:56
Manish_ Ok...so if one storage node is full, new data will be placed on handoff node. Now in this case  ,for object GET it will have to read object from handoff node.. thus there must be some special handling..04:56
claygthe same error limiting applied on the PUT will apply to the GET - proxy'll find the handoffs pretty quick04:57
hugokuoSame philosophy .... proxy-server is super ...04:57
claygbut I'm worried that you're worrying about this?  Are you trying to run with a really low part power or do you not really follow that swift's distribution making for effectively event drive utilization isn't like a property of good luck or something?04:59
Manish_I am just curious about these corner cases...:)05:00
claygoic05:00
claygmake a ring with a really small part power and upload more than 2 ** part_power objects - about half small and half large05:01
Manish_Sorry..if i am troubling much....05:01
claygthen upload another 2 ** part_power objects with a similar split and watch your utilization per disk start to drift apart05:01
claygif you keep at you'll be able to get one of them filled up and you start to poke at swift's error limiting and stable handoffs05:02
claygvagrant-swift-all-in-one let's you play around with different numbers of devices and part_power pretty easily05:03
Manish_ok...05:03
*** Midnightmyth has joined #openstack-swift05:04
Manish_So, if my PUT request has gone to Handoff node and later on i am trying GET that object....So does ring directly provides me the address of Handsoff node or is there some other mechanism?05:04
claygManish_: it's no big deal, I struggled with it for awhile as well, even distribution of the number of objects per partition didn't seem like it would be enough to satisfy even drive utilization, but with a reasonablly size part_power I've come to grok that it does - because math05:05
claygyeah it's in the ring - play with swift-get-nodes05:05
hugokuoswift-get-nodes /etc/swift/object.ring.gz AUTH_OH yeah swift.obj05:07
Manish_Ok..thanks alot for the help Clayg05:07
claygyou should do the small part power upload lots of objects thing - I think it would be really interesting to see a write up on it if you took some notes05:08
*** ppai has joined #openstack-swift05:18
*** Longgeek_ has joined #openstack-swift05:19
*** Longgee__ has joined #openstack-swift05:20
*** Longgeek_ has quit IRC05:24
Manish_ok05:33
*** Longgee__ has quit IRC05:39
*** Diddi has joined #openstack-swift06:08
*** Midnightmyth has quit IRC06:10
*** bvandenh has quit IRC06:13
werclayg: BTW that 500 problem was all me. I did it :)06:17
*** saju_m has joined #openstack-swift06:19
*** mmcardle has joined #openstack-swift06:26
*** mmcardle has quit IRC06:31
*** nshaikh has joined #openstack-swift06:32
*** matsuhashi has quit IRC06:33
*** matsuhashi has joined #openstack-swift06:35
*** psharma has joined #openstack-swift06:37
*** matsuhas_ has joined #openstack-swift07:03
*** matsuhas_ has quit IRC07:04
*** matsuhas_ has joined #openstack-swift07:06
*** matsuhashi has quit IRC07:07
openstackgerritA change was merged to openstack/swift: Added swift-container-info tool.  https://review.openstack.org/8196807:07
*** saju_m has quit IRC07:13
openstackgerritA change was merged to openstack/swift: Indicate default storage policy in /info response  https://review.openstack.org/8296907:32
*** matsuhas_ has quit IRC07:59
*** matsuhashi has joined #openstack-swift08:04
*** bvandenh has joined #openstack-swift08:07
openstackgerritClay Gerrard proposed a change to openstack/swift: Add object-reconciler daemon  https://review.openstack.org/8073008:11
openstackgerritChristian Schwede proposed a change to openstack/python-swiftclient: Add functional tests for python-swiftclient  https://review.openstack.org/7635508:14
godb!Æ®·¹ÀÌ08:29
godb¢Æ Zero IRC ¢Æ < Æ®·¹ÀÌ»óÅ·ΠÀüȯÇÕ´Ï´Ù! >08:29
openstackgodb: Error: "Æ®·¹ÀÌ" is not a valid command.08:29
*** chandankumar_ has joined #openstack-swift08:42
*** nshaikh has quit IRC08:44
*** mlipchuk has joined #openstack-swift08:52
*** saschpe has quit IRC08:54
*** saschpe has joined #openstack-swift09:03
*** mmcardle has joined #openstack-swift09:18
*** mmcardle1 has joined #openstack-swift09:19
*** mmcardle has quit IRC09:19
*** godb has quit IRC09:20
*** Trozz has quit IRC09:28
*** Trozz has joined #openstack-swift09:29
*** Trozz_ has joined #openstack-swift09:30
*** Trozz_ has quit IRC09:30
*** Trozz has quit IRC09:30
*** Trozz has joined #openstack-swift09:31
*** d89 has quit IRC09:31
*** Trozz_ has joined #openstack-swift09:31
*** mich5225 has joined #openstack-swift09:32
*** Trozz has quit IRC09:33
*** Trozz_ has quit IRC09:33
*** mich5225 has quit IRC09:33
*** Trozz has joined #openstack-swift09:33
*** mmcardle1 has quit IRC09:36
*** mmcardle has joined #openstack-swift09:39
*** Trozz has quit IRC09:39
*** Trozz has joined #openstack-swift09:40
*** Trozz has quit IRC09:40
*** gvernik has joined #openstack-swift09:41
*** Trozz has joined #openstack-swift09:43
*** Trozz has quit IRC09:45
*** Manish_ has quit IRC10:08
*** matsuhashi has quit IRC10:09
*** dmorita has joined #openstack-swift10:09
*** Trixboxer has joined #openstack-swift10:10
*** chandankumar_ has quit IRC10:22
*** nacim has joined #openstack-swift10:24
*** mkollaro has joined #openstack-swift10:25
openstackgerritChristian Schwede proposed a change to openstack/swift: Add containeralias middleware  https://review.openstack.org/6249410:31
*** Trozz has joined #openstack-swift10:31
*** Trozz has quit IRC10:34
*** matsuhashi has joined #openstack-swift10:39
*** Trozz has joined #openstack-swift10:41
openstackgerritA change was merged to openstack/swift: fix a skipped account ACLs functional test  https://review.openstack.org/8292210:41
*** Trozz has quit IRC10:42
*** Trozz has joined #openstack-swift10:44
*** Trozz has quit IRC10:45
*** mmcardle1 has joined #openstack-swift10:54
*** mkollaro has quit IRC10:54
*** mmcardle has quit IRC10:57
*** saju_m has joined #openstack-swift11:20
*** Trozz has joined #openstack-swift11:23
*** Trozz has quit IRC11:23
*** Trozz has joined #openstack-swift11:29
*** Trozz has quit IRC11:36
*** Diddi has quit IRC11:40
*** nshaikh has joined #openstack-swift11:42
*** Trozz has joined #openstack-swift12:02
*** ppai has quit IRC12:02
*** Trozz has quit IRC12:03
*** mlipchuk has quit IRC12:05
*** matsuhashi has quit IRC12:10
*** matsuhashi has joined #openstack-swift12:11
*** mmcardle1 has quit IRC12:13
*** matsuhas_ has joined #openstack-swift12:13
*** matsuhashi has quit IRC12:13
*** mmcardle has joined #openstack-swift12:13
*** mkollaro has joined #openstack-swift12:15
*** ppai has joined #openstack-swift12:16
*** mmcardle has quit IRC12:16
*** mkollaro has quit IRC12:21
*** mlipchuk has joined #openstack-swift12:23
*** JuanManuelOlle has joined #openstack-swift12:24
*** mkollaro has joined #openstack-swift12:36
*** ppai has quit IRC12:39
*** mmcardle has joined #openstack-swift12:44
*** mmcardle has quit IRC12:48
*** ppai has joined #openstack-swift12:52
*** dmorita has quit IRC12:54
*** mmcardle has joined #openstack-swift13:00
*** JuanManuelOlle has quit IRC13:01
*** tanee-away is now known as tanee13:01
*** mlipchuk has quit IRC13:01
*** tanee is now known as tanee-away13:01
*** matsuhas_ has quit IRC13:07
*** jairo has quit IRC13:08
*** tanee-away is now known as tanee13:16
*** mlipchuk has joined #openstack-swift13:16
*** ppai has quit IRC13:20
*** ppai has joined #openstack-swift13:23
*** nacim has quit IRC13:34
*** nosnos has quit IRC13:35
openstackgerritChristian Schwede proposed a change to openstack/python-swiftclient: Add functional tests for python-swiftclient  https://review.openstack.org/7635513:46
*** Trixboxer has quit IRC13:49
*** nacim has joined #openstack-swift13:51
*** Midnightmyth has joined #openstack-swift13:53
*** dmsimard has joined #openstack-swift13:56
*** creiht has joined #openstack-swift13:57
*** ChanServ sets mode: +v creiht13:57
*** Trixboxer has joined #openstack-swift14:01
*** gvernik has left #openstack-swift14:04
*** ppai has quit IRC14:07
*** Midnightmyth has quit IRC14:07
*** tdasilva has joined #openstack-swift14:26
*** mlipchuk has quit IRC14:37
openstackgerritSamuel Merritt proposed a change to openstack/swift: Add Storage Policy Support to Account HEAD  https://review.openstack.org/7374714:37
*** psharma has quit IRC14:38
*** piyush1 has joined #openstack-swift14:39
*** chandan_kumar has quit IRC14:42
*** chandankumar_ has joined #openstack-swift14:43
*** chandankumar_ has quit IRC14:46
*** chandan_kumar has joined #openstack-swift14:47
*** chandan_kumar has quit IRC14:48
*** chandan_kumar has joined #openstack-swift14:48
*** dvas has joined #openstack-swift14:51
*** zaitcev has joined #openstack-swift14:54
*** ChanServ sets mode: +v zaitcev14:54
*** mlipchuk has joined #openstack-swift14:54
*** chandan_kumar has quit IRC14:55
*** chandan_kumar has joined #openstack-swift14:56
notmynamegood morning14:57
*** dvas has quit IRC14:58
notmynameso evault says that swift is awesome (12 9s of durability) https://www.evault.com/uncategorized/how-safe-is-your-data-with-openstack-swift/14:58
*** dvas_ has joined #openstack-swift14:59
portantenice15:02
*** bvandenh has quit IRC15:02
*** chandan_kumar has quit IRC15:03
*** JuanManuelOlle has joined #openstack-swift15:04
notmynameclayg: portante: swift3 is now officially homed in stackforge, using gerrit and openstack-ci for tests15:06
*** dvas_ has quit IRC15:06
*** chandan_kumar has joined #openstack-swift15:09
openstackgerritYuan Zhou proposed a change to openstack/swift: Update container storage_policy_index when auditing  https://review.openstack.org/8309315:12
portanteoh, nice15:13
*** dvas_ has joined #openstack-swift15:13
*** tanee is now known as tanee-away15:17
*** JuanManuelOlle has quit IRC15:22
notmynamereminder that there is a swift team meeting in 3.5 hours15:29
notmynameacoles_: (is eamonn in IRC?) can you bug eamonn about rebasing https://review.openstack.org/#/c/59778/15:36
acoles_notmyname: will do15:37
notmynameacoles_: thanks :-)15:37
acoles_otoolee^^15:37
notmynameotoolee: oh hi!15:37
acoles_notmyname: i have other means too... :)15:38
notmynameI just updated https://wiki.openstack.org/wiki/Swift/PriorityReviews15:40
*** tanee-away is now known as tanee15:42
*** saju_m has quit IRC15:43
otooleenotmyname: Sorry, I was off IRC for a few days.  I'll rebase.15:45
notmynameotoolee: no worries. actually I didn't know you were on IRC before now. :-)15:46
notmyname(you can't hide anymore!)15:46
*** mlipchuk1 has joined #openstack-swift15:48
*** mlipchuk has quit IRC15:48
*** nshaikh has quit IRC15:53
*** dvas_ has quit IRC15:57
*** piyush1 has quit IRC15:59
*** Ankit has joined #openstack-swift16:17
*** piyush1 has joined #openstack-swift16:21
*** leews has joined #openstack-swift16:22
openstackgerritA change was merged to openstack/swift: Update swift3 repository  https://review.openstack.org/8298516:23
*** piyush2 has joined #openstack-swift16:24
*** piyush1 has quit IRC16:25
*** madhuri_ has joined #openstack-swift16:27
madhuri_clayg: ping?16:28
*** nacim has quit IRC16:30
openstackgerritEamonn O'Toole proposed a change to openstack/swift: Parallel object auditor  https://review.openstack.org/5977816:33
*** jasondotstar has joined #openstack-swift16:33
openstackgerritJenkins proposed a change to openstack/swift: Updated from global requirements  https://review.openstack.org/8120716:34
otooleenotmyname: Rebase finished and submitted.16:34
notmynameotoolee: thanks16:36
notmynameanyone want an invite to http://keybase.io ?16:43
AnkitIs django swiftbrowser work properly for managing swift cluster???16:45
*** JuanManuelOlle has joined #openstack-swift16:46
*** Ankit has quit IRC16:46
*** jasondotstar has quit IRC16:50
*** JuanManuelOlle1 has joined #openstack-swift16:51
*** JuanManuelOlle has quit IRC16:51
*** erlon has joined #openstack-swift16:52
*** pconstantine has joined #openstack-swift16:53
pconstantinehas anybody ever seen this one?16:54
pconstantine  File "swift/swift/common/wsgi.py", line 133, in parsetype16:54
pconstantine    orig_parsetype(self)16:54
pconstantineRuntimeError: maximum recursion depth exceeded while calling a Python object16:54
pconstantineproxy: Account HEAD returning 503 for []16:54
pconstantineproxy: 127.0.0.1 127.0.0.1 26/Mar/2014/16/51/52 PUT /v1/a/5_oc_ascii/5_o_non_ascii%25C2%25A3 HTTP/1.0 412 - - t - 92 - txa77e9e65fbba435797378-00533305a8 - 0.0472 - - 1395852712.002628088 1395852712.04983305916:54
pconstantineit starts appearing when I add more tests to the unit/proxy/test_server.py16:55
pconstantineeven copy-pasting old tests and renaming them causes this error16:56
pconstantinehappens exactly on adding 13th test to test_proxy.py16:57
pconstantinehow ironic16:57
*** chandan_kumar has quit IRC16:57
*** mlipchuk1 has quit IRC17:01
*** JuanManuelOlle has joined #openstack-swift17:06
notmynamepconstantine: ok, that seems odd17:07
*** shri has joined #openstack-swift17:07
*** JuanManuelOlle1 has quit IRC17:08
*** piyush2 has quit IRC17:09
*** gvernik has joined #openstack-swift17:13
openstackgerritSamuel Merritt proposed a change to openstack/swift: Add Storage Policy Support to Account HEAD  https://review.openstack.org/7374717:14
notmynameto all my ops friends: https://twitter.com/jongold/status/44881508778536550417:14
*** Midnightmyth has joined #openstack-swift17:19
*** dvas_ has joined #openstack-swift17:27
pconstantinenotmyname: oh, God, monkey_path_mime_tools() is called from TestObjectController.setUp()17:30
pconstantinecommenting it out seem to fix things17:30
pconstantinelooks like it's called for each test run17:31
notmynamepconstantine: so what you are saying is that it's the monkey's fault?17:32
pconstantineI dunno, but will it take a month of code review to get it into core? :)17:39
notmynamelol17:39
*** gyee has joined #openstack-swift17:40
pconstantinenotmyname: removing monkey caused unit tests to run noticeably faster...17:49
pconstantinehmm, maybe it's my imagination...17:50
*** saju_m has joined #openstack-swift17:57
notmynamepconstantine: isn't there a mechanism to make a module-level setup? or why not just put in in that class's constructor?17:58
pconstantinenotmyname: it's already in module setup17:58
pconstantineit was run once on setup of the module, and then each time on setup of each test17:59
notmynamewell why's it in the class setUp then? ;-)17:59
pconstantineI've removed it from test setup17:59
pconstantinewhy? I think because somebody left it there18:00
pconstantine:)18:00
notmynamegit blame is weird on that. the (big) patch is all taking out bare excepts. and adding that one line18:01
notmynamewe can blame early-2011 dfg18:01
notmyname;-)18:01
dfghuh?18:02
*** tanee is now known as tanee-away18:02
notmynameheh18:02
notmynamethe module-level setup was done (by redbo) just a few days before the class-level setup. so I'm guessing that both of them patched something in a non-conflicting way and then they both landed18:03
*** madhuri_ has quit IRC18:05
notmynamedfg: you and redbo both fixed something in early 2011, but it turns out they interact in fun and exciting ways. they are monkey-patching each other, so you get a recursion-depth error when you add more tests18:05
redbosounds like monkey_patch_mimetools needs an "already patched" flag18:05
notmynamepconstantine: so ya, it looks like the fix is to remove the call in TestObjectController18:05
notmynameredbo: ya18:05
*** JuanManuelOlle1 has joined #openstack-swift18:08
notmynameredbo: eg https://gist.github.com/notmyname/8a7d5fd44aea0ce8bbdf ?18:09
*** JuanManuelOlle has quit IRC18:09
redboI think it needs a "not" on that if-check18:10
*** dvas_ has quit IRC18:10
notmynameredbo: ah yes. thanks :-)18:10
*** JuanManuelOlle has joined #openstack-swift18:11
openstackgerritJohn Dickinson proposed a change to openstack/swift: don't repatch mimetools again. and again. again.  https://review.openstack.org/8315618:11
notmynamepconstantine: can you try that ^18:11
*** dvas_ has joined #openstack-swift18:11
*** JuanManuelOlle1 has quit IRC18:13
dfgwow- that was a long time ago18:13
redbolike 2 kids ago for you18:13
pconstantinenotmyname: slightly later, I need to rewrite a lot of tests right now...18:13
notmynamepconstantine: ok18:14
*** dvas_ has quit IRC18:16
*** mmcardle has quit IRC18:20
*** mmcardle has joined #openstack-swift18:23
*** mlipchuk has joined #openstack-swift18:23
*** piyush has joined #openstack-swift18:25
*** piyush1 has joined #openstack-swift18:27
*** piyush has quit IRC18:30
creihtclayg: ping18:32
creihtclayg: so I'm trying to understand this18:32
creihtand feel a bit stupid18:33
*** mmcardle has quit IRC18:33
creihtbut I updated the review about the tox stuff18:33
claygyou're not stupid - IT's stupid18:33
creihttox is too much magic for me18:33
creihtheh18:33
openstackgerritSamuel Merritt proposed a change to openstack/swift: Add Storage Policy Support to Account HEAD  https://review.openstack.org/7374718:34
*** lpabon has joined #openstack-swift18:35
creihtclayg: so what I'm doing wrong, or what am I missing?18:35
creihtsorry that this has been more of a pain then you were probably expecting18:35
*** IRTermite has left #openstack-swift18:36
*** JuanManuelOlle has quit IRC18:40
pelusetorgomatic:  good to go in my book the the acct rollup, nice call on the new test - rest assured I did that manually of course before checking in though :)18:41
claygcreiht: i'm guessing that tox -e pep8 doesn't work for you on master either yeah?18:42
torgomaticpeluse: naturally :)18:42
creihtclayg: not it doesn't18:42
claygcreiht: if you go into the .tox/pep8 dir and source bin/activate - what do you get from flake8 --version18:42
creiht$ flake8 --version18:43
creiht2.0 (pep8: 1.4.5, mccabe: 0.2.1, pyflakes: 0.7.3, GitCheckCommitTitleBug: 0.0.1, GitCheckCommitTitleLength: 0.0.1, GitCheckCommitTitlePeriodEnding: 0.0.1, hacking.core: 0.0.1, ProxyChecker: 0.0.1)18:43
notmynamepeluse: when I saw your comment, I thought you had "manually cursed" before checking it in :-)18:43
*** mkollaro has quit IRC18:44
claygand if you "flake8 ~/swift" do you get the same erros as the tox run?18:44
dfgirc18:44
creihtclayg: yup18:44
torgomaticpeluse: okay, in that case, I'm shipping it18:45
peluserock n roll18:45
claygcreiht: crazy... so like what are they?  EXXX18:45
pelusenotmyname:  that too!18:46
*** mkollaro has joined #openstack-swift18:48
creihtclayg: http://paste.openstack.org/show/74381/18:48
creihtthat's the first couple of lines18:49
*** lpabon has quit IRC18:49
claygcreiht: lol - that's not even our code?18:49
claygswift/build ?  I think pip did something stupid - delete that shit18:49
creihthrm18:50
creihtlol18:50
* creiht blames pbr :)18:50
claygYES!  ^ that18:50
torgomatichuh... I saw something like that in swiftclient, and I fixed it by making tox's pep8 only check certain dirs18:50
*** nacim has joined #openstack-swift18:51
claygtorgomatic: don't try and not blame pbr18:51
creihtclayg: heh and there it goes18:51
torgomatic:)18:51
torgomaticI never did figure out who was putting crap in build; could have been pbr for all I know18:52
creihtclayg: well to be fair, for some reason I had a pbr .egg dir in my swift dir :/18:52
creihtclayg: and whatever happened to the pbr removal stuff? ;)18:53
notmynamethat's on me18:54
creihtnotmyname: then go direct some technology and get it done! :)18:54
pelusemeeting in 5 min right?18:54
notmynamepeluse: yes18:54
creihtclayg: ok thanks for helping me figure out what the heck was going on18:55
*** JuanManuelOlle has joined #openstack-swift18:56
zaitcevmeeing?18:56
notmynamenormal weekly swift team meeting18:57
notmynamein 3 minutes in #openstack-meeting18:57
creihtnotmyname: I will have to jet in 30 mins18:59
notmynamecreiht: ok. I'm hoping it won't take that long :-)18:59
notmynamewe'll see18:59
creihthehe18:59
torgomaticman, I always forget about the meeting until it's too late to go get lunch19:00
creihtheh19:00
notmynameme too19:01
creihttorgomatic: I usually forget until I'm halfway through lunch and realize that I'm missing it19:01
torgomaticcreiht: I'm gonna try that next time :)19:02
*** mkollaro has quit IRC19:03
openstackgerritSamuel Merritt proposed a change to openstack/swift: Only run flake8 on Swift code  https://review.openstack.org/8317719:10
*** nacim has quit IRC19:22
notmynametorgomatic: now lunch :-)19:24
torgomaticseriously :)19:24
creihttorgomatic: wait before you go...19:24
torgomaticyes?19:24
peluseclayg:  see my note on the 409 patch?  I was unable to repro what you mentioned using swift client.  Maybe you can give it one more shot... since its not 2am now :)19:24
creihttorgomatic: enjoy lunch :)19:25
notmynameportante: let me know what I missed on the priority review page19:25
torgomatic:)19:25
zaitcevI was so happy about the extension that I hardly paid attention to meeting. So, we have patches to review, check. Priority list, check.19:25
creihtnotmyname: you should call it the importante review page :)19:25
notmyname:-)19:25
pelusenice!19:25
claygpeluse: so this is the container recreate patch - not the container object put patch19:26
notmynamezaitcev: tldr is that we need an RC next week19:26
zaitcevI think I'll focus on in-process functests. They increase confidence in PBE19:26
* peluse thinks he used the link provided in the email - will double check19:26
peluseclayg:  yeah, I used the right one.  I meant 409 in the context of the error you were getting, not the patch title.  sorry19:27
notmynameoh, also, the schedule for the conference part has been published at http://openstacksummitmay2014atlanta.sched.org19:27
notmynameactually a lot of swift-related talks this time19:27
portantenotmyname: okay19:28
peluseclayg:  tested both its parent, the patch itself and what depends on it.  First fails, 2nd two pass as expected19:28
claygpeluse: wait - how long is the patch chain?  But the thing I said was broken on feature/ec (a put w/o sp to an existing non-default storage policy returns 409) - you verified it's broken and fixed by the first patch in the chain?19:29
peluseclayg:  correct19:29
* clayg is pretty sure that should be the case and would like feature/ec to not have this behavior any longer19:29
claygk19:30
peluseclayg:  yeah, I think we're ready to move on this:https://review.openstack.org/#/c/79731/19:30
peluseclayg:  well, that chain - you know what I mean :)19:30
claygyeah i'ma click go on https://review.openstack.org/#/c/82590/19:30
claygthanks for the double check19:31
pelusethat's the ticket... awesome19:31
*** JuanManuelOlle has quit IRC19:31
claygpeluse: so https://review.openstack.org/#/c/79731/ just may not be the way to go if the keep-per-object-spi ends up being the way to go19:32
*** JuanManuelOlle has joined #openstack-swift19:32
peluseclayg:  is that "if" part of a reconciler discussion?19:33
claygpeluse: did you and yuan verify anything with the forever un-migrated legacy sp0 databases?  I saw he did that patch for the auditor.19:33
peluseclayg:  I haven't, no.  I will do that today though and close w/you guys on trello19:34
*** piyush1 has quit IRC19:34
* peluse will do so now actually before he forgets19:35
*** gvernik has quit IRC19:37
*** nacim has joined #openstack-swift19:46
openstackgerritA change was merged to openstack/python-swiftclient: Make bin/swift testable part 1  https://review.openstack.org/7648719:47
peluseclayg:  OK, you're right - some changes have been made there since I originally coded it and it doesn't work the way it used to so having the auditor do it is good19:51
*** nacim has quit IRC19:52
*** jergerber has joined #openstack-swift19:59
*** shri has quit IRC20:11
*** saju_m has quit IRC20:11
claygpeluse: sweet - thanks for verifying!20:20
openstackgerritA change was merged to openstack/swift: don't repatch mimetools again. and again. again.  https://review.openstack.org/8315620:21
openstackgerritClay Gerrard proposed a change to openstack/swift: minor cleanups for swift-container-info  https://review.openstack.org/8320120:26
openstackgerritA change was merged to openstack/swift: Bump up sleep when expecting a timeout  https://review.openstack.org/8266420:28
*** saju_m has joined #openstack-swift20:29
*** IRTermite has joined #openstack-swift20:33
openstackgerritA change was merged to openstack/swift: Fix PUT to existing container w/o specific storage policy  https://review.openstack.org/8259020:34
*** saju_m has quit IRC20:37
openstackgerritPeter Portante proposed a change to openstack/swift: Invert which proxy logging middleware instance logs  https://review.openstack.org/8290920:37
portantenotmyname, dfg: unit tests for the proxy logging fix, 100% coverage20:37
*** gordc has joined #openstack-swift20:41
dfgportante: cool. i'll check it out. thanks for taking care of it20:41
portantewelcome20:41
*** shri has joined #openstack-swift20:47
*** gordc has left #openstack-swift20:48
openstackgerritA change was merged to openstack/swift: Add Storage Policy Support to Account HEAD  https://review.openstack.org/7374720:49
*** piyush has joined #openstack-swift20:50
openstackgerritFlorian Hines proposed a change to openstack/swift: Write out ring.gz's in a safer fashion  https://review.openstack.org/8320920:51
openstackgerritPeter Portante proposed a change to openstack/swift: Invert which proxy logging middleware instance logs  https://review.openstack.org/8290920:52
*** piyush has left #openstack-swift20:52
*** piyush has joined #openstack-swift20:52
portantedfg: probably too verbose, but the commit message did not describe the problem well, or how it was fixed20:53
*** lpabon has joined #openstack-swift20:55
openstackgerritFlorian Hines proposed a change to openstack/swift: Write out ring.gz's in a safer fashion  https://review.openstack.org/8320920:55
claygpepAAAAAAAAATEEEE!20:56
*** JuanManuelOlle has quit IRC20:58
dfgportante: it looks fine to me. so does the code- just need to load it up and run it.21:00
*** tdasilva has left #openstack-swift21:04
pandemicsynclayg: so you have it in meme form for the future - http://img.ronin.io/pep8.jpg ;)21:04
*** lpabon has quit IRC21:05
portantedfg: great, thanks for taking a look21:06
portanteanybody else want to get some eyes on the proxy logging change?21:07
claygchmouel: http://img.ronin.io/pep8.jpg < from pandemicsyn for openstackreactions21:08
openstackgerritA change was merged to openstack/swift: Update tox.ini so flake8 works even without hacking  https://review.openstack.org/7707221:11
notmynameportante: ya, I'm going to take a loot21:14
notmyname(but don't let that stop anyone else)21:14
portantehope it is good loot21:14
notmynametake a loot?21:14
portanteand don't get caught21:14
notmynameheh21:14
openstackgerritA change was merged to openstack/swift: Removed hard coded location of ring  https://review.openstack.org/8274221:17
notmynameportante: please take a look at http://docs.openstack.org/developer/swift/middleware.html#module-swift.common.middleware.proxy_logging21:18
notmynameportante: which comes from the docstring at the top of proxy_logging.py21:19
dfgportante: this is existing behavior (and not a huge deal) but there doesn't seems to be any bytes-transferred on the log line put for the manifest itself. http://paste.openstack.org/show/74399/ . shouldn't be fixed with this patch and has probably been that way the whole time21:24
dfgbut prob should be fixed later on21:24
dfgother than that I'll +2 once notmyname is happy with the docs.21:25
notmynamedfg: ah. interesting. should be the actual bytes of the SLO manifest there21:27
notmyname(right?)21:27
dfgnotmyname: i'd think so ya.21:28
dfgbut- i'm not terribly worried about it21:28
notmynameagreed. also that it should be a later patch21:29
*** piyush1 has joined #openstack-swift21:31
*** piyush2 has joined #openstack-swift21:32
*** piyush has quit IRC21:33
*** piyush1 has quit IRC21:35
openstackgerritSamuel Merritt proposed a change to openstack/swift: Fix broker.storage_policy_index after .set_storage_policy_index  https://review.openstack.org/8322821:43
*** dencaval has quit IRC21:44
openstackgerritA change was merged to openstack/swift: Tests for storage policies in /info  https://review.openstack.org/8290621:45
portantenotmyname, dfg: yes, the slo middleware passes along the initial GET or HEAD request, line 354 of slo.py, which is not marked as an internal request, and is using the same environment dictionary, so it won't get logged21:48
*** pberis has quit IRC21:49
portantein a separate commit, we can make that request as a proper subrequest, and then that will be logged21:50
portantehowever21:50
portantethe logging does not know ahead of time if it is a real manifest, so this kind of change would mean two log entries for SLO objects that are not manifests21:51
dfgportante: i was talking about on the PUT of the slo21:54
portanteI think it does the same thing, checking21:54
portanteyes, it does21:55
portanteif you look for self._app_call(req.environ), that is a place where the middleware "passes" along the external request, without touching it, so there is no way for the second middleware to know what to do with it21:56
dfgon PUT in doesn't do that does it? it builds a whole new body- right?21:57
portantedfg: hmm, it looks like it is just passing the original request along21:59
portantebut maybe I am not reading the code right, though the behaviors you are reporting seem to support the way I am reading the code21:59
notmynamehmm...just ran it on my SAIO. seemed to work22:00
portantewait, so the PUT request is logged twice? or just once marked as SLO? or just once no markign?22:01
portanteor are you talking abou the GET request22:01
portante?22:01
notmynamePUT so far :-)22:02
*** piyush2 has quit IRC22:02
portanteokay, so then I am not reading the code right, that is good, nothing to change!22:02
portante;)22:02
portantenotmyname:22:02
notmynameinterestingly, the auth for the HEADs is logged, but not the actual HEAD subrequests22:02
notmynamehttps://gist.github.com/notmyname/25e4077230cb746f566422:03
dfgnotmyname: grep -v 'swift_proxy: Use'22:04
portantenot hitting the cache?22:04
dfg:)22:04
notmynamedfg: :-)22:04
notmynamedfg: but I've got 1490 bytes logged there22:05
dfgnotmyname: ya22:05
portanteI'm gonna have to head out in a few minutes, and will be back on line a bit later.22:05
notmynameportante: dfg: the GET to the SLO looks awesome https://gist.github.com/notmyname/363cd5291ecf4fe34a8722:06
notmynamedfg: you were dong SLO and not DLO, right?22:06
dfghaha22:07
dfgnotmyname: ya sorry- i was switching between them with swift client.22:08
dfgok nm then22:08
notmynameyay! not changes needed22:09
notmynameportante: except to the docstring ;-)22:09
portantefor the docstring?22:09
portantemeaning, you want a doc string change to the proxy logging module?22:09
notmynameportante: yes. because that's what goes to swift.openstack.org (and also because I think it's wrong now)22:10
portantehmm22:10
notmynameportante: oh, also looks like jenkins went all http://img.ronin.io/pep8.jpg on it too22:11
portantehmm22:11
portantenotmyname: not sure what is wrong with the doc string, can you point out what you are seeing?22:12
notmyname(see this is why I didn't just push over it ;-)22:12
portanteit seems to me that it is now documenting the right behavior22:12
notmyname"the subrequest will be logged by the rightmost middleware (with a swift.source set) and the outgoing request (with body overridden) will be logged by leftmost middleware."22:12
notmynameor maybe I just have right and left mixed up (again)22:13
portanteyes, that should be the case for staticweb22:13
notmynameso that is correct now?22:13
notmynameand was incorrect before this patch?22:13
portanteif staticweb properly marks the subrequest separate from the client request22:13
dfgi think its correct now22:13
portanteyes22:13
notmynameok, good22:13
portanteheading out, bbiab22:15
notmynamehttps://gist.github.com/notmyname/7b58811f097997c6a957  <-- easy pep8 tester22:17
*** Midnightmyth has quit IRC22:17
notmynamedfg: running last tests now, then I'm going to push the pep8 fix over it and +2 it22:21
*** erlon has quit IRC22:22
*** dmsimard has quit IRC22:24
openstackgerritFlorian Hines proposed a change to openstack/swift: Write out ring.gz's in a safer fashion  https://review.openstack.org/8320922:27
*** jergerber has quit IRC22:28
notmyname...hmmm. that's weird22:30
chmouelclayg: ahaha22:34
notmynamedfg: portante: I get a functional test skipped with the logging patch. not on master. I'm looking for the particular test now22:35
torgomaticnotmyname: try rebasing the logging patch on master? there was that one test that was getting skipped22:36
notmynametorgomatic: yup. it's clean22:37
claygcan we just update a container's created_at time when we recreated a container that was deleted - or should we just make the status and status_changed_at fields work?22:40
torgomaticclayg: seems like the created_at would be sufficient, but I don't know your use case22:41
claygtorgomatic: well I don't know the use case of the field to begin with - it gets set once when the db is initialized and doesn't change even if the container is deleted and then recreated22:42
torgomaticclayg: oh really? that's crap... it seems like it should be the container creation time, so if you PUT DELETE PUT, it should be at the time of the *second* PUT22:42
claygput_timestamp OTOH gets updated everytime a PUT comes in22:42
torgomaticclayg: including PUT container object?22:43
claygtorgomatic: yeah well, it's not22:43
claygso a) change that b) fix the other stupid/broken time tracking field to work like you might imagine it should that currently noone looks at cause it's basically broken22:43
torgomaticclayg: well, shoot... the container replicator is going to need something that behaves like what I described so it can work with storage policies22:44
claygtorgomatic: you and me both brother22:44
clayggholt: creiht: do you have strong feelings on what the created_at field in the db's should mean?  Do you have any strong feelings about the long term fate of status_changed_at and status?22:45
openstackgerritJohn Dickinson proposed a change to openstack/swift: Invert which proxy logging middleware instance logs  https://review.openstack.org/8290922:46
notmynamedfg: ^22:46
openstackgerritSamuel Merritt proposed a change to openstack/swift: Merge branch 'master' into feature/ec  https://review.openstack.org/8323422:50
openstackgerritClay Gerrard proposed a change to openstack/swift: Add object-reconciler daemon  https://review.openstack.org/8073022:50
openstackgerritGreg Lange proposed a change to openstack/swift: Unify backend logging  https://review.openstack.org/8323723:02
h6wMorning!23:02
claygdamn you fixed length replication args!!!23:02
claygnew rule - when you write a wire protocol that accepts a fixed width number of arguments - trim the width of the trasmitted arguments to match the length you expect so you can ignore future updates23:03
clayg^ that goes for you too future me!23:06
h6wWhen I have two co-lo proxies, should the proxies be using each other to talk to the local storage nodes, or be going direct to the storage nodes?  (i.e. Client->Local Proxy->VPN->Remote Proxy->Remote SN or Client->Local Proxy->VPN->Remote SN)23:07
torgomatich6w: proxies only talk to storage nodes, not other proxies23:08
* clayg goes to write middleware that talks to other proxies23:09
*** Trozz has joined #openstack-swift23:10
h6wtorgomatic: Then how does fallback work with global clusters?  E.g. 404 = call the other proxy23:10
torgomatich6w: load balancer --> proxies --> storage nodes23:10
h6wAh.  The 404 is at the storage level?23:11
torgomaticyup23:11
h6wSo the affinity is only local.23:11
torgomatic...maybe?23:11
torgomaticaffinity stuff affects the order in which the proxy picks storage nodes to talk to23:12
h6wThis may be a complex question, but how do the proxies then resolve a conflicting balancing situation?23:12
torgomaticI don't understand what you mean by 'conflicting balancing situation'23:13
*** mlipchuk has left #openstack-swift23:13
claygtorgomatic: you know the situation where your balances are in conflict!23:14
h6wWell, lets say that, for the same zone and ring, two proxies want to balance data differently across the local and remote nodes.  Both proxies may issue conflicting storage instructions, no?23:14
torgomatich6w: you mean the proxies are using write affinity, so they'll prefer to route object PUTs to different storage nodes?23:15
h6wYes, but maybe I'm thinking storage nodes are smarter than they are.23:17
torgomaticyeah, the object server processes don't really talk to each other; replication and such will communicate between storage nodes, but the HTTP stuff is just proxy -> storage nodes -> disks in a tree23:20
h6wOk.  After a bit of a chat here, my question has to do with the situation where there's a Venn-diagram type storage node allocation.  So the proxies have some nodes they share, but they each have individual copies somewhere.23:37
h6wIf something gets written via a local proxy to the uniquely-available storage node, how does the other proxy know that the data has changed?23:38
h6wuniquely-available = only locally available23:38
torgomaticshort answer: it doesn't23:38
h6wIt could first be replicated to the other local storage nodes that *are* shared, and then the second proxy would know.23:39
torgomaticyou have to wait for object replication to move the object23:39
h6wOk, so if the system is set up particularly badly, there could result some situations where the replication is delayed to the point where a write conflict may occur?23:40
*** Trozz has quit IRC23:40
torgomaticsure, in which case the last write wins, just like always23:40
h6wHow's that established?  If the transaction IDs are unique to each proxy, then is it just the timestamp?  So we have to have really accurate clock synchronisation?23:42
torgomaticyes, you need your clocks synced up23:43
torgomaticany Swift cluster needs its clocks synced up23:44
*** _sEBAs_ has joined #openstack-swift23:53
h6wTrue, but in a delayed write situation, where the local proxy reads an object before the remote proxy has been able to transmit it, does that mean we'll end up with the version before the write?23:55
h6wSince it's HTTP, I'm guessing that there's no "oh but it's changed" communication.23:56
torgomatich6w: yep, that's eventual consistency for you23:58
torgomaticsame thing goes if you start reading version N of an object while you're uploading N+123:59
torgomaticor sometimes even after you're done uploading N+123:59

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