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

=== anthonyf is now known as Guest37830
therealmarvHi, my charm is on revision 4 here (search for the realmarv) https://code.launchpad.net/charms and here https://code.launchpad.net/~therealmarv/charms/trusty/pybossa/trunk but not on https://jujucharms.com/u/therealmarv/pybossa/trusty/1 I’m doing a major update before pushing it again to the review queue. Can someone explain me why the revision number does not update on jujucharms.com (it is still on 2) ?07:45
therealmarvIs there a problem with ingestion ?08:43
=== scuttlemonkey is now known as scuttle|afk
* Mmike grabs food12:44
=== anthonyf is now known as Guest35437
=== scuttle|afk is now known as scuttlemonkey
=== lazyPower|eow is now known as lazyPower
redelmannhi, is anyone having troubles with local deploy (KVM/LXC) and dhcp changes for using some machine in differents dhcp server? (home/work)14:08
=== kadams54 is now known as kadams54-away
redelmannjuju set apiaddresses on all agents to wlan ip14:09
=== redelmann is now known as redelmann|afk
lazyPowerredelmann|afk: i'm not sure what you're asking - whats happening?14:19
=== redelmann|afk is now known as redelmann
redelmannlazyPower, after add a machine "juju add-machine"14:24
redelmannlazyPower, for some reason inside added machine14:25
redelmannlazyPower, in "/var/lib/agents/machine-n/agent.conf"14:26
redelmannlazyPower, apiaddresses: - my.wlan.ip:1707014:27
redelmannlazyPower, so agents are using my wlan0 ip that always changes if i connect to another network14:27
redelmannlazyPower, after a reboot, if wlan0 ip changes all agents stop working.14:28
lazyPowerredelmann: did you alter the default lxc networking config?14:33
redelmannredelmann, no, everything is in default. fresh installation14:34
lazyPowerwhich version of Juju?14:34
redelmannlazyPower, i'm using container: kvm in environment.yaml14:35
redelmann1.2314:35
lazyPowerdimitern: ping ^14:35
redelmannlazyPower, i could see   STORAGE_ADDR: 192.168.122.1:8040, which is my virbr0 ip14:36
lazyPowerredelmann: i'm not sure why thats happening, but i've pinged a dev thats been working on networking support in juju, which may or may not be related14:36
lazyPowerand he might be able to help square you away. What I suggest is to file a bug w/ this behavior, and ping the list with it to get some eyes on it14:37
redelmannack14:37
dimiternlazyPower, pong14:38
dimiternredelmann, lazyPower, ack, will look a bit later14:41
lazyPowerthanks dimitern14:43
=== kadams54-away is now known as kadams54
=== redelmann is now known as redelmann|lunch
=== redelmann__ is now known as redelmann
pmatulisin the about-juju docs [1], what is meant by "reuse whatever they want from other teams"17:45
pmatulis[1]: https://jujucharms.com/docs/stable/about-juju17:45
=== kadams54 is now known as kadams54-away
rick_h_pmatulis: so let's say you're part of two teams and the application stack is mostly the same (apache, django, postgresql) but my team uses redis and your team uses memcache.17:50
rick_h_pmatulis: we can work together, using charm interfaces to reuse the rest of the stack yet the two teams can easily disagree on the caching part of the stack17:51
rick_h_e.g. if I find better apache config settings and update the charm, you can reuse that and gain the same benifits17:51
pmatulisrick_h_: gotcha, so share some charms but not necessarily all17:52
rick_h_pmatulis: exactly, and you can even have two different charms that implement the same inteface and swap them out17:52
rick_h_pmatulis: so let's say I want haproxy up front but you want to proxy throgh nginx. As long as we use the same proxy relation guide we can take the same app but proxy it different just by connecting it to different services17:53
pmatulisrick_h_: makes sense, thank you17:53
rick_h_pmatulis: np17:54
=== redelmann__ is now known as redelmann
kandarhey19:02
lazyPowerhazmat: ping19:35
hazmatlazyPower: pong19:35
lazyPowerahoy, I just noticed a comment on the DO api v1 sunset issue over on our juju provider19:35
lazyPowerare you still working through that? if not i'll advise to use manual for the time being, v2 contributions appreciated.19:36
hazmatlazyPower: if we allow for growing the dependencies, its easy enough to knock out19:36
lazyPoweri dont think there's any reason to be stingy with the dependency tree at this time19:37
lazyPowerconsidering projects like this exist: https://github.com/koalalorenzo/python-digitalocean19:37
lazyPowerwe could pretty much bind on that API lib, and do the rewrite in a weekend (thats engineering optimism at its finest right?)19:38
lazyPowerhazmat: replied. Thanks mate19:41
hazmatlazyPower: i'd guess a few hrs ;-)19:41
lazyPowerYeah, but you're a wizard harry19:42
hazmatlazyPower: i like this lib the most re doV2 api but its got some unfortunate ssh helpers that widen the dependency tree to include paramiko https://github.com/changhiskhan/poseidon19:43
lazyPowerah yeah19:44
lazyPowerwell, lets cross fingers someone in the community steps up to do the v2 migration in the next couple of weeks. It would be nice to see the consumers give back :)19:45
=== redelmann__ is now known as redelmann
=== alexisb is now known as alexisb_lunch
=== kadams54 is now known as kadams54-away
=== natefinch is now known as natefinch-afk
=== alexisb_lunch is now known as alexisb
cholcombelazyPower: do you know how maas zones are supposed to work?22:33
cholcombei'm wondering what gets relayed back to my charm and what i'm supposed to do with it22:34
cholcombecan amulet use an apt-proxy?22:44
lazyPowercholcombe: sorry i was in my audio studio and didn't get your pings until just now22:45
cholcombeno worries22:45
lazyPowercholcombe: AIUI, MAAS zones are the same as regions, your charm wont see it, as thats abstracted away by the "provider" layer of juju22:45
cholcombeoh..22:46
cholcombewhat if i want to see it? haha22:46
cholcombemy charm needs to layout bricks across fault zones22:46
lazyPoweralso, re: amulet using an apt-proxy - it will default to route through the config of whichever machine you're using. If your charms demand an apt mirror it would be good tos etup a squid-apt-proxy in your test env so they can zero conf configure+utilize if its available.22:46
lazyPowerthat would be something you leverage in the bundle22:47
lazyPowerthats a layer above the charms concerns22:47
cholcombehmm22:47
cholcombeinteresting alright22:47
lazyPowerbcsaller: am I correct in this statement? i'm starting to second guess myself ^22:47
cholcombei'm wondering how to do this now22:47
lazyPowercholcombe: i'm 90% certain thats the case22:49
lazyPoweryou use constraints to set the zone22:49
cholcombeso with constraints in place is it the idea that juju will hand me units in the right order across zones?22:50
cholcombei'm missing something22:50
cholcombethe case i'm thinking of is i have 3 racks of machines.  each rack is defined as a failure zone.  how does my charm get a list of units from those zones?22:51
cholcombei can't be the first one to have thought of this lol22:54
bcsallerlazyPower: iirc you used to be able to juju set-env http(s)-proxy xxx or set-env apt-http(s)-proxy and apply those changes across the whole env, Is that what you mean?23:01
lazyPowerbcsaller: ah no, i was referring to zones23:01
lazyPowerbut thats good to know about pthe proxies too, it's been a good while since i've tinkered with the proxy settings.23:01
lazyPowercholcombe: you define 3 service groups, that deploy to 3 sep. zones as constraints23:02
lazyPowereg: "gluster-group1" -- constraints="zone=rack1"     "gluster-group2" --constraints="zone=rack2"23:02
cholcombeso effectively my charm has no idea what is going on23:02
lazyPowerso forth and so on23:02
cholcombeall i need to do is layout across servers and i'm good23:02
cholcombealright that's good enough i think23:03
lazyPowerbasically, so long as they can communicate with one another that should work as intended23:03
cholcomberight23:03
lazyPoweryou get a full service group, comprised of 3 clusters in different zones.23:03
cholcombeand i just need to make sure i layout bricks across whatever i see23:03
lazyPowerand you dont even need to name them differently afaict, you can just juju deploy, and/or add-unit witht eh constraint in place and it should "just work"23:03
lazyPowerbut ymmv with "just work"23:04
cholcomberight23:04
lazyPowermostly because you're listening to me :P23:04
cholcombeso slightly annoying from an admin perspective but easy from my charm's perspective23:04
lazyPowerdangerous situation to be in23:04
cholcombeheh23:04
lazyPowerwell, if you think about it like this23:04
lazyPowerthe admin has to setup these service pools/zones in the first place23:04
cholcombeyup23:04
lazyPowerhow would charm know what to do that is proper?23:04
cholcombedefinitely23:04
cholcombeit wouldn't23:05
cholcombeit doesn't have enough info to act23:05
lazyPoweri mean, just because you have 8 zones available to you, it doesn't make sense to propigate across all 8 zones23:05
cholcomberight23:05
lazyPowercholcombe: what kind of music do you listen to?23:05
cholcombeelectronic while i'm working.  heavy metal when i'm working out :)23:06
lazyPoweroh really?23:06
lazyPowerSnap23:06
cholcombewhy?23:06
lazyPowerI'll have something for you on dropbox in a couple minutes then23:06
cholcombehaha23:06
lazyPowerNot going to publish this until tomorrow23:06
cholcombeok23:06
lazyPowerbut i digress, would be awesome to get feedback23:06
cholcombesure thing23:06
cholcombeso these constraints.  will i have separate clusters for each zone ?23:07
cholcombecause that could get messy23:07
lazyPowerthat awkward moment when you realize you're in the public channel23:07
* lazyPower facepalms23:07
=== JoshStrobl is now known as JoshStrobl|AFK
cholcombe:D23:07
lazyPowerNah, you can use the same service name23:07
lazyPowerjust ensure when youd eploy, and you set the constraints, that you use different zone names for the unit(s)23:07
cholcombei'm going to have to test this lol.23:08
lazyPowermight be a good idea to model it on the CLI and export from teh gui so you get a sense of what it should look like as the final bundle form23:08
cholcomberight23:08
lazyPowerbut yeah, juju add-unit gluster --constraints="zone=foobar" should do the trick when you go to add unit(s)23:08
cholcombei know what it should look like from gluster's perspective.  i'm just trying to figure out what my charm ends up seeing23:08
cholcombelemme read the constraint page again23:09
=== anthonyf is now known as Guest93759

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