21:00:16 #startmeeting Solum Team Meeting 21:00:17 Meeting started Tue Aug 18 21:00:16 2015 UTC and is due to finish in 60 minutes. The chair is devkulkarni. Information about MeetBot at http://wiki.debian.org/MeetBot. 21:00:19 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 21:00:27 The meeting name has been set to 'solum_team_meeting' 21:00:41 #link https://wiki.openstack.org/wiki/Meetings/Solum#Agenda_for_2015-08-18_2100_UTC agenda for today 21:00:49 #topic Roll Call 21:00:52 Devdatta Kulkarni 21:00:53 Ed Cranford 21:00:55 murali allada 21:00:55 Gil Pilz 21:01:00 Melissa Kam 21:01:14 hi ed, murali, gpilz, mkam 21:01:20 nice to see you all :) 21:01:37 hey all. 21:01:41 today adrian_otto is out 21:01:42 right back at you 21:02:02 please take a few minutes to check our agenda 21:02:15 I have mostly reviews to share/discuss today 21:02:38 I will go through the usual topics in any case 21:02:49 #topic Announcements 21:02:58 I don't have any 21:03:00 oh hello there 21:03:04 hi randallburt 21:03:09 we are just getting started 21:03:12 k 21:03:20 sorry for being late 21:03:24 nice to see you here 21:03:27 no worries 21:03:47 randallburt here is the agenda link for today: https://wiki.openstack.org/wiki/Meetings/Solum#Agenda_for_2015-08-18_2100_UTC 21:03:53 yep, caught up 21:03:57 cool 21:04:46 okay, since no announcements from anyone, moving on to next topic 21:04:56 #topic Review Action Items 21:05:34 last week there were no action items 21:06:00 #topic Blueprint/Task Review and Discussion 21:06:12 ok, in this topic I have at least three subtopics 21:06:19 hi vijendar 21:06:31 devkulkarni: hi 21:06:54 folks please welcome vijendar to solum team meeting 21:07:11 hey hey welcome 21:07:29 thanks 21:07:32 vijendar will be participating in solum related activities soon 21:07:35 o/ 21:07:36 cool 21:08:00 ok, so about review items.. 21:08:06 first one is this: 21:08:15 (devkulkarni) Parsing ipv4 subnet-id from neutron. Please review (https://review.openstack.org/#/c/213854/2) 21:08:24 let me give bit of background on this one 21:08:43 I was noticing that on devstack our app deployments had been failing with an error from heat 21:08:57 to the effect 'bad floating-ip' 21:09:12 and the floating-ip being reported was ipv6 ip 21:09:18 this was not a consistent error 21:09:31 it was only ocassional 21:10:02 after debugging a bit I realized that the subnet-id that we are picking from neutron has to be for the ipv4 subnet 21:10:15 in our code we were not checking this condition 21:10:22 the above patch adds this check 21:10:36 randallburt and muralia has reviewed it 21:10:45 I need one more +2 on it 21:10:58 randallburt: good points on the patch 21:11:05 thanks 21:11:11 i can look 21:11:12 thanks to you actually :) 21:11:18 datsun180b: that will be helpful 21:11:34 np, muralia found it first, I just ran off at the mouth more :) 21:11:43 :) 21:11:47 oh, okay 21:11:55 thanks to muralia in that case (and also to you randallburt) 21:12:14 good to have you all keeping an eye on such things 21:12:30 so datsun180b, take a look whenever you get a chance 21:12:45 moving on to the next one.. 21:12:56 (devkulkarni) Parsing IP address of server from Heat. Please review (https://review.openstack.org/#/c/213940/) 21:13:03 some background on this one.. 21:13:25 In Solum we need the ip address of the server created by heat 21:14:05 the parsing logic that we have implemented makes an assumption about the location of IP address. But turns out that that assumption is wrong. 21:14:29 Heat returns two things as part of output_value — one is the IP address and another is the URL. 21:14:34 yeah, never good to address outputs (or any key-value) by index in heat 21:14:43 we don't want to pick the URL because 21:15:00 in Solum we construct the URL ourselves (we need to do that because..) 21:15:40 an app may have multiple ports and we construct the url in the following format: http://:[port1, port2] etc. 21:15:43 this is by design. 21:16:01 so, we want to parse only the IP address from heat output 21:16:19 and our current code was not checking whether what we are parsing is indeed the IP address or not 21:16:34 so the above patch fixes this issue 21:16:46 vijendar: you might want to take a look at this patch 21:17:08 randallburt, muralia: thanks for your reviews on this patch 21:17:10 I am looking at that patch now 21:17:16 vijendar: cool 21:17:37 datsun180b: if you get a chance please take a look at this one too 21:17:48 it also needs one more +2 21:17:52 pretty straightforward 21:18:06 randallburt: good point about not depending on the order of key-values 21:18:35 btw, both the above issues were cause of apps not getting deployed on devstack 21:19:11 mkam, randallburt: do you think our rackspace deployment would have been occasionally failing due to this issue as well? 21:19:20 devkulkarni: could be 21:19:42 I think so too.. 21:19:43 as I said, never guaranteed to get the right output using just an index 21:19:56 yeah.. should remember that 21:20:31 randallburt: btw, thanks for suggesting to break up the review 21:20:44 hopefully that helped in reviewing 21:21:02 which brings me to the next item today.. 21:21:10 (devkulkarni) Workflow resource related patches. Please review. 21:21:24 these will take a little more time 21:21:31 yes.. 21:21:42 nice breakdown though 21:21:48 so I broke up ed's WIP workflow patch into three patches 21:21:59 randallburt: thanks 21:22:24 it was in anticipating your -1 to original patch :P 21:22:41 lol 21:22:50 on a serious note though.. the original workflow wip patch was about 400 lines 21:22:56 without tests 21:23:10 so I thought it will be good to just break it up into logical pieces 21:23:11 * datsun180b whistles tuneless and avoids eye contact 21:23:38 datsun180b: he he.. actually your WIP has been tremendously helpful 21:23:51 no need to avoid eye contact :) 21:24:06 muralia: I saw your comment about tests for the workflow_handler 21:24:09 yes, I will add those 21:24:18 right now I am in the middle of adding tests for the objects 21:24:36 cool. also, i added a lot of comments about using the app uuid instead of the app_id. 21:24:42 oh right 21:24:47 wanted to discuss about that 21:24:51 good that datsun180b is here too 21:25:13 I remember it was a conscious decision by datsun180b to suggest that we use id instead of uuid 21:25:23 will be good to discuss that today 21:25:37 datsun180b, randallburt: thoughts? 21:25:52 here are two points to consider 21:26:06 i think code inertia was one reason 21:26:27 1) uuids does not help indexing, but they are unique 21:26:54 2) most of other solum objects have both id and uuid, and it has been sometimes confusing which one to use 21:27:22 although in the api/cli it is clear that we prefer uuids 21:27:28 like rest of the openstack services 21:27:47 yes. 21:28:10 from the cli point of view 21:28:26 I think having uuids is conforming to other services 21:28:33 agreed 21:28:34 so I think that would make sense 21:29:03 datsun180b: was there some other reason that we did not add uuid to workflow models? 21:29:15 sorry, was distracted. uuid 21:29:23 its just how its done 21:29:40 devkulkarni: they have a uuid, but the field's called id 21:30:01 at least i seem to recall that was the case at one point 21:30:05 datsun180b: oh I see.. but that will get confusing 21:30:10 so why both? one is a database id and one is the resource "id"? 21:30:11 yes 21:30:28 randallburt: was about to ask that.. do we need both? 21:30:33 i don't think we do 21:30:49 doesn't do us much good to have the incrementing id 21:31:00 in general, the resource key and what the user interacts with is called "id". If you have a separate identifier, it usually for db optimization of some sort or some other legacy hooey 21:31:30 ^ so call it id, but make it uuid-shaped? 21:31:37 in heat, some things have database ids so that we can return them in the order they came in (like events and such) 21:31:50 hmm.. thinking about it more.. actually keeping the autoincrementing id as another field is not bad 21:32:09 workflows should/will have a sequence id scoped to the parent app 21:32:11 but on the user-side, they all have uuid "id"s as far as the api is concerned 21:32:28 so that should sort that then, datsun180b 21:32:40 right, i think you and i agree randall 21:33:07 wait.. 21:33:45 are we saying that we will keep only one field in the workflow model — call it id, but which is shaped like uuid? 21:33:58 or are we saying we will keep two fields 21:33:59 that's what i thought i had in my wip 21:34:04 id and uuid 21:34:37 datsun180b: but how could a uuid be used as a sequence id? 21:34:50 well it can't 21:35:00 https://review.openstack.org/#/c/204164/3/solum/api/controllers/v1/datamodel/workflow.py does have id and uuid 21:35:11 my memory's a little foggy about it i guess 21:35:26 okay, yes I see both of them 21:35:35 which makes sense 21:35:48 let me check back on the patches that I submitted 21:36:00 may be I missed having both in my patches 21:36:18 i guess keep them both, refer to them specifically in the code, but any time we ask a user for an "id" or give them an "id" it'll be 128 bits in hexadecimal 21:36:37 yes, that makes sense 21:36:57 muralia, randallburt: thoughts? 21:37:26 in the case of workflow we will need to maintain an order 21:37:43 sure. thats what we are doing with other resources too. i was hoping we can remove the id and then change the other resources to use only uuids later 21:38:32 muralia: I see. I think for indexing reasons it will be good to keep the ids around 21:38:38 ok. 21:39:01 datsun180b: what do you mean by need to maintain order for workflows for an app? 21:39:23 would be referring to "give me logs of the 3rd workflow for this app"? 21:39:37 right, that's the case 21:39:41 or would we rather say — "give me logs of the workflow-id for this app"? 21:39:50 my client wip covers both of those 21:40:01 datsun180b: I see. 21:40:21 the idealized future included actions like "deploy the build from WF 35" 21:40:26 in any case, as long as we have autoincrementing ids we should be able to satisfy the ordered indexing 21:41:06 datsun180b: yes. 21:41:42 great discussion.. any more thoughts on this topic? 21:42:06 so your patches are intended to be merged i take it 21:42:14 they're not wips, that is? 21:42:19 which ones? 21:42:22 the workflow ones? 21:42:29 they are not yet ready ready 21:42:32 I need to add tests 21:42:32 the WF ones (the IP ones are merging already) 21:42:44 I can mark them as WIPs 21:42:52 likely a good idea 21:42:58 doing that now 21:43:09 i do want to mention that since my fingerprints are on them i don't know that i should give them any +2s 21:43:19 datsun180b: makes sense 21:43:26 james_li is out today 21:43:38 but I will be reaching out to him for reviewing them 21:44:24 datsun180b: btw, I marked your client patch as WIP 21:44:30 so that we don't accidentally merge it 21:44:50 saw that. do you want me to keep the solum WIP up, or do you have what you need from it already? 21:45:04 the client one still has its use 21:45:21 I would like to have the solum WIP up just a bit longer 21:45:36 that's an easy wish to grant 21:45:37 you can abandon it and it won't go away 21:45:39 it is easier to go back to check on things as everything is a single patch 21:45:51 good point, randall 21:46:42 any other reviews to discuss? 21:46:58 I would have liked to discuss james_li's bash-to-python patches 21:47:02 but he is not around today 21:47:23 randallburt, vijendar: for those patches are are blocked on changes to config generator 21:47:53 have any ideas/insights on tackling the config generator issues? 21:48:07 we don't have to discuss it today though.. just wanted to check 21:48:22 s/are are/we are/ 21:49:25 lets take that up when james_li is around 21:49:38 #topic Open Discussion 21:49:40 k. config generator is aweful and a bear to deal with 21:50:09 so, who's excited about "blueprints" vs the other stuff we discussed for pluggable deployers? 21:50:13 randallburt: :) .. hopefully it won't be too much of an issue 21:50:20 randallburt: oh that's right 21:50:30 we have that topic to discuss as well 21:50:43 let me refresh the options we have 21:51:30 so everyone — we are discuss about this spec: https://review.openstack.org/#/c/202254/3/specs/liberty/deployer_plugins.rst 21:51:46 blueprint, templates (boo!), layout, pattern, and something else 21:51:50 the issue is what to call the heat templates for different "architectural flavors" that solum will support 21:52:17 is it too late to propose "kung fu style" 21:52:57 "crouching tiger" 21:53:07 lol, winner 21:53:13 "snake in eagle's shadow" 21:53:13 randallburt: my objection to blueprint is that it also has a meaning in openstack ecosystem 21:53:28 i do agree that blueprint has a prior context 21:53:32 devkulkarni: only to us developers. not to users 21:53:50 sure.. what are your thoughts on 'topology'? 21:53:55 barf 21:54:01 oh yeah, that one. I like it less than blueprint 21:54:03 #link https://review.openstack.org/#/c/202254/2/specs/liberty/deployer_plugins.rst 21:54:11 'schematic' ? 21:54:13 check the comments 21:54:33 architecture schematic? 21:54:37 in that sense? 21:54:47 yeah 21:54:55 well for serious topology is probably the most apt of the terms 21:55:05 and it has the least amount of baggage 21:55:18 datsun180b: +1 and +1 21:55:24 in the end, we can bikeshed forever. lets pick topology as the least offensive and give it a go. 21:55:45 randallburt: agreed 21:55:47 +80 randallburt 21:55:53 ok, I'll update in the next few days and hopefully we can get it accepted 21:56:08 randallburt: awesome!! looking forward to it 21:56:34 randallburt: on a related note.. jvrbanac recently was mentioning that he has a plugin library that is an improvement on stevedore 21:56:48 jvrbanac: you around? 21:57:50 looks like jvrbanac is not around 21:58:04 imo that's a debate for a patchset. I'm dubious as to what's been "improved" and what deficiencies if any are addressed. 21:58:19 randallburt: in any case, thought of mentioning it here as we were discussing about stevedore 21:58:22 not looking forward to library wars tbh 21:58:25 randallburt: fair enough 21:58:39 cool. I look forward to the internet arguments :) 21:58:48 ha ha 21:59:15 anything else for today? 21:59:50 its time anyway 21:59:55 yeah 22:00:04 thanks all for joining today. great discussion today. 22:00:11 see you next week 22:00:14 #endmeeting