Thursday, 2017-08-03

*** genek has joined #openstack-i18n00:29
*** Adri2000 has quit IRC00:56
*** Adri2000 has joined #openstack-i18n00:57
*** http_GK1wmSU has joined #openstack-i18n01:05
*** http_GK1wmSU has left #openstack-i18n01:05
ianychoiamotoki, yes and I have just seen your addition. I would like to modify with more agenda for today IRC meeting. Thanks!01:32
amotokiianychoi: honestly etherpad is easier to edit though01:33
amotokibut it is nice the wiki agenda is used anyway01:33
ianychoiI just have been using the same way as Daisy previously did :) Of course, we can change the way with agreement.01:34
amotokihopefully the last paragraph of my mail on the string freeze will be covered01:34
amotokihttp://lists.openstack.org/pipermail/openstack-dev/2017-August/120536.html01:34
amotokiI am okay with either. changing many times is not a good idea01:36
ianychoiAFAIK string freeze exception is managed by release mgmt. team and I agree with I18n team has no concern to such string freeze exception request. By the way, did we discuss let server projects be free from string freeze? (Sorry for my poor rememberance)01:36
ianychoiI just remembered that we decided to let less priority for server projects and I need to see again but some server projects do not create stable versions in Zanata01:37
ianychoiHmm cinder has stable versions :)_01:38
amotokii think we discussed some potential options on server projects, but i cannot remember when it happened....01:38
ianychoiI see. I don't think concrete details are important.01:40
amotokiperhaps my basic idea is to announce i18n team priorities and let server projects less concern on string freeze01:41
ianychoiYep01:45
ianychoiamotoki, https://wiki.openstack.org/wiki/Meetings/I18nTeamMeeting#Agenda_for_next_meeting => I updated it for today meeting agenda01:46
amotokicorrected the meeting time. I put the wrong time :-(01:51
ianychoiIf it is fine, let's discuss and conclude during today IRC meeting - oh thanks!01:51
*** itlinux has joined #openstack-i18n02:02
*** itlinux has quit IRC02:50
*** epico has joined #openstack-i18n03:58
*** itlinux has joined #openstack-i18n04:06
*** macjack has quit IRC05:08
*** gianpietro has joined #openstack-i18n05:19
*** gianpietro has quit IRC05:24
*** itlinux has quit IRC05:37
*** robcresswell has quit IRC05:41
*** ujuc has joined #openstack-i18n05:54
*** aeng has quit IRC06:00
*** seongsoocho has quit IRC06:17
*** seongsoocho has joined #openstack-i18n06:18
*** rcernin has joined #openstack-i18n06:19
*** ykatabam has quit IRC06:24
*** ujuc has quit IRC06:39
*** ujuc has joined #openstack-i18n06:45
*** pcaruana has joined #openstack-i18n06:48
*** Dinesh_Bhor has quit IRC07:10
*** Dinesh_Bhor has joined #openstack-i18n07:16
*** tesseract has joined #openstack-i18n07:17
openstackgerritOpenStack Proposal Bot proposed openstack/i18n master: Imported Translations from Zanata  https://review.openstack.org/49036507:21
*** rsimai_away is now known as rsimai07:23
*** ykatabam has joined #openstack-i18n07:24
*** yasemin has joined #openstack-i18n07:37
*** robcresswell has joined #openstack-i18n07:41
*** oussemos has joined #openstack-i18n07:42
*** openstackgerrit has quit IRC08:18
*** ujuc has quit IRC08:58
*** ujuc has joined #openstack-i18n08:58
*** epico has quit IRC09:17
*** genek has quit IRC09:17
*** ujuc has quit IRC09:21
*** genek has joined #openstack-i18n09:22
*** epico has joined #openstack-i18n09:24
*** genek has quit IRC09:27
*** ujuc has joined #openstack-i18n10:49
*** ujuc has quit IRC10:54
*** genek has joined #openstack-i18n11:17
genek /JOIN -window #openstack-meeting11:21
*** openstackgerrit has joined #openstack-i18n11:26
openstackgerritMerged openstack/i18n master: Imported Translations from Zanata  https://review.openstack.org/49036511:26
*** epico has quit IRC11:45
*** genek has quit IRC12:29
*** ujuc has joined #openstack-i18n12:37
*** ujuc has quit IRC12:42
*** ykatabam has quit IRC12:47
*** ykatabam has joined #openstack-i18n12:47
*** eumel8 has joined #openstack-i18n12:53
eumel8hello12:54
*** genek has joined #openstack-i18n12:57
openstackgerritMerged openstack/i18n master: Import Tools page from OpenStack Wiki  https://review.openstack.org/48902113:21
openstackgerritMerged openstack/i18n master: Sort entries in translation_team.yaml alphabetically  https://review.openstack.org/48992313:26
*** ykatabam has left #openstack-i18n13:36
*** ykatabam has quit IRC13:36
*** ujuc has joined #openstack-i18n13:43
openstackgerritMerged openstack/i18n master: doc: minor cleanup  https://review.openstack.org/48822513:49
ianychoiamotoki, since the I18n sprint will be co-held with PyCon, I want to more focus on i18n repo :)14:01
amotokiianychoi: eumel8: recently the concept of "office hours" was introduced and we can have IRC meetings in our own channel14:01
eumel8translator/I18nPike1714:01
ianychoiamotoki, oh really, can I see some links for such "office hours" idea?14:02
amotokithe traffic is low enough, so i wonder we can have a meeting here #-i18n14:02
eumel8for the check site14:02
amotokiAFAIK keystone team use "office hours" model14:02
genekthanks eumel814:02
eumel8ianychoi: openstack-dev14:02
ianychoieumel8, thanks14:02
amotokii will search a mailing list post later14:02
ianychoiOkay - good14:03
ianychoiI have just seen keystone office hours proposal and activites & TC office hour14:04
genekeumel8: I can't change the language in user settings14:05
eumel8ianychoi: http://lists.openstack.org/pipermail/openstack-dev/2017-August/120444.html14:06
ianychoieumel8, thanks :)14:07
eumel8genek: I know, you have to change the browser settings. Don't know if this a bug or a feature, but I had the same experience :)14:07
amotokiit looks like just using #startmeeting in some channel http://eavesdrop.openstack.org/irclogs/%23openstack-keystone/%23openstack-keystone.2017-07-25.log.html#t2017-07-25T19:00:4414:07
amotokii think what we need is that meeting bot listens the channel and the meeting schedule page allows it14:08
ianychoiamotoki, so your idea is to have i18n-office-hours in #openstack-i18n IRC channel or to have an IRC meeting in #openstack-meeting IRC channel?14:08
amotokiyes, this is just an idea, but my point is that we sometimes have more discussions and if so we can use time a bit flexibly14:09
ianychoiamotoki, for later thing, pros is that we can have >= 1 hour IRC meeting and cons might be several helps from other teams (e.g., Alexandra Settle, Doug Hellmann, Jeremy Stanley) might be limited14:10
amotokione hour slot is still good14:10
genekeumel8: doesn't work here :-(14:10
amotokiianychoi: good point14:10
amotokiit is worth discussing it a bit and we can continue the current way14:11
genekamotoki: maybe we can do the meeting in #openstack-meeting biweekly14:12
amotokifrom POV of wider attentions, #-meeting sounds much better14:12
genekand office hour in the other week14:12
eumel8genek: in Firefox: preferences/content/languages: first languange in list is the default14:13
*** ujuc has quit IRC14:14
ianychoigenek, eumel8: Now I can only see "English" in user settings14:15
eumel8yes14:15
eumel8the question is: bug or feature :)14:15
eumel8if I change my browser setting to German then I see German content14:15
genekeumel8: The login page shows some Chinese content correctly, but after I login it's all english14:16
eumel8then it's untranslated :)14:16
ianychoigenek, for me, the login and main page show in Korean but I cannot change to other languages14:17
genekhmm, I've checked the po files in master branch and most of the string is translated14:18
eumel8ianychoi: we have to ask robcresswell or grabbing the release notes14:18
robcresswello/14:18
* robcresswell reads14:18
eumel8Hi rob: We can't change language setting in Horizon anymore :)14:19
robcresswellHmm, if langs aren't showing it sounds like the strings haven't been compiled14:19
amotokieumel8: if so I should be blamed. some mistake?14:19
eumel8robcreess14:20
ianychoirobcresswell, I can see Korean translated strings but on the language list in user settings, only English is shown14:20
eumel8rob: https://i18n.external.otc.telekomcloud.com14:20
amotokieumel8: the language settings is still valid. It allows us to limit the set of available langs14:20
ianychoiIt might be.. there might have bugs on language list capture & generation functionality ?14:20
ianychoitranslator/I18nPike17 <- ID & password14:21
eumel8amotoki: ok, thx. But it's a default installation of OSA. I didn't changed anything14:21
ianychoi<select name="language" class="form-control" id="id_language">14:22
ianychoi  <option value="en">English (en)</option>14:22
ianychoi</select>14:22
robcresswelleumel8: Were python manage.py collectmessages and python manage.py compilemessages run as part of the setup, after running the update catalog command?14:22
amotokicollectmessages -> collectstatic?14:23
robcresswellsorry, makemessages*14:23
robcresswelloh no, wait.14:24
* robcresswell thinks14:24
robcresswellyou need update_catalog and then compilemessages. Thats it. Not the other command.14:24
eumel8I have openstack-ansible os-horizon-install.yml -e "horizon_translations_update=True" --tags "horizon-config"14:26
eumel8just another tag?14:26
robcresswelleumel8: Hmm, I'm not sure14:26
*** andymccr has joined #openstack-i18n14:27
ianychoirobcresswell, in http://git.openstack.org/cgit/openstack/openstack-ansible-os_horizon/tree/tasks/horizon_translations_update.yml there are "pull_catalog" and "compilemessages" and there is no "update_catalog". Pull catalog might be fine?14:27
robcresswellAh, pull_catalog was the one, I forget the names14:27
andymccrhi hi :)14:27
ianychoirobcresswell, aha I see :) andymccr hi!14:27
robcresswellI dragged andy in to explain ansible to me14:28
robcresswellHmmm, something is wrong with the language settings then14:28
andymccrwhat's the problem? :)14:28
eumel8hi andy, grandmaster osa14:29
robcresswellandymccr: Somethings funky with the translation setup14:29
eumel8we can't change the language settings in horizon anymore14:29
ianychoiI don't know too much how language list is supported in horizon but amotoki: Might https://review.openstack.org/#/c/450126/ is also related?14:29
amotokiianychoi: yes, it checks available message catalogs and generate the lang list automatically14:30
*** macjack has joined #openstack-i18n14:30
amotokiif compiled message catalog is missing, such language will not be listed in the lang list14:30
ianychoiI briefly suspect that such auto generation of language list might affect the steps of pulling and compiling messages14:30
amotokiianychoi: it should not require any extra process14:31
andymccrrobcresswell: is there something you can point me at? :D14:31
eumel8andymccr: https://i18n.external.otc.telekomcloud.com14:31
robcresswelltranslator/I18nPike1714:32
robcresswellI think14:32
ianychoieumel8, would it be fine to you to share some logs? It would be great if we see some logs, for example, whether pull catalog and compilemessages are successfully executed or not14:32
ianychoiOr andymccr: would you try openstack-ansible-os_horizon and check whether the language list in settings -> user settings has several languages or not?14:33
andymccrianychoi: robcresswell: what are the settings required on horizon side for that to work?14:34
robcresswellandymccr: Shouldn't be any required. The code should allow you to show langs based on availability14:35
amotokisurprisingly, I see Japanese strings but the list has only English.....14:35
andymccrrobcresswell: ok i thought that would be the case - ok so the TL;DR is we think the languages are not being fetched/compiled properly?14:35
ianychoiamotoki, me too - except that I now see in Korean, not Japanese :)14:35
eumel8andymccr: just to explain, the settings are correct when browser language settings are already set. Only the language list in Horizon references contains English only.14:36
amotokione possible reason is if settings.LOCALE_PATHS contains more than two entries (horizon and openstack_dashboard) only English is listed14:36
amotokiL.63 and L.66 of https://review.openstack.org/#/c/450126/1/openstack_dashboard/dashboards/settings/user/forms.py14:36
robcresswellandymccr: What we're really trying to figure out is if Horizon is wrong or ansible14:36
andymccrrobcresswell: understood14:36
robcresswellBut basically, the language list isn't populating properly, and its just using the browser setting14:37
robcresswellI *think* this is in Horizon14:37
andymccrrobcresswell: i can tell you what the horizon ansible role is doing as a setup - but im not too sure what the correct path is!14:37
robcresswellBut I just dragged you in to be able to track the discussion in case its an ansible thing :)14:37
andymccrno problem :)14:37
eumel8ianychoi: It's only a test machine. Maybe it's easier when rob or andy enter with ssh the machine to take a deeper look.14:37
robcresswellandymccr: How does ansible populate Horizon settings for this deploy?14:37
ianychoieumel8, I see - when there is some error on openstack-infra, I asked clarkb to copy some console logs14:38
andymccrrobcresswell: as in the local_settings?14:38
robcresswellandymccr: oui14:38
andymccrrobcresswell: template file: https://github.com/openstack/openstack-ansible-os_horizon/blob/master/templates/horizon_local_settings.py.j2 (uses jinja2 so any {{ }} are vars)14:39
robcresswellcheers14:39
robcresswellyeah im familiar with jinja14:39
robcresswellNothing in there. 99% sure this is Horizon being derp, my env is just setting up now14:41
andymccrim setting one up too. may take a while though14:43
robcresswellyeah im nearly done14:45
* robcresswell keeps making errors in his config14:49
amotokiI am really afraid my change causes this .... assuming LOCALE_PATHS might be fragile14:50
robcresswellamotoki: Thats what I'm thinking :/14:50
robcresswellWe can fix it though :D14:50
amotokii am thinking same14:51
*** gianpietro has joined #openstack-i18n14:52
ianychoiamotoki, I really appreciate your help to support automatic generation of language list in horizon to move forward.14:52
*** ujuc has joined #openstack-i18n14:53
ianychoiI have been busy but I remember that you implemented it and I thought your insight would be so helpful to easily find out current bug14:53
andymccrrobcresswell: could it be that we didnt run the translations updates bit? i assume it wont pull the translations by default otherwise?14:55
amotokiI tested with my devstack with several patterns of LOCALE_PATHS in settings.py14:57
amotokiif LOCALE_PATHS is undefined, all languages defined in django are listed14:57
robcresswellandymccr: Does ansible do that as part of the setup?14:57
amotokiif LOCALE_PATHS contains an extra entry, only English is listed in the lang list.14:57
amotokiI think similar thing happens to this.14:58
robcresswellamotoki: extra entry?14:58
andymccrrobcresswell: not by default, so the pull_catalog and compilemessages commands are only called if you specify the "horizon_translations_update" var - which i didnt actually set by default in the job. I could do that np though if thats the issue, although it sounds like it isnt based on ^ :)14:58
amotokirobcresswell: yes, LOCALE_PATHS = [ 'horizon/locale', 'openstack_dashboard/locale', 'dummy/locale',]14:58
robcresswellandymccr: Ah, no I think eumel8 set that in the config he mentioned earlier15:00
eumel8I can confirm: if LOCALE_PATHS is unset in openstack_dashboard/settings.py all languages are in the list15:00
andymccrthat narrows it :)15:01
robcresswellAh15:01
robcresswellOkay, so its on the Horizon side and we need to fix our logic15:01
amotokiit might be better to revert my change first15:02
andymccrrobcresswell: damn horizon!15:02
amotokiandymccr: sorry for that15:02
andymccramotoki: its no problem :) honestly, OSA was broken for quite a bit during this master cycle too - its part of running against master i think.15:03
robcresswellhahaha15:03
robcresswellandymccr: Thanks for hopping in anyway15:03
andymccrand i think the translations gate job we have running daily failed this morning ;( so im looking into that anyway15:03
amotokithanks all anyway :)15:03
amotokiit is really difficult to automate things :/15:04
robcresswellamotoki: Will you have any time to try and fix it?15:04
amotokirobcresswell: I am wondering what is the good approach. at now i have no good idea to avoid more regression.15:05
amotokiLOCALE_PATHS cannot be used. I am not sure INSTALLED_APPS can be used....15:05
amotokiall paths are searched by django, so there is no reliable way to determine horizon translations are available.... i am here now15:06
robcresswellamotoki: Can't we just parse the file paths instead of relying on Django?15:08
robcresswelllike, checking the dir structure15:08
amotokiactually deployers can place horizon message catalogs in any location as long as they configure LOCALE_PATHS correctly15:09
amotokiand matched strings found first is used for translation15:09
amotokiso I am afraid checking dir structure does not work for some deployments15:10
robcresswellOkay15:10
robcresswellSo, what is actually causing the issue in this OSA case?15:10
robcresswellI'm still unclear. LOCALE_Paths should be correct afaik.15:11
amotokirobcresswell: I am still not sure this is the case of OSA15:11
amotokimy thought is just a potential problem15:12
robcresswelleumel8, ianychoi We'll do some more digging and get back to you :)15:12
ianychoirobcresswell, thanks a lot - also andymccr and amotoki!15:12
amotokihow is the checksite deployed?15:14
eumel8thx rob & andy15:14
amotokihttp://git.openstack.org/cgit/openstack/openstack-ansible-os_horizon/tree/ is just Ansible role15:14
amotokiwhere is the playbook ?15:15
ianychoiandymccr, and I have one more question to you - do you have some idea how https://review.openstack.org/#/c/487936/ is successfully landed? Me and eumel8 just knows this step and do not know the details on how the review is successfully landed15:15
ianychoiamotoki, eumel8 submitted https://review.openstack.org/#/c/487936/15:15
amotokiianychoi: thanks15:16
eumel8amotoki: https://github.com/eumel8/translation_checksite/blob/aio/install.sh#L13-L3815:16
amotokieumel8: is there any requirement on ansible version?15:17
andymccrianychoi: hmm we'll need to ask infra-team, happy to say the steps look good from my perspective.15:17
andymccramotoki: eumel8: you shouldnt have to install ansible, the gate-check-commit script inside OSA does a bunch of setup for the required version of ansible and other requirements15:18
ianychoiandymccr, I see - thank u! :)15:19
amotokiandymccr: i see. it looks better to try it as a whole.15:20
eumel8amotoki: there is nothing special. I have the xenial default15:20
amotokinice. I have baremetal machines with ubuntu xenial deployed by MAAS :)15:20
eumel8amotoki: then go ahead :)15:21
amotoki:)15:21
amotokii am going to bed for neutron drivers meeting 7am tomorrow. will try it tomorrow15:22
eumel8ok15:22
ianychoiamotoki, good night!15:23
amotokibye all15:23
eumel8I think there is nothing to do anymore. Please send an email if we can try a new installation.15:27
eumel8ianychoi: should we promote the interim check site or not? I'm not sure15:27
ianychoieumel8, did you change something in the site? Now I can see all languages!15:30
eumel8Yes, I removed LOCALE_PATHS from settings manually.15:31
ianychoiAha... :)15:31
eumel8the deeper sense is between the experts :)15:31
eumel8I'm only on end-user level ;)15:31
eumel8or we wait for the fix15:35
ianychoieumel8, how and/or which period of translation refresh is being done in your deployment? If they do not affect LOCALE_PATHS then I think we can announce to i18n mailing list15:38
*** rcernin has quit IRC16:12
*** JoseMello has joined #openstack-i18n16:29
*** genek has quit IRC16:36
*** pcaruana has quit IRC16:54
*** rcernin has joined #openstack-i18n17:02
*** gianpietro has quit IRC17:02
*** gianpietro has joined #openstack-i18n17:03
*** genek has joined #openstack-i18n17:06
*** gianpietro has quit IRC17:08
*** genek has quit IRC17:10
*** rsimai is now known as rsimai_away17:24
*** ujuc has quit IRC17:49
*** tesseract has quit IRC17:49
*** oussemos has quit IRC18:30
*** ujuc has joined #openstack-i18n18:47
*** ujuc has quit IRC18:51
*** eumel8 has quit IRC19:49
*** ujuc has joined #openstack-i18n20:35
*** gianpietro has joined #openstack-i18n20:37
*** ujuc has quit IRC20:40
*** ujuc has joined #openstack-i18n20:49
*** ujuc has quit IRC20:54
*** itlinux has joined #openstack-i18n21:03
*** ykatabam has joined #openstack-i18n22:04
*** JoseMello has quit IRC22:26
*** ujuc has joined #openstack-i18n22:38
*** ujuc has quit IRC22:43
*** genek has joined #openstack-i18n22:50
*** aeng has joined #openstack-i18n22:54
*** genek has quit IRC22:56
*** rcernin has quit IRC22:58
*** itlinux has quit IRC23:25

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