Wednesday, 2014-12-10

*** david-lyle is now known as david-lyle_afk00:11
*** Masahiro has joined #openstack-swift00:19
*** tab____ has quit IRC00:20
*** Masahiro has quit IRC00:24
*** dmorita has joined #openstack-swift00:30
*** rmcall has quit IRC00:41
*** Masahiro has joined #openstack-swift00:45
*** gyee has quit IRC00:50
*** StevenK has joined #openstack-swift01:04
*** tellesnobrega_ has joined #openstack-swift01:05
*** addnull has joined #openstack-swift01:05
*** xianghui has joined #openstack-swift01:15
*** Masahiro has quit IRC01:31
*** xianghui has quit IRC01:32
*** xianghui_ has joined #openstack-swift01:32
*** xianghui_ is now known as xianghui01:33
*** Masahiro has joined #openstack-swift01:34
*** mitz- has quit IRC01:39
*** mitz_ has joined #openstack-swift01:41
*** oomichi_ has joined #openstack-swift01:57
*** haomaiwang has joined #openstack-swift02:14
*** Masahiro has quit IRC02:21
*** Masahiro has joined #openstack-swift02:27
*** oomichi_ has quit IRC02:44
*** tellesnobrega_ has quit IRC02:51
*** tellesnobrega_ has joined #openstack-swift02:53
*** sluo_wfh has joined #openstack-swift03:01
*** addnull has quit IRC03:06
*** mahatic has quit IRC03:07
*** rdaly2 has joined #openstack-swift03:12
*** jyoti-ranjan has joined #openstack-swift03:22
*** sluo_wfh is now known as sluo_laptop03:26
*** tkay has joined #openstack-swift03:27
*** tkay has quit IRC03:33
*** oomichi_ has joined #openstack-swift03:35
*** bill_az has quit IRC03:43
*** lpabon has joined #openstack-swift03:45
*** wangzh has joined #openstack-swift03:49
*** wangzh has quit IRC03:50
*** wangzh has joined #openstack-swift03:51
*** addnull has joined #openstack-swift04:17
*** tkay has joined #openstack-swift04:19
*** addnull has quit IRC04:20
*** addnull_ has joined #openstack-swift04:20
*** tkay has quit IRC04:20
*** stevage has joined #openstack-swift04:41
stevagehello, anyone know how to make swift-ui work? I'm getting  XMLHttpRequest cannot load https://keystone.rc.nectar.org.au:5000/v2.0/. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://vault.melbourne.vicnode.org.au:8888' is therefore not allowed access.04:41
stevageApparently Keystone doesn't (didn't?) support CORS: http://blog.yunak.eu/2013/07/24/keystone_cors/ - so I'm wondering how do people normally make swift-ui work?04:41
stevageFWIW, all my data is world-readable, so I actually really want to just be able to browse files without any login anyway.04:44
mattoliveraustevage: sorry, I've never used swift-ui04:51
*** fifieldt has joined #openstack-swift04:53
*** ppai has joined #openstack-swift05:01
*** wangzh has quit IRC05:02
*** tellesnobrega_ has quit IRC05:12
*** rdaly2 has quit IRC05:33
*** rdaly2 has joined #openstack-swift05:33
*** rdaly2 has quit IRC05:38
*** tkay has joined #openstack-swift05:49
*** gyee has joined #openstack-swift06:08
*** SkyRocknRoll has joined #openstack-swift06:18
mattoliverauwell I'm going to call it a day, night swiftland06:26
*** jyoti-ranjan has quit IRC06:42
*** addnull_ has quit IRC06:44
*** oomichi_ has quit IRC06:46
*** stevage has quit IRC06:48
*** kopparam has joined #openstack-swift06:57
*** kopparam has quit IRC07:08
*** kopparam has joined #openstack-swift07:08
*** tkay has quit IRC07:10
*** tkay has joined #openstack-swift07:11
*** tkay has quit IRC07:20
*** ho has joined #openstack-swift07:20
*** jyoti-ranjan has joined #openstack-swift07:21
openstackgerritPrashanth Pai proposed openstack/swift: fsync() on directories  https://review.openstack.org/12692307:23
*** k4n0 has joined #openstack-swift07:25
*** addnull has joined #openstack-swift07:46
*** nellysmitt has joined #openstack-swift07:55
*** fifieldt has quit IRC07:56
*** gyee has quit IRC07:58
*** X019 has joined #openstack-swift07:58
*** ho has quit IRC08:02
*** kei_yama has joined #openstack-swift08:04
*** kei_yama has quit IRC08:05
*** ho has joined #openstack-swift08:07
hoHi, sorry to bother you. I would like to have reviews for the following patches.08:07
hohttps://review.openstack.org/#/c/133155/08:07
hohttps://review.openstack.org/#/c/138342/208:08
hohttps://review.openstack.org/#/c/136258/08:08
hofirst time to use this IRC :)08:08
*** rledisez has joined #openstack-swift08:10
*** larry_ has joined #openstack-swift08:17
*** jistr has joined #openstack-swift08:17
*** addnull has quit IRC08:21
*** oomichi has joined #openstack-swift08:26
*** rledisez has quit IRC08:28
*** rledisez has joined #openstack-swift08:33
*** addnull has joined #openstack-swift08:37
*** ho has quit IRC08:38
*** oomichi has quit IRC08:40
*** nellysmitt has quit IRC08:41
*** jordanP has joined #openstack-swift08:59
*** jordanP has joined #openstack-swift08:59
*** ppai has quit IRC09:03
*** ppai has joined #openstack-swift09:17
*** larry_ has left #openstack-swift09:19
*** kopparam_ has joined #openstack-swift09:24
*** kopparam has quit IRC09:27
*** nellysmitt has joined #openstack-swift09:29
*** Masahiro has quit IRC10:10
*** tellesnobrega_ has joined #openstack-swift10:10
*** Masahiro has joined #openstack-swift10:11
*** aix has joined #openstack-swift10:14
openstackgerritXiang Hui proposed openstack/swift: Fix getaddrinfo if dnspython is installed.  https://review.openstack.org/11661810:17
*** tellesnobrega_ has quit IRC10:23
*** kopparam has joined #openstack-swift10:29
*** dmorita has quit IRC10:29
*** koppara__ has joined #openstack-swift10:30
*** tellesnobrega_ has joined #openstack-swift10:31
*** kopparam_ has quit IRC10:32
*** Masahiro has quit IRC10:33
*** kopparam has quit IRC10:33
*** tellesnobrega_ has quit IRC10:43
*** haomaiwang has quit IRC10:57
*** NellyK has joined #openstack-swift11:01
*** NellyK is now known as nellysmi_11:02
*** nellysmitt has quit IRC11:04
*** rebelshrug has quit IRC11:04
*** nellysmi_ has quit IRC11:25
*** addnull has quit IRC11:26
*** Masahiro has joined #openstack-swift11:34
*** acoles_away is now known as acoles11:35
*** Masahiro has quit IRC11:38
*** lpabon has joined #openstack-swift12:04
*** nellysmitt has joined #openstack-swift12:04
*** david-lyle_afk is now known as david-lyle12:09
*** aix has quit IRC12:09
*** SkyRocknRoll has quit IRC12:16
*** david-lyle is now known as david-lyle_afk12:17
*** david-lyle_afk is now known as david-lyle12:17
*** jistr has quit IRC12:20
*** david-lyle is now known as david-lyle_afk12:23
*** david-lyle_afk is now known as david-lyle12:23
*** nshaikh has joined #openstack-swift12:23
*** david-lyle is now known as david-lyle_afk12:31
*** david-lyle_afk is now known as david-lyle12:31
*** addnull has joined #openstack-swift12:37
*** jistr has joined #openstack-swift12:40
*** addnull has quit IRC12:42
*** addnull has joined #openstack-swift12:44
*** koppara__ has quit IRC12:46
*** Masahiro has joined #openstack-swift12:46
*** Masahiro has quit IRC12:51
*** david-lyle is now known as david-lyle_afk13:00
*** aix has joined #openstack-swift13:04
*** tdasilva has joined #openstack-swift13:05
*** tdasilva has quit IRC13:08
*** jyoti-ranjan has quit IRC13:15
*** miurahr has joined #openstack-swift13:24
*** miurahr has left #openstack-swift13:25
*** zul has quit IRC13:30
*** ppai has quit IRC13:31
*** zul has joined #openstack-swift13:34
*** ppai has joined #openstack-swift13:45
*** kopparam has joined #openstack-swift13:49
*** ppai has quit IRC13:50
*** bill_az has joined #openstack-swift13:59
*** ppai has joined #openstack-swift14:05
*** rdaly2 has joined #openstack-swift14:11
openstackgerritDaniel Wakefield proposed openstack/python-swiftclient: Change tests to use new CaptureOutput class.  https://review.openstack.org/14069014:13
*** rdaly2 has quit IRC14:16
*** annegent_ has joined #openstack-swift14:20
*** addnull has quit IRC14:22
*** ppai has quit IRC14:27
*** Masahiro has joined #openstack-swift14:35
*** rdaly2 has joined #openstack-swift14:38
*** Masahiro has quit IRC14:39
*** rdaly2_ has joined #openstack-swift14:40
*** tdasilva has joined #openstack-swift14:40
*** ppai has joined #openstack-swift14:40
*** rdaly2_ has quit IRC14:41
*** rdaly2 has quit IRC14:42
*** ppai has quit IRC14:47
*** miurahr has joined #openstack-swift14:49
*** dmsimard_away is now known as dmsimard14:51
*** addnull has joined #openstack-swift15:03
*** miurahr has quit IRC15:04
*** bill_az has quit IRC15:22
*** kopparam has quit IRC15:36
*** nshaikh has quit IRC15:43
*** dmsimard is now known as dmsimard_away15:45
*** dmsimard_away is now known as dmsimard15:48
*** lcurtis has joined #openstack-swift16:03
*** jistr has quit IRC16:10
*** Nadeem_ has joined #openstack-swift16:12
*** Nadeem_ has quit IRC16:12
*** Nadeem_ has joined #openstack-swift16:13
*** X019 has quit IRC16:24
*** Masahiro has joined #openstack-swift16:24
*** panbalag has joined #openstack-swift16:27
*** Masahiro has quit IRC16:28
*** annegent_ has quit IRC16:29
*** kopparam has joined #openstack-swift16:29
*** AbyssOne is now known as a1|away16:34
*** X019 has joined #openstack-swift16:37
*** linuxgeek_ has joined #openstack-swift16:45
*** zhiyan has quit IRC16:46
*** serverascode___ has quit IRC16:47
*** ipolyzos has quit IRC16:47
*** nottrobin_ has quit IRC16:48
*** goodes has quit IRC16:48
linuxgeek_hi, swift is configured as a backend for glance. uploaded a 15gb image file and when launching an instance using this image, it failed IOError: [Errno 32] Corrupt image download. Checksum was 17a79c79bb35822cef49239c5ca26545 expected 4f7d0c57c74527872afb4cc7cc5a61af16:48
openstackgerritChristian Schwede proposed openstack/swift: Warn if multiple replicas are stored within same region/zone/node  https://review.openstack.org/14047816:49
openstackgerritChristian Schwede proposed openstack/swift: Warn if multiple replicas are stored within same region/zone/node  https://review.openstack.org/14047816:51
*** Vijay has joined #openstack-swift16:53
*** rledisez has quit IRC17:03
*** david-lyle_afk is now known as david-lyle17:06
*** dmsimard is now known as dmsimard_away17:09
*** k4n0 has quit IRC17:12
*** nellysmitt has quit IRC17:25
*** Vijay has quit IRC17:37
*** aix has quit IRC17:45
notmynamegood morning17:45
*** gyee has joined #openstack-swift17:46
*** annegent_ has joined #openstack-swift17:47
*** nottrobin_ has joined #openstack-swift17:57
*** zaitcev has joined #openstack-swift17:58
*** ChanServ sets mode: +v zaitcev17:58
* notmyname preemptively apologizes for leave/join irc messages that are soon to happen18:01
*** annegent_ has quit IRC18:03
*** serverascode___ has joined #openstack-swift18:03
*** ChanServ sets mode: +v cschwede18:04
*** zhiyan has joined #openstack-swift18:09
*** acorwin has quit IRC18:10
*** ctennis has quit IRC18:10
*** otherjon has quit IRC18:10
*** zackmdavis has quit IRC18:10
*** bobby2 has quit IRC18:10
*** joearnold has quit IRC18:10
*** anderstj has quit IRC18:10
*** hugokuo has quit IRC18:10
*** alpha_ori has quit IRC18:10
*** charz has quit IRC18:10
*** chrisnelson has quit IRC18:10
*** amandap has quit IRC18:10
*** mlanner has quit IRC18:10
*** swifterdarrell has quit IRC18:10
*** goodes has joined #openstack-swift18:11
*** Masahiro has joined #openstack-swift18:13
*** kopparam has quit IRC18:16
*** ipolyzos has joined #openstack-swift18:17
*** jordanP has quit IRC18:17
*** Masahiro has quit IRC18:17
*** acorwin has joined #openstack-swift18:18
*** amandap has joined #openstack-swift18:19
*** anderstj has joined #openstack-swift18:19
*** nellysmitt has joined #openstack-swift18:19
*** bobby2 has joined #openstack-swift18:20
*** charz has joined #openstack-swift18:20
*** nellysmitt has quit IRC18:20
*** chrisnelson has joined #openstack-swift18:21
*** ctennis has joined #openstack-swift18:21
*** swifterdarrell has joined #openstack-swift18:22
*** ChanServ sets mode: +v swifterdarrell18:22
*** hugokuo has joined #openstack-swift18:24
*** joearnold has joined #openstack-swift18:24
*** mlanner has joined #openstack-swift18:25
*** alpha_ori has joined #openstack-swift18:27
*** otherjon has joined #openstack-swift18:27
*** zackmdavis has joined #openstack-swift18:29
*** annegent_ has joined #openstack-swift18:34
*** cutforth has joined #openstack-swift18:35
*** annegent_ has quit IRC18:39
*** ctennis has quit IRC18:39
*** ctennis has joined #openstack-swift18:39
*** flwang has quit IRC18:40
notmynameswift team meeting in #openstack-meeting in 15 minutes18:45
*** gvernik has joined #openstack-swift18:47
*** addnull has quit IRC18:49
quack_quack_i'm trying to enable proxy-logging.  Here's my pipeline: http://pastebin.com/ZnEMNrYY18:52
*** flwang has joined #openstack-swift18:52
quack_quack_and i've also added this to my proxy-conf: http://pastebin.com/VSSRVK8C18:53
notmynamequack_quack_: bulk seems like a weird place18:53
quack_quack_bulk was inserted there by default.  I'm using packstack/RDO18:53
notmynamehttps://github.com/openstack/swift/blob/master/etc/proxy-server.conf-sample#L7918:54
notmynamequack_quack_: and proxy-logging isn't there by default in RDO?18:54
quack_quack_nope18:54
quack_quack_it's driving me crazy18:54
notmynamehmm..18:54
notmynamezaitcev: wat? ^^18:55
quack_quack_i'm trying to figure out what's going on with s3_token18:55
quack_quack_notmyname: this is my default pipeline - http://pastebin.com/EUeqb31N18:57
notmynamequack_quack_: I'd recommend looking at the sample proxy config I pasted above18:57
*** kota_ has joined #openstack-swift18:58
quack_quack_notmyname: would you recommend just using the sample instead of what I have now?18:58
quack_quack_f it.  i'm just gonna give it a try.18:59
notmynameheh18:59
notmynameswift team meeting time in #openstack-meeting18:59
notmynamewheeee19:00
quack_quack_ok i restarted openstack-swift-proxy.service19:01
quack_quack_no errors19:01
*** annegent_ has joined #openstack-swift19:02
notmynamedfg: around?19:04
*** jistr has joined #openstack-swift19:05
*** tsg has joined #openstack-swift19:09
*** kopparam has joined #openstack-swift19:17
*** X019 has quit IRC19:25
*** annegent_ has quit IRC19:26
*** annegent_ has joined #openstack-swift19:27
*** jistr has quit IRC19:30
*** kota_ has quit IRC19:42
*** acoles is now known as acoles_away19:43
mattoliverauok, now I'm confused what to do (post meeting), damn summer means the sun is up... I guess I'll go make breakfast.. bbl19:44
zaitcevquack_quack_: That pipeline and the filter look about right, so what is the actual problem?19:44
*** tab____ has joined #openstack-swift19:48
*** tsg has quit IRC19:49
*** kopparam has quit IRC19:51
*** Masahiro has joined #openstack-swift20:01
notmyname2.2.1 stuff ordered on https://wiki.openstack.org/wiki/Swift/PriorityReviews now20:01
*** Masahiro has quit IRC20:06
*** cutforth has quit IRC20:07
*** annegent_ has quit IRC20:09
*** echevemaster has joined #openstack-swift20:12
tdasilvaclayg: around?20:26
claygtdasilva: not really - getting on a call20:26
tdasilvaclayg: ok, no problem..20:27
*** annegent_ has joined #openstack-swift20:39
*** annegent_ has quit IRC20:44
quack_quack_zaitcev: I'm gonna check this.  I have a feeling it's actually working and i'm just not enabling debug logging.20:48
*** gvernik has quit IRC20:48
*** kopparam has joined #openstack-swift20:49
zaitcevquack_quack_: I have to admit that when I hit issue with s3_token, I usually end resorting to fp=open("/tmp/dump",'a'); fp.write("debug info"); fp.close() all over that thing.20:50
quack_quack_cool thanks zaitcev20:51
zaitcevFor a long time the logging was FUBAR in both s3_token and switf3 because they used LOG, but it's completely mute when such middleware is loaded into Swift. It must use Swift's own swift.utils.get_logger().20:51
quack_quack_zaitcev: while i've got you20:51
quack_quack_I've been trying to figure this out for a couple days20:51
quack_quack_but the POST /v2.0/s3tokens api call20:52
notmynamezaitcev: quack_quack_: check out q https://pypi.python.org/pypi/q/2.420:52
torgomaticfwiw the "q" module is basically the Cadillac of debugging-by-dumping-to-a-file20:52
quack_quack_I don't know if I'm not looking hard enoguh20:52
quack_quack_but I can't find any documentatoin on this20:52
quack_quack_so as I understand the code20:52
quack_quack_in order to check my S3 credential20:52
quack_quack_I need to pass20:52
torgomaticimport q; q.q(thingy, other_thingy, blah)  -->  dumps to /tmp/q with pretty-printing and line numbers and stuff20:52
quack_quack_access key ID20:52
quack_quack_a token which is an HMAC hash of 'something', usually a canonical request20:53
quack_quack_and a signature calculated from that token20:53
quack_quack_?20:53
quack_quack_thanks notmyname and torgomatic20:53
zaitcevI don't know much about the split between Keystone and Swift either, in regards to S3. I only implemented S3 for another project. As you observed S3 uses HMAC and there's a definiton of it in Amazon's devel guide.20:55
zaitcevSo20:55
quack_quack_right20:55
quack_quack_i'm getting a 401 error when I pass it a garbage token and signature20:55
zaitcevLogically, all the things except the plaintext need to be shipped to Keystone, which then finalizes HMAC comparison20:55
quack_quack_i *think* that's the expected out put if you pass garbage.20:55
quack_quack_for a little while, i though I needed ot pass a valid admin token or something20:55
zaitcevMan, I completely forgot what I did to make it work. I remember some tinkering...20:57
zaitcevAnd I had to have tenant:account thing as Amazon username or something like that.20:59
quack_quack_that's something I don't understand at all.  it seems like you can do tenant:account or ec2 access key ID21:00
quack_quack_i think you only use ec2 access key ID if you have keystone enabled21:00
quack_quack_it's like, we need some documentation or something :)21:00
zaitcevhmm... the only note I saved was to run "keystone-manage credentials add zaitcev EC2 zaitcev keypass admten"21:02
zaitcevadmten being the password's plaintext21:02
zaitcevBut you're obviously past that stage.21:03
zaitcevso in the end captured headers look like this (has to have double colon): Authorization: AWS zaitcev:admin:yyiMmswAXi6C6dsNKiaksjooxHI=21:03
zaitcevapparently at the time I thought this information was the key to make swift3 work21:05
*** annegent_ has joined #openstack-swift21:05
quack_quack_did you have keystone in the pipeline?21:06
quack_quack_or keystoneauth or whatever21:06
zaitcevI don't think it's necessary if normal Swift apps aren't used, but I did.21:08
zaitcevpipeline = healthcheck cache s3token authtoken swift3 keystone proxy-logging dlo proxy-server21:09
quack_quack_ok thanks21:10
notmynamezaitcev: what version of swift is in rdo?21:10
zaitcevnotmyname: sec... Lon (other guy) built 2.2.0 but I dunno if it made out to repos21:11
mattoliveraumorning again21:11
notmynamezaitcev: just curious since that looks like a pretty old pipeline construction (position of dlo, but on the other hand it's here) and only one proxy-logging21:12
zaitcevnotmyname: it's 1.13.1 right now21:12
notmynamealso no catch_errors or gatekeeper21:12
notmynamezaitcev: ok, thanks21:12
*** kopparam has quit IRC21:21
*** tdasilva has quit IRC21:21
*** X019 has joined #openstack-swift21:23
*** JonB has joined #openstack-swift21:30
JonBHow does erasure encoding change the number of zones required in a region?21:33
notmynameJonB: it doesn't. zones are a way to get better distribution across failure domains21:35
JonBnotmyname: So, 5 zones if still good enough?21:36
JonB2 parts of the object will not land on the same server/disk21:36
JonBnotmyname: *5 zones is still good enough?21:37
notmynameJonB: you've piqued my curiosity21:38
notmynameJonB: but in answer to your question, 5 is fine. so is 50. so is 121:38
JonBIf I have 14 parts (of a single object) and 5 zones then 3 parts could land on the same disk, right?21:38
notmynameonly if you have one drive per zone21:39
mattoliverauJonB: on the same zone, no necessarily the same disk.21:39
mattoliverauwhat notmyname said21:39
notmynamewhat mattoliverau said21:39
notmynameJonB: swift arranges data across drives>disks>zones>regions. it will distribute the data as widely as possible across those failure domains21:40
notmynameJonB: swift uses what you have and doesn't require that you have a certain number (beyond "you should have more than 3 drives in your cluster")21:41
JonBnotmyname: Yes, all these same rules will still apply to EC, correct?21:43
JonBexcept for min of 14 drives, then?21:44
notmynameJonB: yup.21:45
JonBThanks!21:46
notmynameJonB: what's your swift cluster look like today?21:46
JonBOnly test ones, 5 zones, 2 nodes per zones, 12 disks21:46
JonBI am looking at 1/2 PB nodes I am wondering about replication times going that dense. Have you had experience with that?21:48
JonBnotmyname: 72x8TB21:49
*** lpabon has quit IRC21:49
notmynameJonB: ya, that's pretty dense. you're right to worry about replication. also your ingest and draining will take a long time. I'd only think that nodes that big would make sense if they are a small fraction of the overall cluster size21:50
*** Masahiro has joined #openstack-swift21:50
notmynamebut still you have the replication issues21:50
notmynameJonB: have you looked at some of the 1U 12 drive chassis? they have some nice density while giving you a pretty small failure domain21:51
JonBNot yet, I did not pick out the nodes. 12 drive / 1 U is a bit less dense per U vs 72 disks/4U. I really need to test that a bit if we go that way.21:55
*** Masahiro has quit IRC21:55
JonBnotmyname: Would a 2 or 5 node PACO be enough to test a hardware setup. Note: I am not looking at putting object nodes that dense.21:57
notmynameJonB: it really depends on what you're targeting as your prod deployment and your expected workloads21:58
JonBnotemyname: One last question :) All the logic/workload for EC is on the proxy nodes, right? and thanks!21:59
notmynameJonB: no, not all of it. the read/write path encoding is on the proxy22:01
notmynameJonB: but reconstructing missing fragments (eg in the case of a drive failure) will happen on the object nodes22:01
notmynameJonB: but also remember that you can designate a different set of hardware for your ec storage policy (ie different SKU that has more CPU)22:02
JonBnotemyname: Yeah, I am seeing that... OK, thanks, that makes sense.22:03
JonBnotmyname: *22:03
*** miurahr has joined #openstack-swift22:04
*** annegent_ has quit IRC22:05
quack_quack_torgomatic: omg thanks so much for the tip on q22:06
quack_quack_q, where have you been all my life22:07
torgomaticquack_quack_: hehe :)22:07
torgomaticI only learned about it from a PyCon lightning talk maybe... 2 years ago? 3? Sometime in Santa Clara, that's for sure22:07
*** charz has quit IRC22:09
*** mattoliverau has quit IRC22:09
*** serverascode___ has quit IRC22:09
*** mattoliverau has joined #openstack-swift22:10
*** zigo has quit IRC22:11
*** zigo has joined #openstack-swift22:12
*** lpabon has joined #openstack-swift22:12
*** charz has joined #openstack-swift22:12
*** serverascode___ has joined #openstack-swift22:12
*** lpabon has quit IRC22:21
*** JonB has quit IRC22:43
*** geaaru has quit IRC22:48
*** lcurtis has quit IRC22:51
*** mattoliverau has quit IRC22:53
*** mattoliverau has joined #openstack-swift22:53
*** lcurtis has joined #openstack-swift23:06
*** kopparam has joined #openstack-swift23:07
*** annegent_ has joined #openstack-swift23:11
claygcschwede: torgomatic: I think the heart of the issue is when a "teir" has an aggregate weight that is greater than 1/replicanth of the total percentage of weight across the cluster23:16
claygcschwede: torgomatic: so if you have three servers and three replicas and one server has 1% more capacity but you still want as-unique-as-possible data placement you need to either inrecase the weights in the other servers, or decrease the weights on the one23:17
*** Nadeem_ has quit IRC23:18
claygcschwede: torgomatic: if you have 5 zones and three replicas it's not a problem unless one zone has more then 1/replicanth of the total weight - then again I think the other zones won't be able to take the 2/replicanths of the weight and that over-weighted zone will end up doing double duty for some part23:19
claygsame thing with 2 regions and 3 replicas, if you want to make sure that the dr region has 1 copy of every part it has to have > 1/replicanth of the total weight23:19
claygtorgomatic: I see you're back at your desk - you buying any of that before I go start ripping up swifterdarrell's all_replicas_of_a_part_in_a_tier change?23:24
torgomaticclayg: that all sounds about right23:24
claygtorgomatic: did you have something else going on where there was a device with zero weight and parts assigned that wouldn't come off?23:25
torgomaticclayg: yeah, I've been trying to get a test written for a fix I have... the fix works on ctennis's builder file that he posted, but getting it to happen again is stupidly difficult23:26
torgomaticin a unit test, that is23:26
claygtorgomatic: k, so but unrelated?  in that builder none of the tiers have an aggregate weight > 1/replicanth23:27
torgomaticclayg: no, but in that builder zone 3 has exactly 1/3 the weight23:28
clayghey man - I didn't say >= i sayd >!23:28
claygadd another zone, it's easy23:28
torgomaticand most of the zero-weight devices are zone 3, so clearly zone 3 used to be more than 1/3, but stuff's just not evacuated because of this bug23:29
*** miurahr has quit IRC23:29
claygyuk23:29
torgomaticyup23:31
*** tab____ has quit IRC23:37
*** kopparam has quit IRC23:39
*** Masahiro has joined #openstack-swift23:39
*** Masahiro has quit IRC23:43
*** lcurtis has quit IRC23:45
*** annegent_ has quit IRC23:51
*** tellesnobrega_ has joined #openstack-swift23:55
*** lcurtis has joined #openstack-swift23:57
*** tellesnobrega_ has quit IRC23:58

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