Monday, 2024-05-20

stanwhat logs should I see for nova live migration failure apart from nova_compute on both hosts03:21
*** srelf_ is now known as Continuity09:33
_piotrekfrickler: thanks for your reply last week - I was able to generate the PDF for openstack-ansible's deployment guide by installing all the requirements from doc/requirements.txt, copying doc/Makefile to deploy-guide/ and then running make latexpdf in deploy-guide - cheers!13:37
jrosser__piotrek: please do ask questions about openstack-ansible in the #openstack-ansible channel13:49
jrosser_if there are missing docs builds then we would like to know about it13:50
noonedeadpunkfungi: do you know if there;s a good reason to disable pdf for deploy guides? https://opendev.org/openstack/openstack-zuul-jobs/src/branch/master/zuul.d/jobs.yaml#L111614:14
funginoonedeadpunk: pdf doc generation usually has extra dependencies and takes a relatively long time to complete, but other than that i don't know14:15
noonedeadpunkwe just do that in fact for all docs, rather then deploy-guide it seems14:16
fungiis it assumed to be correctly set up for all projects?14:16
noonedeadpunkthat is a good question14:16
noonedeadpunkbut then: https://opendev.org/openstack/openstack-zuul-jobs/src/branch/master/zuul.d/jobs.yaml#L77714:16
fungiif memory serves, it relies on an additional tox env definition and possibly also some extra dependency management in each project14:16
noonedeadpunk`openstack-tox-docs` - I bet it's used for all projects, but unlikely to be configured14:17
noonedeadpunk*properly for all of them14:17
noonedeadpunkok, I guess we can try, as we do have a child job to deploy guide...14:17
funginoonedeadpunk: e.g. https://opendev.org/openstack/nova/src/branch/master/tox.ini#L230-L23914:18
fungicalled from https://opendev.org/openstack/openstack-zuul-jobs/src/branch/master/roles/build-pdf-docs/defaults/main.yaml#L214:19
noonedeadpunkyeah, jsut it seems that only 3 projects right now have deployment guides - osa, kolla and charms?14:19
noonedeadpunkhttps://docs.openstack.org/2023.2/deploy/14:20
noonedeadpunkI will try14:20
funginoonedeadpunk: also you may need to add packages to your bindep.txt tagged with the pdf-docs profile like https://opendev.org/openstack/nova/src/branch/master/bindep.txt#L48-L5014:21
noonedeadpunkfungi: we do build that for regular docs, but not for deployment guide: https://opendev.org/openstack/openstack-ansible/src/branch/master/tox.ini#L52-L5814:23
noonedeadpunkso I was thinking if there's smth that might block explicitly14:23
noonedeadpunkin openstackdocstheme or smth...14:24
fungino idea. i expect it's just that nobody ever configured the deploy guides for pdf generation14:24
fungibut as you try turning it on you may encounter other spots where support for it hadn't been implemented yet14:25
noonedeadpunkfungi: do you recall from top of your head if I can override vars on the job_template, like it's done with files here: https://opendev.org/openstack/openstack-zuul-jobs/src/branch/master/zuul.d/project-templates.yaml#L2821-L282814:28
fungii don't recall. there are some things that can't be overridden through a project-template since it's a pipeline addition not a job/variant definition14:29
fungiif you can override something in a pipeline, then i think you can do it in a project-template too14:29
noonedeadpunkyah14:29
noonedeadpunkI was surprised you can do with files actually14:30
fungihttps://zuul-ci.org/docs/zuul/latest/config/project.html#project-template mentions not being able to set branch matchers14:31
funginoonedeadpunk: https://zuul-ci.org/docs/zuul/latest/config/project.html#attr-project.%3Cpipeline%3E14:32
noonedeadpunkmhm, okey, thanks!14:33
fungi"...it is treated as a job variant local to this project and pipeline. In that case, the format of the dictionary is the same as the top level job definition. Any attributes set on the job here will override previous versions of the job."14:33
fungiand then the project-template section says "A Project Template defines one or more project-pipeline definitions which can be re-used by multiple projects."14:33
fungiso from that i infer you can14:33

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