Thursday, 2019-08-15

*** brinzhang has joined #openstack-doc00:56
*** altlogbot_1 has quit IRC03:16
*** altlogbot_0 has joined #openstack-doc03:17
*** brinzhang has quit IRC03:21
*** brinzhang has joined #openstack-doc03:22
openstackgerritAndreas Jaeger proposed openstack/openstack-doc-tools master: Publish to publish-docs/html  https://review.opendev.org/67657204:25
openstackgerritAndreas Jaeger proposed openstack/openstack-doc-tools master: Publish to publish-docs/html  https://review.opendev.org/67657204:30
openstackgerritAndreas Jaeger proposed openstack/security-doc master: Use publish-docs/html  https://review.opendev.org/67657404:36
*** brinzhang has quit IRC04:38
openstackgerritAndreas Jaeger proposed openstack/api-site master: Switch publishing to publish-docs/html  https://review.opendev.org/67657504:38
*** brinzhang has joined #openstack-doc04:39
*** brinzhang has quit IRC04:44
*** brinzhang has joined #openstack-doc04:45
openstackgerritAndreas Jaeger proposed openstack/api-site master: Switch publishing to publish-docs/html  https://review.opendev.org/67657504:45
openstackgerritAndreas Jaeger proposed openstack/training-guides master: Publish to publish-docs/html  https://review.opendev.org/67657604:45
openstackgerritAndreas Jaeger proposed openstack/security-doc master: Use publish-docs/html  https://review.opendev.org/67657404:46
openstackgerritAndreas Jaeger proposed openstack/openstack-manuals master: Switch output to publish-docs/html  https://review.opendev.org/67648204:47
openstackgerritAndreas Jaeger proposed openstack/openstack-manuals master: Use opendev-tox-docs job  https://review.opendev.org/67648304:47
openstackgerritAndreas Jaeger proposed openstack/security-doc master: Use publish-docs/html  https://review.opendev.org/67657404:49
*** brinzhang has quit IRC04:55
*** brinzhang has joined #openstack-doc04:55
*** brinzhang has quit IRC04:56
openstackgerritAndreas Jaeger proposed openstack/openstack-manuals master: Use opendev-tox-docs job  https://review.opendev.org/67648305:01
openstackgerritAndreas Jaeger proposed openstack/security-doc master: Use publish-docs/html  https://review.opendev.org/67657405:01
AJaegerstephenfin, ianychoi, asettle, we'd like to change publishing location to publish-docs/html. Could you review changes, please? I'll +A myself everything in the right order and test. This will allow us to publish *directly* to the website the content from the gate jobs without rerunning the jobs in post queue.05:22
*** brinzhang has joined #openstack-doc05:45
*** kopecmartin|off is now known as kopecmartin07:16
*** jawad_axd has joined #openstack-doc07:26
*** alexmcleod has joined #openstack-doc08:40
fricklercan someone tell me the new location of the user-guide? keystone docs link to https://docs.openstack.org/user-guide/common/cli-set-environment-variables-using-openstack-rc.html#download-and-source-the-openstack-rc-file but that redirect to the not very helpful https://docs.openstack.org/stein/user/#download-and-source-the-openstack-rc-file09:25
fricklerprobably will use https://docs.openstack.org/python-openstackclient/stein/configuration/index.html as best match I found09:29
*** jawad_axd has quit IRC09:29
AJaegerfrickler: it was moved in-tree...09:29
AJaegerregarding the location you have: I don't know where this ended, python-openstackclient might be it.09:30
frickleris there a way to create a link to a different project that will automatically match the branch? i.e. link to latest when rendered in master and link to stein when rendered in stable/stein ?09:30
AJaegerfrickler: yes, let me find a link...09:31
AJaegerhttps://docs.openstack.org/openstackdocstheme/latest/#external-link-helper09:31
fricklerAJaeger: awesome, thanks a lot09:32
*** pkovar has joined #openstack-doc09:44
stephenfinasettle: So for the PDF goal, I've been slowly working on adding Python 3 support to rst2pdf, since I think that should provide a pure Python way to generate PDFs. However, I haven't gone so far as to check if the output with Python 2 is actually what we want09:48
stephenfinasettle: I wonder if it would be worth sitting down and playing with it on a larger project like neutron to see how much it can do. Apparently they have decent styling capabilities but I haven't checked them out yet09:49
stephenfinasettle: I can do it myself, but realistically that's not going to happen until after M3 given the amount of stuff I have in-flight both upstream and downstream /o\09:49
asettlestephenfin, gracaias09:50
asettle... gracias*?09:50
stephenfinasettle: I think this guide should cover how to do it. Remember though: you've got to use Python 2 atm https://gist.github.com/alfredodeza/7fb5c667addb1c6963b909:50
stephenfinI'll keep working on Python 3 support in the background. Hopefully the rst2pdf is receptive09:51
AJaegerasettle, stephenfin , good morning - did you see my changes for changing publish-docs to publish-docs/html? See https://review.opendev.org/#/q/status:open+++topic:promote-openstack-manuals . I'm happy to self-approve later to untangle this and test that it all works. IT would really simplify CI jobs...09:54
asettleNo worries. Yes, stephenfin made me aware of them. Reviewing now.09:54
AJaegerthanks09:55
*** pkovar has quit IRC11:02
*** pkovar has joined #openstack-doc11:16
*** dmacpher has joined #openstack-doc11:38
*** pkovar has quit IRC12:54
*** pkovar has joined #openstack-doc12:55
asettleAJaeger, where is the projects.yaml file currently? I cannot see jenkins/jobs in https://opendev.org/openstack/project-config13:55
asettleLooking for the deploy-guide-jobs13:56
asettleFOUND IT13:57
asettleNo I didnt13:57
AJaegerhttps://opendev.org/openstack/openstack-zuul-jobs/src/branch/master/zuul.d/jobs.yaml#L67314:05
AJaegerasettle: ^14:05
AJaegerasettle: why are you looking for that? Anything else you need?14:06
asettleInterestingly, I got an email. I was looking to help him with the deploy stuff and setup the kolla docs properly. He pointed out that the TripleO docs... aren't quite the same14:06
asettlehttps://docs.openstack.org/stein/deploy/14:07
asettleWhen you hit up the TripleO "Deployment Guide" even the link is different, and it takes you to their home page14:07
asettleWhereas the others all have "https://docs.openstack.org/project-deploy-guide/.../.../"14:07
AJaegerasettle: that is configured in openstack-manuals/www14:07
AJaegerwww/project-data/stein.yaml is the exact file14:08
asettleYes, sorry, so the reason I asked for the project.yaml is because our instructions: https://docs.openstack.org/doc-contrib-guide/project-deploy-guide.html14:08
asettleFor the infra stuff14:08
asettleIsn't quite right naymore14:08
AJaegertripleo-docs is the odd one here ;)14:08
asettleSo, what I can't figure out is how they have a deployment guide up when: https://github.com/openstack/openstack-manuals/blob/master/www/project-data/stein.yaml#L81514:09
AJaegerasettle: www/stein/deploy/index.html has triploe-docs hardcoded ;(14:11
asettleFML how'd that happen14:12
asettleCan I change, AJaeger ? Probs should ask tripleo first, but it is not a landing page for deployment project docs14:15
AJaegerasettle: sure, discuss with tripleo and change ;)14:16
* asettle goes to do the thing14:17
AJaeger;)14:23
AJaegerthanks14:23
amotokistephenfin: FYI: I can generate PDF for nova doc with a small change when I exclude doc/source/configuration/sample-config.rst from the index15:03
amotokiThe change I made is like http://paste.openstack.org/show/757336/15:03
amotokisample-config.rst looks too large for LaTeX. An error I got is "TeX capacity exceeded: ....". It is different from neutron case but it looks similar problem.15:05
amotokiAnyway it would be great if you can overcome these issues with rst2pdf15:05
*** hemna has joined #openstack-doc15:11
stephenfinamotoki: Oh really?15:22
stephenfinI had no idea where to even start with that15:22
stephenfinI thought our documentation tree in general was too bit15:22
stephenfin*big15:22
stephenfinThere was also some issue with recursion that I was seeing15:22
hemnaso it looks like you guys are trying to gen the pdfs as part of the openstack-tox-docs jobs15:32
asettleUhhh15:33
asettleYeah15:33
asettle:D15:33
asettlehemna, I actually just had to do a "whois"15:33
asettlestephenfin, this is hemna - cinder core. Hopefully he can help us with the gens15:34
hemnaso, should I put up a bogus cinder patch and make it dep on https://review.opendev.org/#/c/664555/ to see if it works for cinder?15:34
asettleA dep?15:35
stephenfinhemna: that should work, though I'd personally just been doing it locally (quicker turn around). I doubt it will build first time15:35
stephenfinasettle: A 'Depends-On' tag15:35
asettleOh aye15:36
hemnahttps://review.opendev.org/#/c/676721/15:40
hemnaguess I'll have to do that for the rest of Cinder's repos as well15:41
hemnaos-brick, cinderlib, cinderclient, etc15:41
hemnastephenfin: how do you run the local test ?15:41
stephenfinhemna: Assuming you have an Ubuntu host available, install the bindeps and run the script from https://review.opendev.org/#/c/664555/2/roles/build-pdf-docs/tasks/main.yaml15:42
hemnaheh crap.  step 1....  I'm on Leap 15.115:42
stephenfinthen the bindeps will be slightly different but not much15:45
stephenfinI got it to run on Fedora 28 without issue. I assume most of the RPMs are the same15:46
*** kopecmartin is now known as kopecmartin|off16:09
*** alexmcleod has quit IRC16:33
AJaegerstephenfin: I'll self-approve https://review.opendev.org/676482 to move us forward with that change in a bit unless you cry loudly ;)16:36
amotokistephenfin: I pushed a WIP patch to nova PDF doc build. https://review.opendev.org/#/c/676730/ It works locally. See the commit message for detail I did.16:39
*** pkovar has quit IRC16:54
AJaegerstephenfin: I need you to +1 the release of openstack-doc-tools 2.0.0, see https://review.opendev.org/676739 - but first we need to merge change https://review.opendev.org/676572 and test that everything works. I'm on it...17:20
AJaegerSo, +1 anytime, please ;)17:20
openstackgerritMerged openstack/openstack-manuals master: Switch output to publish-docs/html  https://review.opendev.org/67648217:26
AJaegerso, first change is green - now the next ones ;)18:13
openstackgerritMerged openstack/openstack-doc-tools master: Publish to publish-docs/html  https://review.opendev.org/67657218:25
openstackgerritAndreas Jaeger proposed openstack/openstack-manuals master: DNM - testing publishbuild  https://review.opendev.org/67675018:25
openstackgerritAndreas Jaeger proposed openstack/openstack-doc-tools master: Cleanup doc-tools-check-languages  https://review.opendev.org/67675118:36
openstackgerritAndreas Jaeger proposed openstack/openstack-manuals master: Use opendev-tox-docs job  https://review.opendev.org/67648318:52
openstackgerritAndreas Jaeger proposed openstack/openstack-manuals master: Use opendev-tox-docs job  https://review.opendev.org/67648318:55
openstackgerritAndreas Jaeger proposed openstack/openstack-manuals master: Use opendev-tox-docs job  https://review.opendev.org/67648319:04
openstackgerritAndreas Jaeger proposed openstack/openstack-manuals master: Use opendev-tox-docs job  https://review.opendev.org/67648319:20
hemna2019-08-15 15:52:59.527283 | TASK [build-pdf-docs : Install PDF prereqs]19:23
hemna2019-08-15 15:53:00.223373 | ubuntu-bionic | MODULE FAILURE: sudo: a password is requiredy19:23
hemnagot that in my cinder patch19:23
AJaegerhemna: yes, that role does not work as is - that's why it has a -1 ;)19:24
AJaegeryou need to do the same as amotoki is doing in neutron and copy in the script19:25
*** vesper11 has quit IRC19:30
hemnabuild succeeded.19:34
hemnaThe LaTeX files are in doc/build/pdf.19:34
hemna:)19:34
hemnadid that locally19:34
hemnaseems happy19:34
hemnahttp://paste.openstack.org/show/757496/19:39
hemnamake has lots of output19:40
openstackgerritAndreas Jaeger proposed openstack/openstack-manuals master: Use opendev-tox-docs job  https://review.opendev.org/67648319:46
AJaegerasettle, stephenfin, let's build the same content in check that we publish, I think this is fine nowadays. Please review ^19:46
hemnathe pdf got build anyway19:50
hemnaeven though make puked out lots of errors19:50
*** hemna has quit IRC20:24
*** vesper11 has joined #openstack-doc20:51
*** goldyfruit has quit IRC22:35
*** goldyfruit has joined #openstack-doc22:38
*** goldyfruit has quit IRC22:56
*** goldyfruit has joined #openstack-doc22:56

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