Friday, 2024-10-25

rpittaugood morning ironic! o/07:26
rpittaucardoe: re wsgi module: I left a comment in https://review.opendev.org/c/openstack/ironic/+/927635, essentially the error is due to the fact that you have executable code running directly at the top level07:33
rpittauif we want to use sphinx we need to change that as I suggested in the comment, or in a different way07:33
opendevreviewDerek Higgins proposed openstack/ironic master: Eject vmedia if fast track is enabled  https://review.opendev.org/c/openstack/ironic/+/93332610:06
masgharGood afternoon Ironic! I am looking at untriaged bugs for this month, and we have quite a few10:13
masghar(10 in ironic)10:14
cidmasghar, :D, that's a new high (since I learned how bug triaging works). Maybe as it's the beginning of a new release.11:00
masgharcid: Yep, lots going on at the moment I guess12:04
masgharI've got a doc with suggestions for triaging them. I haven't done it already because I am not too sure, and also because I don't have the permissions yet. Shall I go ahead and share it here?  12:20
rpittaumasghar: sure, that works, we can also discuss that during the next meeting to have more concentrated audience12:33
opendevreviewDerek Higgins proposed openstack/ironic master: Don't eject vmedia if fast track is enabled  https://review.opendev.org/c/openstack/ironic/+/93332612:49
cardoerpittau: https://opendev.org/openstack/nova/src/branch/master/nova/wsgi/osapi_compute.py was the example that JayF originally followed. Which now that i moved stuff into the wsgi directory it should match.13:44
rpittaucardoe: it does match, the problem is that sphinx is reading our code, analyzing it, and it doesn't like that :)14:23
rpittaunova is building their docs in a different way, that's why all's good in their jobs14:23
cardoeJay tried to add that to be ignored but sphinx didn't listen14:24
JayFrpittau: they have autodoc in nova, yeah?14:24
rpittauJayF: they do14:25
JayFthen what does 'nova is building their docs in a different way' mean14:25
rpittauit means that if you look at their job and especially their conf.py, they're quite different from ours14:26
rpittauso either we change how we generate our docs, or we don't have executable code at the top level of that module14:27
cardoeSo wsgi stuff can use a function as an entry point, but that's not how the rest of OpenStack projects are doing it.14:28
cardoeIt's not just nova that's doing that pattern.14:28
JayFWe should get sean mooney to look at that14:29
JayFhe was working on the wsgi stuff in nova14:29
JayFmight have some nugget of info we don't?14:29
rpittauI'm not saying the problem is how that is written, I'm saying that sphinx does not like it, and that nova does not include that module in their docs AFAICS14:29
JayFYeah, but I don't see any evidence in their conf.py that they're skipping14:35
JayFI do think skipping the wsgi module is the a++ solution14:35
JayFReally we should revert back to original where I tried to skip it and I can try again to skip it lol14:35
JayFI need to write up something for the OpenInfra Days NA @ SCALE this morning but I can try to find time later14:36
rpittauJayF: FYI autodoc explicitly says that for scripts they should be protected by an if __name__ == '__main__' condition14:36
JayFYep, but I've got no idea if that makes sense for wsgi14:36
JayFI don't think a wsgi server doing an import is going to have it be __main__14:36
opendevreviewMerged openstack/sushy master: Provide vmedia username and password if required  https://review.opendev.org/c/openstack/sushy/+/92352414:40
JayFdtantsur: https://review.opendev.org/c/openstack/ironic-python-agent/+/928466/6#message-a59e9c755c86e0e78e89c49d9df4c3af29bcd784 I left my comment back on draft, if you can help me understand what to do here I'm happy to do it14:44
* JayF will brb in an 60-90mins14:44
opendevreviewMerged openstack/virtualbmc master: Drop unnecessary 'x' bit from doc config file  https://review.opendev.org/c/openstack/virtualbmc/+/93326914:48
opendevreviewMerged openstack/sushy-tools master: Drop unnecessary 'x' bit from doc config file  https://review.opendev.org/c/openstack/sushy-tools/+/93331514:52
rpittaucardoe, JayF: a solution could be not treating all warnings as errors for pdf builds only, and using mock autosummary, do you want me to update the patch?14:53
cardoeI'm all for it cause I'm out of ideas.14:54
rpittauok, gimme a sec to clean the patch14:55
opendevreviewRiccardo Pittau proposed openstack/ironic master: Enable WSGI module entrypoint for Ironic  https://review.opendev.org/c/openstack/ironic/+/92763514:57
rpittauwe don't treat warnings as errors in docs, don't see why we should do that in pdf-docs14:58
opendevreviewMerged openstack/ironic-python-agent-builder master: Drop unnecessary 'x' bit from doc config file  https://review.opendev.org/c/openstack/ironic-python-agent-builder/+/93286415:00
rpittaubye everyone, have a great weekend! o/15:11
opendevreviewMerged openstack/ironic master: docs: adds link to oslo_messaging_notifications documentation  https://review.opendev.org/c/openstack/ironic/+/93311915:15
masgharrpittau: Sorry, I missed your reply earlier. Here it is: https://docs.google.com/document/d/1fGGfg3OP69rOYvvn17zZ2ve_muVZKreMbrS_UVrs3IA/edit?tab=t.015:48
opendevreviewMerged openstack/ironic master: Expand detected strings in check_cipher_suite_errors  https://review.opendev.org/c/openstack/ironic/+/93291516:14
JayFrpittau: we specifically enabled that because it acts as a linter for Sphinx. It's okay that you removed it though, because when I action the pre-commit stuff from the ptg, I can tie in a docs linter to the lint job then16:56
JayFAnd I don't think that linter is going to go so far as to run autodoc16:57
JayFoh, the change you made is way better than it sounded 18:30
JayFthat's awesome18:30
JayFthank you18:30
JayFjfyi as promised, itamarst has started on his quest to fix virtualpdu; no real schedule but if someone else picks up fixing virtualpdu, you might wanna reach out (I can proxy if you don't share a channel with him)19:04

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