/srv/irclogs.ubuntu.com/2016/06/24/#juju.txt

=== thumper-afk is now known as thumper
=== CyberJacob is now known as zz_CyberJacob
=== urulama|__ is now known as urulama
=== frankban|afk is now known as frankban
=== stub` is now known as stub
magicaltroutcan i tell a reactive charm to not execute a block until all the units are in the same state?09:53
magicaltroutkjackal: you'll know the answer to that09:54
kjackalHi magicaltrout09:55
kjackallet me think...09:55
kjackalmagicaltrout: ok so, here is how you can do that. You can have a relation of peer type among the service units09:56
kjackalyou should then make sure the units set the correct state within the interface implementing the peer relation09:57
magicaltroutah right yeah, so just plonk in a "we're all ready for the next step" state in my interface09:59
kjackalfor example, when you enter the correct stare you do something like this inside the interface: "remove_state('wrong.state') set_state('correct.state')"09:59
kjackalthen inside the reactive part you should have something like @when_not('peers.in.wrong.state') def do_whatever: ....10:00
kjackalLet me think....10:01
kjackalSo there might be another way to do that10:01
kjackalYou could you the leader layer10:01
kjackalthe leader should be gathering info on the state of the units and the units should ask the leader if all of them are in the right state10:02
kjackalI am sure this solution with the leader is doable, but I do not have it in my head right now, I will need to do ome research on this10:03
kjackalmagicaltrout: ^10:03
kjackalmagicaltrout: any comment on the referendum?10:03
magicaltroutyeah i'm just looking at stub 's github page thanks kjackal10:03
magicaltroutyeah, fucking shit10:04
magicaltroutanyway10:04
magicaltroutnot great, the uk has had better days10:04
kjackalin the bigdata world the need of coordination among units is a bad sign, and is usualy outsorced to services like zookeeper. I am sure you already know that10:06
magicaltroutDC/OS has an immutable configuration for whatever reason10:06
magicaltroutso they expect all masters to be up and running before installing the config on them10:06
magicaltrouti'm sure there is a way to do it on the fly, but they don't document it. So, spin up the masters, wait for all the ip's to be addressable and then run the config setup10:07
stubmagicaltrout: The problem you might trip over is that you don't know when all the units have actually joined the peer relation. You can detect all units that have joined so far are in a particular state, but you don't know how many more nodes are yet to be provisioned and join.10:17
magicaltroutyeah i know stub I was just mulling that over10:17
stubmagicaltrout: The approach I use is have the leader set itself up as a stand alone unit, and as other units join have them grab a lock (using the coordinator layer) and have them join one at a time.10:19
kjackalyes stub is right.  Question for you stub, how do you know if you will have 4 or 5 masters for example?10:20
stubAssuming your service can dynamically scale out like that10:20
kjackaldoes the leader know upfront the exact number of masters that should join?10:20
magicaltroutthe 2nd option i have is just to figure out how to make the DC/OS masters scaleable but they lock down the setup reconfig so I  need to reverse engineer their installer :)10:21
magicaltroutthe other idea I had for simplicity was just to dump it all in an action10:21
magicaltroutthat would at least get it going quicker ;)10:21
stubkjackal: Unless it is specified by the user in configuration ('I want 3 masters' or 'there will be at least 10 nodes'), then the leader has no way of knowing how many units are expected to join.10:21
stubkjackal: So the leader will need to make a decision, starting with 1 master since it is standalone, and revise this decision as more units join.10:22
kjackalstub: understood, yes the leader needs to know or guess the number of masters10:23
magicaltrouton the bright side... my new 4k monitor just turned up10:33
magicaltroutmight need to buy a 2nd one now10:33
kjackalmagicaltrout: I think next step should be to get  3 more 4k monitors so that you would make an 8k!11:04
magicaltroutkjackal: I have a thunderbolt 3 port11:04
magicaltroutwhich drives dual hdmi11:05
magicaltroutplus a hdmi port on the laptop11:05
magicaltroutso.......11:05
kjackaldo you turn your back on a challenge?11:05
magicaltrouthehe11:05
magicaltroutonly britain staying in the EU11:05
=== zz_CyberJacob is now known as CyberJacob
magicaltroutone thing I do know11:49
magicaltrouttoday is a really bad day to get paid in USD.....11:49
=== spammy is now known as Guest86283
=== Guest86283 is now known as spammy
=== zul_ is now known as zul
iceylots of aws service failures this morning13:03
=== barry` is now known as barry
=== redelmann is now known as rudi|wfh
=== alexisb-afk is now known as alexisb
=== alexisb is now known as alexisb-afk
dannfarosales, beisner : ICYMI - there's a mongodb build for z now - https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1595242/comments/115:09
mupBug #1595242: mongodb xenial s390x packages are needed (blocks ceilometer) <s390x> <uosci> <mongodb (Ubuntu):New> <ceilometer (Juju Charms Collection):New> <ceilometer-agent (Juju Charms Collection):New> <mongodb (Juju Charms Collection):New> <https://launchpad.net/bugs/1595242>15:09
arosalesdannf: very cool. OpenStack is still blocked until we can put this into a charm15:18
arosalesdannf: I am working with marcoceppi to work on this which we should hit by end of June, but OpenStack won't be able to consume till post that15:18
dannfarosales: i pasted a link to my MP for mongodb that used a ppa for arm64 into that bug15:20
beisnerdannf, arosales - awesome.  look forward to revisiting :)15:36
arosalesdannf: https://launchpad.net/~ubuntu-s390x-community/+archive/ubuntu/mongodb is the latest correct?15:39
arosalesdannf: also think for the pointer to the MP for the ARM enablment in mongo15:45
arosaleskjackal: sorry for being dense here but what steps am I missing @ http://paste.ubuntu.com/17806346/ to reproduce  https://bugs.launchpad.net/juju-core/+bug/159318515:48
mupBug #1593185: In lxd the containers own fqdn is not inclused in /etc/hosts <addressability> <hours> <lxd> <lxd-provider> <network> <juju-core:Triaged> <juju-core 1.25:Triaged> <https://launchpad.net/bugs/1593185>15:48
dannfarosales: yep, that's the latest (and only) :)16:00
kjackalarosales: Ok, you deployed the ubuntu. The bug is that you cannot "ping juju-1706c4-0"16:02
lazyPowercory_fu - got a sec to chat about https://github.com/juju-solutions/charmbox/pull/40 ?16:02
kjackallet me try to find my repro of the bug16:02
cory_fulazyPower: Sure16:02
lazyPowercory_fu - just to be clear on intent, we want this to target devel, and only land in devel.16:03
lazyPowerand this is to reduce the divergence of those two branches?16:03
arosalesdannf: thanks16:03
lazyPoweri think this only effects mbruzeks PR that was made slightly before this pr, but this looks pretty sane.16:04
arosaleskjackal: that does fail for me, but does that break models?16:04
cory_fulazyPower: Yes, that branch (new-devel) should *replace* devel and then devel should remain only that single commit different from master and be constantly rebased up to master16:04
* arosales doesn't ping hostnames if I can ssh to them16:04
kjackalarosales: http://pastebin.ubuntu.com/17395368/16:05
arosalesbut if inter charm communication is broke, then that is a huge issue16:05
lazyPowercory_fu - ok, makes sense. I'll start getting this landed and ping if any additional questions crop up. I'm more interested in making sure I was reading the directions clearly :)16:05
kjackalarosales: yes, for a few minutes the connection using the fqdn is broken16:06
kjackalarosales: from what dimitern told me there is a dhcpclient that is firing for no good reason and it breaks the resolution16:07
kjackalAFAIU adding the hostname on the etc/hosts file will cause the dhcpclient process not to fire16:08
kjackalarosales: our discussion is here: https://irclogs.ubuntu.com/2016/06/16/%23juju-dev.txt at around 10:0016:10
arosaleskjackal: ok let me see if hadoop-processing works here in lxd16:11
arosalesit inter charm communication works, agreed it is a bug, but perhaps not as huge a blocker as I initially thought16:12
kjackalarosales: I know for certain kafka start-up is failing because of this bug, petevg can confirm this because he hit this bug when reviewing the kafka charm16:14
petevgYep. Can confirm.16:15
petevgI was able to reproduce consistently, too.16:15
petevgShould I leave a comment on a ticket?16:16
=== degville- is now known as degville
arosaleskjackal: is you latest charm https://jujucharms.com/u/bigdata-dev/kafka/trusty or https://jujucharms.com/u/bigdata-dev/apache-kafka/trusty or should I build from layers?16:18
kjackalhttps://jujucharms.com/u/bigdata-dev/kafka/trusty  is the latest BT kafka16:18
kjackalyou should relate that kafka charm to openjdk and apache-zookeeper16:19
arosaleskjackal: ok16:20
arosaleskjackal: thanks16:20
arosalesI'll post my info to the bug, and I work to follow up next week with the juju team16:20
kjackalnote that you have to be fast enough (or the machine slow enough) so that the dhcp client wont finish16:20
arosalesat least its on the target milestones though just need to be sure it gets to a release soon16:20
jcastroanyone know where I can find the juju log if debug-log doesn't work?16:29
petevgjcastro: if you got to a point where a unit was deployed, you can do "juju ssh <service>/<unit>", and then look in /var/log/juju/16:31
petevgIf you don't have a working unit, you can try doing "juju deploy --debug <charm>"16:31
jcastronope, the instance launches and the container immediately stops and is removed, so I think it has something to do with provisioning the container16:31
petevgHmmm ... If you do a deploy with the --debug flag, do you get any output that hints at what might be going wrong?16:32
jcastrohttp://paste.ubuntu.com/17808709/16:34
jcastroI can launch instances just fine from the lxc command line16:34
petevgjcastro: hmmm. That looks normal to me. I'm afraid that you're bumping up against the limits of my knowledge. Does anyone else have any ideas as far as troubleshooting goes?16:37
=== frankban is now known as frankban|afk
jrwrenjcastro: what does `juju status --format yaml` say?16:41
jcastroaha!16:45
jcastromore information16:45
jcastrohttp://paste.ubuntu.com/17809286/16:45
=== CyberJacob is now known as Guest66797
=== alexisb-afk is now known as alexisb
jrwrenjcastro: but lxc launch starts an  instance ok?   i'm not familiar with lxd forkstart and how juju starts lxd instances.16:48
jcastroyeah, mannual launching works, so it's this forkstart that must be the issue16:49
jcastrohttps://bugs.launchpad.net/juju-core/+bug/157752416:49
mupBug #1577524: Error calling ''lxd forkstart juju-machine-2-lxd-0 /var/lib/lxd/containers             /var/log/lxd/juju-machine-2-lxd-0/lxc.conf'': err=''exit16:49
mupstatus 1'' <ci> <deploy> <intermittent-failure> <juju-release-support> <lxd> <juju-core:Triaged by cherylj> <https://launchpad.net/bugs/1577524>16:49
jrwrenjcastro: and the container is already gone? can you `lxc info --show-log juju-5c3262-0` ?16:50
jcastronope, the container comes up and goes away long before I can do that16:50
jcastroaha, the units log to /var/log/lxd and those are still there, going to go dig16:51
jcastrojrwren: can you pastebin me the results of your: lxc profile show juju-default16:54
jcastrothe error in the logs was a networking one related to the modified template I was using to get openstack running on lxd16:55
jrwrenjcastro: its pretty empty. http://paste.ubuntu.com/17809808/16:56
jcastrothat appears to have fixed me up!17:05
jrwrenWOOT!17:28
xiletso I have asked about this a few different ways, but I am still unclear and the documentation is.. lacking.  With juju 2.0 how do I tell a container what device(s) it can access on the hardware it is running on?  I can't find any way to tell it to use '/dev/sdb1' or allow access to '/dev/ttyUSB0' or such. I can do it with lxc but I know that is replaced with lxd.17:33
cory_fujcastro, tvansteenburgh: I'm hitting the same problem testing wiki-simple with the new mysql that I was seeing before: It's not honoring the setup: directive in the mysql charm's tests.yaml file.  That means it had nothing to do with me testing it with local: in the bundle before, because I'm using cs: now17:37
cory_fuThe "it" in this case is bundletester.  I'm wondering if it's only honoring tests.yaml from the bundle itself?17:37
tvansteenburghcory_fu: please file a bug on bt with steps to repro17:38
cory_futvansteenburgh: Actually, I jumped the gun.  The problem isn't BT.17:56
cory_fumarcoceppi: You're going to love this.17:57
cory_fumarcoceppi: Going to need another fix to mysql.  >_<17:57
cory_fuMy bad17:58
cory_fuI'm also running up against the '==' length error from `pip3 list` that's due to an older lib version in trusty which is causing 00-setup to fail.  Does anyone recall what lib caused that issue and if there's a good way to fix it?18:11
cory_fuFor reference: http://pastebin.ubuntu.com/17813844/18:11
cory_fumarcoceppi: Should I just remove this check altogether and always try to install PyMySQL?  https://github.com/marcoceppi/charm-mysql/blob/master/tests/setup/00-setup#L3318:14
cory_fu00-setup now gets called before each case (e.g., charm proof, make lint, etc) so I wanted to minimize network traffic18:15
cory_fuActually, it looks like it doesn't do network traffic if it's already present, so yes, I should just remove it18:17
marcoceppicory_fu: do what you must, I support any change18:21
cory_fumarcoceppi: https://github.com/marcoceppi/charm-mysql/pull/118:22
marcoceppicory_fu: ta18:23
marcoceppiman, I really want a post commit push process for github now18:24
marcoceppilike, commit, build/test, push to norevision/development channel18:24
cory_fumarcoceppi: Yeah, +118:25
marcoceppicory_fu: published18:25
marcoceppicory_fu: I wonder if travis could do this. Like with a travis plugin18:26
* marcoceppi investigates18:26
cory_fumarcoceppi: Huh.  Why'd it go from 52 to 54?18:28
marcoceppicory_fu: it actually was 53 at one point18:28
cory_fuNot when I looked at it.  I think you might have forgotten to publish 53.  I saw you mention that it had gone up again but still saw it at 52 and just didn't say anything18:29
cory_fuAnyway, it's sorted now18:29
marcoceppicory_fu: I also want to find a way to notify bundle owners18:32
marcoceppilike "mysql has been incremented to 54, please check yo bundles bro"18:32
cory_fuIndeed18:32
cory_fuShouldn't be very difficult.  The store has a list of bundles using a given charm rev18:33
marcoceppiyeah, and we know owners and bug urls18:34
marcoceppiI should be able to do if gh || lp - open a bug from bundlebot18:34
marcoceppifirst, figure out travis18:35
cory_fumarcoceppi: Ok, I'm super pissed at the mysql charm right now18:40
marcoceppicory_fu: y u do dis18:40
cory_fumarcoceppi: http://pastebin.ubuntu.com/17815449/18:41
cory_fuSo, the test has the max connections that it is testing hard-coded, but the bundle deploys with a different number.  So the charm test and the bundle are incompatible18:42
cory_fuActually, the bundle gives -1 so there is no way the test will work18:42
marcoceppicory_fu: which bundle, yours?18:43
cory_fuwiki-simple18:43
marcoceppiweird, shouldn't the test run the configure?18:44
marcoceppiOIC18:44
marcoceppiit's set prior to setup, so it's not executed live18:44
cory_fuSo I guess I could fix it by removing reset: false18:45
marcoceppicory_fu: this should fix it in MySQL18:45
marcoceppihttp://paste.ubuntu.com/17815662/18:45
* marcoceppi tests18:45
marcoceppicory_fu: this, I think, is the fix18:49
marcoceppihttps://github.com/marcoceppi/charm-mysql/pull/218:49
marcoceppicory_fu: going to test the bundle with my version18:49
marcoceppicory_fu: what flags are you using on bundletester?18:56
cory_fu-vlDEBUG -b bundle.yaml18:56
cory_fumarcoceppi: I also have these changes pending: http://pastebin.ubuntu.com/17816358/18:57
cory_fu(The seemingly no-ops are eol-whitespace deletes)18:58
marcoceppicory_fu: I have a few as well18:58
cory_fumarcoceppi: Still getting the max connections error18:58
cory_futvansteenburgh1: Is there a way to make BT not delete the tmp directory for a charm being tested as part of a bundle so I can verify it's using the right change?18:59
cory_fuI guess I can breakpoint18:59
cory_fuOdd.  Second time through (with already deployed charms, to add the breakpoint), it passed the config check.  grr19:01
lazyPowercory_fu - https://hub.docker.com/r/jujusolutions/charmbox/builds/byulnqrh6s44sovbabborg/  new charmbox:devel is being built from your branch work. Thanks for submitting that19:04
cory_fulazyPower: Sweet.  I'm looking forward to not having to manually install bundletester and make every time now.  ;)19:04
cory_fu(Not that they work with the current betas >_<)19:05
lazyPowercory_fu - make sure it got everything you wanted... i had to manually merge due to conflicts19:05
cory_fuo_O19:05
lazyPowerwell, you targeted master not devel19:05
lazyPowerthen left explicit instructions this was to be applied against devel19:06
lazyPowersoooo *throws confetti*19:06
cory_fuOh noooooooooo!19:06
lazyPowerdo i need to back this out?19:06
cory_fulazyPower: I said it should *replace* devel, not merge into it!19:06
lazyPowerah ok19:06
lazyPowerwelp easy enough19:06
lazyPower1 sec incoming fix, disregard that build as its garbage19:06
cory_fu:)19:06
cory_fulazyPower: The whole point of that commit is to keep the devel branch as *exactly* 1 commit different from master.  Then, any changes that need to happen should go in master and the devel branch is then rebased against master19:07
lazyPowerno i got the principal19:08
lazyPoweri just botched the instructions19:08
cory_fuOk, sure19:08
cory_fuBut yeah, my intention was just to delete the whole of the current devel (or move it to old-devel if you want to preserve it for some reason) and replace it with the new-devel19:08
lazyPowerhttps://hub.docker.com/r/jujusolutions/charmbox/builds/bnoyhnumjzrrrfp2gn3emiy/19:10
lazyPowerthat should make a bit more sense then :)19:10
cory_fulazyPower: Build failed.  :(19:11
cory_fuVery strange19:11
cory_fumarcoceppi: I'm getting intermittent failures on that stupid max connections test.  :(19:12
marcoceppiof all the stupid configuration options to test, it has to be /that one/19:12
lazyPowercory_fu pip install directive failed19:12
lazyPoweri'll pull it local and get it building before we submit to the builders again19:12
marcoceppicory_fu: I'm waiting for my tests to finish, then I'm going to make better tests19:13
marcoceppicory_fu: I don't need to test that MySQL knows how to handle max connections, I just need to test the damn file got written19:14
cory_fuYeah, +119:14
marcoceppimake tests great again19:14
cory_fumarcoceppi: Mind if I just hand wiki-simple off to you, then, so I can get back to some Bigtop stuff I've been neglecting?19:15
marcoceppicory_fu: uh, sure19:15
cory_fuSo confident.  :p19:15
cory_fumarcoceppi: Actually, I'll go ahead and update wiki-simple with mysql-54 without reset: false so that you don't have to worry about the bundle19:17
marcoceppicory_fu: don't we want reset: false?19:19
marcoceppiI know I do19:19
cory_fuYeah, we do, because it'll make the bundle tests faster19:20
cory_fuAlso, I'm pretty sure that max-connections test is racey anyway, so nevermind, I'll leave the bundle to you after all19:21
cory_fuOr you can just let me know when you've fixed up mysql and I'll update the bundle then19:21
cory_fuWhatever19:21
marcoceppicory_fu: cool19:25
lazyPowercory_fu - it appears upgrading pip befor einstalling the deps resolves the build failure19:32
=== scuttlemonkey is now known as scuttle|afk
magicaltroutblimey20:49
magicaltroutits taken all day to figure out how to make the DC/OS masters scale dynamically20:49
magicaltroutbut i think I've finally solved the problem20:49
magicaltrout\o/20:49
lazyPowermagicaltrout nice :)20:49
magicaltroutthey make their configs immutable20:50
lazyPowernot an easy task from what i've gleaned20:50
magicaltroutwhich is a *right* pain in the backside20:50
magicaltrouttheir offical advice if you want to add more masters is to tear down what you have and rebuild20:50
lazyPowerseriously?20:50
magicaltroutyeah20:50
lazyPowerwelp, i'm happy we wont have that in the README20:51
magicaltroutbut your masters should be pretty static, so its not a huge deal20:51
magicaltroutbut20:51
lazyPowerthree cheers for magicaltrout20:51
magicaltroutif your nodes fail and stuff20:51
magicaltroutthen eventually you'd run out of masters20:51
lazyPowerare they not running any kind of consensus on the leaders?20:51
lazyPowerk8s has the same limitations, but its trivial to add a replica of the apiserver/scheduler-manager20:52
magicaltroutits probably an *enterprise* feature ;)20:52
lazyPowerin our current model the only downside is the PKI20:52
magicaltroutalthough i've not found it their either20:52
magicaltroutbut its only a bunch of zookeeper backed stuff20:53
magicaltroutso i'm not sure why its so static20:53
magicaltroutsurely thats part of the point of ZK?20:53
lazyPowerThat sounds right, but ive only interfaced with ZK in terms of big data deployments, and didn't fully understand what it brought to the table20:54
magicaltroutits just distributed configuration management, nothing special but makes sure all your nodes stay in sync20:59
magicaltroutwhich these days is pretty important20:59
magicaltroutalso though with DC/OS they have something called Exhibitor21:00
magicaltroutwhich appears to come from netflix21:00
magicaltroutwhich seems to ensure ZK is running and stuff21:01
magicaltroutwhich seems a bit weird21:01
cory_fujcastro: So, I've updated wiki-simple with the latest mysql and verified the tests all pass.  I see that cs:~jorge/bundle/wiki-simple (stable) has Write: charmers (because it was promulgated) but only you have read or write perms to the unpublished channel, so you'll have to push (or grant to me or charmers)21:01
magicaltroutits like the old who's monitoring the monitoring scenario21:01
marcoceppijcastro: where is the upstream source for wiki-simple? did you make a gh repo for it?21:01
cory_fumarcoceppi: Yes21:01
cory_fumarcoceppi: https://github.com/juju-solutions/wiki-simple21:02
marcoceppinice21:02
magicaltrout20GB of Virtual Box VMs to debug dcos locally21:04
magicaltroutgood job I bought a new laptop21:04
magicaltroutcory_fu / lazyPower help me out its been a few weeks. I need a list of all IP's for a service21:07
magicaltroutI also need to update all units in my service if a new unit is added21:07
magicaltroutin python/reactive21:07
magicaltroutcan you point me at some code21:07
magicaltroutor anyone else....21:13
cory_fumagicaltrout: If I understand you correctly, you want something like https://github.com/juju-solutions/interface-zookeeper-quorum/blob/master/peers.py#L39 (ignore dismiss_joined, that's a bad pattern and should be removed) or possibly something like https://github.com/juju-solutions/interface-namenode-cluster/blob/master/peers.py#L4921:14
cory_furesolve_private_address is defined here: https://github.com/juju-solutions/jujubigdata/blob/master/jujubigdata/utils.py#L42721:14
cory_fuhookenv.unit_private_ip() is poorly named because it usually won't actually return an IP, but sometimes will21:15
magicaltroutah yeah the freaky conversations stuff i  remember now21:15
cory_fumagicaltrout: Usage would be something like https://github.com/juju-solutions/bigtop/blob/zookeeper/bigtop-packages/src/charm/zookeeper/layer-zookeeper/lib/charms/layer/zookeeper.py#L7021:16
magicaltroutokay and to keep it all in sync i don't need to wire it up, i just need to check for changes i guess21:16
cory_fuThough the RelationBase stuff would be better served by getting your instance from a @when decorator21:16
cory_fumagicaltrout: Checking for changes like https://github.com/juju-solutions/bigtop/blob/zookeeper/bigtop-packages/src/charm/zookeeper/layer-zookeeper/reactive/zookeeper.py#L5021:17
magicaltroutyeah thanks a lot cory_fu21:18
magicaltroutlooks spot on21:18
cory_fumagicaltrout: Sorting of lists is important with data_changed, FYI21:18
magicaltrouthmm k21:18
cory_fuGlad I could help.  I'm about to head out, tho, so further questions will have to be directed at kwmonroe ;)21:18
magicaltrouti can sort ip addressed like usual ?21:18
magicaltroutaddresses21:19
cory_fuSure21:19
cory_fuIf you're curious how data_changed works, it's pretty simple: https://github.com/juju-solutions/charms.reactive/blob/master/charms/reactive/helpers.py#L16821:19
magicaltroutcool, kwmonroe is about as useful as a chocolate fireguard....21:19
cory_fulol21:19
kwmonroemmmm, chocolate21:19
magicaltrouthehe21:19
magicaltroutalright, i should be good, i've used that pattern somewhere else so i should be able to figure it out21:20
magicaltroutthanks cory_fu21:20
magicaltroutfinally get this stuff pushed to the charm store21:20
magicaltroutbefore my country goes bankrupt and our internet turns into  something akin to north korea21:21
lazyPower#brexitproblems21:23
magicaltrouthehe21:23
magicaltrouti'm  moving to scotland21:24
lazyPowerI think i'm going to aim for Nova Scotia, and wherever I land in between will be fine with me.21:24
magicaltroutor sealand.... lazyPower i  could take over sealand and you could be my only minion whilst i'm king of the fort21:25
lazyPoweri mean, sure, but i'm a terrible minion21:25
magicaltrouthehe21:25
lazyPoweri'm a minion with megalomania21:25
magicaltrouti do like Nova Scotia21:25
magicaltrouti'm reigniting the discussion of moving with the mrs whilst she's in a state of wild depression over whats happened ;)21:25
magicaltroutCanada is great plus their PM is cool  and  knows his shit21:26
lazyPowerIt certainly is putting uncertainty in my moving plans as well21:26
magicaltroutthat said, I did like the  Obama / Fallon slow jam the other day21:26
lazyPowerI was going to head over to the UK and AirBNB it for a month or two closer to fall...21:26
magicaltroutthat would be so bad in the UK21:26
magicaltroutlazyPower: in all honest  unless the bottom falls out of the economy nothing will happen  for ages21:27
magicaltroutso i wouldn't worry about changing  plans, just worry about the exchange rate ;)21:27
magicaltroutalthough technically today I got a 10% pay rise on NASA stuff without doing  anything :)21:28
lazyPowernice ^521:29
magicaltroutand there is another  devops day in Ghent I'm  sure jcastro would like you to attend in October ;)21:29
lazyPowermagicaltrout - if you dug arctic life, i'm jammin out a playlist i made in the seattle airport lounge now. http://24.3.228.120:8000/listen.m3u21:31
magicaltrouthold on , i shall stab some buttons and have a listen21:34
lazyPowerbuttonstabbing++21:34
magicaltroutyou're either giving me an incorrect  ip or you're behind a firewall21:36
magicaltrouti lie21:36
magicaltrouti can't type21:36
lazyPowernah my girl is connected on that link. should be g2g if you're plugging it into a shoutcast compliant player21:36
lazyPoweri'll have to make it a point to setup the pirate radio again so its got an html5 player21:37
magicaltroutcool i'm  in21:38
magicaltroutsuch a pain in the balls that Sonos doesn't let  you add new radio stations on a phone/tablet else I'd have you streaming over my hifi ;)21:40
lazyPowerI hear ya. I just tore down all my audio gear in the house. I was kind of weepy when all that started coming down, because it got really real at that point.21:52
magicaltroutawww21:53
magicaltroutkwmonroe: i might have been a big harsh earlier... i need a tip ;)21:53
magicaltroutcory pointed me to that peer releation side of the interface, and my understanding of relations is master <-> slave type stuff, but I'm after all the IP addresses of the units in the same service not related to each other via add-relations21:58
magicaltroutjust units that coexist via add-unit21:58
lazyPowermagicaltrout - so does the charm have a peer relationship? if so, you can scrape it from that. Thats the only way you'll get all service IP's of deployed charms units.  I do something very similar in the etcd 'cluster' interface.22:00
magicaltroutwell thats what cory pointed me to, but as I don't relate anything I'm not sure how that would work22:00
magicaltroutfor example, juju deploy dcos-master22:00
lazyPowerpeering is implicit when you add-unit. they automagically get that relationship added.22:00
magicaltroutjuju add-unit dcos-master22:00
magicaltroutah22:01
magicaltrouthmm22:01
lazyPoweralso running support between cuts :P22:01
magicaltrouthehe22:01
* lazyPower flex's22:01
magicaltrouttold you kwmonroe was as much use as a chocolate fireguard22:01
lazyPowerbetween you and cory_fu he gets that all the time22:01
magicaltrouthehe22:01
magicaltroutfirst christmas related email of the year \o/22:03
lazyPowerin june?22:04
lazyPowerlolwut22:04
magicaltroutyup22:05
magicaltroutit has santa on and everything22:05
kwmonroehello magicaltrout.  i trust i've left you waiting long enough.  watch the harshies next time.  anyway, the zk quorum relation that cory pointed you to should be what you need.. https://github.com/juju-solutions/interface-zookeeper-quorum/blob/master/peers.py#L3922:06
magicaltroutyeah i didn't realise there was an auto peer relationship in the background22:07
magicaltroutmystery solved22:07
kwmonroeand like lazyPower said, it's implicit, so you'd create a method on that relation that returned a list of all peer ip addrs22:07
kwmonroeah22:07
kwmonroewell, i shall stop re-explaining :)22:07
kwmonroealso, it's important to note that "auto peering" may not always work.. the charm that you want to peer needs to specify a peer relation in its metadata.yaml.22:08
kwmonroe... which corresponds to an interface with a peers.py, etc, etc, blah, blah.22:09
magicaltrouti love the way everyone at canonical always caveats anything i ever want to do with "may not always work" :P22:09
kwmonroewhy can't you just be happy with mediawiki?  you're always throwing new wrenches and acronyms in our shiny.22:09
magicaltrouthehe22:10
magicaltroutwell i'm on a mission to finish off a bunch of the ones i've started22:10
magicaltroutsaiku will be done as soon as we ship 3.9, DCOS just needs master <-> master support, PDI just needs Hadoop pluggability22:10
kwmonroeand, to be clear, when i said it "may not always work", what i should have said is "it will never work unless your charms has a peer relation in the metadata.yaml; it will always work easy peasy if you do it right."22:11
magicaltrouttime to clean up all the charms i've started22:11
kwmonroenice!22:11
kwmonroelmk if/when you're hooking pdi up to hadoop.  we can walk through the hadoop-plugin relation, which will probably just work right out of the box. ;)22:12
magicaltrouthehe.  Yeah I need to investigate the PDI side of it. Pentaho devs say "oh you just add the libs", personally i'm more pessimistic22:12
magicaltroutwe shall see22:12
kwmonroecool22:12
lazyPowerafter this list i'm going to drop into some new stuff i picked up from Pooldor (a belgium artist who'm i've become quite infatuated with recently)22:13
magicaltroutnot.... artist infactuation!22:13
lazyPower*Poldoore22:13
kwmonroelazyPower: i've hacked into your m3u.  thanks for the tunes this fine friday!22:13
magicaltrouthehe22:14
lazyPowerkwmonroe aww yeee bruddah22:14
lazyPowerglad you could make it22:14
magicaltrouti'd also like to port scispark in the not too distant future kwmonroe to try and entice the JPL guys a bit mor22:15
magicaltroute22:15
kwmonroesweet magicaltrout!  maybe they'll give you another raise ;)22:16
kwmonroeit's what 'merica does when we feel bad for other countries.22:16
magicaltrouthehe22:16
magicaltrouti'll speak to donald22:16
magicaltrouthe's up in scotland making a tit of himself22:16
kwmonroelol.  i expect nothing less.22:17
magicaltrouttold the scottish that its a  great day for the uk when scotland backed staying in the EU massively22:17
magicaltroutgood work Donald!22:17
magicaltroutliking this track lazyPower22:27
magicaltroutgood work22:27
lazyPowerAll Poldoore my friend. no lazy intervention on this perfection22:27
magicaltrouthehe22:28
lazyPowerby far an away my favorite jam he's done22:32
lazyPowerthis rocks my car on every road trip in 2016 so far :)22:32
magicaltroutyeah this is some cool stuff, i'll be looking it up next week22:33
magicaltroutthats part of the problem working at home22:33
lazyPowerThanks for letting me share :)22:33
magicaltrouti have music on all day22:33
magicaltroutfinding new stuff is always hard22:33
lazyPoweri really do dig getting to alienate people with my taste in music22:33
magicaltrouturgh monday sucks, trip into london and a 9pm SFO meeting22:35
magicaltrout*bork*22:35
magicaltroutoh well tunes for the train at least!22:36
lazyPowerhttp://poldoore.bandcamp.com/22:37
lazyPower;)22:37
lazyPoweri should get an affiliate link, get me on the insider track to getting pre-release jams22:37
magicaltroutright i'm offski, got some cricket to umpire in the morning... I know you americans don't understand that concept....22:52
magicaltroutthanks for the tunes lazyPower!22:52
lazyPowerThanks for tuning in magicaltrout o/ have a good weekend22:53

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