Wednesday, 2014-11-12

*** dims has quit IRC00:30
*** dims has joined #openstack-containers00:30
*** EricGonczer_ has joined #openstack-containers00:44
*** suro_ has quit IRC00:49
*** dims has quit IRC00:52
*** dims has joined #openstack-containers00:52
*** dims has quit IRC01:21
*** dims has joined #openstack-containers01:22
*** EricGonczer_ has quit IRC01:38
*** EricGonczer_ has joined #openstack-containers02:01
*** dims has quit IRC02:02
*** dims has joined #openstack-containers02:02
*** marcoemorais has quit IRC02:21
*** EricGonczer_ has quit IRC02:30
*** EricGonczer_ has joined #openstack-containers02:44
*** EricGonczer_ has quit IRC02:45
*** jeckersb is now known as jeckersb_gone02:47
*** dims has quit IRC02:50
*** dims has joined #openstack-containers02:50
*** yuanying has joined #openstack-containers03:18
*** adrian_otto has quit IRC03:19
*** EricGonczer_ has joined #openstack-containers03:23
*** EricGonczer_ has quit IRC03:30
*** adrian_otto has joined #openstack-containers03:37
*** yuanying has quit IRC03:46
*** yuanying has joined #openstack-containers03:46
*** subscope has joined #openstack-containers04:36
*** nshaikh has joined #openstack-containers05:32
*** suro_ has joined #openstack-containers06:50
*** subscope has quit IRC06:55
*** suro_ has quit IRC08:03
*** suro_ has joined #openstack-containers08:03
*** jgjl has joined #openstack-containers08:05
*** suro_ has quit IRC08:08
*** jgjl has quit IRC08:08
*** adrian_otto has quit IRC08:16
*** jgjl has joined #openstack-containers08:33
*** EricGonczer_ has joined #openstack-containers10:46
*** dims has quit IRC10:54
*** dims has joined #openstack-containers10:55
*** jgjl has quit IRC11:07
*** EricGonczer_ has quit IRC11:16
*** jgjl has joined #openstack-containers11:48
*** kitch_ has quit IRC12:23
*** nshaikh has left #openstack-containers12:47
*** kitch_ has joined #openstack-containers13:05
*** stannie has joined #openstack-containers13:07
*** jgjl has quit IRC13:54
*** jeckersb_gone is now known as jeckersb13:55
*** dims has quit IRC13:56
*** dims has joined #openstack-containers13:56
*** jgjl has joined #openstack-containers14:06
*** julim has joined #openstack-containers14:07
erwdims: fyi, did you see my commit?14:16
erwdims: it's mostly a PoC for feeling out how the API should look, what we should expose, etc.14:16
dimserw: did not dig into it yet. wanted to get the CI straightened out with the github code. waiting on adrian_otto now, he is the only one with core karma.14:18
dimserw: up early? :)14:18
erwdims: back in the USA14:18
dimserw: ah ok14:18
erwarrived last night14:18
erwdims: my PoC doesn't have to be merged. I was playing with the API, figuring out the usage model, etc.14:19
dimserw: cool14:19
*** jeckersb is now known as jeckersb_gone14:19
kitch_erw: Link to your commit?14:20
erwhttps://review.openstack.org/#/c/133211/14:23
*** thomasem has joined #openstack-containers14:33
*** EricGonczer_ has joined #openstack-containers14:39
*** jeckersb_gone is now known as jeckersb14:43
*** ycombinator_ has joined #openstack-containers14:51
*** ycombinator_ has quit IRC14:52
*** jlb13 has joined #openstack-containers15:04
kitch_erw: So containers don’t exist outside of a pod?15:17
erwkitch_: yes.15:19
erwkitch_: I had discussed with slower about just calling a pod a "container" and containers "processes"... but we agreed that while that might make more sense, it's not the terminology people are using today15:20
kitch_I would agree with that.15:21
kitch_Just need to think through the consumption model for users who don’t care about pods15:21
kitch_Does pod neccessarily indicated all it’s containers are on a single host?15:21
kitch_s/it’s/its15:22
erwkitch_: all pods are in a single "bay" (term is... flexible), where a bay == nova instance == host15:22
erwa pod may contain multiple containers15:23
kitch_erw: understood, but we are stating that all containers in a pod are located in a single bay15:23
erwkitch_: really, we could just collapse that and say that containers might contain containers and eliminate pods. The problem is that we can't necessarily manage systems that are N-level nested15:24
kitch_erw: Do we think that pods are a logical construct, or a real construct, in that a pod, is represented by a container in the real world15:25
kitch_Or, third option, depends on the “driver”15:26
erwkitch_: a pod is a real thing and a container by another name.15:26
kitch_ok15:26
erwspecifically, it's a container with a specific image (for the selected driver) that allows nesting15:26
kitch_So when I call the api to create a pod. a container is being created in a bay (on a host)15:26
kitch_got it15:26
erwthe idea here is that a kubernetes pod definition, fig definition, or docker multi-host metdata could be fed directly into magnum15:27
kitch_right15:27
erwor someone could use the magnum api to programmatically manage nesting, rather than have a leaky abstraction where the user would need to speak directly to Docker and supply their own specialized images for pod management15:28
kitch_Sure. It’s all just a way of prescribing good usage15:29
kitch_You could also argue that a pod is just a speciallized bay15:29
kitch_etc, etc15:29
erweven in the code, iirc, the Pod is a subclass of Container15:29
erwwell, they're all containers of some sort, yes?15:29
kitch_Agreed.15:30
erwthe problem with exposing that to a user is that the UX gets confusing15:30
kitch_agreed15:30
dimsInception :)15:30
kitch_So then my question is this. Many users won’t care about pods. They just want to get a pile of containers, distributed across available hosts.15:30
kitch_They may not care or know about pods, do we need to provide an entry point for them?15:31
kitch_Or do we just force them to swallow pods15:31
erwmy perspective was that the 'PUT pod' could easily create a pod with a single container15:32
erwand they would list their pods.15:32
erwi.e. that's the top-level entry15:32
kitch_ok, so basically there is a pod type: container15:33
kitch_for those that don’t want pod type: k8s, or pod type: fig15:33
erwsomething like that15:33
erwby doing this, the bay can be split up into multiple units of compute... and users aren't restricted from adding new siblings to their containers later, if they decide they need it (but it wasn't needed at spawn)15:34
erwotherwise, if containers were top-level and a user had an unforeseen need to run another process on the same IP address, they could simply do it without having to respawn15:35
kitch_Have you guys done any performance analysis to show that there is no overhead of nesting containers?15:35
kitch_or other limitations15:36
erw*er... I wrote that wrong, but I hope you get it?15:36
kitch_I get it15:36
erwkitch_: some have and it seemed fine. Kubernetes folks are doing it...15:36
erwkitch_: but it's certainly a path being paved, rather than a well-traveled road15:36
kitch_Day 0: I just want my container to live all on it’s own. Day 5: Oh man, I wish I could have a monitoring container in a pod with my original app15:36
erwkitch_: and there is the whole 'nsexec' thing, too. I put "execute" into the api for a container, but I'm honestly not sure it belongs15:38
erw(and I'd argue if it belongs in *docker*, either)15:38
erwimho, 'docker exec' should just be a form of 'docker run'15:39
kitch_erw: Agreed, although I would note that there are plenty of users that love docker/containers for the “image” portability rather than the container “way of life”. So it comes down to how much you want to entertain those users15:40
erwkitch_: a certain part of me thought, well, that's what Nova (and nova-docker) is for... docker image portability without the microservices/12factor design15:42
erwkitch_: and that magnum could be the api for microservices (and if OpenVZ or LXC doesn't want to do microservices, then the Nova api is enough?)15:43
kitch_erw: Absolutely, these are users that would be very happy with nova-docker, magnum would have little appeal I think.15:43
kitch_I wasn’t sure if you were speaking of docker execute vs docker run in the context of core docker or in the context of magnum15:44
erwkitch_: both15:44
kitch_erw: I suppose that’s not the end of the world, for those that want to use docker as packaging they are most likely running ssh or some other way of hooking back into their container15:45
*** EricGonczer_ has quit IRC15:48
*** EricGonczer_ has joined #openstack-containers15:50
erwkitch_: well, one idea is that you don't need ssh except for compatibility reasons if you can get a 'docker exec' or 'docker run' into the picture15:57
erwbut certainly, you're not prevented from running it, either.15:58
kitch_erw: Sure, it’s just a comfort thing for some traditional IaaS consumers15:58
erwwell, plus, it appears relatively secure. TLS, not so much.15:59
*** diga has joined #openstack-containers16:03
*** kebray has joined #openstack-containers16:09
digaHello dims16:11
dimshi diga16:12
digaPYTHONPATH=. pecan serve magnum/config.py16:12
digaAttributeError: 'pecan.conf' object has no attribute 'app'16:13
digathis error I am still getting16:13
diganot able to trace the fix16:13
digaany pointers ??16:13
digar u running this in virtualenv16:14
dimsdiga: get a fresh git clone of magnum repo from git.openstack.org and then apply the 2 reviews here - https://review.openstack.org/#/q/status:open+project:stackforge/magnum+branch:master+topic:initial-squashed-commit,n,z16:14
digaok16:14
*** kebray has quit IRC16:16
dimsdiga: please see erw's review - https://review.openstack.org/#/c/133211/ - this is unrelated to the initial import but was something erw and Slower came up with on friday i believe16:21
dimsdiga: i can confirm that a fresh checkout of magnum and the 2 reviews i pointed earlier works for me again16:21
digaok16:21
digaok16:22
digaSorry dims, the actual issue is at my side16:22
digajust fixed16:22
digaThanks16:22
dimsah ok, what did you have to do?16:22
digaI upgraded my machine to 14.04, so some packages are missing16:23
dimsk16:23
digayes, I am looking at erw's review16:24
digabut as I am seeing, they have used flask16:25
digaHi erw16:28
digayou there ?16:28
*** EricGonczer_ has quit IRC16:30
*** diga has quit IRC16:34
*** adrian_otto has joined #openstack-containers16:37
erwpong16:38
*** diga has joined #openstack-containers16:38
digadims: got disconncted16:39
erwdiga: it's a PoC we threw together. I used flask because it was quick and easy.16:39
digaok16:39
digaNP16:40
digaI think myself & dims will continue our work on API using pecan+wsme16:44
digabecause its a time taking work16:44
digawe will integrate your stuff once you are done with the POC to this API module16:45
erwdiga: you're welcome to incorporate the ideas or code now (or not at all) if you want16:48
digaok16:48
erwdiga: the point was to have something we could point at and say, "here is some progress", also, it was a good exercise for figuring out what made sense to be in magnum and what the design should look like -- even if the code proves to be ephemeral16:48
digaokay16:49
digafine16:49
dimserw: so you ok to just borrow the REST API and re-code over what diga has?16:51
dimsah you already answered that :)16:51
diga:)16:53
*** jgjl has quit IRC16:57
digadims: give me today, I'll send my patches from tomorrow due to formating of my laptop17:04
*** marcoemorais has joined #openstack-containers17:14
*** nshaikh has joined #openstack-containers17:38
*** diga has quit IRC17:44
*** suro_ has joined #openstack-containers17:55
*** kebray has joined #openstack-containers18:02
*** diga has joined #openstack-containers18:15
dimsadrian_otto: ping18:18
adrian_ottohi18:19
adrian_ottodims: pong18:20
dimsadrian_otto: you are the sole core on magnum, you can add more folks using gerrit.18:20
dimsadrian_otto: the squashed set of commits from github is here - https://review.openstack.org/#/c/133811/ if you wish to +2/+A18:20
*** diga has quit IRC18:21
adrian_ottodims: thanks!18:21
adrian_ottoI'll add core selection to our upcoming team agenda18:22
adrian_ottoI'd like to get consensus from the team on the right starting group18:22
dimssounds good18:23
adrian_ottountil then I will need to diligently review the code and respond to the +1 -1 votes from our reviewers18:23
adrian_ottoI'll edit the agenda wiki right now so I don't forget18:23
*** diga has joined #openstack-containers18:23
dimssounds good, the url in gerrit for adding folks is here - https://review.openstack.org/#/admin/groups/473,members18:24
adrian_ottohttps://review.openstack.org/#/q/status:open+magnum,n,z18:27
adrian_otto^^ please review and comment/vote on these18:27
*** subscope has joined #openstack-containers18:36
*** diga has quit IRC18:44
*** EricGonczer_ has joined #openstack-containers18:48
*** EricGonczer_ has quit IRC18:52
*** EricGonczer_ has joined #openstack-containers18:59
*** kebray has quit IRC19:08
*** kebray has joined #openstack-containers19:12
*** marcoemorais has quit IRC19:44
*** marcoemorais has joined #openstack-containers19:44
*** sdake has joined #openstack-containers19:59
*** subscope has quit IRC20:01
sdakeadrian_otto are the container commits going to irc, and if not, would you like me to fix that?20:02
*** thomasem has quit IRC20:57
adrian_ottoI think I configured that21:27
adrian_ottoare new reviews not showing up here?21:27
adrian_ottosdake: if it needs fixing, please proceed21:27
*** kitch_ has quit IRC21:34
*** thomasem has joined #openstack-containers21:37
*** kebray has quit IRC21:49
*** nshaikh has quit IRC21:53
*** adrian_otto has quit IRC22:04
*** adrian_otto has joined #openstack-containers22:13
*** jeckersb is now known as jeckersb_gone22:33
*** EricGonczer_ has quit IRC22:49
*** thomasem has quit IRC22:54
*** marcoemorais1 has joined #openstack-containers23:05
*** marcoemorais has quit IRC23:09
*** marcoemorais1 has quit IRC23:30
*** kebray has joined #openstack-containers23:30
*** marcoemorais has joined #openstack-containers23:31
*** EricGonczer_ has joined #openstack-containers23:51
*** dims_ has joined #openstack-containers23:54
*** dims has quit IRC23:57

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