Thursday, 2019-08-29

*** larainema has joined #openstack-oslo01:01
*** openstackgerrit has quit IRC02:37
*** rcernin has quit IRC03:13
*** rcernin has joined #openstack-oslo04:05
*** adriant has quit IRC04:05
*** adriant has joined #openstack-oslo04:05
*** dave-mccowan has quit IRC04:41
*** Luzi has joined #openstack-oslo05:05
*** adriant has quit IRC05:10
*** adriant has joined #openstack-oslo05:11
*** rcernin_ has joined #openstack-oslo05:52
*** rcernin has quit IRC05:55
*** jaosorior has quit IRC05:56
*** lpetrut has joined #openstack-oslo06:20
*** tosky has joined #openstack-oslo07:23
*** jbadiapa has joined #openstack-oslo07:28
*** rcernin_ has quit IRC07:40
*** trident has quit IRC07:40
*** jaosorior has joined #openstack-oslo07:42
*** trident has joined #openstack-oslo07:49
*** rcernin_ has joined #openstack-oslo07:57
*** jaosorior has quit IRC08:01
*** ralonsoh has joined #openstack-oslo08:04
*** lpetrut has quit IRC08:08
*** e0ne has joined #openstack-oslo08:11
*** e0ne has quit IRC08:20
*** e0ne has joined #openstack-oslo08:34
*** jaosorior has joined #openstack-oslo08:37
*** jaosorior has quit IRC08:49
*** e0ne has quit IRC08:59
*** e0ne has joined #openstack-oslo09:27
*** e0ne has quit IRC09:27
*** e0ne has joined #openstack-oslo10:21
*** e0ne has quit IRC10:27
*** e0ne has joined #openstack-oslo11:00
*** jaosorior has joined #openstack-oslo11:02
*** tesseract has joined #openstack-oslo11:15
*** dave-mccowan has joined #openstack-oslo11:18
*** e0ne has quit IRC11:20
*** e0ne has joined #openstack-oslo11:23
*** lpetrut has joined #openstack-oslo11:24
*** lpetrut has quit IRC11:30
*** e0ne has quit IRC11:32
*** ansmith has quit IRC11:36
*** e0ne has joined #openstack-oslo11:40
*** boden has joined #openstack-oslo11:46
*** boden has quit IRC12:08
*** boden has joined #openstack-oslo12:10
*** e0ne has quit IRC12:11
*** larainema has quit IRC12:32
*** ansmith has joined #openstack-oslo12:37
*** jaosorior has quit IRC12:41
*** Luzi has quit IRC12:44
lbragstadbnemec o/12:46
lbragstadi noticed that we have some help text in keystone-manage that isn't rendering properly12:49
lbragstadhttps://opendev.org/openstack/keystone/src/branch/master/keystone/cmd/cli.py#L1222-L1225 has new lines12:49
lbragstadbut they appear to be removed at runtime https://pasted.tech/pastes/5cdb1faa34f6b854f19b8f2e2fe976c73acb2363.raw12:49
lbragstadi'm wondering if there is a way to tell oslo.config (i assume that's what is dealing with this?) to format the output to pick up those new lines?12:50
*** lpetrut has joined #openstack-oslo12:52
bnemeclbragstad: It looks like they are there but the newlines got dropped: "Example: EMAIL: me@example.com LOGIN: me GROUPS: group1;group2;group3"12:56
lbragstadyeah12:56
bnemecOff the top of my head I'm not sure what is responsible for processing that.12:57
lbragstadmy knee-jerk reaction was to say argparse12:57
lbragstadbut that's not it - at least not directly12:57
lbragstadhttps://opendev.org/openstack/oslo.config/src/branch/master/oslo_config/cfg.py#L1254-L1308 ?12:58
bnemeclbragstad: Could be cliff. Do you use that in keystone-manage?12:59
lbragstadnot that i'm aware of13:00
lbragstadwe seem to use SubCommandOpt? https://opendev.org/openstack/keystone/src/branch/master/keystone/cmd/cli.py#L1312-L131513:00
*** jaosorior has joined #openstack-oslo13:04
lbragstadlooks like we are using https://opendev.org/openstack/oslo.config/src/branch/master/oslo_config/cfg.py#L186213:06
lbragstad(somehow)13:06
bnemecIt looks like all of the cli stuff there inherits from argparse.13:09
bnemecAnd apparently you need a different formatter to get newlines: https://stackoverflow.com/questions/3853722/python-argparse-how-to-insert-newline-in-the-help-text13:09
*** kgiusti has joined #openstack-oslo13:11
bnemecUnfortunately it doesn't appear we expose that option: https://github.com/openstack/oslo.config/blob/master/oslo_config/cfg.py#L198613:12
lbragstadthis works - https://pasted.tech/pastes/9b368d0da3ae43b5f5ff7695bf146b262d4982e6.raw13:13
bnemecOh, nice. That's not too bad.13:17
bnemecIt will require you to manually wrap all of the help text for that parser, but I guess that's the way it goes.13:18
lbragstadyeah - i don't think so13:18
*** boden has quit IRC13:18
*** boden has joined #openstack-oslo13:19
*** ansmith has quit IRC13:24
efriedstephenfin: ...here13:25
efriedI haven't caught up with email yet, so forgive me if I missed it13:25
efriedremember the other day how you were saying you were good in oslo, except .service and .privsep?13:26
stephenfinyarp13:26
stephenfin(fwiw, I doubt I'm alone /o\)13:26
efriedwell... could I nevertheless pretty please ask you to look at https://review.opendev.org/#/c/641907/ and https://review.opendev.org/678323 ?13:27
efriedWith both of these, the SIGHUP bug is resolved.13:27
efriedThe former has an effective +2 from zbitter (only commit message update since his +2) and the latter has +2 from bnemec, so you could send 'em both.13:28
stephenfinI'll try13:29
efriedthanks stephenfin. As bnemec said, think of this as being aligned with your interests in nova as well :P13:29
*** e0ne has joined #openstack-oslo13:40
*** rcernin_ has quit IRC13:41
*** e0ne has quit IRC13:43
*** efried is now known as efried_afk13:47
*** jaosorior has quit IRC13:51
*** lpetrut has quit IRC13:51
*** zbitter has quit IRC13:53
*** zbitter has joined #openstack-oslo13:54
*** dave-mccowan has quit IRC13:54
*** dave-mccowan has joined #openstack-oslo13:54
*** rcernin_ has joined #openstack-oslo13:55
*** fnordahl has quit IRC13:56
*** d34dh0r53 has quit IRC13:57
*** fnordahl has joined #openstack-oslo13:57
*** d34dh0r53 has joined #openstack-oslo14:01
*** e0ne has joined #openstack-oslo14:22
*** openstackgerrit has joined #openstack-oslo14:46
openstackgerritBen Nemec proposed openstack/oslo.policy master: Follow the new PTI for document build  https://review.opendev.org/54908814:46
*** jbadiapa has quit IRC14:47
*** jbadiapa has joined #openstack-oslo15:00
*** ansmith has joined #openstack-oslo15:04
*** efried_afk is now known as efried15:13
*** e0ne has quit IRC15:14
*** jbadiapa has quit IRC15:30
openstackgerritMerged openstack/oslo.privsep master: Self-resetting PrivContext  https://review.opendev.org/67832316:07
*** tesseract has quit IRC16:50
*** e0ne has joined #openstack-oslo17:02
*** e0ne has quit IRC17:04
*** e0ne has joined #openstack-oslo17:04
*** e0ne has quit IRC17:04
*** jbadiapa has joined #openstack-oslo17:07
*** e0ne has joined #openstack-oslo17:35
*** e0ne has quit IRC17:35
*** ralonsoh has quit IRC17:43
openstackgerritBen Nemec proposed openstack/oslo.context stable/stein: Cap Bandit below 1.6.0 and update Sphinx requirement  https://review.opendev.org/67930917:50
openstackgerritBen Nemec proposed openstack/oslo.context stable/rocky: Cap Bandit below 1.6.0 and update Sphinx requirement  https://review.opendev.org/67931017:54
openstackgerritVladyslav Drok proposed openstack/oslo.log master: Serialize complex objects in FluentFormatter  https://review.opendev.org/67931217:56
*** dougwig has joined #openstack-oslo18:12
*** e0ne has joined #openstack-oslo18:29
*** e0ne has quit IRC18:32
*** e0ne has joined #openstack-oslo18:55
*** e0ne has quit IRC19:01
*** e0ne has joined #openstack-oslo19:03
*** e0ne has quit IRC19:04
*** e0ne has joined #openstack-oslo19:05
*** e0ne has quit IRC19:05
openstackgerritBen Nemec proposed openstack/oslo.i18n master: Deprecate Message.translate in favor of Message.translation  https://review.opendev.org/67932119:16
efriedbnemec: did you see stephenfin's request on the oslo.service patch?19:18
efriedI guess there's no reason I can't fix that...19:19
bnemecefried: I glanced at it earlier, but if you want to take it I'm fine with that.19:24
efriedyeah, I got it.19:24
bnemecThanks19:27
*** kgiusti has left #openstack-oslo20:29
openstackgerritEric Fried proposed openstack/oslo.service master: restart: don't stop process on sighup when mutating  https://review.opendev.org/64190720:29
openstackgerritEric Fried proposed openstack/oslo.service master: Polish usage.rst  https://review.opendev.org/67933420:29
efriedbnemec: fyi ^20:31
efriedand stephenfin (when you awake) ^20:37
*** ansmith has quit IRC20:42
*** lpetrut has joined #openstack-oslo20:45
*** lpetrut has quit IRC20:51
*** ansmith has joined #openstack-oslo21:18
*** rcernin_ has quit IRC21:25
efriedbnemec: in case you care, https://bugs.launchpad.net/oslo.service/+bug/1794708 got assigned to me and I can't seem to assign it back.21:33
openstackLaunchpad bug 1794708 in oslo.service "Service children uselessly restart on signals" [Undecided,In progress] - Assigned to Eric Fried (efried)21:33
*** boden has quit IRC22:15
*** tosky has quit IRC22:29
*** rcernin has joined #openstack-oslo22:43

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