Thursday, 2014-12-04

*** sdake has quit IRC00:05
*** sdake has joined #openstack-containers00:08
*** yuanying has joined #openstack-containers00:08
dimssdake: ack00:11
*** yuanying_ has quit IRC00:11
openstackgerritDavanum Srinivas (dims) proposed stackforge/magnum: Look for tests only under magnum/tests directory  https://review.openstack.org/13836100:16
*** dims has quit IRC00:23
*** ygoto has joined #openstack-containers00:26
*** jwang__ has quit IRC00:28
openstackgerritSteven Dake proposed stackforge/magnum: Make the POD object operate  https://review.openstack.org/13891100:33
openstackgerritSteven Dake proposed stackforge/magnum: Add service object to ReST API  https://review.openstack.org/13891200:33
sdakedinner00:34
*** kebray has quit IRC00:35
openstackgerritMerged stackforge/magnum: Look for tests only under magnum/tests directory  https://review.openstack.org/13836100:36
*** dims has joined #openstack-containers00:42
*** ycombinator_ has joined #openstack-containers00:43
*** EricGonczer_ has joined #openstack-containers00:46
*** jwang__ has joined #openstack-containers00:55
*** EricGonczer_ has quit IRC01:05
*** daneyon has quit IRC01:11
*** ycombinator_ has quit IRC01:40
*** EricGonczer_ has joined #openstack-containers01:55
*** dims has quit IRC01:58
*** suro_ has quit IRC02:04
*** erkules_ has joined #openstack-containers02:23
*** erkules has quit IRC02:25
*** marcoemorais1 has quit IRC02:25
*** adrian_otto has quit IRC02:34
*** ycombinator_ has joined #openstack-containers02:38
*** ycombinator_ has quit IRC02:43
*** EricGonczer_ has quit IRC03:10
*** EricGonczer_ has joined #openstack-containers03:15
*** EricGonczer_ has quit IRC03:17
*** jwang__ has quit IRC03:22
*** ycombinator_ has joined #openstack-containers03:39
*** ycombinator_ has quit IRC03:44
*** ycombinator_ has joined #openstack-containers03:55
*** thomasem has quit IRC04:03
*** adrian_otto has joined #openstack-containers04:09
*** yuanying_ has joined #openstack-containers04:15
*** achanda has joined #openstack-containers04:17
*** yuanying has quit IRC04:18
*** dharmit has joined #openstack-containers04:19
*** Babyface has joined #openstack-containers05:04
*** Babyface_ has quit IRC05:04
*** dguryanov has quit IRC05:04
*** dguryanov has joined #openstack-containers05:04
*** ycombinator_ has quit IRC05:07
*** achanda has quit IRC05:10
*** achanda has joined #openstack-containers05:11
*** achanda_ has joined #openstack-containers05:15
*** ycombinator_ has joined #openstack-containers05:15
*** achanda_ has quit IRC05:16
*** achanda has quit IRC05:16
*** achanda_ has joined #openstack-containers05:16
*** achanda_ has quit IRC05:21
*** ygoto has quit IRC06:05
*** nshaikh has joined #openstack-containers06:11
*** harlowja_ is now known as harlowja_away06:19
*** suro_ has joined #openstack-containers06:45
*** daneyon has joined #openstack-containers06:45
*** ycombinator_ has quit IRC06:50
*** yuanying has joined #openstack-containers07:01
*** yuanying_ has quit IRC07:04
*** yuanying has quit IRC07:09
*** yuanying has joined #openstack-containers07:13
*** ycombinator_ has joined #openstack-containers07:18
*** ycombinator_ has quit IRC07:19
*** ycombinator_ has joined #openstack-containers07:20
*** ycombinator_ has quit IRC07:24
*** suro_ has quit IRC07:31
*** ycombinator_ has joined #openstack-containers08:22
*** ycombinator_ has quit IRC08:27
*** stannie has joined #openstack-containers08:28
*** Philip_ has joined #openstack-containers09:22
*** ycombinator_ has joined #openstack-containers09:23
Philip_Hello09:24
*** nshaikh has quit IRC09:27
*** Philip_ has quit IRC09:27
*** ycombinator_ has quit IRC09:28
*** nshaikh has joined #openstack-containers09:52
*** yuanying_ has joined #openstack-containers10:14
*** yuanying has quit IRC10:17
*** ycombinator_ has joined #openstack-containers10:24
*** ycombinator_ has quit IRC10:28
*** stannie has quit IRC10:50
*** erkules_ is now known as erkules11:04
*** ycombinator_ has joined #openstack-containers11:24
*** ycombinator_ has quit IRC11:29
*** dims has joined #openstack-containers11:55
*** kitch_ has joined #openstack-containers11:55
*** ycombinator_ has joined #openstack-containers12:25
*** dharmit has quit IRC12:26
*** ycombinator_ has quit IRC12:30
openstackgerritDavanum Srinivas (dims) proposed stackforge/magnum: Get HTTP Patch test working with Bay REST API  https://review.openstack.org/13903912:36
*** adrian_otto has quit IRC12:46
openstackgerritDavanum Srinivas (dims) proposed stackforge/magnum: Get HTTP Patch test working with Bay REST API  https://review.openstack.org/13903913:04
*** ycombinator_ has joined #openstack-containers13:11
*** kitch_ has quit IRC13:22
*** kitch_ has joined #openstack-containers13:22
openstackgerritDavanum Srinivas (dims) proposed stackforge/magnum: Add missing exceptions in code borrowed from Ironic  https://review.openstack.org/13905013:34
*** jeckersb_gone is now known as jeckersb13:34
*** nshaikh has quit IRC13:40
openstackgerritDavanum Srinivas (dims) proposed stackforge/magnum: Add missing exceptions in code borrowed from Ironic  https://review.openstack.org/13905013:51
*** dims has quit IRC13:58
*** dims has joined #openstack-containers13:58
*** thomasem has joined #openstack-containers14:02
*** thomasem has quit IRC14:04
*** julim has joined #openstack-containers14:05
*** thomasem has joined #openstack-containers14:12
*** thomasem_ has joined #openstack-containers14:32
*** thomasem has quit IRC14:34
*** thomasem_ has quit IRC14:34
dimssdake: good morning14:55
*** thomasem has joined #openstack-containers15:10
*** ycombinator_ has quit IRC15:11
*** EricGonczer_ has joined #openstack-containers15:31
*** prad has joined #openstack-containers15:40
*** kebray has joined #openstack-containers15:59
*** ycombinator_ has joined #openstack-containers16:02
*** EricGonc_ has joined #openstack-containers16:03
*** EricGonczer_ has quit IRC16:07
*** mikedillion has joined #openstack-containers16:28
*** nshaikh has joined #openstack-containers16:30
*** daneyon_ has joined #openstack-containers16:38
*** achanda has joined #openstack-containers16:38
*** daneyon has quit IRC16:40
openstackgerritDavanum Srinivas (dims) proposed stackforge/magnum: Get the Pod REST API and tests working  https://review.openstack.org/13910816:47
dimssdake: am getting the hang of it :)16:48
*** funzo has quit IRC16:55
*** nshaikh has quit IRC17:04
*** funzo has joined #openstack-containers17:21
*** achanda has quit IRC17:22
*** achanda has joined #openstack-containers17:22
*** achanda has quit IRC17:27
*** marcoemorais has joined #openstack-containers17:33
*** suro_ has joined #openstack-containers17:35
*** adrian_otto has joined #openstack-containers17:36
*** mikedillion has quit IRC17:40
*** dims_ has joined #openstack-containers17:48
*** dims has quit IRC17:52
*** jwang__ has joined #openstack-containers17:55
*** prad has quit IRC17:58
*** ycombinator_ has quit IRC18:02
*** ycombinator_ has joined #openstack-containers18:05
*** harlowja_away is now known as harlowja_18:10
sdakedims morning18:13
*** nshaikh has joined #openstack-containers18:18
sdakedummy question what does http patch do18:23
sdakedims can you +a this one18:25
sdakehttps://review.openstack.org/#/c/138300/18:25
openstackgerritMerged stackforge/magnum: Get HTTP Patch test working with Bay REST API  https://review.openstack.org/13903918:26
openstackgerritMerged stackforge/magnum: Add missing exceptions in code borrowed from Ironic  https://review.openstack.org/13905018:26
openstackgerritMerged stackforge/magnum: Get the Pod REST API and tests working  https://review.openstack.org/13910818:27
dims_sdake: http patch is the U in CRUD18:29
dims_sdake: done18:30
*** julim has quit IRC18:30
openstackgerritMerged stackforge/python-magnumclient: Make separate Bay objects for each bay object  https://review.openstack.org/13830018:32
*** jwang__ has quit IRC18:32
*** mikedillion has joined #openstack-containers18:33
openstackgerritMerged stackforge/python-magnumclient: Complete implementation of bay operations  https://review.openstack.org/13813718:34
*** jwang__ has joined #openstack-containers18:43
*** openstackgerrit has quit IRC18:50
*** openstackgerrit has joined #openstack-containers18:50
*** marcoemorais has quit IRC19:03
*** marcoemorais has joined #openstack-containers19:04
*** marcoemorais has quit IRC19:04
*** marcoemorais has joined #openstack-containers19:05
*** amcrn has joined #openstack-containers19:12
*** thomasem has quit IRC19:12
*** prad has joined #openstack-containers19:20
*** julim has joined #openstack-containers19:25
*** amcrn has quit IRC19:34
*** jwang__ has quit IRC19:37
*** marcoemorais has quit IRC19:37
*** marcoemorais has joined #openstack-containers19:37
*** jwang__ has joined #openstack-containers19:38
*** thomasem has joined #openstack-containers19:38
*** thomasem has quit IRC19:39
*** marcoemorais has quit IRC19:44
*** thomasem has joined #openstack-containers19:44
*** marcoemorais has joined #openstack-containers19:44
openstackgerritDavanum Srinivas (dims) proposed stackforge/magnum: Remove crud in magnum/objects/sqlalchemy  https://review.openstack.org/13917120:00
*** openstackgerrit has quit IRC20:04
*** openstackgerrit has joined #openstack-containers20:04
*** ycombinator_ has quit IRC20:04
*** marcoemorais has quit IRC20:12
*** marcoemorais has joined #openstack-containers20:13
*** marcoemorais has quit IRC20:13
*** marcoemorais has joined #openstack-containers20:14
*** kebray has quit IRC20:16
openstackgerritDavanum Srinivas (dims) proposed stackforge/magnum: Fix REST API and test case for Containers  https://review.openstack.org/13917720:23
*** julim has quit IRC20:24
dims_sdake: we are back almost to where we were for the tests20:28
dims_sdake: i have to add back the container operations20:29
*** adrian_otto1 has joined #openstack-containers20:31
*** adrian_otto has quit IRC20:34
*** jwang__ has quit IRC20:35
sdakeyup20:36
sdakeI think this new model is way more better tho ;)20:36
openstackgerritPradeep Kilambi proposed stackforge/magnum: Implement python interface to execute k8s CLI services  https://review.openstack.org/13881720:36
sdakeshould make implementing the backend much easier20:37
sdakewhich I guess I'll start on now20:37
*** kebray has joined #openstack-containers20:40
*** kebray has quit IRC20:41
*** kebray has joined #openstack-containers20:41
dims_sdake: agree - much better20:41
openstackgerritPradeep Kilambi proposed stackforge/magnum: Implement python interface to execute k8s CLI services  https://review.openstack.org/13881720:57
*** dims_ has quit IRC21:05
*** dims has joined #openstack-containers21:06
*** mikedillion has quit IRC21:08
*** nshaikh has left #openstack-containers21:15
*** marcoemorais has quit IRC21:16
*** marcoemorais has joined #openstack-containers21:16
openstackgerritPradeep Kilambi proposed stackforge/magnum: Implement python interface to execute k8s CLI services  https://review.openstack.org/13881721:20
*** julim has joined #openstack-containers21:23
pradsdake, picking up from our conversation .. so now that i have some basic handler calls, the next step is21:28
sdakewell we need to write the backend21:30
sdakethe backend has to parts21:30
sdakethe top part, which receives amqp calls21:30
sdakeand the bottom part which executes them21:30
sdakewhen the bottom part executes the amqp calls, it should write the new objects created by k8s to the database21:31
sdakethat way we can clean up when we delete a bay21:31
*** marcoemorais has quit IRC21:31
sdakeone of the input parameters to both pods and services is the bay UUID21:32
*** marcoemorais1 has joined #openstack-containers21:32
sdakethat might be a patch you could work on right now21:32
pradsdake, ok so say we create a pod/service in k8s, we persist the pod info in our db in magnum?21:32
*** marcoemorais1 has quit IRC21:32
sdakeright21:32
sdakeand the pod gets created on a bay21:33
*** marcoemorais1 has joined #openstack-containers21:33
*** marcoemorais1 has quit IRC21:33
sdakethat was previously created with magnum bay-create21:33
sdakea bay as an endpoint, which is where k8s cli is configured to connect to21:33
sdakeI'm not sure how to do that part, worth investigation as well21:33
sdakeas/has21:33
sdakedoes k8s cli have a config option for the endpoint to connect to?21:34
sdakewe also need a REST endpoint uri in the database for bays21:34
sdakethere are two separate patches that need implementation ;-)21:34
sdakewould be helpful for you to implement them, you owuld learn how the object system and databaase work21:35
sdakeatleast at a "how do we add more  stuff" level21:35
pradsure do we already have bps for those?21:36
sdakeneed blueprints21:36
*** bitblt has joined #openstack-containers21:37
*** prad has quit IRC21:46
*** prad has joined #openstack-containers21:46
*** marcoemorais has joined #openstack-containers21:54
*** marcoemorais has quit IRC22:04
*** marcoemorais1 has joined #openstack-containers22:04
*** marcoemorais1 has quit IRC22:04
*** marcoemorais has joined #openstack-containers22:05
*** jwang__ has joined #openstack-containers22:05
sdakeprad I think the hardest concept to come to grips with is the bay22:06
sdakeA bay represents physical machines under which magnum will manage pods/containers22:06
sdakeit could be 1 or more nodes22:06
sdakeit could be virtual (using heat+nova) or bare metal (ironic)22:07
sdakethe bay backend creates the bay and stores the URI for the main contact point to the bay22:07
sdakethe URI for the contact point is the external contact point (docker/k8s)22:07
sdakefor the bare metal case, I plan to use ironic and guestfs to modify a base image to set up a cluster of k8s systems22:08
sdakewhen you start a container, you give it a bay on which to operate22:09
sdakeit schedules itself among the nodes in the bay22:09
sdakefor the k8s case, k8s schedules the pods for us22:10
sdakeits essentially another level of abstraction of the bare metal/virt environment22:10
pradunderstood, thx for the explanation22:10
*** marcoemorais has quit IRC22:11
sdakebtw I dfidn't invent the bay concept but  ilike it :)22:11
*** marcoemorais has joined #openstack-containers22:11
pradyea pretty cool stuff22:11
*** marcoemorais has quit IRC22:11
*** marcoemorais has joined #openstack-containers22:12
sdakehttp://paste.fedoraproject.org/156765/7731294122:15
sdakeprad my db making script ^22:15
sdakemagnum-db-mange upgrade after doing that will create the tables22:15
sdake(have to change credentials in the script)22:15
pradcool22:16
pradsdake, i'll get a first cut for review tonight/tomorrow..22:16
pradsdake, meanwhile please review the wrapper when you get a chance22:17
pradsdake, i have some todos in there, i'll have subsequent patches as i make progress on backend stuff22:17
pradhttps://review.openstack.org/#/c/138817/322:18
sdakeprad all reviewed22:18
sdakewe went back to 1 core reviewer requirement for the moment22:18
sdakeuntil the core team beefs out a bit22:18
pradah ok22:18
pradcool, ty sir22:19
openstackgerritMerged stackforge/magnum: Implement python interface to execute k8s CLI services  https://review.openstack.org/13881722:20
dimssdake: got 2 reviews up when you get a chance22:25
sdakedims reviewed- 1 had a -122:28
openstackgerritMerged stackforge/magnum: Remove crud in magnum/objects/sqlalchemy  https://review.openstack.org/13917122:30
sdakeyay http://paste.fedoraproject.org/156774/3308814122:45
*** jwang__ has quit IRC22:49
*** dims_ has joined #openstack-containers22:53
*** dims has quit IRC22:55
openstackgerritDavanum Srinivas (dims) proposed stackforge/magnum: Fix REST API and test case for Containers  https://review.openstack.org/13917723:00
dims_sdake: fixed ^^^23:00
*** thomasem has quit IRC23:07
openstackgerritPradeep Kilambi proposed stackforge/magnum: Add bay uuid to pod model objects  https://review.openstack.org/13925623:08
*** kitch_ has quit IRC23:15
*** kitch_ has joined #openstack-containers23:17
*** bitblt has quit IRC23:18
openstackgerritMerged stackforge/magnum: Fix REST API and test case for Containers  https://review.openstack.org/13917723:18
*** kitch_ has quit IRC23:20
*** kitch_ has joined #openstack-containers23:23
*** prad has quit IRC23:32
*** EricGonc_ has quit IRC23:48
*** EricGonczer_ has joined #openstack-containers23:58

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