Thursday, 2015-04-09

*** petertr7 has quit IRC00:11
*** annegentle has joined #openstack-swift00:16
*** annegentle has quit IRC00:22
openstackgerritSamuel Merritt proposed openstack/swift: EC: support multiple ranges for GET requests  https://review.openstack.org/16657600:25
*** chlong has joined #openstack-swift00:25
claygvishy: thanks for the confirmation!00:28
claygi have this script that's basically a for loop around for sha in ec_review; git checkout sha; test; done00:35
claygit's *great* for finding little pep8 shit that slips in between fixup commits00:35
claygbut it takes forever - and worse tends to pause when my laptop enters power save mode00:36
claygis there a setting for "don't take a nap when your master told you do something you stupid mackbook" ???00:37
*** vinsh has joined #openstack-swift00:45
*** LCissoto has joined #openstack-swift00:52
*** km has quit IRC00:53
*** km has joined #openstack-swift00:53
*** kei_yama has quit IRC00:53
*** kei_yama_ has joined #openstack-swift00:53
*** annegentle has joined #openstack-swift00:57
*** thumpba has quit IRC01:16
*** thumpba has joined #openstack-swift01:17
*** annegentle has quit IRC01:22
*** Gue______ has joined #openstack-swift01:26
peluseclayg, 10-4 on the rabbit hole01:32
peluseclayg, but you dug the first one :)01:32
claygpeluse: no but that was my point - I sorta had to - I was going to pass int(policy) to get_object_ring just so I could have policy.object_ring01:33
clayger.. wasn't going to :P01:33
peluseheh01:37
*** Gue______ has quit IRC01:40
*** Gue______ has joined #openstack-swift01:42
*** annegentle has joined #openstack-swift01:52
claygi am a little disconcerted that POLICIES[0] == 0 returns True :\01:53
*** winggundamth has joined #openstack-swift01:54
claygi'm not so sure I want to do anything about it - but it makes test fakes that were built to expect an int(policy) all to happy when they get a policy - and in this case none-too-upset when they just keep on getting an int :\01:57
winggundamthhi I got inconsistent between each storage container as shown here http://pastebin.com/j3YqDMJ9. How can I fix this?01:58
claygwinggundamth: doesn't look so bad, what *one* container replica is missing *one* row?  I've seen way worse.  Has it been like this for awhile?  Are the container replicators running?  what version of swift, what's the environment?02:00
winggundamthhi clayg: I got inconsistent that cause from object expirer. I'm using Swift that came with Ubuntu 14.10 that's 2.2.0. I have 1 proxy node with 3 storage nodes02:03
winggundamthI'm going to recheck replicators process now02:03
winggundamthswift       80     1  0 Apr08 ?        00:00:02 /usr/bin/python /usr/bin/swift-container-replicator /etc/swift/container-server.conf02:04
winggundamththis is what process looks like right?02:04
winggundamthI see it's running on every storage nodes02:05
claygit makes sense to me that an object write (put or delete) - from the object expirer or anywhere else - could (under failure) cause the container db's to get out of sync - it's an expected failure mode - but either the object updater or the container repliator should fix it02:05
claygwinggundamth: idk, maybe hasn't been running very long?  maybe it's in some sort of restart loop?02:05
claygoh hrmm... maybe not - i guess it's the 9th already in utc02:07
winggundamthI try to find some errors or process restart in log. but nothing too02:08
*** kota_ has joined #openstack-swift02:08
winggundamththis inconsistent already been for a night already. after I test object expirer last night02:09
clayg... that's strange, I'd typically jump right into some pretty low level container replication debugging - although there's probably a simple explination02:13
winggundamthhow can I turn on that?02:13
claygmaybe to start just turn on DEBUG logging for the container servers and grep around for the container db's hash02:13
winggundamthok let me try it02:14
claygdid you find those container replicas with swift-get-nodes?  It'll should also have the on-disk path for the sqlite db02:14
claygswift-container-info /path/to/hash.db <- has useful info something might jump out at you02:14
claygif you say you noticed it when the expirer killed off something it sounds like you believe that the container with 617 rows is correct and the two with 618 are out-of-date?02:15
winggundamthyes02:16
winggundamthdid you find those container replicas with swift-get-nodes? <---- yes02:17
winggundamthwhere should hash.db should be?02:18
clayg/srv/node/<device>/<part>/<suffix>/<hash(account/container)>.db02:19
claygswift-get-nodes will spit it out02:20
winggundamthok let me see02:23
winggundamthit's weird that I never found this command in any document02:23
*** annegentle has quit IRC02:24
claygit says there's a man page for it - dunno how you're supposed to find the man page tho02:24
*** Gue______ has quit IRC02:24
winggundamthit should be in troubleshoot document somewhere in openstack document :)02:29
*** kei_yama_ has quit IRC02:29
claygohhh... troubleshooting - i like it!02:29
claygoh fooey - someone must have already had that idea -> http://docs.openstack.org/developer/swift/admin_guide.html?highlight=troubleshoot#debugging-tips-and-tools02:30
claygthat page is pretty dense tho, could probably use some organizational love by someone that knows something about tech writing02:31
claygwinggundamth: you wouldn't happen to know anything about tech writing do you!?02:31
*** km_ has joined #openstack-swift02:31
winggundamthsorry. not at all02:31
*** kei_yama has joined #openstack-swift02:32
winggundamthhttp://pastebin.com/juK0HB5b this is output from swift-container-info. I don't see anything clue to inconsistent problem02:32
winggundamthexcept   X-Container-Sync-Point2: -1. Is this normal?02:33
*** km has quit IRC02:33
claygyeah that's for the container-sync feature - if you're not using it that value is -102:38
winggundamthi see02:39
winggundamthso do you find anything from the output?02:39
winggundamthif not I think I really need dig into debug log :)02:39
claygnot really - chexor value correctly shows that they are out-of-sync - I would be expecting 18b496c0-1ab8-40b4-97e4-b4113d5873ce to be trying to ship the delete row to 55c35773-dd23-4da4-b79b-468e335b57a5 and 33a60613-0b1c-4b05-8cbd-88f2c90a730502:41
claygso yeah on the 18b496c0-1ab8-40b4-97e4-b4113d5873ce node if you could just grep for 8ac649c9807a5c6b49307d5a6f4bed9b in the container-replicator logs - should show something about some kind of error something - or with debug turned on it would show at least that it's trying to sync that container and maybe we could tease out some idea why it's not02:42
claygsqlite --line /path/to/hash.db "select * from incoming_sync" might be interesting - or at least confirm these nodes aren't talking to each other about this db for some reason02:43
winggundamthwhat is chexor?02:45
claygit's this rolling checksum the container keeps track of (using sqlite triggers) of all the rows in the database to accelerate replication by just comparing the checksum value rather than shipping over a bunch of rows that might already be in sync with the remote node02:46
winggundamthic02:46
claygredbo thought it was a neat idea at somepoint - seems to do the trick02:47
winggundamthI'm trying to do sqlite command on 8ac649c9807a5c6b49307d5a6f4bed9b.db but it said Unable to open database "8ac649c9807a5c6b49307d5a6f4bed9b.db": file is encrypted or is not a database02:52
clayger... sqlite3 :\02:53
claygsorry - the name of the command on my machine is *acctually* sql<tab> ;)02:53
winggundamthlol02:56
winggundamthsqlite3 8ac649c9807a5c6b49307d5a6f4bed9b.db "select * from incoming_sync" no any input from this command03:02
claygwell that's impressive03:05
claygmakes me wonder how you made it this long?03:05
claygwtf is the container-replicator doing?03:05
winggundamthreally -_-03:05
claygcan you stop them and run `swift-init container-replicator once -nv` to see in the console wtf it thinks it's doing?03:05
winggundamthI already ran it for almost half year03:05
winggundamthuntil I found object expirer feature and try it03:06
claygwtg object-updaters?03:06
winggundamthok let me try container-replicator first03:07
winggundamthhttp://pastebin.com/mzXZHLRb03:08
winggundamthhere you go03:08
clayglol?03:09
winggundamthactually I always see this output from log03:09
claygok - i'm reaching here - but maybe the devices option is wrong in the container-replicator section?03:11
winggundamth[container-replicator] this is the only line I have03:12
winggundamthwithout any configuraton03:12
winggundamthhttp://pastebin.com/dPtfKXGy my configuration right now03:13
claygthat's weird - i'm not even sure why an invalid devices path is not an OSError03:13
claygwinggundamth: seems reasonable03:14
claygnext most likely culprit is something with whataremyips or more generally the "what devices are local" check03:14
claygin your container.builder is the replication_ip and replication_port the same as the ip/port for all devices?03:15
winggundamthoh I forget that I ran on these in Docker03:15
winggundamthso the ip will be 172.17.x.x and NAT with host IP03:15
claygDOCKER DOCKER DOCKER!03:16
claygpython -c 'from swift.common.utils import whataremyips; print whataremyips()'03:17
clayg^ something in that list should be in the ring03:17
claygperferably one that would also allow the nodes to talk to each other03:18
claygor "containers" or whatever03:18
winggundamthoutput from that python command ['127.0.0.1', '::1', '172.17.0.122', 'fe80::42:acff:fe11:7a']03:19
*** sorrison has joined #openstack-swift03:20
winggundamthso this is the cause of problem?03:20
sorrisonnotmyname: I'm here03:20
notmynamesorrison: hello :-)03:20
claygok, so that 172 looks like a decent choice - can the nodes talk to each other on those ips?03:20
notmynamesorrison: so https://bugs.launchpad.net/swift/+bug/144192603:20
openstackLaunchpad bug 1441926 in OpenStack Object Storage (swift) "rebalance fails once upgraded to juno" [Undecided,New]03:20
claygyuk :'(03:20
winggundamthclayg: no way03:20
notmynamesorrison: I'm pulling up the code03:20
sorrisonnotmyname: I get that in our prod and test envs so i'm hoping it's not something specific to us03:21
claygwinggundamth: well *I* don't know man!?  is there *any* ip the nodes can flipping talk to each other on?  you'll have to figure out what stupid thing we're doing that's keeping that ip out of that list03:21
winggundamthon *.builder file I'm using the public ip that can talk each other. just wonder why it works for very long time03:23
notmynamesorrison: definitely looks like that code has moved on since 2.2.0, so let met see (1) what the issue is and (2) if it's still in the current version of swift03:24
claygwell the proxy -> node communication isn't the same as node -> node communication03:24
winggundamthI mean everything still works fine if I'm not using object expirer03:24
winggundamthic03:24
claygwinggundamth: the fack that incoming_sync is empty means it hasn't been doing *squat* for a really long time03:24
claygwinggundamth: but so the nodes *can* talk to each other using the public ip - they just don't *know* what they're public ip is because it's all DOCKER DOCKER DOCKER03:25
claygs/they're/their/03:25
claygsorrison: so maybe there's a zero weight device that's like the only device in some region or zone tier?03:27
*** gyee has quit IRC03:27
claygit seems like any device with weight will have a key in tiers2sort_key for their tier03:27
winggundamthclayg: NAT doesn't help on this? Swift still sending their ip to other node with that python command?03:27
sorrisonclayg: Yeah we actually have a region where all the devices have a weight of 003:28
sorrisonclayg: but in our test env it still fails http://paste.openstack.org/show/200929/03:29
claygsorrison: so I checked out 2.2.0 and a lot of that code is changed in 2.2.2 - i'm not sure we still have this bug (not that it helps you, and I'm not trying to dodge, i'm just saying we may have fixed this already on purpose because it didn't work for a time)03:29
notmynamesorrison: have you added or removed any devices?03:29
sorrisonno not yet, I just did a rebalance first to see if that was needed03:30
sorrisonso you're saying try remove a device then rebalance and see if that fixes it?03:30
notmynameah ha!!03:30
claygis that how folks normally do zones - reuse the same id from another region in the next one?03:30
*** sorrison has quit IRC03:30
*** sorrison has joined #openstack-swift03:31
notmynamehe dropped.03:31
notmynamesorrison: there he is03:31
notmynamesorrison: check out the commit message on https://github.com/openstack/swift/commit/d9bfa06be026e8acdb75fed0ae130b5c209251ce03:31
*** erlon has quit IRC03:31
sorrisonback, client crashed03:31
notmynamesorrison: when torgomatic wrote that fix, he was convinced that it was just swiftstack who would see that bug that was fixed ;-)03:31
notmynamesorrison: so try changing the weight of a device and then rebalancing03:32
claygnotmyname: idk, people love to rebalancei03:32
sorrisonhaha, great! I'll give it a go03:32
claygnotmyname: it's what cpu's are for03:32
notmynameclayg: I thought CPUs were for EC calculations!03:32
claygmaybe next month03:32
notmynamesorrison: please let us know if that works03:33
claygwinggundamth: so anyway - the replicator is pretty sure that to find databases that it needs to replicate it needs to be able to self identify devices in the ring that are assigned to him - that means some sort of matching with the ip in the ring to the ip's it's able to identify as being "me"03:34
*** ozialien has joined #openstack-swift03:35
claygwinggundamth: whataremyips just uses netifaces.interfaces - which is fairly reasonble - but if the ip's the nodes need to talk to each other on is NAT'd - then you'll probably need something else - not sure what - probably a whole flipping spec file on "making swift replication work with NAT"03:36
winggundamthclayg: haha. sound big03:36
claygwinggundamth: fwiw I'm sure your object replicators are having the same issue - and you can't rebalance - i guess async pendings don't work either03:37
claygwell.. no... i ... so you have the NAT'd ips in the ring?03:37
sorrisonnotmyname, clayg all good, once I added a device it allowed me to rebalance03:37
claygso it's just the is_local check that fails...03:37
claygsorrison: that torgomatic is a smart muther - no lie03:38
claygsorrison: maybe you could hack whataremyips to take a "default" that you can configure and make it say "no really trust me, this ip is me" then stick it in the config so it can self-match to the NAT'd ring entries03:39
clayg^ winggundamth03:39
claygsorrison: sry, i shouldn't be talking in here at all - i'm trying to fix test failures03:39
*** LCissoto has quit IRC03:39
sorrisonha03:39
winggundamthclayg: [async_pending] low: 0, high: 0, avg: 0.0, total: 0, Failed: 0.0%, no_result: 0, reported: 3 this is output from swift-recon -a03:40
winggundamthwell.. no... i ... so you have the NAT'd ips in the ring? <--- yes03:40
notmynamesorrison: awesome03:40
notmynamesorrison: mind if I close the bug? or would you like to leave a comment on it?03:40
winggundamthclayg: here all output from swift-recon http://pastebin.com/0P7QUZ2J03:43
sorrisonyeah close it, cheers03:43
notmynamesorrison: ok. glad it works!03:43
sorrisonnotmyname: also one other question. We're adding a new region and I read that swift now does this a bit more gracefully?03:44
sorrisonnotmyname: do I need to do anything special?03:44
notmynamesorrison: well, you might need to use something later than 2.2.0. let me check the logs03:45
sorrisonhttps://github.com/openstack/swift/blob/2.2.0.rc1/CHANGELOG#L1-L17303:45
notmynameI hate that I can't close that bug with anything other than "invalid". There isn't a "this totally was reasonable, but it's already been fixed"03:45
winggundamthclayg: and I'm trying to turn on debugging on container-replicator by this http://pastebin.com/dPtfKXGy but it didn't show anything increasing as I expect like how's connect to another node03:45
*** jrichli has quit IRC03:46
notmynamesorrison: ah, yes. that's exactly what I was looking for. just that it was in 2.2.0. so looks like you're good03:46
notmynamesorrison: now, when adding a region, swift won't put half your capacity assigned to the new region the moment you add one drive there03:46
notmynamesorrison: instead, you'll get only what the weight of that drive allows for03:47
sorrisonah so when adding the new devices I should start with small weights and then slowly increase?03:47
claygwinggundamth: it's not trying to connect to anyone - it doesn't think it has any devices in the ring worth replicating03:48
notmynamesorrison: depends on what the rest of the cluster is. eg if you have 1000 drives in one region and you add one drive with it's full weight, that's not a lot relative to the rest of the cluster03:48
notmynamesorrison: point is, yes you shoudl gradually add capacity, but relative to the total of the existing weights in existing tiers. eg if you have 3 racks and add another, add the capacity for the new rack gradually. if you have 30 racks and add one, you don't have to add as gradually. (up to the limit of the network for ingest on the new capacity)03:50
sorrisonnotmyname: ok gotcha, we currently have 2 regions with approx same size and we are adding a third of approx same size but with 4T drives as opposed to 2T everywhere else03:50
notmynamesorrison: does that make sense?03:50
sorrisonnotmyname: yeah understand03:51
notmynamehalf the drives or the same number?03:51
winggundamthclayg: so how's it think that there's device in the ring that need to replicate?03:51
notmynamein the new zone?03:51
sorrisonnotmyname: half the drives03:51
notmynameerr..region03:51
notmynamesorrison: ah, ok. good03:51
notmynamesorrison: I'm glad to hear that you are keeping the regions the same size. that's good03:52
claygsorrison: is doing it right03:54
*** foexle_ has joined #openstack-swift03:55
notmynamesorrison: are you going to be in vnacouver?03:57
notmynameclayg: you might not know this, but sorrison is a pretty cool guy. he's running a swift cluster across all of australia, and he's the guy that scaled http://adrift.org.au by making it talk directly to swift03:57
*** foexle has quit IRC03:58
notmynameclayg: if he's in vancouver, you should definitely get a beer with him04:00
sorrisonnotmyname: yeah I'll be there, swiftstack having a party?04:01
notmynamesorrison: you know, that's a good question. I actually don't know04:03
sorrisonnotmyname: I'm sure we'll have a chance to have a beer either way04:03
notmynameyes, I hope so :-)04:04
*** ppai has joined #openstack-swift04:08
*** SkyRocknRoll has joined #openstack-swift04:10
mattoliverauMaybe I should buy sorrison a beer, that is if he's ever in the Melbourne area ;)04:18
claygsorrison: i'll get my people on it04:21
sorrisonmattoliverau: does every day count?04:22
mattoliverausorrison: then were in the same city.. so yes.. yes it does ;)04:23
sorrisonmattoliverau: great, good to know someone else here knows about swift, you a swift-core?04:24
notmynamesorrison: yes he is :-)04:25
mattoliverausorrison: yup04:25
claygsorrison: I'd consider it a personal failing if mattoliverau was not04:26
* clayg can think of at least one other failing he would like to rectify during liberty04:27
mattoliverauclayg: aww shucks.04:27
*** raginbajin has quit IRC04:32
*** raginbajin has joined #openstack-swift04:35
*** ppai has quit IRC04:41
*** _1_fahimabrar12 has joined #openstack-swift04:42
*** _1_fahimabrar12 has left #openstack-swift04:42
*** proteusguy has joined #openstack-swift04:43
*** ppai has joined #openstack-swift04:57
*** ho has quit IRC05:05
*** ozialien has quit IRC05:06
*** chlong has quit IRC05:09
*** ppai has quit IRC05:32
*** bkopilov has quit IRC05:41
*** bkopilov has joined #openstack-swift05:43
*** ppai has joined #openstack-swift05:44
*** yuan has joined #openstack-swift05:48
*** dmorita has joined #openstack-swift05:51
*** thumpba has quit IRC05:52
*** wasmum has quit IRC05:52
dmoritanotmyname: are you around?06:08
*** ppai has quit IRC06:40
*** joeljwright1 has quit IRC06:42
claygacoles_away: can you let me know when you come online - I think i'm crossing the barrier of number of review rabbit holes which will push me outside of a reasonable ability to make significant progress on the reconstructor refactor before exahustion kicks in :\06:43
*** krykowski has joined #openstack-swift06:51
*** ppai has joined #openstack-swift06:52
openstackgerritKamil Rykowski proposed openstack/swift: More user-friendly output for object metadata  https://review.openstack.org/16401906:54
*** wasmum has joined #openstack-swift06:58
*** jordanP has joined #openstack-swift07:07
*** winggundamth has quit IRC07:15
*** jistr has joined #openstack-swift07:15
*** bkopilov has quit IRC07:18
*** fanyaohong has quit IRC07:19
*** geaaru has joined #openstack-swift07:31
openstackgerritKamil Rykowski proposed openstack/swift: More user-friendly output for object metadata  https://review.openstack.org/16401907:53
*** acoles_away is now known as acoles08:00
acolesclayg: ping08:00
claygyou guys were busy while i was out08:01
claygit's been slow going :P08:01
*** jamielennox is now known as jamielennox|away08:01
claygI think i'm on the down hill strech08:01
acolesclayg: so what can i do to help08:03
claygwell until the other reviewers come online this morning and you guys can discuss the review comments I have not been able to address (i've been adding bullet lists) - maybe you could help me get a jump start on this plan I had to fixup the reconstructor revert cleanup?08:04
acolesclayg: sure.08:05
claygacoles: oh wow, i didn't get nearly as far as I thought -> https://github.com/clayg/swift/commit/6d574d64a3e1f4f98f25138831c7cf201b08b4a308:05
acolesclayg: ok i can pick up the TODOs in there ^^ like move the delete out of ssync into recontructor, fix the purge and HCL cleanup of durables etc08:08
claygyeah that's the idea - I'm still working through review comments - and need to do a bit of rebase work (and tests) before I can push - so you're not going to have a good clean place to branch from that won't be moving from underneath you just yet08:09
claygnot sure if you've made it through emails and got coffee yet - that sort of thing :)08:09
acolesclayg: coffee consumed, emails deleted, ready to roll ;)08:10
*** proteusguy has quit IRC08:10
acolesclayg: i'll work from latest gerrit review patchset and fix up once you push your changes08:11
claygsounds great good luck!08:12
acolesclayg: get some sleep when you can08:12
*** mmcardle has joined #openstack-swift08:13
*** winggundamth has joined #openstack-swift08:13
*** jasondotstar has quit IRC08:20
*** ppai has quit IRC08:22
*** clyps___1 has joined #openstack-swift08:28
*** proteusguy has joined #openstack-swift08:29
*** ppai has joined #openstack-swift08:36
claygwth M$ - nano-server sounds like a good idea almost - "To achieve these benefits, we removed the GUI stack, 32 bit support (WOW64), MSI and a number of default Server Core components"08:46
claygyou know how windows server sucks for being like - a server - yeah ftfy08:46
*** Akshat has joined #openstack-swift09:10
*** kota_ has quit IRC09:11
*** joeljwright has joined #openstack-swift09:13
*** pcaruana has joined #openstack-swift09:17
*** bkopilov has joined #openstack-swift09:19
claygacoles: my tests are wrapping up - about to publish the updates to the chain09:19
claygis there anything helpful I could do with the reconstructor branch?  maybe fix some of those failing unittests on that wip branch - or refactor _get_job_info to address some of the outstanding comments?09:20
acolesclayg: ok09:20
acolesclayg: looking...09:23
acolesclayg: i'm not going to touch _get_job_info (i think). i am doing stuff related to deleting reverted objs, so will be making small change to process_jobs and ssync_sender and probably adding some tests.09:26
claygalright sweet - sounds like a winner then09:26
acolesso once i am done, reconstructor will get set of sync jobs back from ssync_sender and then purge them.09:27
acolesand 'purge' will not touch .durable.09:27
claygyeah - and :)09:27
acolesand .durable will be cleaned up in HCL09:27
acoless/sync jobs/sync objs/09:28
claygacoles: the other part of the equation - and maybe it's a seperate issue that the good work you're doing - is the final rmtree to the part on the subsequent run09:30
acolesclayg: yeah, i can leave that ^^ to you if u like09:30
claygI think it's going to work out that in reconstruct, under the for part_info loop, when you call build_reconstruction_jobs - if that list comes up empty - you can kick the tree out09:31
claygi'm feeling a little humbled by the ineffectiveness today - i thought i was only off one day - but I guess it was probably closer to two - or four depending on how you define "day"09:32
claygso - by all means don't "save" anything for me except whatever you can't get to - i'll be back in the office in the am to pick up from however far you get09:33
claygno worries either way09:33
clayg- one last ask tho09:33
acolesclayg: nah you're doing a great job, dealing with comments is really time consuming09:33
claygheh, leads to the next ask :P09:34
acolesnooooo!!09:34
acoles;)09:34
claygcan you look over my bullet lists on my responses to the last set of revieww09:34
claygsome of them were like "well, yeah I can see that, but I'm also not sure"09:34
claygany we can reach concensus on I'd love to just have as much "make the code like this and everyone will be least-unhappy" as possible09:35
claygwhere we need to keep arguing - or I need to kick something out for folks to mill over some more - we can do that too09:35
acolessure. btw i suspect we may need to riage some stuff - like, 'must fix for release' or 'must have a trello todo card so we don't forget'09:35
acolestriage09:36
claygso if you could familiarize yourself with the questions I'm seeking answers to - and make whatever effort you could to build concensus I'd consdier it true kindness my friend09:36
claygacoles: yeah that's the ticket!09:36
acolesclayg: ok will do my best, have a good rest09:36
claygk, thanks bro - i'll let you get to it - i hope to catch you in my am, but don't stick around for me - i can take the handoff async via channel or email09:37
claygawesome!09:37
acolesk09:37
*** haigang has joined #openstack-swift09:39
*** krykowski_ has joined #openstack-swift10:06
*** krykowski has quit IRC10:09
*** ppai has quit IRC10:19
*** ppai has joined #openstack-swift10:32
*** dmorita has quit IRC10:38
*** winggundamth has quit IRC10:40
*** jamielennox|away is now known as jamielennox10:42
*** joeljwright1 has joined #openstack-swift10:45
*** joeljwright has quit IRC10:48
*** aix has joined #openstack-swift10:51
*** joeljwright has joined #openstack-swift10:56
*** joeljwright1 has quit IRC10:56
*** joeljwright has quit IRC11:08
*** ppai has quit IRC11:14
*** haigang has quit IRC11:24
*** winggundamth has joined #openstack-swift11:25
*** ppai has joined #openstack-swift11:28
*** joeljwright has joined #openstack-swift11:28
*** silor has joined #openstack-swift11:34
*** Akshat has quit IRC11:35
*** SkyRocknRoll has quit IRC11:38
*** SkyRocknRoll has joined #openstack-swift11:38
*** joeljwright has quit IRC11:44
*** joeljwright has joined #openstack-swift11:45
*** joeljwright1 has joined #openstack-swift11:49
*** joeljwright has quit IRC11:50
*** jamielennox is now known as jamielennox|away11:53
*** kei_yama has quit IRC12:03
*** nshaikh has joined #openstack-swift12:12
*** km_ has quit IRC12:31
*** ppai has quit IRC12:34
*** ozialien has joined #openstack-swift12:43
*** ppai has joined #openstack-swift12:46
*** aix has quit IRC12:53
*** dencaval has joined #openstack-swift12:54
tdasilvagood morning! just caught up with the scrollback, you guys were busy last night12:56
*** ppai has quit IRC13:02
*** aix has joined #openstack-swift13:03
*** cdelatte has joined #openstack-swift13:03
*** delatte has joined #openstack-swift13:03
*** delattec has quit IRC13:05
*** winggundamth has quit IRC13:08
*** jkugel has joined #openstack-swift13:10
cschwedei’m wondering if we should fix typos (and maybe other smaller issues) in the final docs patch (or another follow up) to avoid extra work with rebasing all patches over and over?13:10
tdasilvacschwede: you mean typos to non-docs files?13:11
cschwedetdasilva: yes13:12
*** nshaikh has quit IRC13:13
acolestdasilva: cschwede : morning/afternoon!13:15
cschwedeHello Alistair!13:16
*** mahatic has joined #openstack-swift13:16
*** ppai has joined #openstack-swift13:16
*** ppai has joined #openstack-swift13:16
acolescschwede: idk, i think clayg is intending to do a rebase every night (whenever his night is !), so what might help most is to supply diffs with typos fixed that he can apply13:17
acolescschwede: but i could be wrong!13:17
cschwedeacoles: ah, ok, makes sense too. i’m just reviewing my previous +2, checking the diffs and re-apply my +2 if it looks good to me13:18
acolescschwede: tdasilva : one think clayg does want help with is triage on his bullet lists on patch 169988 and patch 169989 in particular13:18
patchbotacoles: https://review.openstack.org/#/c/169988/13:18
cschwedeyes, i saw that - it’s on my list13:19
tdasilvaacoles: and by triage we mean "must fix" or "add to trello for liberty" right?13:20
acolestdasilva: cschwede : i'm wondering how best to discuss/agree those points - maybe an etherpad with a section for each review/point?13:20
acolestdasilva: exactly - we need to sift out what *has* to be done before release vs 'must have but can wait'13:20
*** mahatic has quit IRC13:21
tdasilvaacoles: I think that could be done as comments on the review itself...makes it easier I think to lookup later on why we made a decision13:21
acolestdasilva: yep, i think you are right. maybe someone could add number to clay's points so we can refer to them13:22
tdasilvaI think between trello and the review itself we can probably capture that info...i'm always hesitant to spread info in too many places13:22
acolestdasilva: me too. post it note in front of my nose is the only one that persists :P13:23
acolestdasilva: cschwede : so i *think* if we can give clayg some sense of 'must do'/'can wait' on those patches for tomorrow that will be a help13:24
*** mahatic has joined #openstack-swift13:25
cschwedeacoles: tdasilva: yes, i was like „ok, any typos and small nits that don’t break functionality or tests“ fall in the nice-to-have category13:25
acolescschwede: yes and feel free to add a trello card for something that needs to be done/discussed after kilo13:26
acoles'after kilo'/'during kilo' idk, i mean after april 30th !)13:27
tdasilvacschwede: agree13:32
tdasilvacschwede: I wouldn't want to discourage people from keeping reviewing and finding the nits, but it's probably something that we can just record now and fix after the merge to master13:33
*** Guest___ has joined #openstack-swift13:40
*** Guest___ has quit IRC13:51
*** openstackgerrit has quit IRC13:53
*** openstackgerrit has joined #openstack-swift13:53
peluseacoles, so what are you working on right now then?13:58
acolespeluse: the fixes to delete reverted frags that clayg didn't get to last night13:59
*** krykowski has joined #openstack-swift14:01
peluseacoles, OK cool.  I have another half day of mtgs this morning but will be back after noon.  I didn't quite the follow the conversation/plan on categorizing/identifying required work to be done immeidately vs later.  Can you summarize who is doing what?14:01
*** Guest___ has joined #openstack-swift14:02
pelusegotta run, back in a few hours...14:03
acolespeluse: sure, clayg has left some bullet points on reviews where he wants consensus on what needs to be done, now or later. tdasilva and cschwede are looking over those, i will too once i am done with this diff14:03
acolesthen clayg can pick up again his morning14:03
peluseOK, will go through them starting at the top then when I get back.  Thanks!!14:03
*** krykowski_ has quit IRC14:04
*** ppai has quit IRC14:07
*** erlon has joined #openstack-swift14:10
*** jrichli has joined #openstack-swift14:13
*** lcurtis has joined #openstack-swift14:17
*** pcaruana has quit IRC14:17
*** joeljwright has joined #openstack-swift14:18
*** joeljwright1 has quit IRC14:20
*** Guest___ has quit IRC14:23
*** krykowski has quit IRC14:36
*** krykowski has joined #openstack-swift14:37
*** lpabon has joined #openstack-swift14:37
tdasilvaacoles: soo....changing my mind here...I think you are correct :)  An etherpad might be easier to iterate things over, then we can go back and add comments (final decision) to either trello or the patch itself14:48
tdasilvaacoles, cschwede: so I created this: https://etherpad.openstack.org/p/swift_ec_triage14:49
tdasilvapeluse: ^^^14:49
cschwedetdasilva: woa, awesome, thx!14:49
*** eikke has quit IRC14:55
*** krykowski has quit IRC15:10
*** jistr is now known as jistr|mtg15:15
pelusecool15:17
*** fanyaohong has joined #openstack-swift15:21
*** joeljwright1 has joined #openstack-swift15:27
*** jistr|mtg is now known as jistr15:27
*** joeljwright has quit IRC15:28
acolestdasilva: nice! thx15:29
*** mahatic has quit IRC15:33
*** takoTuesday has joined #openstack-swift15:39
*** jistr has quit IRC15:40
takoTuesdaycschwede: thanks for posting the demo to djangp-storage-swift15:40
takoTuesdaycschwede: Im still not 100% sure that it is the best option for serving files from my swift container. I have a django application that Im trying to modify that pulls down source code from a git repo, generates documentation from that code, and then serves the documentation. In development mode it copys the documentation to a local dir and serves from there. So far, I have modified it to copy the documentation to a swift container, but now I15:43
takoTuesdayneed to figure out how to serve from that container15:43
cschwedetakoTuesday: you’re welcome. no need for the module, just make the container public and access it directly then15:44
cschwedetakoTuesday: make the container public with „swift post -r ".r:*" containername“, and get the URL with „swift stat -v containername | grep URL“15:45
*** eikke has joined #openstack-swift15:46
notmynamegood morning15:47
eikkegood late-afternoon15:47
notmyname:-)15:48
notmynamelooks like, again, everyone was hard at work while I was sleeping15:48
*** SkyRocknRoll has quit IRC15:50
notmynamedmorita brought a patch to my attention last nght15:51
notmynamehttps://review.openstack.org/#/c/138697/ would be good to get landed, if possible, on master before the release15:51
*** mahatic has joined #openstack-swift15:53
notmynamehello mahatic15:53
mahaticnotmyname, hello! good morning. What's up?15:56
mahaticnotmyname, I'm all set to travel for the summit! :)15:56
notmynameI'm just doing a little stuff before I catch a bus to the office15:56
notmynamemahatic: nice!!15:56
*** gyee has joined #openstack-swift15:59
btorchnotmyname: you guys aware of a reaper + async bug where asyncs may stay on forever due to the reaper removing the an account db16:00
notmynamebtorch: doesn't ring a bell. has there been a bug filed for it?16:01
btorchwhere do you guys keep issues ? I don't see it on gh16:03
mahaticnotmyname, yeah, see ya'll there. Meanwhile this week I have been brushing up my linux kernel and C skills. I have been recently asked by someone if I'm interested to work in those areas. I'm revisiting to assess :D16:03
notmynamebtorch: launchpad16:03
mahaticI should be back picking back on Swift next week :)16:03
notmynamebtorch: https://bugs.launchpad.net/swift16:04
notmynamemahatic: cool16:04
peluseFYI I've oone through the first 4 on the etherpad and added my corresponding +2 on each accordingly https://etherpad.openstack.org/p/swift_ec_triage16:07
*** ChanServ changes topic to "Soft freeze of master in effect | EC Merge plan: https://etherpad.openstack.org/p/ec_merge_plan | Review Dashboard: http://goo.gl/vysJqI | Summit scheduling: https://etherpad.openstack.org/p/liberty-swift-summit-topics | Logs: http://eavesdrop.openstack.org/irclogs/%23openstack-swift/"16:16
notmynamesummit scheduling etherpad, as discussed in the meeting yesterday https://etherpad.openstack.org/p/liberty-swift-summit-topics16:16
mahaticnotmyname, working sessions, will that be listed out in detail? Is that for all levels of contributors?16:22
*** Nadeem has joined #openstack-swift16:24
notmynamemahatic: we need to propose both the fishbowl and working session ideas. and yes, everything at the summit should be accessible to as many people as possible.16:25
*** ozialien has quit IRC16:26
mahaticah okay16:26
notmynamethat being said, we can't spend all our time on "intro to swift..." ;-)16:31
notmynamemahatic: but I have zero concerns about you with that16:31
*** silor has quit IRC16:33
mahaticnotmyname, :) yeah, of course. I didn't have a great idea about the sessions, was just checking16:33
*** foexle_ has quit IRC16:34
notmynameok, time to go to the office, I think16:36
notmynamebe back online later16:36
*** mriedem has joined #openstack-swift16:46
mriedemso...a packaging question related to erasure codes and pyeclib - from a guy that doesn't know jack about swift or configuring it for this stuff,16:48
mriedembut with swift 2.2.2, are (1) erasure codes a thing officially since i still see reviews up for the bp and the docs talk about future support16:48
*** tdasilva has quit IRC16:49
pelusemriedem, we will be at beta16:49
mriedemok, i'm on this thread b/c of https://github.com/openstack/swift/commit/3d3db0ab789f37a69fc178eeb74c8cc61e4c6c1b16:49
peluseso it will al work but there will likely be tweaking needed in various areas - performance for example16:49
mriedemok, but still this is bleeding edge it sounds like16:49
pelusewell, beta, yes16:50
mriedemthe issue we've run into is when packaging pyeclib, it requires liberasurecode, gf-complete and jerasure: https://bitbucket.org/kmgreen2/pyeclib/src/bb07ee0dda5b33668db67f43467aaa514285b3cf/setup.py?at=v1.0.6#cl-21116:51
peluseand the docs for EC are still in review as well here: https://review.openstack.org/#/c/169990/16:51
mriedemfor legal reasons, we can't ship gf-complete and jerasure16:51
pelusemriedem, there's another EC library option as well, ISA-L16:51
mriedemreading the docs on liberasure code, it sounds like those are pluggable16:52
mriedemhttp://www.bytebucket.org/tsg-/liberasurecode16:52
mriedemyeah16:52
pelusemriedem, and I think we do need a bit more in the docs on how to install ISA-L as a back end16:52
mriedemso pyeclib doesn't necessarily need gf-complete/jerasure16:52
pelusecorrect16:52
mriedemok16:52
mriedemthey must just be the default/reference libs?16:52
pelusepyeclib is a python front-end for liberacecode which is the pluggable framework that takes different EC lirbaries16:52
pelusecorrect, jerasure is the default16:53
mriedemok, and it's setup.py is overzealous16:53
mriedemanyway, we can patch around that16:53
peluselet me grab some ISA-L directiosn for you real quick... one sec16:53
peluse download https://01.org/sites/default/files/downloads/intelr-storage-acceleration-library-open-source-version/isa-lopensrc2.13.tar.gz16:54
pelusemake clean && make && make install16:54
peluserun "sudo ldconfig"16:54
peluseand then change your swift.conf to use isa-l instead of jerasure... pasting example here in a sec16:54
mriedemah, ok, that backend config change was my question16:55
mriedemhow everything knew i was not using jerasure16:55
peluse[storage-policy:2]16:55
pelusename = ec4216:55
pelusedefault = yes16:55
pelusepolicy_type = erasure_coding16:55
peluseec_type = isa_l_rs_vand16:55
peluseec_num_data_fragments = 416:55
peluseec_num_parity_fragments = 216:55
pelusedo all that and you won't be using jerasure :)16:55
mriedemif gf-complete a dep of jerasure then?16:55
mriedemlooks like it16:56
mriedemgiven the jerasure docs16:56
mriedemok16:56
peluseI think only if you want SIMD support and maybe some other schemes, I'm not an expert there though16:56
mriedemok, that's all greek to me, i'm just packaging (or helping) :)16:56
mriedembut this has been super helpful16:57
peluseISA-L is the Intel EC library that is optmized for Intel architecture16:57
peluse:)16:57
mriedemso if i were crazy and wanted to use this on ppc64 or s390x, no dice16:57
mriedemi'm not even sure if we support that16:57
pelusethat would be nuts for sure :)16:57
mriedemha, ok16:57
mriedemalright, well peluse thanks a ton!16:57
pelusejust kidding, I'm not sure if that would work or not to tell you the truth.  If it doesn't it would be massively slower16:57
pelusewelcome!16:58
*** delattec has joined #openstack-swift16:58
*** cdelatte has quit IRC17:01
*** delatte has quit IRC17:01
*** mmcardle has quit IRC17:03
*** takoTuesday has quit IRC17:06
acolesclayg: in case you don't know, this exists thanks to tdasilva https://etherpad.openstack.org/p/swift_ec_triage17:06
* notmyname back17:13
* peluse out for a bit, commute :)17:13
*** openstack has quit IRC17:13
*** openstack has joined #openstack-swift17:14
*** delattec has quit IRC17:15
*** tdasilva has joined #openstack-swift17:22
*** mriedem has left #openstack-swift17:23
*** jordanP has quit IRC17:24
*** ozialien has joined #openstack-swift17:25
*** shri1 has joined #openstack-swift17:28
*** fanyaohong has quit IRC17:29
*** zhill_ has joined #openstack-swift17:33
notmynametdasilva: that's a great etherpad! thanks!17:33
*** geaaru has quit IRC17:35
*** zhill has joined #openstack-swift17:35
notmynameacoles: do you know the hacking rule import issue clayg is referring to? https://review.openstack.org/#/c/169988/17:36
notmynameacoles: you just added those bullets on the etherpad17:36
*** zhill_ has quit IRC17:36
*** aix has quit IRC17:37
acolesnotmyname: thinks its whether any rule would enforce using (multi line imports) vs. \ separated17:37
acolesnotmyname: and if not then do we enforce it manually in review as swift style thing17:37
notmynameI think there is a hacking rule about that, but we haven't added it to what we gate on17:38
notmynameIMO I don't really care. I prefer multiline with \ instead of () but it doesn't really matter to me17:38
acolesnotmyname: k. well i vote for discussing that 'later'17:38
notmynameacoles: oh I 100% agree that it's a distraction for now :-)17:38
acolesheh. i prefer (). there you go! one for over beers...17:38
notmynamewhich is why I was curious to see it on a list of questions to address17:39
acolesnotmyname: those are clayg's bullets from the patch review17:39
*** gyee has quit IRC17:40
*** vinsh has quit IRC17:40
notmynametorgomatic: you had said something in here (IRC) about why you didn't want to use swift.common.utils json (and instead imported directly)17:40
notmynametorgomatic: I totally get the "let's stop using simlplejson asap" but isn't it easier to switch out if we all depend on one import?17:41
notmynameie swift.common.util.json?17:41
tdasilvanotmyname: it was acoles idea, so thanks to him :-)17:41
notmynamethanks acoles17:41
* tdasilva read something the other day about shifting blame :P17:42
acolestdasilva: lol17:42
notmynametdasilva: "How to management"?17:43
tdasilva10117:43
torgomaticnotmyname: harder, not easier; the problem is that you have to carefully test each consumer of JSON-serialized data to make sure the introduction of unicode-all-the-time behavior doesn't goof it up17:43
notmynametorgomatic: ie not using a common place makes it easier to do "rolling upgrade" patches?17:43
torgomaticsimply running "perl -pi -e 's/simplejson/json/g'" across the Swift source tree would be far too big for anyone to test the whole thing17:44
torgomaticnotmyname: exactly; that way, I can start with, say, SLO, and make it use stdlib json, and then functionally test it with various object and container names in there17:45
torgomaticand then tempauth17:45
torgomaticand then X, and then Y, and so on until it's done17:45
notmynametorgomatic: ok, so what about the fact that right now you're only importing json and not the try/except with simplejson?17:46
torgomaticnotmyname: that's one fewer place I have to go change later17:46
torgomaticit's a small payload, so the speedup from simplejson is negligible17:47
notmynametorgomatic: what issues does it cause today with still nominally supporting py26?17:47
*** rmcall has joined #openstack-swift17:47
notmynameah ok17:47
torgomaticand the speedup only applies to python 2.6 anyway; stdlib json and simplejson perform very similarly in 2.7.17:47
*** dencaval has quit IRC17:48
*** vinsh has joined #openstack-swift18:01
*** joeljwright has joined #openstack-swift18:02
*** joeljwright has quit IRC18:03
claygmorning!18:04
*** ultgeek has joined #openstack-swift18:04
*** joeljwright1 has quit IRC18:05
jrichliclayg: morning18:07
*** proteusguy_ has joined #openstack-swift18:07
ultgeekDo you anticipate Swift 2.3.0 being released prior to 4/30 Kilo release?18:08
claygI like () better - hacking has no rules for those kinds of imports because they say always import he module - my point was just that we can't make a thing about it if we don't enforce it18:09
claygso even if we had an opionin (which we don't) - step 0 would be to write a script that can enforce it18:09
*** proteusguy has quit IRC18:11
*** proteusguy_ has quit IRC18:12
*** takoTuesday has joined #openstack-swift18:13
claygcschwede: I think you asked about fixing nits in the review chain - please paste/diff's only unless it's docs18:15
*** ultgeek has left #openstack-swift18:16
claygthat py26 failure is surprising18:16
claygwas someone saying they were having trouble with deadsnakes?  vagrant-swift-all-in-one should square it for you - i forget what all had to be done - it was something like add a key for the ppa, add the ppa, apt-get install the package18:17
clayggod i am *so* sick of seeing installs of python libraries fail because of pbr18:19
claygfucking python has been around for 20 years - we are *not* supposed to be one of those languages that doesn't have packing in a reliable working state - regradless of cruft - it should fucking *work*18:20
*** proteusguy_ has joined #openstack-swift18:21
acolesclayg: hi. well i didn't get as far as i'd hoped but there's diff linked off patch 17033918:34
patchbotacoles: https://review.openstack.org/#/c/170339/18:34
claygacoles: you're a champ!18:34
* clayg has the ball18:34
claygtorgomatic: can you chime in on the patch 169989 changeset 4 proxy.controllers.obj L1272 - there's a conversation ongoing and you should make the call18:35
patchbotclayg: https://review.openstack.org/#/c/169989/18:35
acolesclayg: when i applied your diff (from your gist) i saw KeyErrors - see my comment on patch - due to ring.get_more_nodes not adding the node[index] key :?18:35
claygfuck that noise - I don't want no indexes in my handoff nodes - they're no good for anything but confusing the issue18:36
claygacoles: which patch is the good one (the one you wrote) - diff_wrt_first_patch or first_patch18:39
claygI think first_patch (i.e. the second one)18:39
acolesclayg: first_patch is good, tests all pass18:39
claygperfecto!18:40
claygk, i'm applying now18:40
acolesclayg: diff_wrt_first_patch has your diffs manually applied to first_patch, tests fail18:40
*** BAKfr has quit IRC18:40
claygdamnit - i don't know how to apply email formatted patches :P18:40
torgomaticclayg: blathering now18:41
claygI normally just pipe the diff to git apply18:41
acolesclayg: git apply18:41
acolesjust works no?18:41
claygacoles: like curl gist | git apply - says it doesn't like it - i'm assuming it's because it's email formatted?18:41
acoleslet me try it omm18:42
*** ozialien has quit IRC18:42
acolesclayg: works from local file18:43
*** BAKfr has joined #openstack-swift18:44
claygyeah i had to -3 - fixing up conflicts now - maybe my working tree is whack?18:44
*** ozialien has joined #openstack-swift18:44
claygacoles: doh!  yeah I had my wip-fix-ec-recon changes let me get back in line with reality18:45
claygsorry for the noise18:45
acolesclayg: oh crap, so diff_wrt_first_patch is only a diff from first_patch, not from the review18:47
acolesclayg: you'll have to stack them18:47
claygi'll get it squared - thanks a ton18:48
acolesclayg: ok you have the ball. imho we could leave the durable delete in purge() for timebeing, in favor of other must-have stuff. it bugs me i didn't get it done but hey!18:49
claygacoles: np, well see how far I get today18:49
acolesclayg: k, i'm calling it a day18:50
*** mahatic has quit IRC18:53
*** aix has joined #openstack-swift18:55
clayg acoles night' sorry to keep you up18:55
*** Nadeem has quit IRC19:01
acolesclayg: just spotted, ObjectReplicator.ssync() in my patch needs to check in_sync_objs is not empty before the zip19:07
acolesclayg: oops19:07
claygacoles: I'll find it - now worries - thanks for the heads up19:08
*** acoles is now known as acoles_away19:08
claygoh i see - my pbr problems was because I was running an aggregiously old distrobution like *precise*19:14
claygya'll remember when we used to pretend we could support lucid against the onslaught of infra's "newest all the things"!19:15
* clayg was so naive19:15
claygtorgomatic: so... json19:17
claygwhoa aws efs - nice19:20
egonlike Manila?19:25
*** Nadeem_ has joined #openstack-swift19:27
*** tacotuesday has joined #openstack-swift19:37
*** proteusguy has joined #openstack-swift19:38
*** takoTuesday has quit IRC19:40
*** proteusguy has quit IRC19:44
*** thumpba has joined #openstack-swift19:58
*** thumpba_ has joined #openstack-swift19:59
*** proteusguy has joined #openstack-swift20:00
*** Nadeem_ has quit IRC20:01
*** thumpba has quit IRC20:02
torgomaticclayg: so?20:03
*** ozialien has quit IRC20:03
*** shri2 has joined #openstack-swift20:04
*** shri1 has quit IRC20:04
claygtorgomatic: what?  aws has cool tech - i find it interesting20:05
torgomaticclayg: oh, not that. I was talking about "so... json"20:06
claygoh - sorry - yeah ummm... so swift.common.utils is like a bad idea?20:06
claygwell, rather from swift.common.utils import json is a bad idea20:08
tacotuesdayokay guys I think I almost have this, still trying to serve docs from my swift container (set to globally readable). Im in the process of learning python/django as well. I am modifying an application that uses django.views.static serve to serve the files20:08
clayg?20:08
*** shri2 has quit IRC20:08
tacotuesdaybut putting the raw url for basepath doesnt work as an argument for serve20:09
tacotuesdayis there a simpler way to redirect to my swift container objects than serve?20:09
tacotuesdayI think I need whatever object serve returns though20:09
tdasilvapeluse, clayg: quick question: I'm trying to review reconstructor code and keep going back between doc and the code itself. One thing is not clear to me, we say a lot that a node will contact only it's adjacent nodes to "sync", but I'm assuming that if it needs to reconstruct a whole fragment archive, then it would need to get at least ec_ndata fragments, so it would need to connect to a lot more nodes, what am i miss20:13
tdasilvaing?20:13
pelusethe "contact" we're talking about  in the docs there is to compare hashes, not to actually perform reconstruction20:17
pelusebecause for sure you have to go to enough survinving nodes to read in their frag archives :)20:17
tdasilvapeluse: thanks20:22
pelusesure20:24
peluseclayg, on that py26 deadsnakes thing that was me - its a proxy problem when I'm at work.  Just got home and got it fine, ran full tox and that patch and it runs fine (updated ether as well)20:25
*** ozialien has joined #openstack-swift20:26
*** tsg has joined #openstack-swift20:33
*** delatte has quit IRC20:33
*** ozialien has quit IRC20:34
tacotuesdayclayg: can you comment on how to access objects in my swift container via url instead of file path? I have a serve function that serves from a filepath but I would like to routh that to my swift container url20:40
*** lpabon has quit IRC20:46
*** Nadeem_ has joined #openstack-swift20:58
*** zhill has quit IRC21:00
*** Nadeem_ has quit IRC21:13
openstackgerritTim Burke proposed openstack/python-swiftclient: Compare each chunk of large objects when downloading  https://review.openstack.org/17221221:17
*** tacotuesday has quit IRC21:21
*** vinsh has quit IRC21:39
*** gyee has joined #openstack-swift21:41
*** jkugel has quit IRC21:45
*** jkugel has joined #openstack-swift21:45
*** jkugel has quit IRC21:50
claygtacotuesday - you left!22:00
claygpeluse: what's the difference between flat_xor_hd_4 and flat_xor_hd_3?22:02
klrmnclayg: maybe they are changing their nick to tacothursday?22:02
*** vinsh has joined #openstack-swift22:02
claygpeluse: tsg: yuan: I'm getting pyeclib.Error: Invalid arguments passed to liberasurecode_instance_create instead of the expected ECDriverError on pyeclib 1.0.6 when I try to specifiy flat_xor_hd_4 or flat_xor_hd_3 instead of jerasure_rs_vand22:06
tsgclayg: looking .. 1 moment22:08
*** vinsh has quit IRC22:10
*** vinsh_ has joined #openstack-swift22:10
*** zhill has joined #openstack-swift22:11
tsgclayg: there is restriction on what k and m values can be used with flat_xor_hd22:13
tsgclayg: the minimum we test with is (6, 6) .. but I am trying to find out if we can use another22:13
claygsomething that adds up to 6 would be ideal :\22:13
tsgclayg: ok :) /me checking22:14
*** jrichli has quit IRC22:17
tsgclayg: the minimum we have implemented in the XOR liberasurecode backend is (5, 5)22:20
tsgI am checking with Kevin if we can quickly add a (3, 3)22:21
tsg(it should just be adding a new spec to a header)22:21
claygtsg: may be moot if it's not already in 1.0.622:21
claygw22:21
tsgclayg: we are about to release 1.0.7 for some fixes Pete suggested - and Kevin is getting ready to add (3, 3) to that codebase along with some unit tests22:22
tsgbut for now, (5, 5) should work22:22
notmynameyo. clayg just caught me up to what tsg and peluse are talking about ?22:25
claygi think vagrant-swift-all-in-one can do it easy!22:26
clayg... probetests won't pass :\22:26
notmynametsg: if xor codes require 10 devs (for now), let's stick with jerasure in the sample config. and document jerasure + isa-l + xor.22:26
*** vinsh has joined #openstack-swift22:27
*** vinsh_ has quit IRC22:27
notmynameand if we can simplify dependencies later (and keep the saio requirements reasonable), then let's update it later22:27
tsgnotmyname, clayg: sounds fine to me.  the only reason this is an issue is because for some reason, folks are using the pypi version of pyeclib to create their rpms/debs (which includes jerasure)22:28
notmynametsg: "some reason" ;-)22:28
claygtsg: convience?22:28
notmynametsg: like, maybe because that's where everyone gets pything dependencies? ;-)22:28
tsgnotmyname, clayg: zaitcev categorically told me "no pypi" for Red hat packaging :)22:29
claygzaitcev is always saying stuff like that22:29
pelusenever a dull moment!22:32
notmynamewell yeah, don't make your packages pull from pypi. nobody wants that22:32
notmynamebut pypi is where people look for dependencies that are newer versions that what's available from a distro22:33
mattoliverauMorning22:34
notmynamehi mattoliverau22:35
mattoliverauLooks like everyone was busy again last night22:37
notmynamemattoliverau: https://etherpad.openstack.org/p/swift_ec_triage is a pretty good summary (courtesy of tdasilva and acoles_away)22:38
mattoliverauThanks, saw that in scroll back, nice work tdasilva!22:40
notmynamemattoliverau: also, it's friday for you, so you're time for ec is almost up! ;-)22:42
claygoh - wait - I think we need something about the list re: how much data to expose in /info about ec policies?22:43
mattoliveraunotmyname: lol, it is Friday, but the wife is in Spain so I'm free to work on Saturday ;)22:44
notmynamewhoa. just a little weekend jaunt to 12 time zones away ;-)22:45
claygaww yeah 12 devices 10 replicas flat_xor_hd_4 (5,5) was pretty easy on vagrant swift all in one22:46
*** Trixboxer has quit IRC22:49
mattoliveraunotmyname: lol, yeah, you know how it is, a quick trip to barcelona every now and again is good for the frequent flying points :P22:49
*** gyee has quit IRC22:51
*** thumpba has joined #openstack-swift23:06
*** thumpba_ has quit IRC23:08
MooingLemurit would be nice if swift-object-auditor -o -z would exit with a different exit status than if it exited by finishing the pass.23:09
MooingLemurI can send it a TERM and it exits with status 0, so I don't know if it actually completed, or got interrupted23:10
MooingLemuris there a better way (besides tailing syslog?23:10
MooingLemurehh, such a kludge: swift-object-auditor /etc/swift/object-server.conf -z 100 -d R17 -v -o 2>&1 | fgrep -q '"once" mode completed'; echo $?23:15
MooingLemur:)23:15
*** gyee has joined #openstack-swift23:16
*** lcurtis has quit IRC23:18
mattoliverauBut a return of 0 is success and >0 is usually an error.. So 0 means it successfully finished23:19
MooingLemurWhat I'm trying to achieve is making sure a zbf audit completes after a crash.  Before mounting, I am testing the mount dev with file -Ls and grep to see if it needs ext4 journal recovery.  If it does, drop a marker file, then mount it, and then fire off the zbf auditor.23:20
MooingLemurbut only remove the marker file if the zbf pass actually finishes and not if it gets interrupted by an interim reboot23:20
MooingLemurI think my kludge will work23:20
claygi think swift-ring-builder has that weird thing where there's a "success but with important detail" "errorcode"23:21
claygI think drive-audit also has some fancy return code23:21
*** mjfork has joined #openstack-swift23:28
*** mjfork has quit IRC23:29
claygI need to take off, and won't have internet - I'll be working on reconstructor changes I didn't get to day wrt job building23:33
clayg... then in the am I have someone coming by to work on my furnace23:34
*** zhill has quit IRC23:34
claygacoles_away: I'm going to focus adding the job/part/suffix handling - building your revert cleanup23:34
notmynameclayg: will you be pushing new patch sets tonight?23:34
notmynameclayg: do you have the internets yet?23:34
claygnotmyname: don't get a head of the story - new patch set coming up in a few23:34
*** thumpba_ has joined #openstack-swift23:34
notmynamelol, ok :-)23:34
notmynameclayg: now you know how I feel in the meetings when you start doing that ;-)23:35
claygnotmyname: basically all the nits we checked off the etherpad, plus sam's fixes, and acoles fixes23:35
*** jrichli has joined #openstack-swift23:35
claygnotmyname: lol - yeah i totally do that23:35
claygumm... anyway - i guess that's it mostly23:36
*** kei_yama has joined #openstack-swift23:36
claygacoles_away: so if you want to keep chipping away at the purge stuff that'd be sweet - but mostly you'll probably have to review all my changes to your diff23:36
claygI apparently think a set of 2-tuples isn't as good as a sict23:36
claygs/sict/dict23:36
claygOMG pep8 is slow23:36
claygi'm sure it's fine right?23:36
*** thumpba has quit IRC23:37
notmynamesict? static dict. sounds interesting. it's like a dictionary, but faster!23:37
notmynameor in our case, it's probably a "swift dictionary" (and not fast, but it is really really durable)23:38
claygmattoliverau: ok - new changes up - it's all you now23:38
claygnotmyname: did we talk about how we're not going to be done tomorrow?23:38
notmynameclayg: ya. targeting tuesday23:39
claygnotmyname: it's not that I don't think we have a ton of patches that are already getting the +2's the deserve (but like we're also still targeting a few things in etherpad)23:39
claygoh, yeah I made _reroute raise a 50323:40
*** zhill has joined #openstack-swift23:40
claygtorgomatic: how did we not get an answer on common.utils.json?23:40
mattoliverauclayg: thanks will take a look, have a great evening23:50

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