Saturday, 2016-01-30

*** chem has quit IRC00:00
*** Daisy has joined #openstack-sprint00:21
*** rfolco has joined #openstack-sprint00:39
*** imcsk8_ has joined #openstack-sprint00:54
*** dhellmann_ has joined #openstack-sprint00:58
*** imcsk8 has quit IRC01:04
*** dhellmann has quit IRC01:04
*** dhellmann_ is now known as dhellmann01:04
*** rfolco has quit IRC01:41
*** katomo has joined #openstack-sprint02:24
katomoping ianychoi :)02:36
ianychoilazy ping, katomo :)02:44
katomomorning02:45
ianychoigood morning02:45
katomoHow about installing zanata client to /usr/loca/bin with sudo?02:45
ianychoiYep.. actually, /home/stack/bin/zanata-cli is very simple02:46
ianychoiJust two lines :)02:46
ianychoiSo, anyway, I will try it02:47
ianychoikatomo,  yep, /usr/local works well without adding PATH env!02:49
katomookay02:52
ianychoiHave you succeeded to install zanata-cli?02:53
katomoyep02:56
DaisyHi ianychoi and katomo, morning.03:02
ianychoiGood morning, Daisy !03:03
katomoGood morning Daisy03:03
ianychoiYep. The next step would be to see scripts [3] [5]. I will start to see script [5]03:04
katomoiaynchoi: are you interested in devstack?03:06
katomostep 1.103:06
ianychoikatomo, I have my Devstack VM, without any additional setting.03:07
ianychoiWould be there more DevStack preparation steps for our work you think?03:08
ianychoiFor example, the default devstack configuration is nova-network ,not neutron ..03:08
katomowe need some changes03:09
katomousing neutron03:09
katomonova fake driver (not real virtual machine)03:09
katomoAlso, we need to determine which modules do we support.03:10
katomotrove?03:10
katomosahara?03:10
katomomanila?03:10
katomofwaas? lbaas?03:10
katomoand so on03:11
ianychoiYep.. for me, I can install DevStack with neutron + heat configuration, but for others, I am not well familiar... (e.g., trove, sahara)03:13
katomohm03:15
katomowe can small start !03:15
katomoLet's start with neutron and heat.03:16
ianychoiOkay. I will re-install DevStack on my local VM (neutron+heat) after lunch :)03:19
katomome, too. lunch time :)03:24
*** katomo has quit IRC03:39
*** Daisy has quit IRC05:46
*** katomo has joined #openstack-sprint06:01
katomoianychoi: do you know how to use nova fake driver with devstack?06:35
katomofake driver is a mandatory06:36
katomofor security reason, machine spec...06:36
ianychoiNo.. hmm.. which configuration is for nova fake driver?06:36
*** eumel8 has joined #openstack-sprint06:41
*** mrmartin has joined #openstack-sprint06:41
katomoI'm not sure06:41
eumel8good morning06:42
katomoBut, our rented instance doesn't have vm resources06:42
katomoeumel8: good morning06:43
ianychoihmm... I see06:46
eumel8katomo: have you an idea how to handle the sync with zanata-cli into target environment? I tried this without full sucess: https://github.com/eumel8/translation_checksite/commit/f77cfbe30756a6a376ba35438be7c896aa44715f07:06
katomohm, thinking...07:08
eumel8ok07:09
eumel8will also start with breakfast :)07:10
*** Daisy has joined #openstack-sprint07:10
DaisyGood morning, eumel807:12
*** mrmartin has quit IRC07:14
eumel8Good morning, Daisy07:39
DaisyI read your comment07:39
DaisyThe local.conf does't work for you ?07:39
eumel8no07:40
Daisyoh.07:40
eumel8something with "permission denied" in network conf07:40
eumel8I have a VM in OpenStack running07:40
Daisyok. I don't have your environment. I'm not able to help on Puppet and cron.07:41
eumel8and I think it's not allowed to setup this07:41
eumel8np07:41
DaisyI may work on "zanata-sync.sh".07:41
eumel8whats the target environment at the end?07:41
DaisyIt's a clean VM, I think.07:42
DaisyI don't have in my mind. But I think it's a clean VM.07:42
Daisyjust with os.07:42
eumel8ok, I think I have this.07:42
Daisyonly the operation system.07:42
DaisySo we will have what we propose in our config file.07:43
Daisyby the way, I read your wiki page about install Zanata client.07:43
DaisyIt's ok if it works in your environment.07:43
DaisyWhen we propose the source code to a repository on top of openstack infrastructure, we could just use:07:44
Daisy  class { '::zanata::client':07:44
Daisy   server_url     => $zanata_server_url,07:44
Daisy   server_user    => $zanata_server_user,07:44
Daisy   server_api_key => $zanata_server_api_key,07:44
Daisy }07:44
eumel8yes, I read this. We have later this VM or where you want to install the translation checksite finaly?07:45
Daisyhttp://lists.openstack.org/pipermail/openstack-infra/2015-November/003481.html07:46
DaisyIf you look into this email, when we have the puppet module ready, we can contact with infra team, and they will launch the server.07:47
Daisycan I help on "zanata-sync.sh"? I have zanata cli on my desktop. I think I can help on that if you need.07:48
eumel8okay, we handover then to Elizabeth07:49
eumel8got it07:49
eumel8https://github.com/eumel8/translation_checksite/commit/f77cfbe30756a6a376ba35438be7c896aa44715f07:50
eumel8how comes the zanata-cli output into the system?07:50
eumel8as I can see there are different file names and directories07:51
eumel8I asked katomo already :)07:51
DaisyI think we can refer to:07:51
Daisywe can refer to [5]07:52
DaisyThese scripts are used by Jenkins jobs to pull translations from Zanata and propose to Gerrit.07:52
eumel8thx07:53
eumel8will start reading there07:53
eumel8then I will try to setup my VM with the advanced local.conf07:54
eumel8to the question block: later we have access to the instance with ssh or only via web?07:56
Daisywhat instance ? you mean, openstack ?07:56
eumel8yes07:56
Daisycurrently, we only consider web.07:57
DaisyWe will use Horizon to check our translation quality.07:57
DaisyThe target is to have translators to log in to Horizon, go through the UI with the latest transaltion, and check the quality.07:57
eumel8and there is now way to us for ssh access? for re-installation or maintenance things?07:58
eumel8I ask in context of the cron and the frequence of the update07:59
*** mrmartin has joined #openstack-sprint08:01
Daisyeumel8: I don't know about that. When pleia2 is on line, we may ask her.08:07
eumel8ok08:07
eumel8https://twitter.com/pleia2/status/69331376960742604808:10
eumel8could take a while08:10
eumel8:)08:10
*** mrmartin has quit IRC08:16
*** katomo has quit IRC08:30
-openstackstatus- NOTICE: Testing status command09:22
*** katomo has joined #openstack-sprint09:44
katomoianychoi: you need modify devstack local.conf10:02
katomoit's a template for Ansible10:02
katomoneed manually edit: For example:  {% if branch != 'master' %}"10:03
eumel8you're looking for var? https://github.com/amotoki/ansible-i18n-devstack/blob/master/roles/i18n-devstack/vars/main.yml (i.e. for changing branch)10:16
katomoyes10:24
katomoianychoi got the error with devstack10:24
eumel8found the issue in the sync script and have now a working version: https://github.com/eumel8/translation_checksite/tree/dev/0.1/cron11:19
Daisynice, eumel811:28
eumel8daisy: okay, your zanata.xml is really good! I think I will puppetize this directly11:29
eumel8after lunch :-)11:29
DaisyGreat, eumel8. I see https://github.com/eumel8/translation_checksite/blob/dev/0.1/cron/zanata.xml is still the old one.11:29
Daisyeumel8: zanata.xml should put in the root folder of horizon project.11:30
Daisyeumel8: I think we could invoke "./run_tests.sh --compilemessages" in the root folder of horizon project, to compile the messages. Yet I failed to test it in my local machine. My python environment is not in good status.11:32
Daisyeumel8: enjoy you lunch !11:32
*** openstackstatus has quit IRC11:37
*** openstackstatus has joined #openstack-sprint11:39
*** ChanServ sets mode: +v openstackstatus11:39
katomogreat, eumel8, Daisy11:41
Daisyhello, eumel8, katomo, ianychoi. Let's have a short meet at UTC1330 today, review our progress and discuss our plan for tomorrow.11:41
katomok11:42
Daisythanks, katomo11:42
Daisykatomo: do you know how to invoke Jenkins check in Gerrit when it failed ?11:44
Daisyhttps://review.openstack.org/#/c/274090/11:44
DaisyLook at this patch. Jenkins failed because the dependent patch was failed. Now the dependent patch is ok now. I want to invoke Jenkins again.11:45
katomo"recheck"11:45
katomoI'm not sure, but tried.11:47
katomoDaisy: yay!11:50
DaisyGreat! How did you send "recheck"?11:52
Daisyjust reply "recheck"?11:52
katomojust input as comment11:55
DaisyGood to know. Thanks.11:55
katomogovernance repo seems to have a complex job :)11:56
*** Daisy has quit IRC12:24
*** Daisy has joined #openstack-sprint13:15
*** rfolco has joined #openstack-sprint13:28
DaisyHello eumel8, katomo, ianychoi13:30
Daisythere ?13:30
eumel8hi ho :)13:30
katomohi13:30
DaisyGood to have you here.13:31
DaisyI think, we can review what we have done in the previous 24 hours and see what we should done in the next 24 hours together.13:31
Daisys/what we should done/what we should do13:31
ianychoiHi13:32
DaisyHi, ianychoi13:32
Daisywe review our work in the last 24 hours together.13:32
Daisykatomo and ianychoi: can you describe your progress with the task #1? If there are any questions you meet with, we can discuss here.13:33
katomocomplete Zanata client installation13:34
Daisygreat ! I know it's not easy.13:34
katomocomplete Devstack with nova fake driver13:34
ianychoiWow katomo , nice! I need to follow your progress..13:34
Daisywow, good progress.13:34
ianychoiFor me, I was stuck in installing devstack.13:35
katomowith small configuration13:35
ianychoiCould you share your local.conf?13:35
katomohm13:35
katomosee etherpad :)13:35
Daisyit looks like devstack configuration will be a problem we are facing ?13:35
katomoI guess so13:36
ianychoiAnd we are first starting with neutron+heat, but we need to decide: which components would be included in the target vm13:36
Daisyeumel8: what local.conf are you using in Puppet ?13:36
eumel8at the moment my old one without extras13:36
Daisyeumel8: I mean, when installing devstack with Puppet, which local.conf are you using now ? Does it work for you?13:37
eumel8I would try at next the advanced stuff13:37
Daisythe one in your github repo ?13:37
eumel8yes, the basic conf13:37
DaisyI wonder if we could refer to any files in openstack infrastructure repo .13:37
eumel8why? Are there other Devstack instances running?13:39
ianychoiI think https://github.com/openstack-infra/devstack-gate/blob/master/devstack-vm-gate.sh would be helpful, but I am not sure how we can convert from it to local.conf ...13:39
DaisyThis is what pleia2 suggested us to take a look: https://git.openstack.org/cgit/openstack-infra/devstack-gate/tree/13:39
DaisyNo, eumel8. I think infra structure guys have experiences to deploy openstack with devstack, for testing.13:40
eumel8ah, devstack-gate ... I have to read this13:41
Daisygreat.13:41
Daisyso eumel8 and katomo, maybe you two work together to compose a local.conf, which we will use in our translation check website.13:42
eumel8ok13:42
DaisyThank you.13:42
katomosure13:42
DaisyThank you, katomo.13:42
DaisyThat's for task #1.13:43
Daisyoh. Just remember a question I have.13:43
ianychoiYep. I am currently running with local.conf suggested from etherpad. Hope that it will work well... :)13:43
DaisyAt the beginning, I plan to put the scripts to pull translations in i18n repo, and I plan to clone i18n repo and invoke those scripts in Puppet module. At the beginning, I want to save those useful scripts in our repo. When some translators want to create their own Horizon environment, they can use these scripts.13:45
eumel8sounds good13:46
DaisyAnother choice is to save those scripts in the puppet module. The advantage of this option is that we don't need to clone i18n repo and just simply run the scripts in puppet module.13:46
DaisyLet me know which one you prefer.13:46
katomoThe latter13:47
DaisyLike this: https://github.com/eumel8/translation_checksite/tree/dev/0.1/cron13:47
katomoI think it's an infra script13:48
eumel8this is the old stuff. at the moment the sync script is in the puppet module because it's configurable, maybe it's more relialble for other use13:49
DaisyYes, katomo, that's a reason. When I see eumel8 put the codes there, I realize it is a simple choice.13:49
ianychoiI think infra scripts will be better, and for i18n repo, how about putting a conversion script from infra devstack configuration to local.conf like format for translators to test horizon locally?13:49
DaisySorry. I mean, putting the codes in puppet module looks like very directly and simple.13:49
pleia2Daisy: no, devstack-gate won't be very useful for this13:49
pleia2Daisy: what we run for tests (devstack-gate) is very different from what you'll want to use for translations, so it's best to come up with your own local.conf13:50
Daisyok. Thank you, pleia2. So we have to create our own local.conf.13:50
pleia2Daisy: are you still working with Terri on this? I sent her an email about this13:51
katomopleia2: hello13:51
pleia2it's 1AM and I'm in the very wrong timezone this week, so I need some rest soon :)13:51
pleia2hi katomo13:51
Daisypleia2: The last email I sent to Terri is to invite her to this sprint. I didn't see her response.13:52
ianychoiHello, pleia2 :)13:52
katomowow13:52
pleia2Daisy: ok, so you haven't talked to her about devstack-gate?13:52
pleia2(I emailed her about it weeks ago)13:52
Daisypleia2: can you forward that email to me, if it's convent for you.13:52
Daisyconvenient13:52
pleia2Daisy: I can't right now, not on my work laptop, but I can try to tomorrow13:52
Daisyok. Thank you.13:52
Daisypleia2: no, I didn't.13:53
pleia2ok, I'll follow up with her on that too then13:53
Daisythank you, pleia2.13:53
katomopleia2: Thank you for corresponding with us till late at night.13:53
pleia2sure, good night :) (hey ianychoi!)13:53
Daisygood night, pleia2.13:53
pleia2also, remember, we're not using Ansible, everything has to be done in Puppet13:54
DaisyYes, pleia213:54
pleia2Ansible was just what the original person who hosted this used, but we don't use it for that in infra13:54
pleia2ok, good :)13:54
ianychoiOh US is in night.... good night! pleia2 :)13:54
pleia2ianychoi: I'm in Melbourne this week13:54
pleia2so I'm not even sure what day it is ;)13:55
Daisyeumel8 is a good expert with Puppet. We are composing a puppet module now. All in puppet module.13:55
pleia2wonderful!13:55
pleia2ok, enjoy13:55
katomow ;)13:55
ianychoiAha... but Melbourine is also in night :) maybe13:55
ianychoiOk fakedriver seems to work in my local vm. Thanks, katomo :)13:56
Daisyok, let's back to our question.13:56
DaisyWhere to store the scripts ? in puppet module, or in i18n repo. It looks like Puppet module is a better choice?13:57
katomoianychoi: nop13:57
eumel8so, some merge problems, now online: https://github.com/eumel8/translation_checksite/tree/dev/0.213:57
Daisyany objections to store in Puppet module ?13:58
eumel8the sync script is already included13:58
katomo+1 for puppet module repo13:58
eumel8it's configurable with different branches13:58
Daisygood. Then we will use puppet module to store the sync scripts.13:58
ianychoiWow.. +1 for puppet13:58
Daisy:)13:58
katomoeumel8: great!13:59
Daisyas to task #2: patches to create puppet module in openstack git are submitted. When they are approved, we could move translation_checksite from github to git.openstack.org. I guess, that have to be done next week.14:00
katomoyeah14:01
eumel8ok, I think I need support for this. Or its only git push?14:01
Daisyeumel8: like what you have done with document repo, submit a patch to Gerrit.14:02
eumel8ah, I know it14:02
Daisykatomo: I remember we are able to config an initiate repo while requesting for a new repo.14:03
eumel8then I would try :)14:03
DaisySo I will take a look at if it is able to config a source repository.14:04
katomoI'm not sure, but thanks14:04
Daisyeumel8: I'm working on the scripts to update the dropdown list of language settings in Horizon.14:05
Daisysimilar as : https://github.com/amotoki/horizon-i18n-tools/blob/master/update-lang-list.py14:05
eumel8I would merge to master in my repo when we done - then it's easier to sync to git.openstack.org14:05
Daisyok. Thank you, eumel8.14:06
Daisyeumel8: what else do we need to do ?14:06
DaisyI mean, as to task #2, what else are remained ?14:06
eumel8Is this drop down also to implement in puppet?14:07
eumel8nothing more to #214:07
DaisyYes, eumel8.14:07
Daisyeumel8: how about refresh devstack and openstack ?14:08
eumel8yes, good question14:09
eumel8I raised the branch question. We use already master branch or like at the moment stable-liberty when we work in stable-liberty translations?14:10
Daisyeumel8: I see <project-version><%= @project_version %></project-version> in zanata.xml. Does it mean, we are able to config $project_version from the web UI of Puppet server ?14:10
Daisyeumel8: I can answer your question.14:11
DaisyWe will use master branch before Horizon cut the release candidate 214:11
ianychoiHmm... I need to do something now. I will keep #1 stuff tomorrow, thanks all!14:12
DaisyHorizon cut is RC2 at the same time they create a new branch "stable/mitaka". We will switch at the same time, from master version to stable-mitaka version.14:12
DaisyTHank you, ianychoi14:12
DaisyEnjoy your evening.14:12
ianychoi:) Thanks a lot, Daisy !14:12
katomosee you ianychoi14:12
ianychoi:)14:12
eumel8but we translate stable-liberty at the moment and follow my understanding we have to adapt zanata.xml file if you want to view this translations in Horizon14:13
eumel8cu ianychoi :-)14:14
DaisyWe have finished stable-liberty at this moment.14:14
DaisyWhen translation check website is on line, I assume, it's in Feb, we will start the translation of Mitaka. We will work with master branch at first, when Horizon cut its RC2 and move to stable/mitaka, we move to stable-mitaka version.14:15
eumel8Daisy: anyway, $project_version and $revision are module variables and you can configure them when you call the class14:15
eumel8default is master14:15
katomosounds nice14:16
eumel8we have access to puppemaster web? I never used this.14:16
Daisyeumel8: Is there a way to config them through a web UI ? Forgive me, I have little knowledge of puppet. For example, I remember there is a web UI of Jenkins: https://jenkins.openstack.org14:17
katomosorry, it's time to bath, see you tomorrow14:17
*** katomo has quit IRC14:18
DaisyI have read some configuration of auto jobs through the Jenkins UI.14:18
eumel8puppet enterprise is a commercial product. this includes the web frontend14:18
Daisyok, thanks, eumel8. So I have to ask for pleia2 how to config, when our puppet module is on line. :)14:20
eumel8http://docs.puppetlabs.com/pe/latest/console_classes_groups_making_changes.html#editing-parameters14:20
eumel8seems so, it's possible14:20
Daisyeumel8: back to my question. How about refresh devstack and openstack ?14:20
eumel8it's the same direction. I have implemented unstack, you can run it with puppet also via web14:22
eumel8https://github.com/eumel8/translation_checksite/blob/dev/0.2/README.md14:22
eumel8below14:22
Daisyeumel8: can it be configured as a regular job ?14:22
DaisyI mean, we should have several regular jobs.14:23
Daisy1. pull translations daily14:23
Daisy2. refresh openstack daily14:23
eumel8mhm, this could be a simple cron job in the puppet module, like call unstack.sh && stack.sh14:25
Daisyyes, sounds like that.14:25
eumel8I take it on the list14:25
DaisyWhen translation check website is on line, we want the translations being refreshed daily, and we also want openstack being refreshed daily too. Maybe use a config variable to set the frequency. When we are in busy release time, we want them to be refreshed daily. When we are not in busy time, maybe we don't want a very frequent refresh of OpenStack.14:28
Daisyso it's better to have the frequency configurable.14:29
eumel8yes, you can configure this.14:29
DaisyGood.14:29
eumel8daily and hourly14:29
DaisyNIce.14:29
eumel8regarding question #3 there are some posibility to store passwords (secrets) in puppet: https://puppetlabs.com/blog/using-node-side-secrets-with-puppet14:32
eumel8I think we have to ask infrastructure what their prefer14:32
Daisyok.14:34
DaisyI'm able to config an existing repository to import when openstack-infra/puppet-translation_checksite is created.14:34
DaisyDo you want me to do that ? Or you want to create a patch to Gerrit by yourself ?14:35
eumel8ok14:35
eumel8I think we can do this tommorrow together14:35
Daisydo what ?14:36
eumel8the import14:36
DaisyYou see this patch: https://review.openstack.org/#/c/27410214:37
DaisyIt's to create a new repo: puppet-translation_checksite.14:37
eumel8ok14:38
DaisyIf I add a line in a config file, like: upstream: https://github.com/awesumsauce/<projectname>.git, the source code will be imported when the repo is created.14:38
DaisyDo you think we use the auto import, or we manually submit a patch to Gerrit when the repo is ready.14:38
Daisy?14:38
DaisyMaybe we manually do the import.14:39
Daisy:)14:39
eumel8yes14:39
Daisyok. Got it.14:39
*** rfolco has quit IRC14:40
eumel8because it's synced only one time14:40
Daisyexactly.14:41
DaisyI will go to bed soon. See you tomorrow.14:42
eumel8ok, cu Daisy14:43
DaisyThank you.14:43
*** Daisy has quit IRC14:43
*** rfolco has joined #openstack-sprint16:07
*** rfolco has quit IRC16:11
*** mrmartin has joined #openstack-sprint16:21
eumel8amotoki local.conf is now working for me. notes are in Etherpad17:49
eumel8katomo: please review: https://github.com/eumel8/translation_checksite/blob/dev/0.2/templates/local.conf.erb18:20
*** mrmartin has quit IRC18:50
*** mrmartin has joined #openstack-sprint18:53
*** mrmartin has quit IRC19:35
*** mrmartin has joined #openstack-sprint19:40
eumel8Daisy: I'm done! You can sync https://github.com/eumel8/translation_checksite20:13
*** eumel8 has quit IRC20:48
*** mrmartin has quit IRC20:55
*** katomo has joined #openstack-sprint23:13

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