Wednesday, 2022-03-09

*** dviroel|afk is now known as dviroel|out00:46
*** dasm is now known as dasm|out03:11
*** dviroel|out is now known as dviroel11:19
*** dasm|out is now known as dasm13:35
rosmaita#startmeeting cinder14:01
opendevmeetMeeting started Wed Mar  9 14:01:00 2022 UTC and is due to finish in 60 minutes.  The chair is rosmaita. Information about MeetBot at http://wiki.debian.org/MeetBot.14:01
opendevmeetUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.14:01
opendevmeetThe meeting name has been set to 'cinder'14:01
rosmaita#topic roll call14:01
jungleboyjo/14:01
whoami-rajatHi14:01
eharneyhowdy14:01
simondodsleyhi14:01
toskyhi14:01
fabiooliveirao/14:01
bingyanho/14:01
enriquetasohi14:01
geguileohi! o/14:02
e0nehi14:02
kkaras_intelhello14:02
rosmaitahello everyone14:02
rosmaita#link https://etherpad.opendev.org/p/cinder-yoga-meetings14:02
rosmaitalet's get started!14:03
yuvalhey14:03
rosmaitadaylight savings time in USA starts 13 March, so this meeting may be 1 hour later for you next week depending on where you are14:03
rosmaitaso, if you show up and no one is here, come back in an hour14:03
rosmaitayou will not have missed anything14:04
jungleboyj:-)14:04
rosmaitathe first Yoga Release Candidate (RC-1) must be made this week14:04
rosmaitaat that time, the stable/yoga branch will be cut14:04
rosmaitamaster becomes the Zed development branch14:04
rosmaitaany changes must be made in master and then backported to stable/yoga to be in the release14:04
rosmaitaso, let's prioritize14:06
rosmaitahttps://etherpad.opendev.org/p/cinder-yoga-release-critical-changes14:06
rosmaitafirst, for new drivers coming out in Yoga, if you have a bugfix you discovered, it would be good to get those into the Yoga release14:07
rosmaitabtw, these don't require a release note because the driver doesn't exist yet14:07
rosmaitathe "transition-to-alembic" patches continue to be important14:08
rosmaitaand there aren't too many left14:09
whoami-rajatare the merged alembic changes stable enough that we can move the rest for Zed? or they need to be in yoga only14:09
rosmaitai need to talk to stephenfin about that14:10
rosmaitathe other things we should take a look at are the "known issues" in the xena release14:11
rosmaitahttps://docs.openstack.org/releasenotes/cinder/xena.html#known-issues14:11
geguileorosmaita: there are a couple of issues on the nvmet target14:13
geguileoknown by me, I mean14:14
rosmaitayou mean left over from xena, or new ones for yoga14:14
enriquetasoI'm not currently working on the encryption problem but it's on my TODO list. If anyone would like to work with me on that to speed things up, let me know.. :P  14:14
geguileorosmaita: as far as I know we've had them since the begining of the nvmet target14:15
rosmaitaenriquetaso: that's Bug #1888680 ?  https://bugs.launchpad.net/cinder/+bug/188868014:15
geguileowe just didn't know14:15
enriquetasoyep, the ones mentioned on Known Issues 14:15
rosmaitageguileo: ok, let's talk later and work out the text about nvmet known issues14:16
rosmaitai believe jon bernard is workign on the cgroups v1 issue14:17
rosmaitaBug #1937084 (race condition between delete attachment and delete volume) ... pretty sure geguileo fixed that and it's been backported14:18
rosmaita\o/14:18
geguileoyup14:18
rosmaitahttps://bugs.launchpad.net/cinder/+bug/1895035 ("Ceph backup driver could not restore a volume other than ceph") doesn't have a patch associated with it in launchpad14:19
rosmaitaanyone know the status of that one?14:19
enriquetasoit's ready for upstream reviews14:20
rosmaitacool, do you have a review link?14:21
enriquetaso#link https://review.opendev.org/c/openstack/cinder/+/750782/14:21
rosmaitaty14:22
enriquetaso\o/14:22
rosmaitaok, last thing was a warning to operators not to manage really old qcow2 images into cinder from an nfs backend14:23
eharneybug 1937084 is mentioned as something we are working on in the release notes -- but it's been fixed14:23
rosmaitayes, thanks to geguileo i think14:24
rosmaitaas far as the operator warning goes (about managing v2 qcow2s into cinder from nfs backend), we can repeat in Y and think about blocking this in code in Z14:25
whoami-rajatsounds good, operators need to make this transition eventually14:27
rosmaitaany questions or observations before we move on?14:28
*** hemna7 is now known as hemna14:28
rosmaitaok, only one agenda item, so maybe this will be a quick meeting14:29
rosmaita#topic question about translation pattern14:29
rosmaitawell, you can look here to see what I'm talking about:14:30
rosmaita#link https://review.opendev.org/c/openstack/cinder/+/819778/8/cinder/volume/drivers/huawei/huawei_conf.py#43614:30
jungleboyjrosmaita:  You are going to jinx it.  :-)14:30
rosmaitayeah, somehow a discussion of logging is always contentious14:30
eharneyi feel like i'm missing something about how this is supposed to work14:31
jungleboyj:-)14:32
eharneyif you want the log messages to be in english, would you not just have the service running with an en_US locale or so?14:32
rosmaitai think if you do that, the exception messages that show up to the user are english too14:32
eharneyare they?  really not sure14:32
AndroUserYuval is still here14:33
rosmaitathe idea was that operators want the logs in english to maximize the chance they'll get a hit when googling the message14:33
rosmaitawell, tbh, i am not sure either14:33
geguileoI think everything uses the same language14:33
geguileo(but could be wrong)14:33
eharneyi guess i was hoping that API requests were requesting a language via http headers14:34
eharneyat any rate, it would seem like a good idea to understand the requirements before we ask everyone to duplicate all of their error messages in the code, because that's just... uhy  :/14:34
rosmaitai figured that since they made a big deal about it in the oslo.log docs, this must be what you have to do14:35
eharneymaybe so14:35
rosmaitabut also maybe not14:35
eharneywhich, as was pointed out in the review, surely means that most of them in cinder aren't done right14:35
rosmaitayep14:36
rosmaitaok, seems like the thing to do short-term is continue our current practice14:36
rosmaitadon't translate log messages14:36
rosmaitado translate messages for exceptions14:37
eharneyhttps://docs.openstack.org/oslo.i18n/latest/user/guidelines.html14:37
eharneysays "_() is preferred for any user facing message, even if it is also going to a log file."14:37
jungleboyjrosmaita:  That was my latest understanding.14:37
jungleboyjBut then we have the line that eharney highlights.  :-)14:37
rosmaitakeep reading, though: "However, now that log messages are no longer translated, it is unfortunately necessary to use two separate strings: a plain one for the log message, and a translatable one for the exception."14:38
eharneydramatic twist!  yeah...14:38
jungleboyj*duh duh ... dah!*14:38
jungleboyjSo, that would appear to be the answer then.14:39
rosmaitai wonder if anyone at all is actually doing this (where 'this'==duplicate strings)14:39
rosmaitai bet everyone stops reading at the line eharney pointed out14:39
jungleboyjHonestly, I don't think I have seen that in the code.14:39
jungleboyjYep.14:39
rosmaitai don't think i've seen it anywhere in cinder14:40
eharneywell, most people look for info, and find it, and don't assume that the next paragraph is going to tell you the opposite thing :)14:40
geguileobut is someone translating exceptions?14:40
geguileoif nobody is translating anything, what's the point?14:40
eharneyalso true14:40
rosmaitawell, we do get occasional .po file updates14:40
rosmaitaok, let's take eharney's sentence "_() is preferred for any user facing message, even if it is also going to a log file. This ensures that the translated version of the message will be available to the user." as the current cinder approach14:41
rosmaitawe can ask the TC about this at the PTG14:42
bingyanhok14:43
eharneyit looks like we maybe just fully removed a few languages this year from cinder's translations.  wonder why14:43
eharneyhttps://review.opendev.org/c/openstack/cinder/+/80994414:43
jungleboyjInteresting.14:44
geguileoSpanish survived!!!14:44
jungleboyj:-)14:45
enriquetaso\o/14:45
enriquetasoha14:45
jungleboyjSurvivors.14:45
jungleboyjFrench and Italian ... gone.14:45
AndroUserHola14:45
geguileolol14:45
jungleboyj:-)14:45
geguileo_('Hello')14:46
* fabiooliveira hahaha14:46
rosmaitai have no idea, the instructions to PTLs are to merge those patches right away as long as they don't break any tests14:46
jungleboyjException:  Hola14:46
jungleboyjHola Mundo!14:46
enriquetaso:P14:46
* jungleboyj stops before he embarrasses himself14:47
toskyups14:47
*** hemna5 is now known as hemna14:47
toskymaybe a threshold issue?14:47
toskyI guess I will have to take a look14:48
rosmaitatosky: how do you mean?  they didn't translast at least x% of the messages, and thus were dropped?  somehting like that?14:48
jungleboyjOr lack of translation volunteers.14:49
rosmaitaok, so we have discussed this and reached a conclusion ... namely, continue to do what we have been doing14:50
rosmaitathanks!14:50
rosmaita#topic open discussion14:50
jungleboyj++14:50
eharneyhttps://review.opendev.org/c/openstack/cinder/+/800704 is a patch that just removes a bunch of dead code if someone wants an easy review14:53
eharneyit was approved a while ago but got stuck in a merge conflict or something14:53
jungleboyjwhere is Sean?  He loves dead code.14:53
eharneyok14:55
enriquetasodo we have a mypy patch for this week?14:55
eharneywell https://review.opendev.org/c/openstack/cinder/+/774288 was the mypy patch from a few weeks ago, it was approved but didn't merge because nobody has reviewed its parent patch yet14:56
enriquetasooops14:56
rosmaitajust realized my comment on the parent is still in draft14:57
rosmaita(it was a positive comment)14:57
enriquetaso#link https://review.opendev.org/c/openstack/cinder/+/81883014:57
eharneythere are more of them out there under the "mypy" topic14:57
enriquetasoI'll review the parent14:57
rosmaitaok, that's all we have time for ... 15:00
rosmaita#endmeeting15:00
opendevmeetMeeting ended Wed Mar  9 15:00:52 2022 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)15:00
opendevmeetMinutes:        https://meetings.opendev.org/meetings/cinder/2022/cinder.2022-03-09-14.01.html15:00
opendevmeetMinutes (text): https://meetings.opendev.org/meetings/cinder/2022/cinder.2022-03-09-14.01.txt15:00
opendevmeetLog:            https://meetings.opendev.org/meetings/cinder/2022/cinder.2022-03-09-14.01.log.html15:00
whoami-rajatthanks!15:01
jungleboyjThanks!15:01
*** dviroel is now known as dviroel|lunch15:14
*** dviroel|lunch is now known as dviroel16:42
*** dasm is now known as dasm|bbl18:26
*** hemna6 is now known as hemna20:29
*** dviroel is now known as dviroel|out21:29

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