Friday, 2020-03-20

*** tosky has quit IRC00:54
*** dave-mccowan has quit IRC00:58
*** rcernin has quit IRC02:03
*** rcernin has joined #openstack-oslo02:03
*** SpamapS has quit IRC03:31
*** SpamapS has joined #openstack-oslo03:31
*** rcernin is now known as rcernin|brb05:30
*** rpittau|afk is now known as rpittau07:57
*** ralonsoh has joined #openstack-oslo08:46
*** tosky has joined #openstack-oslo08:51
*** raildo has joined #openstack-oslo11:33
*** rpittau is now known as rpittau|bbl11:37
*** kgiusti has joined #openstack-oslo12:39
smcginnisAnyone seen this? http://paste.openstack.org/show/790937/12:45
smcginnis"oslo_config.cfg.ArgsAlreadyParsedError: arguments already parsed: cannot register CLI option"12:45
smcginnisSounds familiar. Someone just pointed it out in the Cinder channel.12:45
*** kgiusti has left #openstack-oslo13:20
*** kgiusti has joined #openstack-oslo13:23
openstackgerritHervĂ© Beraud proposed openstack/oslo-cookiecutter master: trivial: refresh template with recent best practices  https://review.opendev.org/70718013:32
openstackgerritHervĂ© Beraud proposed openstack/oslo-cookiecutter master: trivial: refresh template with recent best practices  https://review.opendev.org/70718013:33
-openstackstatus- NOTICE: Gerrit (review.opendev.org) will be down for maintenance starting at 14:00 (in less than 20 mins), probably until 15:00 UTC13:43
*** rpittau|bbl is now known as rpittau13:52
-openstackstatus- NOTICE: The Gerrit service on review.opendev.org is offline for maintenance until 15:00 UTC http://lists.opendev.org/pipermail/service-announce/2020-March/000001.html14:07
*** ChanServ changes topic to "The Gerrit service on review.opendev.org is offline for maintenance until 15:00 UTC http://lists.opendev.org/pipermail/service-announce/2020-March/000001.html"14:07
*** ChanServ changes topic to "OpenStack Common Libraries | https://wiki.openstack.org/wiki/Oslo"15:04
-openstackstatus- NOTICE: Gerrit maintenance is concluded at this time and requested renames have been performed15:04
hberaudsmcginnis: hum... I think ti's something already known...15:17
hberaudsmcginnis: I don't remenber the associated bug but I think bnemec could help us to retrieve this one15:18
smcginnisDoesn't look like a change in cinder triggered this. But there also hasn't been an update to oslo.config for a few weeks, so some other dependency.15:20
bnemecOh, this may be more fallout from that policy fix. :-/15:22
bnemecAlthough I'm not sure why that would be happening on a doc build. That shouldn't have called the changed code in oslo.policy.15:24
smcginnisIt could still do it by the autodoc functionality trying to load up the source code.15:28
smcginnisbnemec: Do you remember which version of oslo.policy didn't have this issue? I can try to force installing that version in my local venv and see if that does it.15:30
*** toabctl has quit IRC15:31
bnemecsmcginnis: I believe 3.0.0 is where we started doing parsing on the global config object.15:32
smcginnisbnemec: Yep, that's it. I forced install of oslo.policy 2.4.1 in the docs venv and after that the job run successfully.15:36
smcginnisbnemec: Now the tricky part... do you know what the solution was to get around that. :)15:37
bnemecOne of the generator entrypoints must be getting called.15:38
bnemecI wonder if it's something about the way the policy sample gets generated in the docs.15:39
smcginnisIt's kinda odd. It happens loading a CLI cmd that only registers three of its own config opts:15:40
smcginnishttps://opendev.org/openstack/cinder/src/branch/master/cinder/cmd/volume_usage_audit.py#L5715:40
bnemecYeah, but you can't register cli commands after args have been parsed once.15:41
bnemecAh, it's because of this: https://github.com/openstack/oslo.policy/blob/master/oslo_policy/sphinxpolicygen.py#L8015:45
bnemecI didn't realize we had other code calling the cli entrypoint. We probably shouldn't. :-/15:46
smcginnisYeah, I don't know how we should handle that on the cinder side. Maybe exclude our cmd code from autodocs?15:50
bnemecMaybe, but I'm wondering if we should just fix this on the oslo.policy side.15:53
bnemecIt's conceivable that this broke other projects too.15:53
bnemecI feel like we shouldn't be running our cli parsing code when we aren't actually the cli entrypoint.15:53
smcginnisYeah, that makes the most sense to me.15:54
bnemecOh, in fact there's already functionality in place to make this work sanely. Should be a simple fix, give me a couple of minutes.15:54
bnemecsmcginnis: Is there a bug open for this?16:04
smcginnisbnemec: No, I hasn't gotten that far. Someone just pointed it out in the channel this morning.16:04
smcginnisI'm not really here today. :)16:05
bnemecAh. :-)16:05
bnemecWas just wondering if there was something I should reference in the commit message.16:05
openstackgerritBen Nemec proposed openstack/oslo.policy master: Don't parse cli args on the global object in sphinxpolicygen  https://review.opendev.org/71416116:09
bnemecsmcginnis: hberaud: ^Should fix the cinder docs build.16:10
smcginnisbnemec: Thanks, tested locally with that change and confirmed that does fix the issue.16:13
hberaudbnemec: omw to review16:13
smcginnisThanks for the quick fix!16:13
bnemecsmcginnis: Cool, thanks. I was just doing the same. :-)16:13
hberaudbnemec: thanks16:13
bnemecWe'll probably want to blacklist 3.0.1 too then.16:14
bnemecFixing this silly little cli bug has turned into quite the process. :-/16:14
smcginnisYeah, get the new fix out, blacklist the old rev.16:14
smcginnisFunny how the little things sometimes end up being like that.16:15
hberaudbnemec, smcginnis: just a side note to inform you, I'm a little bit busied by COVID19 stuffs currently so I don't think I'll be at 100% for the next few days/weeks due to the context...16:15
hberaudI mean 100% active16:16
smcginnisYeah, understood. Stay safe hberaud.16:16
bnemec^Yep, that.16:16
smcginnisA little crazy here too. Moved both my daugher and niece here from their dorm rooms this week.16:17
smcginnisFull house now.16:17
bnemecFortunately my daily routine is pretty much social isolation anyway so not much has changed for me. ;-)16:17
hberaudI've 5 parents infected and 1 at the hospital in bad mode...16:17
smcginnisWork-wise, same for me.16:18
smcginnishberaud: Oh now, sorry to hear that. I hope they are OK.16:18
bnemechberaud: Ugh, sorry to hear that. :-(16:18
smcginnis*Oh no16:18
hberaudnp thanks guys16:18
*** iurygregory is now known as iurygregory}brb16:19
*** iurygregory}brb is now known as iurygregory|brb16:19
hberaudtake care of your families too and stay really vigilant16:19
bnemec+116:23
*** openstack has joined #openstack-oslo16:58
*** ChanServ sets mode: +o openstack16:58
*** iurygregory|brb is now known as iurygregory17:14
*** toabctl has joined #openstack-oslo17:19
openstackgerritMerged openstack/oslo.policy master: Don't parse cli args on the global object in sphinxpolicygen  https://review.opendev.org/71416119:10
smcginnisbnemec: Still around? Should we get a release out for ^19:13
bnemecsmcginnis: Yep19:14
bnemecI'll propose it so you can +2.19:15
bnemecDone: https://review.opendev.org/71419519:16
*** ralonsoh has quit IRC19:17
smcginnisbnemec: And done.19:36
bnemecThanks!20:01
*** kgiusti has left #openstack-oslo20:03
openstackgerritAndreas Jaeger proposed openstack/cookiecutter master: Update infra-manual location  https://review.opendev.org/71422620:54
openstackgerritAndreas Jaeger proposed openstack/cookiecutter master: Update infra-manual location  https://review.opendev.org/71422620:58
*** raildo_ has joined #openstack-oslo21:07
*** raildo has quit IRC21:10
*** raildo_ has quit IRC21:50
*** mmethot_ has joined #openstack-oslo22:33
*** mmethot has quit IRC22:35
*** mmethot has joined #openstack-oslo22:47
*** mmethot_ has quit IRC22:49
*** irclogbot_3 has quit IRC23:27
*** irclogbot_0 has joined #openstack-oslo23:28
*** hberaud has quit IRC23:37
*** hberaud has joined #openstack-oslo23:37
*** tosky has quit IRC23:59

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