Thursday, 2019-07-25

openstackgerritTim Burke proposed openstack/swift master: py3: fix non-ascii metadata handling in account-server  https://review.opendev.org/67261000:01
*** jistr has quit IRC00:15
*** jistr has joined #openstack-swift00:15
timburkewrote up https://bugs.launchpad.net/swift/+bug/1837819 for the patch i mentioned in the meeting today00:37
openstackLaunchpad bug 1837819 in OpenStack Object Storage (swift) "Overloaded object primaries cause 404s on GET" [Undecided,New]00:37
timburkeand https://bugs.launchpad.net/swift/+bug/1837805 for the py3 account meta problem00:37
openstackLaunchpad bug 1837805 in OpenStack Object Storage (swift) "py3: account metadata handling is busted" [High,Confirmed]00:37
openstackgerritTim Burke proposed openstack/swift master: Ignore 404s from handoffs for objects when calculating quorum  https://review.opendev.org/67218600:41
*** gyee has quit IRC00:49
*** tdasilva has quit IRC01:20
*** tdasilva has joined #openstack-swift01:21
*** ChanServ sets mode: +v tdasilva01:21
*** mvkr_ has quit IRC01:41
*** mvkr_ has joined #openstack-swift01:54
zaitcevAlready fixed?! I just went to IKEA and back real quick...02:11
*** psachin has joined #openstack-swift03:38
*** rcernin has quit IRC03:55
*** gkadam has joined #openstack-swift04:08
*** gkadam has quit IRC04:09
*** pcaruana has joined #openstack-swift04:44
*** pcaruana has quit IRC04:56
*** rcernin has joined #openstack-swift05:33
*** m75abrams has joined #openstack-swift05:50
*** rcernin has quit IRC06:03
*** joeljwright has quit IRC06:06
*** rcernin has joined #openstack-swift06:19
*** pcaruana has joined #openstack-swift06:21
*** rcernin has quit IRC06:21
*** rcernin has joined #openstack-swift06:21
-openstackstatus- NOTICE: The git service on opendev.org is currently down.06:51
*** ChanServ changes topic to "The git service on opendev.org is currently down."06:51
*** rcernin has quit IRC07:06
*** tesseract has joined #openstack-swift07:15
*** mikecmpbll has joined #openstack-swift07:26
openstackgerritMatthew Oliver proposed openstack/swift master: auto-sharding: send shard-ranges via container UPDATE  https://review.opendev.org/67265007:33
*** tkajinam has quit IRC07:53
*** tkajinam has joined #openstack-swift07:53
-openstackstatus- NOTICE: Services at opendev.org like our git server and at openstack.org are currently down, looks like an outage in one of our cloud providers.08:34
*** ChanServ changes topic to "Services at opendev.org like our git server and at openstack.org are currently down, looks like an outage in one of our cloud providers."08:35
*** tkajinam has quit IRC08:36
*** ChanServ changes topic to "OpenStack Swift object storage | Logs: http://eavesdrop.openstack.org/irclogs/%23openstack-swift/ | Meetings: https://wiki.openstack.org/wiki/Meetings/Swift | Priority Reviews: https://wiki.openstack.org/wiki/Swift/PriorityReviews | Ideas: https://wiki.openstack.org/wiki/Swift/ideas"08:42
-openstackstatus- NOTICE: The problem in our cloud provider has been fixed, services should be working again08:42
*** dsariel has joined #openstack-swift08:45
*** dsariel has quit IRC09:24
*** e0ne has joined #openstack-swift09:32
*** joeljwright has joined #openstack-swift10:48
*** ChanServ sets mode: +v joeljwright10:48
*** baojg has quit IRC11:17
*** pcaruana has quit IRC11:42
*** pcaruana has joined #openstack-swift12:22
*** mvkr_ has quit IRC13:17
*** mvkr_ has joined #openstack-swift13:58
*** baojg has joined #openstack-swift14:12
*** ccamacho has joined #openstack-swift14:32
*** ccamacho has quit IRC14:53
timburkegood morning15:00
timburkezaitcev, between here and train, py3 bugs (and *particularly* data format bugs!) are automatic high/critical ;-)15:01
*** m75abrams has quit IRC15:12
*** e0ne has quit IRC15:23
openstackgerritTim Burke proposed openstack/swift master: Ignore 404s from handoffs for objects when calculating quorum  https://review.opendev.org/67218615:39
*** gyee has joined #openstack-swift15:44
*** altlogbot_0 has quit IRC15:48
*** tesseract has quit IRC15:50
*** altlogbot_0 has joined #openstack-swift15:50
*** henriqueof has joined #openstack-swift15:55
*** henriqueof has quit IRC16:21
*** mikecmpbll has quit IRC16:35
claygtdasilva: so a big problem with trying to move towards "use the quoted etag" instead of "use the manifest etag" is DLO16:36
claygSLO stores the ETAG on the object - so the only real problem is how to "find" it with the _resolve_etag_is_at function16:37
claygwith DLO we'd have to install a callback to *calculate* the ETag during the _resolve function 😬16:38
claygstill, it'd be a pretty sweet general mechinism 🤔16:38
tdasilvaclayg: the alternative for DLO is it store the manifest etag which is empty string md5, right??16:40
claygsure - but I don't want DLO and SLO to be different16:40
claygi mean as far as which etag you use for hardlinks16:40
claygthat would be even worse for the user16:40
claygi think...16:41
tdasilvasorry, i agree, i was just trying to remember what was the "previous" behavior (i.e., using the manifest etag"16:41
tdasilvathe manifest etag of a DLO is the empty string md5sum16:41
claygalso a hardlink that only works if the DLO quoted etag is static somehow adds a consistency checksum, which is sort of ... weird?  interesting?  useful?16:42
claygtdasilva: yeah, but I feel like "the md5 of the empty string" part is sort of an implementation detail - in either *LO case you just use the etag of the real ondisk object as returned with multipart-manifest=get16:43
claygit's a simple straight forward story at the least... it's also what I have implemented ... but that's probably also beside the point16:44
claygI'm just not sure!!! APIs are hard 😢16:44
tdasilvaclayg: was just thinking that hardlinks with a "real" etag for DLOs are pretty useless then, true?16:46
tdasilvas/with/without16:46
tdasilvai'm trying to think of what impact that would have...16:49
tdasilvai mean, would we even version a DLO object? i don't think we version objects on POSTs, do we? I forget...16:50
claygwe do not version objects on POST, no16:51
tdasilvahttps://github.com/openstack/swift/blob/master/swift/common/middleware/versioned_writes.py#L64,L6616:51
tdasilvadoesn't matter, user could create a new manifest with a PUT, and we would version that... :shrugs16:52
claygI don't think I have any opinon on the utility of hardlinks to DLOs with our without manifest or quoted etags ...16:53
tdasilvaDLO and versioning is super weird, at least with SLO we have a manifest of the segments that make up the object16:54
claygbut if the use-case for DLOs really is that they are dynamic - and for whatever reason you wanted to have a hardlink pointing at one (e.g. versioned writes want have a hardlink pointed at one) then you'd kinda want your hardlink not to break if the listing changes... I think?16:54
tdasilvaright, that's what i mean...there are really no guarantees of maintaining versions of a DLO object...i don't think....16:56
zaitcevtimburke: I'll make sure to review patch 672610 today17:00
patchbothttps://review.opendev.org/#/c/672610/ - swift - py3: fix non-ascii metadata handling in account-se... - 1 patch set17:00
timburkeclayg, tdasilva this make me think of https://bugs.launchpad.net/swift/+bug/1612991 ...17:08
openstackLaunchpad bug 1612991 in OpenStack Object Storage (swift) "Post-as-copy does not allow a DLO manifest to be updated" [Critical,Fix released] - Assigned to Janie Richling (jrichli)17:08
claygdidn't we rip out post-as-copy?17:09
claygoh, well it's already fixed anyway17:09
claygso but now fast-post can update x-object-manifest or does it bleed through like sysmeta?17:10
timburkein the bug i laid out three paths forward -- one of them would've only allowed updates on PUT like we do for symlinks17:10
timburkewe went with allowing updates on POST instead17:11
timburkein part becaues there may *already be* objects like that out in the wild17:11
timburkecome to think of it... how do dlo and symlink interact today, on master? can a symlink have x-object-manifest set on it? i suppose it must be allowed... so you can get very different responses depending on whether you ask for obj, obj?symlink=get, or obj?symlink=get&multipart-manifest=get ??17:13
tdasilvawow, that sounds awful17:15
tdasilvatimburke: clayg: fyi...I started to write down a bit of a summary of what I'm learning about s3 versioning and object expiration behavior: https://etherpad.openstack.org/p/swift-s3-versioning-expiration17:19
timburkethanks tdasilva!17:20
tdasilvaso the information I gave yesterday in the meeting is thus old, buckets can be versioned and have an expiration policy17:20
timburkeand it looks like we might want versioned_writes in the object-expirer pipeline? maybe?17:22
timburkei wonder if "Amazon S3 retains the current version as a noncurrent version by adding a delete marker, which then becomes the current version" applies for null versions (ie, objects written before versioning was enabled), too...17:23
tdasilvayeah, i believe it does....the reason I say this is because even after it "versions" a "null version id object", it doesn't give it a version id, but it still keeps that object17:25
timburke👍17:35
*** mvkr_ has quit IRC17:35
claygyeah seems like whoever is processing bucket policy expiration is going to want to interact with versioning settings - or at a minimum require an understanding of what versioned writes thinks of as  "current" to implement a NoncurrentVersionExpiration setting17:38
*** henriqueof has joined #openstack-swift17:38
claygbut I'm not sure that the same thing that handles bucket policy expiration is the object-expirer and the x-delete-at header17:41
claygi mean... I kinda feel like it's probably *not* the x-delete-at header, and i'm just not sure if the object-expirer or not17:42
*** psachin has quit IRC17:50
openstackgerritTim Burke proposed openstack/swift master: py3: Fix title-casing in HeaderKeyDict  https://review.opendev.org/67280318:09
timburkezaitcev, if you're already thinking about py3 and metadata... ^^^ would be good, too18:10
zaitcevtimburke: ok18:10
timburkethanks18:10
openstackgerritTim Burke proposed openstack/python-swiftclient master: Fix up requests so we can send non-RFC-compliant headers on py3  https://review.opendev.org/67280818:38
timburke^^^ a step toward properly addressing https://review.opendev.org/#/c/645388/12/test/functional/test_account.py@72218:38
patchbotpatch 645388 - swift - py3: Cover account/container func tests - 12 patch sets18:38
openstackgerritTim Burke proposed openstack/swift master: py3: Fix title-casing in HeaderKeyDict  https://review.opendev.org/67280318:59
*** BjoernT has joined #openstack-swift18:59
claygof course, why would I think this would happen in middleware, trolololo https://github.com/openstack/swift/blob/master/swift/container/server.py#L56419:32
timburkeyup :-(19:33
timburkeif only we'd had listing_formats before we wrote slo!19:34
timburkeor... something. bleh.19:34
timburkei kinda really want to add a callback for listing dict manipulations -- it sucks that we have to re-write that in encryption, s3api, slo, symlinks, ...19:36
*** e0ne has joined #openstack-swift19:39
*** dasp has quit IRC19:51
*** dasp has joined #openstack-swift19:54
openstackgerritTim Burke proposed openstack/swift master: py3: Fix title-casing in HeaderKeyDict  https://review.opendev.org/67280319:55
timburke:-( crap like this is why i have such a viscerally-bad reaction to the idea of unpublishing artifacts: http://logs.openstack.org/08/672808/1/check/openstack-tox-lower-constraints/88e4d9e/job-output.txt.gz#_2019-07-25_18_58_34_50081120:01
timburkenot two weeks ago, swiftclient's lower-constraints job was *fine* http://logs.openstack.org/15/670215/3/gate/openstack-tox-lower-constraints/8e55ea2/job-output.txt.gz#_2019-07-12_02_02_02_85654320:01
*** gyee has quit IRC20:22
openstackgerritClay Gerrard proposed openstack/swift master: Allow "harder" symlinks  https://review.opendev.org/63309420:23
openstackgerritClay Gerrard proposed openstack/swift master: symlink-backed versioned_writes  https://review.opendev.org/63385720:23
*** BjoernT has quit IRC20:55
*** gyee has joined #openstack-swift20:59
openstackgerritTim Burke proposed openstack/swift master: py3: fix non-ascii metadata handling in account-server  https://review.opendev.org/67261021:18
openstackgerritTim Burke proposed openstack/python-swiftclient master: Fix up requests so we can send non-RFC-compliant headers on py3  https://review.opendev.org/67280821:21
openstackgerritTim Burke proposed openstack/python-swiftclient master: Drag forward prettytable in lower-constraints  https://review.opendev.org/67283021:21
*** pcaruana has quit IRC21:28
*** e0ne has quit IRC21:56
*** henriqueof has quit IRC22:01
*** rcernin has joined #openstack-swift22:16
openstackgerritTim Burke proposed openstack/swift master: Give internal clients the option of getting container HEADs from memcache  https://review.opendev.org/66806422:24

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