Tuesday, 2019-01-15

*** mikecmpbll has quit IRC00:54
*** two_tired has joined #openstack-swift01:18
kota_clayg: alright, I'll visit the patch today, thanks for bringing that.04:08
*** two_tired has quit IRC04:45
openstackgerritMerged openstack/swift master: py3: object server  https://review.openstack.org/62961005:49
*** [diablo] has quit IRC06:04
*** [diablo] has joined #openstack-swift06:19
*** itlinux_ has joined #openstack-swift06:28
*** itlinux has quit IRC06:30
*** itlinux_ has quit IRC06:48
*** rcernin has quit IRC06:59
*** e0ne has joined #openstack-swift07:30
*** hseipp has joined #openstack-swift07:42
kota_Oh nice. py3 object-server has been coming.07:43
*** ccamacho has joined #openstack-swift07:56
*** e0ne has quit IRC08:04
*** ccamacho has quit IRC08:25
*** mikecmpb_ has joined #openstack-swift09:06
*** ccamacho has joined #openstack-swift09:08
*** pcaruana has joined #openstack-swift09:30
*** e0ne has joined #openstack-swift09:38
*** jungleboyj has quit IRC09:39
*** jungleboyj has joined #openstack-swift09:42
openstackgerritKota Tsuyuzaki proposed openstack/swift master: Save original index in the determine_chunk_destinations test  https://review.openstack.org/63093411:10
kota_clayg: ^ it's small fix an issue I found while checking the frag_index specification.11:10
kota_small fix for an issue11:10
*** openstackgerrit has quit IRC11:22
*** hseipp has quit IRC12:33
*** gyee has joined #openstack-swift12:53
*** gyee has quit IRC13:34
*** mikecmpb_ is now known as mikecmpbll13:51
*** mvkr has quit IRC13:58
*** psachin has joined #openstack-swift14:16
*** mvkr has joined #openstack-swift15:00
timburkegood morning15:56
*** e0ne has quit IRC16:11
*** ccamacho has quit IRC16:16
*** mvkr has quit IRC16:56
*** khelegond has joined #openstack-swift17:09
*** e0ne has joined #openstack-swift17:13
notmynamegood morning17:19
khelegond'morning!17:22
khelegondWell, will use this opportunity to ask a quick question. I'm trying to shard a large container in my swift cluster. I know I need to use swift-manage-shard-ranges, but I can't seem to find the exact place where the container_db is.17:24
notmynamehave you used `swift-get-nodes <container ring> <account> <container>`?17:24
khelegondI thought I was supposed to use swift-get-nodes to find where they are, but... the command is showing me directories that simply doesn't exist in the machine17:25
notmynamemake sure you're using the right ring17:25
khelegondsudo swift-get-nodes -a /etc/swift/container.ring.gz <account> <container>17:25
khelegondIf that's what I'm supposed to be doing, then I'll dig a little deeper :)17:26
notmynamelooks correct17:27
khelegondOk then - I'll try to understand why my get-nodes is showing me weird data. Thanks!17:27
notmynamecheck that the ring is correct. eg validate it with swift-recon on all your nodes and make sure they have the same md517:28
*** e0ne has quit IRC17:28
khelegondPerfect! Yeah, I'm kinda thinking that there's something weird with the rings.17:28
khelegondThanks once again!17:28
notmynamecould be that you've got a typo in the account or container name. if it's got stuff that needs to be escaped, you'll need to account for that too.17:29
khelegondYeah - but I chose simple account and container names to test the functionality before moving to production. So the names are pretty standard. Will look around more!17:30
timburkeif you've already got the sharders running, you should be able to look in container recon dumps to find large containers17:31
khelegondOh - where do they dump this info?17:31
timburkethat'll find large DBs even if they're stuck on handoffs17:31
timburkecheck recon_cache_path -- it'll default to /var/cache/swift, then there should be a container.recon under there17:32
khelegondGreat, thanks!!!17:33
notmynametimburke: is that not exposed via an option to `swift-recon`?17:33
timburkenot sure, which means probably not :-(17:33
timburkekhelegond: you'll want to check on all nodes, of course17:34
*** mikecmpbll has quit IRC17:34
khelegondYeah - doing this right now17:34
timburkeit's JSON formatted; something like `< /var/cache/swift/container.recon jq .sharding_stats.sharding.sharding_candidates` should get you what you're looking for17:36
timburkebut note that it'll only include containers it finds over the shard_container_threshold17:36
khelegondYeah just found it. It'll define based on "shard_container_threshold", on the conf, right? However, I thought that this option would only matter if auto-sharding was enabled.17:37
timburkebah; i think we forgot to update the comments in the sample conf. we got nervous about completely automated sharding, so we made this manual trigger... then we realized we need some way to know that we ought to pull the trigger...17:39
khelegondGreat!17:42
khelegondSo I'll define the value on the conf, and wait for the recon to show me which containers I can shard. Thanks!17:42
*** pcaruana has quit IRC18:01
*** psachin has quit IRC18:03
khelegond(btw notmyname, the problem with my 'swift-get-nodes' is because I'm kinda of a dumbass, and used the account name instead of AUTH_<hash>)18:04
khelegondThanks for the help guys!18:04
notmynameglad you figured it out!18:04
*** itlinux has joined #openstack-swift18:16
*** e0ne has joined #openstack-swift19:07
*** mikecmpbll has joined #openstack-swift19:27
*** khelegond has quit IRC19:33
*** mvkr has joined #openstack-swift20:32
*** itlinux_ has joined #openstack-swift20:36
*** itlinux has quit IRC20:37
*** itlinux_ has quit IRC20:39
claygtimburke: I think the canonical implementation of "left hand partner" (_get_partners at the top of reconstructor) also relies on (0 - 1) % 7 == 6 🤷‍♂️21:40
claygI thought that was just how modulo math worked, but IANAM21:40
timburkeapparently there's a rather long table at https://en.wikipedia.org/wiki/Modulo_operation that enumerates the positions staked out by various languages21:42
timburkeha! it even includes MUMPS in the list!21:42
notmynameI think I got a vaccine for that when I was a kid.21:44
timburkeme too, but then i still wound up working somewhere where i had to use is :-(21:45
notmynametimburke: is there any s3 copy operation that we'll 405 on? (or other s3 verb?)21:49
timburkenot that i'm aware of, why?21:50
timburkeiirc they implement COPY as a form of PUT21:50
notmynameheard a rumor of a 405 somewhere, and was only checking for the obvious. I'm not aware of anything that would 405, either, but I wanted to check21:51
timburkeyeah, https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectCOPY.html21:52
timburkeoh! SELECT21:52
timburkeno, that comes through as a POST...21:52
*** openstackgerrit has joined #openstack-swift22:01
openstackgerritTim Burke proposed openstack/swift master: misc test cleanup  https://review.openstack.org/63107722:01
*** rcernin has joined #openstack-swift22:46
*** e0ne has quit IRC23:24
openstackgerritTim Burke proposed openstack/swift master: Store version id when copying object to archive  https://review.openstack.org/43752323:24
openstackgerritTim Burke proposed openstack/swift master: Add X-Backend-Versioning-Mode-Override  https://review.openstack.org/43719623:24
openstackgerritTim Burke proposed openstack/swift master: s3api: Modify obj GETorHEAD to support versions  https://review.openstack.org/63109523:24
openstackgerritTim Burke proposed openstack/swift master: s3api: Listing of versioned objects  https://review.openstack.org/63109623:24
openstackgerritTim Burke proposed openstack/swift master: s3api: Delete versioned objects  https://review.openstack.org/63109723:24
timburkelet's just see how those do...23:25
*** mikecmpbll has quit IRC23:58

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