Friday, 2018-02-16

*** masaki has joined #openstack-doc00:02
*** salv-orlando has quit IRC00:06
*** salv-orlando has joined #openstack-doc00:07
*** masaki has quit IRC00:10
*** salv-orlando has quit IRC00:12
*** salv-orlando has joined #openstack-doc01:08
*** salv-orlando has quit IRC01:12
*** masaki has joined #openstack-doc01:39
*** masaki has quit IRC01:43
*** masaki has joined #openstack-doc02:00
*** salv-orlando has joined #openstack-doc02:08
*** salv-orlando has quit IRC02:13
*** salv-orlando has joined #openstack-doc03:09
*** salv-orlando has quit IRC03:14
*** masaki has quit IRC03:38
*** yamamoto has joined #openstack-doc04:05
*** salv-orlando has joined #openstack-doc04:23
*** salv-orlando has quit IRC04:29
*** lpetrut has joined #openstack-doc04:36
*** yamamoto_ has joined #openstack-doc04:51
*** yamamoto has quit IRC04:55
*** charcol-v2 has quit IRC04:57
*** lpetrut has quit IRC05:13
*** lpetrut has joined #openstack-doc05:19
*** salv-orlando has joined #openstack-doc05:25
*** masaki has joined #openstack-doc05:25
*** salv-orlando has quit IRC05:29
*** lpetrut has quit IRC05:35
*** threestrands has quit IRC06:20
*** salv-orlando has joined #openstack-doc06:25
*** openstackstatus has quit IRC06:27
*** openstack has joined #openstack-doc06:30
*** ChanServ sets mode: +o openstack06:30
*** salv-orlando has quit IRC06:30
*** salv-orlando has joined #openstack-doc06:32
openstackgerritOpenStack Proposal Bot proposed openstack/security-doc master: Imported Translations from Zanata  https://review.openstack.org/54521306:32
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-manuals master: Imported Translations from Zanata  https://review.openstack.org/54521506:56
openstackgerritOpenStack Proposal Bot proposed openstack/training-guides master: Imported Translations from Zanata  https://review.openstack.org/54521606:57
openstackgerritOpenStack Proposal Bot proposed openstack/api-site master: Imported Translations from Zanata  https://review.openstack.org/54522007:07
*** halbbalda has joined #openstack-doc07:09
*** halbbalda has quit IRC07:16
openstackgerritMerged openstack/security-doc master: Imported Translations from Zanata  https://review.openstack.org/54521307:17
*** halbbalda has joined #openstack-doc07:17
*** eumel8 has joined #openstack-doc07:17
*** suyog has quit IRC07:20
openstackgerritMerged openstack/api-site master: Imported Translations from Zanata  https://review.openstack.org/54522007:21
*** threestrands has joined #openstack-doc07:22
*** threestrands has quit IRC07:22
*** threestrands has joined #openstack-doc07:23
*** threestrands has quit IRC07:23
*** threestrands has joined #openstack-doc07:23
*** threestrands has quit IRC07:34
*** dmacpher_ has joined #openstack-doc07:36
*** dmacpher has quit IRC07:38
*** yamamoto_ has quit IRC07:40
*** rcernin has quit IRC07:41
*** yamamoto has joined #openstack-doc07:42
*** yamamoto has quit IRC07:42
openstackgerritMerged openstack/openstack-manuals master: Imported Translations from Zanata  https://review.openstack.org/54521507:42
*** yamamoto has joined #openstack-doc07:43
*** lpetrut has joined #openstack-doc07:44
*** yamamoto has quit IRC07:48
openstackgerritAndreas Jaeger proposed openstack/openstack-manuals master: Rename our base job  https://review.openstack.org/54523508:11
*** alexchadin has joined #openstack-doc08:13
*** alexchadin has quit IRC08:24
*** alexchadin has joined #openstack-doc08:25
*** masaki_ has joined #openstack-doc08:26
*** masaki_ has quit IRC08:26
*** tesseract has joined #openstack-doc08:27
*** salv-orlando has quit IRC08:32
*** salv-orlando has joined #openstack-doc08:32
*** salv-orlando has quit IRC08:37
*** jpena|off is now known as jpena08:41
*** yamamoto has joined #openstack-doc08:44
*** salv-orlando has joined #openstack-doc08:45
*** yamamoto has quit IRC08:50
*** yangyapeng has joined #openstack-doc08:57
*** yamamoto has joined #openstack-doc08:59
*** masaki has quit IRC09:02
*** salv-orlando has quit IRC09:04
*** salv-orlando has joined #openstack-doc09:05
*** salv-orlando has quit IRC09:09
*** pcaruana has joined #openstack-doc09:11
*** tosky has joined #openstack-doc09:12
*** yamamoto has quit IRC09:15
*** stephenfin is now known as finucannot09:35
*** masaki has joined #openstack-doc09:45
*** masaki has quit IRC09:51
*** alexchadin has quit IRC10:01
*** yamamoto has joined #openstack-doc10:15
*** openstackgerrit has quit IRC10:18
*** yamamoto has quit IRC10:20
*** yamamoto has joined #openstack-doc10:51
*** alexchadin has joined #openstack-doc10:54
*** alexchadin has quit IRC11:10
*** alexchadin has joined #openstack-doc11:22
*** tpsilva has joined #openstack-doc11:23
*** alexchadin has quit IRC11:41
*** alexchadin has joined #openstack-doc11:42
*** yamamoto has quit IRC11:56
*** yamamoto has joined #openstack-doc11:59
*** yamamoto has quit IRC12:08
*** salv-orlando has joined #openstack-doc12:10
*** yamamoto has joined #openstack-doc12:11
*** yamamoto has quit IRC12:41
*** openstackgerrit has joined #openstack-doc12:42
openstackgerritIan Y. Choi proposed openstack/openstack-manuals master: [install] rdo: adds explanation on existing cnf  https://review.openstack.org/54528412:42
*** jpena is now known as jpena|lunch12:48
*** pkovar has joined #openstack-doc12:55
pkovareumel8: thanks for emailing the other group13:00
pkovarpersonally, i would the vision review etc. the first thing monday morning, after introductions etc.13:01
*** nicolasbock has joined #openstack-doc13:10
*** nicolasbock has quit IRC13:10
*** yamamoto has joined #openstack-doc13:15
eumel8pkovar: yes, this was also my idea ;)13:20
openstackgerritIan Y. Choi proposed openstack/openstack-manuals master: [install] Mentions SQL max connection error  https://review.openstack.org/54529113:21
openstackgerritIan Y. Choi proposed openstack/openstack-manuals master: Add redirects from /latest/install  https://review.openstack.org/54529413:36
*** dmacpher__ has joined #openstack-doc13:47
*** dmacpher_ has quit IRC13:50
*** jpena|lunch is now known as jpena13:51
*** dustins has joined #openstack-doc13:52
pkovarso the rocky links don't show up, not sure why13:59
pkovarhttps://docs.openstack.org/rocky/user/13:59
pkovarhttps://docs.openstack.org/rocky/admin/13:59
pkovarcould it be that we have two series in development and the generator gets confused?13:59
ianychoipkovar, seems that there is no rocky.yaml in https://git.openstack.org/cgit/openstack/openstack-manuals/tree/www/project-data ?14:13
pkovarianychoi: there's latest.yaml which should map to rocky14:13
pkovarbut it maps to queens14:13
pkovarthus the queens links point to latest14:14
pkovarhttps://docs.openstack.org/queens/user/14:14
pkovaretc.14:14
*** Supun has joined #openstack-doc14:17
pkovarthis is not a big deal atm as we don't explicitly link to rocky pages yet, but still14:19
ianychoihmm, I just thought that we are still now in queens development cycle so the latest is redirected to queens not rocky14:20
pkovari am trying to regenerate www pages with only one series marked as development, let's see if that changes anything14:20
pkovarianychoi: you are right, that is kinda expected14:21
pkovarso yeah, it should stay that way until queens is ga14:21
openstackgerritIan Y. Choi proposed openstack/openstack-manuals master: Add redirects from /latest/install  https://review.openstack.org/54529414:21
*** Supun has quit IRC14:22
*** Supun has joined #openstack-doc14:23
pkovarso i just learned a lesson in that there is a little point in pushing next development release pages to www until the previous development release gets to ga14:24
pkovardidn't quite realize that before14:24
ianychoiMe did not realize the existence of whereto package but thanks to Doug now I know it :)14:26
*** Supun has quit IRC14:34
*** alexchadin has quit IRC14:37
*** ShriK has joined #openstack-doc14:48
*** salv-orl_ has joined #openstack-doc14:55
*** salv-orlando has quit IRC14:58
openstackgerritMerged openstack/whereto master: use sphinx-build for doc build in tox  https://review.openstack.org/54510715:00
openstackgerritMerged openstack/openstack-manuals master: Rename our base job  https://review.openstack.org/54523515:01
*** Shri has joined #openstack-doc15:03
*** ShriK has quit IRC15:08
openstackgerritMerged openstack/security-doc master: Replace Chinese quotes to English quotes  https://review.openstack.org/54453715:09
*** lbragstad has quit IRC15:14
*** lbragstad has joined #openstack-doc15:15
*** Shri has quit IRC15:30
*** lpetrut has quit IRC15:31
dhellmannpkovar : now that we have created the branches for all of the projects you should be able to add a rocky section to docs.o.o and update latest to point there15:40
dhellmannit's a little early, but if you need to differentiate, *shrug*15:41
pkovardhellmann: so we have this in generator: https://github.com/openstack/openstack-manuals/blob/master/tools/www-generator.py#L6115:43
pkovartwo series in development15:43
pkovarwith queens pointing to latest still15:43
pkovardhellmann: is there some other place where latest needs to be tweaked?15:43
pkovarrocky has no links atm15:44
pkovar/me back in a bit15:50
*** pkovar has quit IRC15:50
dhellmannpkovar: queens isn't "ga" but it's not really in "development" either, is it? we're in the final release candidate phase.15:54
dhellmannI think when I identified the phases I didn't differentiate15:55
dhellmannif you want to do that, I think we should update the template generator to support it because right now the links are pointing to the wrong docs15:55
dhellmannrocky is technically open for development15:56
*** pcaruana has quit IRC15:57
finucannotFYI, I'm gone for the next week so if anyone pings me don't expect me to answer. See you at the PTG!15:59
*** salv-orl_ has quit IRC16:00
*** salv-orlando has joined #openstack-doc16:00
*** salv-orlando has quit IRC16:05
eumel8cu there, stephenfin!16:09
*** finucannot is now known as stephenfin16:10
*** pkovar has joined #openstack-doc16:25
pkovarstephenfin: hey, you still there?16:30
pkovaror here, even16:30
pkovardhellmann: do we need to implement a new state, smth like next-maintained?16:31
pkovarjust for this transition period16:32
*** aspiers has quit IRC16:33
dhellmannpkovar : I guess it depends on how pedantic we want to be about it. For cycle-with-intermediary projects they are technically "done" for queens. For cycle-with-milestone projects (the minority) they are in a release-candidate phase and could be considered "maintained" if you stretch the definition a bit.16:37
dhellmannso if we had a new state, I'd wonder what difference that would make in how we render the site16:38
*** aspiers has joined #openstack-doc16:38
pkovarnot sure how to best fix the problem with queens pages linking to rocky branches in this transition period16:39
dhellmannlike I said, I would just go ahead and follow the normal process, mark queens as "maintained" and rocky as "development"16:41
dhellmannand do it now, rather than waiting for ga16:41
dhellmannwe're talking about a 2 week period, roughly16:42
dhellmannalternatively if we can define what that intermediate state is I can offer some advice about changing the template rendering stuff to add the new state16:42
pkovardhellmann: okay, let me create a quick patch16:48
pkovari'd discuss this further at the ptg with the team16:48
dhellmanngood idea16:50
openstackgerritPetr Kovar proposed openstack/openstack-manuals master: [www] Mark Q as maintained  https://review.openstack.org/54538816:59
pkovarcores, please have a look at https://review.openstack.org/54538817:11
pkovardhellmann: ^17:11
dhellmann+217:12
pkovarty17:12
*** pkovar has quit IRC17:23
*** pkovar has joined #openstack-doc17:31
*** Supun has joined #openstack-doc17:35
*** dmacpher_ has joined #openstack-doc17:50
*** dmacpher__ has quit IRC17:53
*** lbragstad has quit IRC17:55
*** lbragstad has joined #openstack-doc17:55
*** jpena is now known as jpena|off18:09
*** salv-orlando has joined #openstack-doc18:10
*** dustins has quit IRC18:15
*** Shri has joined #openstack-doc18:25
*** tesseract has quit IRC18:26
*** Shri has quit IRC18:30
*** pkovar has quit IRC18:42
*** lpetrut has joined #openstack-doc18:55
*** lpetrut has quit IRC19:12
*** lpetrut has joined #openstack-doc19:20
openstackgerritMerged openstack/openstack-manuals master: [www] Mark Q as maintained  https://review.openstack.org/54538819:23
openstackgerritMerged openstack/openstack-manuals master: [install] rdo: adds explanation on existing cnf  https://review.openstack.org/54528419:23
*** dustins has joined #openstack-doc19:33
*** Supun has quit IRC19:33
eumel8dhellmann: you have a minute?19:58
*** salv-orlando has quit IRC20:03
*** salv-orlando has joined #openstack-doc20:04
*** dustins_ has joined #openstack-doc20:08
*** salv-orlando has quit IRC20:08
*** dustins has quit IRC20:08
dhellmanneumel8 : sure, what's up?20:13
*** lpetrut has quit IRC20:16
*** lpetrut has joined #openstack-doc20:17
eumel8dhellmann: do you know where python subprocess starts with cwd?20:18
dhellmanneumel8 : it should be $pwd by default, but you can pass a different value if you want to20:26
dhellmannyou might get different behavior if shell=True, though20:26
dhellmanneumel8 : are you running into an issue?20:27
eumel8dhellmann: I'm in https://review.openstack.org/#/c/524862/ and nearly to the bug.20:31
eumel8dhellmann: git_log_cmd, cwd=root, stdout=subprocess.PIPE) <- that won't work20:31
eumel8dhellmann: the output is: cd src/git.openstack.org/openstack-infra/openstack-zuul-jobs; git -C src/git.openstack.org/openstack-infra/openstack-zuul-jobs log -n 1 --pretty=format:%ct -- src/git.openstack.org/openstack-infra/openstack-zuul-jobs/doc/source/index.rst20:32
eumel8dhellmann: the output should be: cd ./src/git.openstack.org/openstack-infra/openstack-zuul-jobs;git log -n 1 --pretty=format:%ct -- doc/source/index.rst20:33
dhellmanneumel8 : pass "." instead of root as the arg to the command20:33
dhellmannyou're already cd-ing into root, so there's no need to pass root as an arg to git20:33
eumel8dhellmann: yep, first step20:33
*** salv-orlando has joined #openstack-doc20:34
dhellmannhmm, according to http://logs.openstack.org/62/524862/28/check/build-openstack-sphinx-docs/d351113/ara/result/ddeaa081-ac6c-4493-844c-4e816fc6e6d7/ the issue is the cd command because the path doesn't exist20:35
dhellmannso that's probably an issue with using relative paths?20:35
dhellmanneumel8 : there is some tricky stuff going on here between copying the script from one server to another, and the paths may not match after doing that20:36
eumel8dhellmann: yes, I tested with ./src instead src and this works, but I would delete cwd=root because git -C is anyway used.20:37
dhellmannwhat happens if we require the sitemap generator to be run in the root of the repository, but don't pass that directory to it explicitly?20:37
dhellmannoh, yeah, I didn't even notice the -C value there20:37
dhellmanns/value/option20:37
eumel8git -C works, but then we need the relativ file path into the repo20:38
dhellmannI would set the whole sitemap generator up to assume that it is run from the root of the repo, and not have it change directories ever20:39
dhellmanntry to make it as simple as possible20:39
eumel8dhellmann: you mean project_root somewhere in get_files?20:42
dhellmanneumel8 : we need to understand what $pwd will be when the task in https://review.openstack.org/#/c/524862/28/roles/sitemap-generation/tasks/main.yml is run20:51
dhellmannI assume it is the root of the repo, but maybe not?20:51
dhellmannand we need to understand where src_project_root is really, because we're given a relative path and not an absolute path20:51
dhellmannand then I think we should take the earliest opportunity in the task (either in the YAML or in sitemap_gen.py) to cd to the directory where the project source tree is and just run all of the operations using relative paths starting with .20:52
eumel8dhellmann: yes, will see what happen now. I think src_project_root is simple /home/zuul/ and then the repos are cloned in src/git.openstack.org and so on21:01
dhellmannok21:02
eumel8dhellmann: ah, it's built now: http://logs.openstack.org/62/524862/29/check/build-openstack-sphinx-docs/e7eefea/html/sitemap.xml21:04
dhellmann\o/21:04
dhellmannwell21:04
eumel8will remove my debug markups...21:05
dhellmannthose urls don't have shemes21:05
eumel8docs.openstack.org is static string, so it's only usable there21:08
dhellmannit should be https://docs.openstack.org though, right?21:09
eumel8docs_hostname in default/main.yml? dunno21:10
eumel8yes, it seems so: https://docs.openstack.org/sitemap.xml21:12
eumel8waiting for zuul...21:13
eumel8dhellmann: that should work out: http://logs.openstack.org/62/524862/31/check/build-openstack-sphinx-docs/5bf0792/html/sitemap.xml21:22
dhellmanneumel8 : yes, that looks good21:22
eumel8some linters cleanup again..21:23
openstackgerritMerged openstack/openstack-manuals master: Add redirects from /latest/install  https://review.openstack.org/54529421:23
eumel8now it's green21:25
dhellmanneumel8 : we should remove the WIP from the commit message, too21:29
dhellmannis mguiney still working on that patch?21:29
mguineyyup! will be trackimg the apot its miasing a slash, but have a time based task to plosh off firat21:30
dhellmannmissing a slash?21:31
dhellmanneumel8 : do we have any way to test that job change with a repo other than openstack-zuul-jobs?21:33
eumel8dhellmann: wip is removed21:37
dhellmanneumel8 : +1 with a caveat for approving it21:37
dhellmanneumel8 , mguiney : nice work on that patch :-)21:39
eumel8dhellmann: haha :) let me think how we can test it outside the repo21:40
dhellmanneumel8 : I think if we use depends-on with another patch that has the doc build that would do it21:41
dhellmanneumel8 : let's see if that works with https://review.openstack.org/54544721:42
eumel8ok21:43
eumel8dhellmann: playing in the wild on my test server: http://160.44.202.112:8443/openstack-ansible/doc/build/html/sitemap.xml21:52
dhellmannyeah, I have no doubt the script works. it's the job I want to test, before we merge that patch.21:53
*** dustins_ has quit IRC21:55
eumel8infra team is playing zuul shooter: Tenant openstack isn't ready21:57
eumel8time for a break21:57
*** lpetrut has quit IRC22:00
*** edmondsw has quit IRC22:01
*** edmondsw has joined #openstack-doc22:01
*** edmondsw has quit IRC22:06
*** tpsilva has quit IRC22:33

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