Wednesday, 2020-06-17

*** gyee has quit IRC00:01
zaitcevLet's see00:04
zaitcevgo go gadget  yum install pip00:06
zaitcev Package          Arch         Version             Repository              Size00:06
zaitcev================================================================================00:06
zaitcevInstalling:00:06
zaitcev python-pip       noarch       8.1.2-1.el7         openstack-queens       1.7 M00:06
zaitcev[root@keystone yum.repos.d]# rpm -qf /etc/yum.repos.d/rdo-release.repo00:08
zaitcevrdo-release-queens-2.noarch00:08
zaitcevThat's about the extent of my knowledge on this topic.00:08
*** renich has joined #openstack-swift00:18
*** renich has quit IRC02:10
*** early has quit IRC02:11
*** renich has joined #openstack-swift02:11
*** early has joined #openstack-swift02:30
*** psachin has joined #openstack-swift02:48
*** rcernin has quit IRC02:49
*** renich has quit IRC02:51
*** renich has joined #openstack-swift02:51
*** rcernin has joined #openstack-swift02:55
timburkefunny -- i see it in http://mirror.centos.org/centos/7/cloud/x86_64/openstack-queens/Packages/p/ but not the corresponding ones for rocky through train02:57
*** renich has quit IRC03:05
*** rcernin has quit IRC03:08
*** psachin has quit IRC03:31
*** psachin has joined #openstack-swift03:33
*** rcernin has joined #openstack-swift03:45
*** rcernin has quit IRC03:45
*** rcernin has joined #openstack-swift03:50
openstackgerritTim Burke proposed openstack/swift master: Install pip from upstream  https://review.opendev.org/73599204:03
openstackgerritTim Burke proposed openstack/swift master: Use ensure-pip role  https://review.opendev.org/73599204:31
*** evrardjp has quit IRC04:33
*** evrardjp has joined #openstack-swift04:33
timburkeoh. https://opendev.org/zuul/zuul-jobs/src/branch/master/roles/configure-mirrors/templates/centos7/etc/yum.repos.d/epel.repo.j2#L604:34
timburkeok, iiuc once https://review.opendev.org/#/c/735523/ lands, we can recheck https://review.opendev.org/#/c/735992/ and *then* the gate will actually be in a state where we can land code again05:27
patchbotpatch 735523 - devstack (stable/ussuri) - Fix uwsgi issues - 6 patch sets05:27
patchbotpatch 735992 - swift - Use ensure-pip role - 5 patch sets05:27
*** threestrands has joined #openstack-swift05:27
*** threestrands has quit IRC05:33
*** m75abrams has joined #openstack-swift06:00
*** rpittau|afk is now known as rpittau06:56
*** ccamacho has joined #openstack-swift07:12
*** psachin has quit IRC07:15
*** psachin has joined #openstack-swift07:17
*** zaitcev has quit IRC07:42
*** zaitcev has joined #openstack-swift07:46
*** ChanServ sets mode: +v zaitcev07:46
*** rcernin has quit IRC07:47
*** tkajinam has quit IRC08:57
*** cschwede has joined #openstack-swift09:21
*** ChanServ sets mode: +v cschwede09:21
*** rpittau is now known as rpittau|bbl10:18
*** psachin has quit IRC10:31
*** psachin has joined #openstack-swift11:03
*** psachin has quit IRC11:58
*** psachin has joined #openstack-swift12:00
*** rpittau|bbl is now known as rpittau12:06
openstackgerritTim Burke proposed openstack/swift master: Add py3 probe tests on CentOS 8  https://review.opendev.org/69071713:24
*** rpittau is now known as rpittau|brb13:39
*** rpittau|brb is now known as rpittau13:53
*** psachin has quit IRC14:34
*** manuvakery has joined #openstack-swift14:46
*** m75abrams has quit IRC14:56
*** josephillips has joined #openstack-swift15:01
josephillipsHey guys15:01
josephillipsim reading documentation today and yesterday and im trying to understand something.15:02
josephillipswhat is the relation between part-power is per object per account per container?15:03
josephillipsor exist this relation15:03
josephillipsor i can use a number very high for part-power without side effect ?15:03
josephillipsjust a couples mores of mb15:03
josephillipsin memory?15:04
*** gyee has joined #openstack-swift15:58
DHEjosephillips: it's a setting that is per-ring file. so accounts, containers, and each object storage policy can have its own part power16:11
DHEThe standard recommendation is that each disk have ~100 partitions assigned to it, biasing for more than 100 rather than less than 10016:12
DHEhigher values do use more RAM, but it also slows down replication16:13
timburkenote that "use more RAM" covers more than just the in-memory ring data structure -- though that's a factor, the bigger problem (in my mind, anyway) is the increased number of inodes the backend server needs to deal with, and we want to have those in RAM whenever possible16:16
*** rpittau is now known as rpittau|afk16:17
timburkeif you really want to dive into the nitty-gritty of partitions and part power, https://docs.openstack.org/swift/latest/ring_background.html is a great starting point16:19
DHEone thing I think I noticed is that, say I launch 16 proxy server processes. they all share the initial ring file which was loaded before the fork()ing. but ring changes causes all 16 to relaod the ring and memory usage explodes16:20
DHEshared memory shenanigans16:20
tdasilvajosephillips: here's another very good deep dive resource: https://www.youtube.com/watch?v=ger20cqOypE&t16:22
*** cschwede has quit IRC16:33
josephillipstdasilva: yeah i saw this last night16:59
josephillipsi understand how works but im still dont found the relation between part-power17:00
josephillipsbecause you use /srv/node/disk/PART/17:00
josephillipswhat is the factor that swift choose use this partition17:00
josephillipscan get full this partition?17:01
josephillipswhat is the factor that swift said ok . i dont going to use this paritiion and i will use a new one17:01
josephillipsthe quantity of objects17:02
DHEit's /srv/node/mountpoint/ring-id/partno17:04
DHEall partitions on a device share the same mount point, so the device will fill up and all partitions allocated to it would be full17:05
DHEdon't confuse a disk partition with a swift ring partition17:05
josephillipsDHE: i know but what is the factor of use a new partition17:14
DHEI don't understand the question17:15
josephillips/srv/node/mountpoint/ring-id/partno17:20
josephillipshere17:20
josephillipswhat swift do to choose these partno17:20
josephillips>17:20
josephillipsand when swift decide to use it or not17:20
*** josephillips has quit IRC17:35
timburkeso the partition is just a directory on disk -- it's a group of objects whose name have some hash bits in common17:43
timburkea filename for object data might look something like /srv/node3/sdb7/objects/109/05c/1b6b491073cb8fbd749addce3cf9205c/1592415748.91691.data17:43
timburke1b6b491073cb8fbd749addce3cf9205c -> hash; this is something like md5(hash_prefix + acct/cont/obj + hash_suffix)17:44
timburke1592415748.91691 -> timestamp; in case of overwrite, oldest timestamp wins (eventually)17:45
timburke05c -> suffix; this is just the last 3 chars from the hash17:46
timburke109 -> partition; this is the first part-number bits from the hash, taken as a decimal number17:47
timburkemy part-power is 10, so that gets me 1b and partway through 6: 0b000110110117:49
timburkeall objects whose hash start 1b4 through 1b7 will be in the same partition17:52
openstackgerritMerged openstack/swift master: Use ensure-pip role  https://review.opendev.org/73599218:00
timburkegate's working again! \o/18:08
DHEOldest timestamp?18:11
*** josephillips has joined #openstack-swift18:14
timburkebah. newest, of course. i don't know why i said that18:18
tdasilvatimburke: I think josephillips missed your explanation18:18
tdasilvaFWIW http://eavesdrop.openstack.org/irclogs/%23openstack-swift/latest.log.html18:19
timburkehttp://eavesdrop.openstack.org/irclogs/%23openstack-swift/%23openstack-swift.2020-06-17.log.html#t2020-06-17T17:43:08 even, if you want to skip right to it ;-)18:20
*** josephillips has quit IRC18:22
*** manuvakery has quit IRC18:34
*** ktsuyuzaki has joined #openstack-swift20:11
*** ChanServ sets mode: +v ktsuyuzaki20:11
*** cwright_ has joined #openstack-swift20:11
*** ktsuyuzaki is now known as kota__20:12
*** irclogbot_0 has quit IRC20:14
*** gyee has quit IRC20:17
timburkeclayg, any chance you'd have some cycles to look at https://review.opendev.org/#/c/727845/ again? i'd like to get a release together, but i think i'd prefer if we had that...20:18
patchbotpatch 727845 - python-swiftclient - Application credential support follow-up - 4 patch sets20:18
*** cwright has quit IRC20:18
*** kota_ has quit IRC20:18
timburkei also need to think about what to do about https://review.opendev.org/#/c/721051/ :-(20:19
patchbotpatch 721051 - python-swiftclient - Only add __del__ to HTTPConnection shim on py3 - 2 patch sets20:19
*** irclogbot_1 has joined #openstack-swift20:21
claygtimburke: I'm fine with p 727845 - do you know of ANYONE else that uses openstackclient?  Or have a link/tip on how to install it (is it python?)20:31
patchbothttps://review.opendev.org/#/c/727845/ - python-swiftclient - Application credential support follow-up - 4 patch sets20:31
*** gyee has joined #openstack-swift20:31
claygi don't suppose we can ignore py2.7 and hope p 721051 goes away?20:33
patchbothttps://review.opendev.org/#/c/721051/ - python-swiftclient - Only add __del__ to HTTPConnection shim on py3 - 2 patch sets20:33
*** nottrobin has quit IRC20:36
timburkeclayg, it's python and it's listed in our test-requirements.txt, so i'm willing to bet you've already got it in your saio ;-)20:36
timburkeas for swiftclient and py2 -- at the very least, i'd prefer intentionally having a final py2 release over quietly until things get so horribly broken that py2 is unsustainable -- but y'know, we'll do what we have to i suppose20:38
*** abelur has quit IRC20:40
timburke(as much as anything, that's so we're sure to appropriately tag supported python versions so there isn't a final FU to people stuck on py2 trying to install via pip)20:40
claygDO NOT type openstack --help w/o a large scrollback buffer 🤣20:44
timburkealmost meeting time!20:57
kota__it seems like that my bouncer got problem so I changed my nick temporarly21:01
*** noonedeadpunk has quit IRC21:12
*** nottrobin has joined #openstack-swift21:30
*** abelur has joined #openstack-swift21:40
claygtimburke: i'm about to sign off - i'll leave my re-complete going over night for p 733919 - but i may not get to looking up the abort stuff until later22:03
patchbothttps://review.opendev.org/#/c/733919/ - swift - s3api: Allow CompleteMultipartUpload requests to b... - 3 patch sets22:03
claygwe should have asked about the config option - maybe it'll be useful to know if it's like maybe predictably 24 hours or something on aws22:03
claygbut even then, maybe it makes more sense to just change the default than drop the config option?  it could be more like a constraint maybe?22:04
timburkeoh, there's an idea for another approach to things like max_bucket_listing, max_parts_listing, max_upload_part_num, max_multi_delete_objects, min_segment_size... add a [s3-constraints] section to swift.conf...22:06
openstackgerritMerged openstack/python-swiftclient master: Application credential support follow-up  https://review.opendev.org/72784522:41
*** rcernin has joined #openstack-swift22:42
*** seongsoocho has quit IRC22:50
*** seongsoocho has joined #openstack-swift22:51
*** gyee has quit IRC22:52
*** tkajinam has joined #openstack-swift22:54
*** hoonetorg has quit IRC23:10
openstackgerritTim Burke proposed openstack/python-swiftclient master: Close connections created when calling module-level functions  https://review.opendev.org/72105123:14
openstackgerritTim Burke proposed openstack/python-swiftclient master: Revert "Cleanup session on delete"  https://review.opendev.org/73640123:14
*** hoonetorg has joined #openstack-swift23:22

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!