17:00:15 #startmeeting Solum Team Meeting 17:00:22 Meeting started Tue Jan 26 17:00:15 2016 UTC and is due to finish in 60 minutes. The chair is devkulkarni. Information about MeetBot at http://wiki.debian.org/MeetBot. 17:00:23 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 17:00:26 The meeting name has been set to 'solum_team_meeting' 17:00:28 #topic Roll Call 17:00:32 Devdatta Kulkarni 17:00:35 james li 17:00:54 Ashish Jain 17:02:59 sorry my adium client got disconnected for some reason 17:03:36 james_li, ashishjain: good to see you 17:03:39 here is link to today's agenda: https://wiki.openstack.org/wiki/Meetings/Solum#Agenda_for_2016-01-26_1700_UTC 17:04:41 lets wait for few minutes for folks to join in 17:06:15 james_li, ashishjain: looks like vijendar is not able to join for some reason 17:06:23 having network connectivity issues 17:06:50 lets continue, he should join in as soon as he is able to 17:07:12 #topic Announcements 17:07:21 hi vijendar 17:07:30 Hi devkulkarni1 17:07:40 we have james_li and ashishjain here as well 17:07:50 Hi all 17:07:59 here is the agenda for today: https://wiki.openstack.org/wiki/Meetings/Solum#Agenda_for_2016-01-26_1700_UTC 17:08:06 we are in the Announcement topi 17:08:21 #success Solum's vagrant+devstack setup is back to deploying applications till READY state. 17:08:23 devkulkarni1: Added success to Success page 17:08:40 so just wanted to announce above ^ 17:09:22 basically we need to pin nova to a previous commit as chasing the nova head is leading to failures for us 17:09:47 great 17:09:48 Pin nova to commit specified in https://github.com/devdattakulkarni/solum-provenance/blob/master/service-dependencies.txt and restart nova services 17:10:00 james_li: +1 17:10:04 nice to see 'READY' state 17:10:38 yeah.. vijendar and ashishjain: in case you end up trying deploying apps, I would be eager to hear if you get to READY state as well 17:10:46 Follow steps given in this bug https://bugs.launchpad.net/solum/+bug/1536341 to startup devstack 17:10:47 Launchpad bug 1536341 in Solum "devstack-startup" [High,New] 17:11:14 so that was the announcement I had.. 17:11:25 do any of you have any announcements to make? 17:12:13 alright.. lets move to next topic 17:12:23 #topic Review Action Items 17:12:35 There were no action items from last time 17:12:50 so lets continue to next topic 17:13:04 #topic Blueprint/Bug Review and Discussion 17:13:15 We have four reviews today 17:13:24 1) Deploying already created DU 17:13:28 https://review.openstack.org/#/c/271111/ 17:13:32 https://review.openstack.org/#/c/271115/ 17:13:41 let me give a background for this feature 17:14:03 The idea is to support deploying of DUs without having to create them first 17:14:32 The DU might be already created.. perhaps in a previous build step 17:14:59 or the DU might be present in a public repository (such as dockerhub) 17:15:16 does that mean, you can register one app and deploy different DU? 17:15:30 by accident? 17:15:49 that's a good question.. 17:15:57 is there any way to check/restrict? 17:16:10 you are saying we should lock down the DUs that can be deployed only for the app that has been registered 17:16:14 actually it makes sense 17:16:16 other question is, do we really want to restrict 17:17:05 both look to be valid use cases 17:17:30 if you just want to deploy an image, say of rabbitmq which is already present in dockerhub, 17:17:54 then you are asking should that have to be associated with an app first 17:18:19 may be user doesn't want to create an app and just do 'solum deploy ' 17:18:22 correct 17:18:34 so that is one use case 17:19:01 the other is, the image is associated with an app .. so 'solum app deploy ' 17:20:16 for the use case of deploying an image without associating with an app .. would we not still want to track some meta data about the deployment? 17:20:43 this will essentially be the workflow for that deployment 17:21:18 right now workflows are directly associated with apps 17:22:00 if we want to support deployments which are not associated with an app (like above use-case), then at the implementation level we will have to make workflows as top-level entities independent of apps 17:22:08 but that is implementation details 17:22:20 real question is 17:22:42 what kind of applications would such a feature enable.. 17:22:56 I am just thinking out loud here.. don't have immediate answers 17:22:56 I am not sure 17:23:43 hmmm.. the patches start adding support for the use case when a DU is already built for an app 17:24:01 we can certainly think about the other use-case 17:24:16 may be we can file a wishlist bug to track that 17:24:32 let me take an action item for that 17:25:16 #action devkulkarni1 to file a bug to track the use-case of deploying docker images directly from solum, without first having to associate those images with an app 17:25:57 the above patches are a start towards implementing the feature to allow deploying DUs which may be in glance or swift 17:26:07 vijendar: I saw your comments on the patch 17:26:15 will address those.. 17:26:28 would like to reply to one of the comments here 17:26:41 I think you were asking about support for swift 17:26:58 I have purposely not added it, as I wanted to do that in a separate patch 17:27:07 ok 17:27:17 this patch only adds support for glance.. 17:27:27 makes sense 17:27:31 ashishjain: this patch should enable your work for Jenkins integration 17:27:44 yes correct devkulkarni 17:28:15 cool.. so please review these patches .. there is one patch for API and one for CLI 17:28:22 yeah sure 17:28:36 ok.. lets move to the next item 17:28:47 2) Converting bash scripts to Python 17:28:57 https://review.openstack.org/#/c/181181/ 17:29:08 So here is some background on this patch 17:29:37 In Solum, we have couple of bash scripts which perform some of the most important functions within Solum 17:29:42 these are build-app and build-lp 17:29:53 for a long time we have wanted to convert these to python 17:30:11 to allow us to perform better error handling, debugging, etc. 17:30:31 james_li had started on the bash-to-python conversion work sometime back 17:31:23 he had almost finished it, and had submitted three separate patches which together implemented the functionality of currently build-app, and built-lp 17:31:36 s/currently/current/ 17:31:55 that work though required some changes to the way solum-worker would be started 17:32:04 devkulkarni1: I am currently reviewing those patches 17:32:21 and that required generating of an additional config parameter option which is supposed to be used by solum-worker 17:32:42 and that required to use newer oslo-config generator 17:33:17 so all the three patches from james_li were blocked on us introducing this new oslo-config generator within solum 17:33:48 devkulkarni1: yeah the patch adds a new cmd option to solum-worker as we need to pass in different value for different worker process. 17:34:27 recently, a member of the community submitted the patch to add the new oslo config generator 17:34:33 we merged this patch last week 17:34:46 and it has now unblocked james_li's patches 17:34:53 so that is the background 17:35:16 vijendar, ashishjain: if you get a chance, review james_li's patches 17:35:29 crystal clear thanks devkulkarni1 17:35:40 :) 17:35:49 on the patches you will find lot of discussion 17:36:16 they have been sitting there for months 17:36:17 about different design options, why certain things are defined the way they are defined, etc. james_li has answered all the questions (at least the ones that I had) 17:36:36 james_li: I am very excited to see these land soon 17:36:45 I have already given +2 to the first patch.. 17:36:55 if you have rebased others, I will review them today 17:37:14 I hope we can merge them now, and I will add tests later as following patches. 17:37:23 sure james_li 17:37:41 that will be fine 17:37:50 just to make it clear to all.. 17:38:01 these patches are not replacing the build-app and build-lp 17:38:11 they are just adding the new functionality 17:38:45 once we have thoroughly tested the new paths then only we will take a decision of when to deprecate build-lp and build-app 17:39:20 any questions/thoughts/comments about this? 17:39:40 'this' as in, the patches themselves and the way forward 17:40:26 alright.. lets continue with next one 17:40:35 3) Saving workflow result 17:40:39 https://review.openstack.org/#/c/269842/ 17:41:02 this patch is from vijendar.. it is adding support to store result of workflow execution 17:41:17 vijendar: do you want to give some background on this which will help with the review? 17:41:29 devkulkarni1: sure 17:42:16 when a workflow is executed, we might want to store the output of the workflow 17:42:37 for example, if a workflow fails, we may store quick summary/stack trace of the workflow 17:43:50 when workflow succeeds, are we going to store things like the ids of the deployed DUs? 17:44:05 with magnum integration, we may need to store the containers/bays info etc 17:44:31 devkulkarni1: correct 17:44:39 makes sense 17:44:56 this is good vijendar 17:45:02 will review the patch today 17:45:18 james_li, ashishjain: if you also get a chance, please review the patch 17:45:18 devkulkarni1 ashishjain james_li please take a look when you get a chance 17:45:29 will do 17:45:37 Sure vijendar devkulkarni 17:45:45 thanks 17:45:49 ok, lets move to next one 17:45:54 4) App parameters 17:45:58 https://review.openstack.org/#/c/267182/ 17:46:07 this patch is from vijendar as well 17:46:16 vijendar: could you provide some background on this one too.. 17:46:55 currently parameters are a flat list of key/value pairs 17:47:36 with this patch, we are introducing sections in the parameters file instead of a flat list 17:48:16 vijendar: cool 17:48:52 this allows us to pass in different things such as creds for deployments, application env variables, etc. 17:49:10 if some one would like to write custom plugin to solum and wanted to allow some parameters, they can just add a new section 17:49:21 in parameters file 17:49:29 that is awesome 17:49:55 vijendar: could the values be dictionaries? 17:50:02 for example, magnum integration may need some credentials to pass 17:50:11 right 17:50:39 devkulkarni1: params is a yaml file 17:51:01 ok, so the values could be any valid yaml 17:51:14 I think this one is a followup for https://review.openstack.org/#/c/267181 ? 17:51:27 vijendar: ^ 17:51:34 oh..right 17:52:00 yes, I saw that james_li you had some comments on the patch 17:52:07 I made some comments on 267181, could you please address? 17:52:16 vijendar: ^ 17:52:20 james_li: sure. will do 17:52:25 thx! 17:52:34 james_li: thanks for reviewing 17:52:38 np 17:52:42 cool.. 17:52:48 so we have about 8 minutes 17:53:03 next up is open discussion 17:53:09 #topic Open DIscussion 17:53:31 I wanted to check with how folks are doing with their submission preparations? 17:54:00 do you need any help? this week is the last week before submission 17:54:29 ashishjain1: the patches that I have for deploying pre-created DUs should help with your Jenkins + Solum submission 17:54:29 vijendar: How are you going about bridge adapter in vagrant 17:54:44 devkulkarni1: yeah 17:55:04 vijendar: I add a new "public_network" in vagrantfile 17:55:09 ashishjain1: james_li might also have some experience around making github webhook calls within solum vm 17:55:10 devkulkarni1: I will try to make some updates on my proposal last time and resubmit 17:55:31 james_li: +10 17:55:45 devkulkarni1: are you submitting anything? 17:55:52 james_li: let me know if you need any help (with any patch or with poc or with write up etc.) 17:56:04 james_li: I am going to try do a poc for multi-container apps 17:56:09 ah 17:56:12 nice 17:56:30 if I get something before the deadline then would submit it. 17:56:45 looks like there will be atleast 3 solum submissions 17:56:53 cool 17:56:56 1) Jenkins + Solum from ashish 17:56:58 it works when I bring up the vagrant machine, however it stops working when the stack.sh at its last stage 17:57:00 ashishjain1: I don't remember updating the vagrant file for network errror 17:57:10 2) Solum + Carina from vijendar 17:57:19 3) Your submission 17:57:33 and if I am able to do the poc then we will have fourth one 17:57:50 james_li: quick question about issue that ashishjain1 is running into.. 17:58:21 ashishjain1: I used grok 17:58:23 when you were working with the trigger api and using ngrok, did you do anything special to your vagrant vm so that solum api was reacheable from outside? 17:58:58 ashishjain1: https://ngrok.com/docs 17:59:19 just run ngrok, thats it 17:59:57 james_li: okay will try that out 18:00:01 alright.. lets continue the discussion in solum irc channel.. 18:00:11 thanks for joining today james_li, ashishjain1, vijendar 18:00:15 the deadline is next monday 18:00:17 bye 18:00:19 for the submission 18:00:24 ping me if you need any help 18:00:30 thanks devkulkarni 18:00:33 see you next week 18:00:38 #endmeeting