Friday, 2020-12-11

openstackgerritTim Burke proposed openstack/swift master: watchers: Add a policy-stat watcher  https://review.opendev.org/c/openstack/swift/+/76664000:03
openstackgerritTim Burke proposed openstack/swift master: Dark data probe test follow-up  https://review.opendev.org/c/openstack/swift/+/76654900:12
openstackgerritTim Burke proposed openstack/swift master: watchers: Only pass data_file_path via see_object  https://review.opendev.org/c/openstack/swift/+/76661200:12
openstackgerritTim Burke proposed openstack/swift master: watchers: Add a policy-stat watcher  https://review.opendev.org/c/openstack/swift/+/76664000:12
zaitcevoooh, I was just going to tinker with that file path00:24
zaitcevtimburke: David and I started with making a quarantine signal. However, we didn't throw an exception, but set a flag somewhere.00:26
zaitcevtimburke: what do you think about adding a new exception, like "DiskFileQuarantineRequested"?00:27
zaitcevactually I should be adding that as a comment00:28
timburkethat'd be fine. or somehow setting a flag on the watcher -- exception seemed like a reasonable tool to reach for (to me), but it's definitely not the only way to do it00:29
zaitcevOh00:34
zaitcevI see, we didn't go far enough.00:35
zaitcevThe log of this says we abandoned flag because we didn't add another invocation of df._quarantine() to the auditor. https://review.opendev.org/c/openstack/swift/+/75616300:35
*** baojg has quit IRC00:46
*** baojg has joined #openstack-swift00:46
*** tdasilva_ has quit IRC01:44
*** lxkong has quit IRC01:48
*** baojg has quit IRC01:49
*** dsariel has quit IRC01:49
*** baojg has joined #openstack-swift01:50
*** baojg has quit IRC01:57
*** baojg has joined #openstack-swift01:58
-openstackstatus- NOTICE: The Gerrit service on review.opendev.org is being restarted quickly to enable support for Git protocol v2, downtime should be less than 5 minutes02:55
*** lifeless has quit IRC03:31
*** lifeless has joined #openstack-swift03:33
*** rcernin has quit IRC03:39
*** rcernin has joined #openstack-swift03:40
openstackgerritPete Zaitcev proposed openstack/swift master: Dark data probe test follow-up  https://review.opendev.org/c/openstack/swift/+/76654905:16
*** timburke has quit IRC05:31
*** timburke has joined #openstack-swift05:31
*** ChanServ sets mode: +v timburke05:31
zaitcevtimburke: https://review.opendev.org/c/openstack/swift/+/766612 looks good except for a couple of small things: watcher_name and removal of whole directory where object was, not just the data file alone.05:32
*** evrardjp_ has quit IRC05:33
*** evrardjp has joined #openstack-swift05:33
*** lxkong has joined #openstack-swift06:16
*** adeberg5 has joined #openstack-swift06:28
*** adeberg has quit IRC06:30
*** adeberg5 is now known as adeberg06:30
*** rpittau|afk is now known as rpittau07:57
*** rcernin has quit IRC08:07
*** rcernin has joined #openstack-swift08:14
*** evrardjp has quit IRC08:15
*** evrardjp has joined #openstack-swift08:16
*** StormsOfFury has quit IRC08:35
*** TViernion has joined #openstack-swift08:36
*** rcernin has quit IRC09:27
*** baojg has quit IRC10:08
*** baojg has joined #openstack-swift10:08
*** StevenK has quit IRC11:35
*** StevenK has joined #openstack-swift11:44
*** baojg has quit IRC12:17
*** baojg has joined #openstack-swift12:18
*** lxkong has quit IRC12:56
openstackgerritMerged openstack/swift master: Give probe tests a second chance to pass  https://review.opendev.org/c/openstack/swift/+/76610412:58
openstackgerritAlistair Coles proposed openstack/swift master: swift-manage-shard-ranges: add repair and analyze commands  https://review.opendev.org/c/openstack/swift/+/76562415:01
*** rpittau is now known as rpittau|afk15:15
openstackgerritAlistair Coles proposed openstack/swift master: swift-manage-shard-ranges: add repair and analyze commands  https://review.opendev.org/c/openstack/swift/+/76562415:17
acolescan anyone help me understand/fix this horrible hack I needed to catch an exception whose type isn't matching as expected? https://review.opendev.org/c/openstack/swift/+/765624/5/test/probe/test_sharder.py#38115:22
*** rcernin has joined #openstack-swift15:24
*** rcernin has quit IRC15:28
zaitcevImpressive.17:05
*** gyee has joined #openstack-swift17:33
timburkeacoles, something something eventlet monkey-patching? though you'd think https://github.com/eventlet/eventlet/commit/0425e4c should rule that out... what version of eventlet is the 3.6 env using?18:38
openstackgerritPete Zaitcev proposed openstack/swift master: Let developers/operators add watchers to object audit (simplified)  https://review.opendev.org/c/openstack/swift/+/70665318:59
openstackgerritPete Zaitcev proposed openstack/swift master: Dark data probe test follow-up  https://review.opendev.org/c/openstack/swift/+/76654918:59
openstackgerritPete Zaitcev proposed openstack/swift master: watchers: Only pass data_file_path via see_object  https://review.opendev.org/c/openstack/swift/+/76661218:59
zaitcevtimburke: I added fixes that I wanted, but kept these separate for you to review easier. I'm going to squash them all in.19:02
timburkesounds like a plan!19:05
timburkezaitcev, have any thoughts on https://review.opendev.org/c/openstack/swift/+/706653/40/swift/obj/auditor.py#202 ? i'm realizing that with a lot of the watchers i want to write, i want them emitting structured data to recon (as opposed to finding some way to stuff output into logging, then having to do a bunch of extra log-parsing)19:23
timburkebut i don't think that'll work well with multiple audit workers (currently)...19:24
timburkepart of me wonders if the watcher API could/should include a static method like `aggregate(list_of_per_worker_watchers)` or something... but when run as a daemon, those workers just keep looping; there's no single point where you've got a bunch of completed watchers in hand...19:27
zaitcevtimburke: I saw that comment and I hoped that watches that report data can dump it into some kind of socket in concert with some listener process. Maybe directly to Prometheus.19:42
zaitcevFor me, auditor is basically find /srv -name '*.data' -print0| xargs -0 mywatcher19:43
timburkehmm... good point. but we still need a way to disambiguate between watchers that are runing concurrently on the same node, so we know whether new stats should sum with or replace old ones. i think we're going to need that device_key (maybe renamed as worker_id or something?) getting sent in to end()...19:57
timburkeinteresting: http://lists.openstack.org/pipermail/openstack-discuss/2020-December/019379.html20:08
timburkeseems like polishing up sharding/shrinking and removing that "experimental" label would fit really well :-)20:09
*** lxkong has joined #openstack-swift20:24
openstackgerritAde Lee proposed openstack/swift master: replace md5 with swift utils version  https://review.opendev.org/c/openstack/swift/+/75196621:46
*** lxkong has quit IRC22:32
openstackgerritMerged openstack/swift master: s3api: Clone ACLs when creating +segments container  https://review.opendev.org/c/openstack/swift/+/76310622:43

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