/srv/irclogs.ubuntu.com/2015/06/11/#juju.txt

=== kadams54-away is now known as kadams54_
=== anthonyf is now known as Guest23073
=== natefinch-afk is now known as natefinch
=== anthonyf is now known as Guest46780
=== kadams54_ is now known as kadams54-away
=== anthonyf is now known as Guest47313
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== scuttle|afk is now known as scuttlemonkey
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
rick_h_PSA: we're migrating jujucharms.com to the new environment and experiencing some glitches atm. Work in progress15:58
=== JoshStrobl|AFK is now known as JoshStrobl
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
rick_h_PSA: migration aborted for now, things should be back to 'normal'16:45
=== braderhart_ is now known as braderhart
DestreyfWhen adding a machine, should it set up a virbr0 with the ip 192.168.122.1 like it does on the bootstrap node?17:00
Destreyfusing manual provisioning17:00
marcoceppiDestreyf: I'm not sure, I think that virbr0 is only for KVM stuff?17:04
Destreyfmy 2nd machine is trying to connect 192.168.122.117:05
Destreyfand it can't reach it17:05
=== arbrandes_ is now known as arbrandes
lazyPowerDestreyf: juju uses hardcoded ip addressing with host only networking when deploying to containers/kvm17:28
DestreyflazyPower: so there's no way to mix lxc and physical machines?17:29
lazyPowerDestreyf: this is a known issue, and we have some solutions to work around it using flannel, calico, and a few other SDN providers that are being worked on17:29
Destreyfah okay17:29
DestreyflazyPower: that was the information i needed, thank you17:29
lazyPowerDestreyf: there is, but if you need reachability into that instance, you should look at flannel-docker charm which will spin up a flannel0 interface17:29
lazyPowerand that gives you a private networking space to interfact with services on your network17:29
lazyPowerif you're using LXC containers17:29
lazyPowerthere's additional work that needs to be done17:29
lazyPowerwe dont have a magic bullet charm that will configure your containers properly atm17:30
lazyPowerwell, kind of, but its a weird deployment pattern17:30
lazyPowertheres an older flannel charm in ~hazmat's namespace17:30
lazyPowerand if you deploy that charm to a host *first*17:30
lazyPoweras in before doing juju deploy --to lxc:#17:31
lazyPowerit will configure flannel based networking for any lxc containers created after the fact17:31
DestreyflazyPower: I'm trying to do something stupid, but its a test case scenario17:31
hazmatfortunately it has the binaries in it, so old but still works ;-)17:31
lazyPowerhazmat: o/ :)17:31
DestreyflazyPower: any experience with using juju on debian?17:31
lazyPowerhazmat: its funny you say that, i just updated that entire ecosystem17:31
hazmatlazyPower: i know17:31
Destreyfbecause juju... is fantastic in its relationship management17:31
lazyPowerDestreyf: i haven't personally, no17:32
lazyPoweri've used juju on windows, and juju on ubuntu so far17:32
lazyPowerthere's one or two centos based charms out there too that our partners cloudbase have been working on17:32
lazyPowerbut i have yet to get my hands on a debian charm17:32
hazmatDestreyf: there's some patches out there for it, but its not out of the box afaicr, the cloudbase folks might know more17:32
lazyPowerhazmat: its inc. actually17:32
lazyPowerthe work has been done17:32
lazyPoweri dont think its landed yet tho17:32
hazmatlazyPower: oh.. awesome17:33
lazyPowerhazmat: mbruzek was looking for dockercon hackathon participants btw, do you have any interest in hackathon'ing with us?17:33
Destreyfhazmat, lazyPower thank you very much for your time, you've answered questions that i've been racking my brain on for 2 days now17:34
lazyPowerDestreyf: anytime :)17:34
lazyPowerand on that note i need to grab a quick lunch, if you need anything else dont hesitate to ping Destreyf17:34
lazyPoweri'll circle back when i get back from lunch17:34
hazmatlazyPower: i'll be there, haven't decided on anything yet in terms of projects, i've got two ideas, one is really boring, but just a pull request idea i wanted to work on (ie. won't win, but accomploshies a personal goal), the other is more like a gee whiz thing, also not a winner.  preference is to hack in go at the event17:35
lazyPowerhazmat: i think they would be receptive to *any* ideas17:35
lazyPoweri came up with some good suggestions on how to get ideas but no clear idea winners. so far its just mbruzek and wwitzel3 for camp juju17:35
lazyPowerthey just released that you can have up to 10 ppl in a hack team17:35
lazyPowerwhich is a big change from the eventbrite page we signed up on so many moons ago17:36
lazyPowerit was originally 3 per pod17:36
hazmatso nutshell one was adding proxy support for building images, the other was setting up an ssh server that attached to a container namespace.17:36
lazyPowerso we're scrambling to either find ppl or come up with a game plan to show up and just pollenate other teams17:36
lazyPoweroh dude17:36
lazyPowerssh server + container namespace = interesting17:36
lazyPowerwhats the objective behind that?17:36
hazmatlazyPower: darned if i know ;-).. solomon suggested it to me at the ams dockercon hackathon17:37
lazyPowerhaha17:37
lazyPowerfair enough :)17:37
lazyPowerallright, brb o/17:37
Destreyfhazmat: on flannel17:40
Destreyfthe 10.10.x17:40
Destreyfis that x the machine number?17:40
Destreyfso machine 0 is 10.10.0.0/2417:40
Destreyfand machine 1 is 10.10.1.0/2417:40
hazmatDestreyf: basically yes, the 10.10.0.0/16 is just the cidr for the cluster, each machine gets a /24 for containers on it17:41
Destreyfhazmat: so the 3rd octet is different for each machine though?17:42
hazmatDestreyf: ie. its more like a container on machine 0 has 10.10.0.1/28 and a container on machine 1 has 10.10.1.1/28 .. the machines themselves have subnets assigned to them, but they don't have ips from the cluster range17:42
Destreyfk17:42
hazmatDestreyf: upstream has a few more modes added since my version of the charm was first published, lazyPower would know more about the latest version, most importantly they support configuring under iaas substrates for zero overhead, and using in kernel data plane paths (vxlan over udp) for faster performance.. the version in my charm was just doing udp17:44
hazmatoverlay afaicr.17:44
Destreyfhazmat: do you recommend i use it from yours or the upstream?17:49
hazmatDestreyf: i'd use lazyPower's newer one, i'm not actively working on charms atm17:50
hazmatDestreyf: not sure if the newer one also works with lxc, there's also limited juju support in 1.24 for managing iaas routing for container addressabilty (lxc) with ec2 (only using default vpc if enabled on an account and maas)17:51
Destreyfhazmat: hsi is listed as flannel-docker17:51
lazyPowerright, it will install the flannel0 bridge if related to a non-docker host18:05
lazyPowerotherwise it reconfigures docker for use with flannel18:05
lazyPowerthere's more work that needs to be done w/ flannel to make it work with LXC containers. namely lxc introspection, reconfiguring of existing containers, and ensuring lxc is reconfigured to start new containers w/ the flannel networking enabled by default18:06
Destreyflooks like i'm uzing hazmats :D18:06
lazyPowerya know, small stuff :)18:06
lazyPoweri would for now, its older, but gets the job done.18:06
lazyPoweronce we have the newer stack updated for lxc, migration should be a short hop jump skip and --replace away18:06
lazyPowerer --switch18:06
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
* mbruzek reads scrollback18:50
mbruzekThanks for the ideas hazmat18:50
mbruzekhazmat: do you have any interest in the hackathon competition?18:50
=== kadams54-away is now known as kadams54
=== natefinch is now known as natefinch-afk
=== kadams54 is now known as kadams54-away
Destreyfhazmat: sorry to bug you so much, how hard would it be to change the ip address inside of flannel?21:51
lazyPowerDestreyf: the ip address you get back from flannel is determined by etcd21:53
Destreyfhazmat: so under hoooks, i see flannel_network set to 10.10.0.0/16, this would be the spot right?21:54
Destreyfhooks.py*21:54
Destreyfoh21:54
DestreyflazyPower: replied not hazmat21:54
Destreyf:D21:54
Destreyfi saw a reply and assumed21:54
Destreyfthat's bad of me21:54
lazyPowerDestreyf: yeah if you change that it should change the A block21:54
Destreyfawesome, what would be the best way to go about routing connections to these? so i can access from say my pc (currently) 10.10.81.25421:55
Destreyfmy ip is 10.5.1.3621:55
lazyPowerDestreyf: im not sure I understand what you're trying to do21:56
Destreyfme either, let me think it over21:56
Destreyfi appreciate your help21:56
lazyPowerare you trying to setup a vxlan between your desktop and those containers?21:56
lazyPowerif thats the case, you have 2 options. 1) setup a vpn style connection to a machine that has a flannel0 interface. Such as using sshuttle21:57
lazyPower2) Install flannel on your pc to gain teh flannel0 interface and join in the vxlan.21:57
Destreyfbasically, say i install a service, say wordpres on a lxc container, using hazmat's flannal charm, how can i access the wordpress that' d be hosted there21:57
lazyPowerah, why not deploy haproxy on the parent node21:57
lazyPowerand reverse proxy to the wordpress charm?21:57
Destreyfand you are geneous21:58
lazyPoweryou dont even need flannel for that :) its host-only networking21:58
DestreyflazyPower: reason for flannel is HA setups between machines, containers and the likes21:58
Destreyfon the LXC side21:58
lazyPowerDestreyf: check this out21:59
lazyPowerhttp://blog.dasroot.net/container-networking-with-flannel.html21:59
lazyPowerits a little dated now21:59
lazyPoweri need to do an updated post with the new stuff21:59
Destreyfalso lazyPower i haven't looked in depth, but any chance you guys support (or would support) linode as a backend?22:00
lazyPowerwe currently support linode with the manual provider22:00
DestreyflazyPower: that's what i figured22:00
lazyPowerbut you do lose some of the magic, as you manually add machines to your env.22:00
DestreyflazyPower: i'm currently doing manual adding anyways for tests/local hardware without MAAS22:00
lazyPowerthere's been talk of writing a linode manual provider plugin based on hazmat's work w/ the DO provider plugin but nobody's taken on the project yet.22:00
DestreyflazyPower: i might just do it one of these days22:01
Destreyfawww the link's broken22:01
DestreyfXD22:01
lazyPowerwhich link Destreyf?22:01
Destreyfon that article you linked22:01
lazyPowerhmm.. shouldn't be22:01
Destreyfit mentions his do provider22:01
Destreyfhttp://blog.dasroot.net/juju-digital-ocean-awesome22:02
lazyPowerlame :|22:02
lazyPowerhttp://blog.dasroot.net/juju-digital-ocean-awesome.html22:02
Destreyfyeah22:02
Destreyffound it22:02
lazyPowerthats what i get for migrating from ghost to pelican without running a broken link checker against my content22:02
* hazmat yawns22:56
cholcombethis might be a flawed finding but i noticed that juju log logs any std out that your program writes regardless if you call log or not.  Is that weird?23:16
=== blahdeblah_ is now known as blahdeblah
thumpercholcombe: nah... expected23:57
thumperbut probably not well documented :)23:57
thumpero/ hazmat23:57
hazmatthumper: greetings23:58
thumperhazmat: do you know much about tox?23:58
thumperhazmat: I have a MP up for python-jujuclient23:58
thumperbut couldn't get the tests working23:58
hazmatthumper: what was the error?23:58
* thumper finds the mp23:59
thumperhttps://code.launchpad.net/~thumper/python-jujuclient/jes-cache-file/+merge/261586 it is on there23:59

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