/srv/irclogs.ubuntu.com/2016/08/30/#juju.txt

stubmarcoceppi: You are infecting layer.yaml with that awful json schema stuff? Is there some gui that needs to drive this?00:15
marcoceppistub: no, but build time validation is still quite valuable00:46
marcoceppiand this has been in charm-tools for quite a while ;)00:47
stubT_T00:51
marcoceppistub: either way, we can't have layers hoping keys will exist, or throwing run time errors during deploy, jsonschema makes it so we can validate layer configurations at build time, before a deploy even happens00:52
marcoceppistub: just trying to make sure WE HANDLE THE UNEXPECTED00:52
stubyeah, I just hate the spec. I mean, your schema *could* just be an example snippet that is decoded and introspected for all the type information you need. But nooo, lets repeat the mistakes of the past like XML schemas.00:55
=== natefinch-afk is now known as natefinch
=== thumper is now known as thumper-afk
=== lifeless_ is now known as lifeless
kjackalHello Juju World!06:34
=== frankban|afk is now known as frankban
=== TheRealMue is now known as TheMue
magicaltroutstub: ping08:14
=== thumper-afk is now known as thumper
stubmagicaltrout: pong08:42
magicaltroutah hi stub sorry to bother you had a quick nagios question for my demo tomorrow, I was hoping you might be able to shed some light on08:44
magicaltrouthttps://github.com/buggtb/dcos-master-charm/blob/master/reactive/dcos_master.py#L20008:44
magicaltroutdoes that look correct to you?08:44
magicaltroutit seems to execute fine08:44
magicaltroutbut Nagios never picks up the service08:44
stubI use the nrpe-external-master relation, so not sure if that has anything to do with it.08:45
stubI also tend to use charmhelpers, rather than the helper on cmars' interface08:45
magicaltrouthttps://pythonhosted.org/charmhelpers/api/charmhelpers.contrib.charmsupport.html08:46
magicaltroutthat one?08:46
stubyes, buried way down in contrib. That one.08:46
magicaltroutokay08:46
magicaltroutcool08:46
magicaltroutthanks08:46
magicaltroutI see all you lot using the external interface but for the demo I'd like to keep it all inside one model if possible08:47
stubmagicaltrout: I can't see anything obvious wrong with yours. It seems wired up the way I think it is supposed to be if you are using the interface.08:49
magicaltroutyeah it seems like there is no rsync action08:49
magicaltroutnever mind I'll keep prodding08:49
stubI'm no nagios expert. I just got sick of seeing the same boilerplate everywhere and decided to not perpetuate it.08:50
magicaltrouthehe08:50
PCdudeany MAAS users/experts here, the MAAS channel itself has been dead the last 12 hours08:53
magicaltrouti fiddled with it for the last couple of days08:53
magicaltroutso I'm not an expert08:53
magicaltroutbut i did get bits of it working08:53
PCdudewhich version did u used?08:54
magicaltrout2.0-Rc208:54
PCdudeyeah, the 2.0 version is good, but since the JUJU version is still in beta I decide to use the 1.9.4 version on ubuntu 14.0408:54
magicaltroutI've used 2.0 since the juju alphas08:55
magicaltroutso I'm well past that stage ;)08:55
PCdudeare u telling me that u got JUJU and MAAS working together with MAAS 2.0-RC2?08:56
magicaltroutdepends what you call working08:56
magicaltroutno I didn't but only because of Virtualbox sucking08:56
magicaltroutbut yeah it was bootstrapping etc08:57
PCdudewell, still the whole openstack with landscape shit, which needs JUJU and MAAS08:57
PCdudeI tried the 2.0-RC2 but with an older version of JUJU, maybe the latest beta with that MAAS version might work08:58
magicaltroutyou have to use 2.0 with 2.008:58
magicaltroutand 1.x with 1.908:58
magicaltroutbut my personal opinion is that juju 2.0 is around the corner so I might as well use the beta's and put up with a few bits changing08:58
PCdudesorry thats what I meant, I used the JUJU beta4 or beta7 I thought with the MAAS 2.008:58
magicaltroutand its worked out for me so far08:58
magicaltrouton a fresh xenial juju beta15 should be current08:59
magicaltroutafaik08:59
magicaltroutand on a fresh xenial maas 2.0 is certainly the default08:59
magicaltroutanyway.... what bit didn't work?08:59
PCdudeyeah, also what I have seen08:59
PCdudehttp://askubuntu.com/questions/817572/openstack-fails-to-install-caused-by-juju/818310#81831008:59
PCdudein that question u can see the whole error , its a nice one haha09:00
PCdudeI could try the older 2.0-rc2 version of MAAS, maybe that could work09:00
magicaltroutdunno. I was just spinning up nodes with MAAS and Juju and that was fine09:01
magicaltroutI've not used conjure up etc09:01
PCdudeyeah, conjure-up is the only option for openstack with landscape09:02
PCdudeany idea when JUJU is coming out of beta?09:02
magicaltroutsoon09:02
magicaltroutits been in beta for ages09:02
magicaltroutso it can't be that long :P09:02
PCdudeI hope soon too, there is a summit this week, so maybe that helps a bit09:03
magicaltroutwell we're all off to pasadena in a couple of weeks09:03
magicaltroutfor a juju summit09:03
magicaltroutits coming along, but there is a lot of tooling that needs bringing into line09:03
PCdudeah ok, fingers crossed :)09:04
magicaltrouti'll swap09:06
magicaltroutyou fix my nagios relation09:06
magicaltroutand I'll sort out your open stack ;)09:06
magicaltroutoh and write my slides for tomorrow please09:06
PCdudedeal!09:07
PCdudemagicaltrout:  what slides do u have to make for tomorrow?09:13
PCdudefor a JUJU summit? or just regular work09:14
magicaltrouthttp://sched.co/7n8J09:15
PCdudelooks good, u want me to hand ur slides before it starts ;) haha09:15
magicaltroutI always leave talk stuff to the last minute09:16
magicaltroutnow I'm cramming :)09:16
PCdudesounds good, I am a last minute person too, most of the exams 80% was learned in the night beforehand haha09:18
magicaltrouti failed uni 3 times09:18
magicaltrouti didn't do any learning ;)09:18
PCdudewell nothing at all is mostly not that good for ur grades, but u succeeded the 4th time?09:18
magicaltroutno09:19
magicaltroutI gave up and went to work09:19
PCdudeI have a n00b question, how do I check if postgreSQL is running?09:19
magicaltroutI did fine in all the practical stuff, I just hate sitting in lectures09:20
magicaltroutwhich is ironic because I enjoy talking to people about software09:20
PCdudewhy? go to a night uni or something, or become steve jobs and make millions09:20
magicaltroutI don't need a degree I've been working in IT for 10 years, it pretty much covers it09:20
PCdudeno degree problems with ur boss?09:21
magicaltroutinfact, CS degrees a decade ago would have got you pretty much nowhere in real life09:21
magicaltroutI'm a self employed contractor for NASA, so I am my own boss09:21
PCdudeCS stands for...09:21
magicaltroutcomputer science09:21
PCdudecontractor for NASA, cool! what u do for them?09:21
magicaltroutDevops and data management platforms09:22
=== ant_ is now known as Guest58751
PCdudeah ok, u gonna tell me when they bring aliens back right? ;)09:22
magicaltroutironically, I don't do much space stuff, scientific and data research projects mostly :)09:23
PCdudeI study Electrical Engineering, but I find computer science more interesting at the moment, so yeah weird guy am I09:23
magicaltroutthere is certainly plenty to learn in computer science, the data processing and ops platforms have all changed wildly in the last 5 or so years09:24
PCdudeyeah true, I started with programming and have some degrees with cisco, but when I heard about openstack I jumped on the linux train and try to learn it as fast as I can09:26
PCdude*certifications09:26
magicaltroutopenstack certainly has a lot of traction09:27
magicaltroutpersonally I'm more interested in Mesos type stuff09:27
magicaltroutto run containers across hardware09:27
PCdudeah ok, a bit like docker as I can see?09:28
magicaltroutindeed09:28
magicaltroutmost of it is docker09:28
magicaltroutbut the underlying stuff to manage containers is interesting, stuff like Mesos, Kubnernetes etc09:29
magicaltroutwhere you can say "here's my server pool, run my containers in the best possible way"09:29
magicaltroutand off it goes09:29
PCdudesounds cool! would u prefer that above openstack?09:29
magicaltroutwell yeah, but each serve a different purpose09:30
magicaltroutlike the project we're working on at NASA currently is genomic research search and discovery platforms, it makes sense to have a bunch of docker containers each with different components in09:30
magicaltroutand it works great because developers can deploy the identical stack locally as in production, dev or wherever09:31
magicaltroutbut then in production we can leverage a cluster of servers and deploy docker stuff across a data center09:31
PCdudeof course that is true, imo openstack is more widely, I mean u can add LXD or docker too, but u can also use KVM or VMware ESXI09:31
magicaltroutand its easier and more lightweight than running all of the openstack stuff and then containers or services over the top of that09:31
magicaltroutopenstack might be, but i suspect kubernetes probably isn't too far behind it09:32
PCdudeand kubernetes is more an all in one solution?09:33
PCdudeI mean, the big con for me concerning openstack is the million packages u need09:33
magicaltroutits a docker management system originally by google09:33
PCdudefree?09:34
magicaltroutits not entirely all in one09:34
magicaltroutand hard to setup, but luckily.....09:34
magicaltrouthttps://jujucharms.com/observable-kubernetes/09:34
PCdudelong live JUJU haha09:35
magicaltroutand if you're around in the afternoon lazypower hangs out here who maintains a bunch of it09:35
magicaltroutbut that gives you kubernetes and monitoring09:35
PCdudecool, I am not here in the afternoon sadly...09:36
PCdudeyeah, the problem is, I would like a little more freedom, I would like to set something up like a private cloud like the amazon aws09:37
PCdudeand afaik, openstack is coming closest to that rn09:37
magicaltroutyup09:37
magicaltroutwell I know plenty of people have had success using openstack on conjure up, so someone will know the answer to your problems09:38
PCdudeyeah, I am currently hunting for those people, since the project itself is young ,the amount of experts is small too09:38
magicaltroutthis is true09:38
PCdudeI have searched the internet, but for a private version of amazon aws the only option is openstack right? I mean there are no other solutions (that is reachable for a student)?09:40
magicaltroutnot that i'm aware of09:40
magicaltroutI don't pay much attention to that space, but openstack is the only main one I see on twitter etc09:41
magicaltroutalthough I might live a sheltered existence, who knows09:41
magicaltroutlets face it though, clouds are complex :)09:41
magicaltroutthey will all have their own quirks09:41
PCdudeoh so damn true! I am just a student with to much drive to get it to work, but I have put in an fair amount of time already, and nothing is working yet09:42
magicaltroutdon't worry i know that feeling, I've been working on Kerberos based authentication for a webservice for NASA for the last week, where I have no access to the Active Directory server, stuff doesn't work and I don't know why and the Java libraries used are so old the source doesn't exist any more and I had to decompile them09:44
magicaltroutwe've all been there ;)09:44
magicaltrouteventually for whatever reason stuff starts working09:44
PCdudejava, yuck! please, lets just decide for the sake of the human race to through that ugly one of the earth09:45
PCdude*throw09:45
magicaltroutI quite like java, mostly cause its the one thing I learnt at uni09:46
magicaltroutbut for data applications, its pretty important these days09:46
PCdudeyeah, I understand, but all the security bugs with the application for the normal home user is insane09:47
PCdudethe same holds for adobe flash player09:48
magicaltroutsomeone else mentioned that a few weeks ago09:49
magicaltroutso I showed them this09:49
magicaltrouthttp://security.stackexchange.com/questions/57646/why-do-i-hear-about-so-many-java-insecurities-are-other-languages-more-secure09:49
magicaltroutwhich makes some pretty good points09:49
PCdudegood point09:53
PCduderead most of it09:53
PCdudeyeah, I never used java in that way and only see the problems with the plugin09:54
PCdudethat is a good point about the memory overflow though09:54
magicaltroutjava in a browser is a terrible experience09:54
magicaltroutno one denies that ;)09:54
PCdudewell honestly, I dont think java is the only problem when looking at the plugin. I think windows itself is build pretty bad too09:55
PCdudealthough they are making progress09:55
PCdudesandboxing should be almost compulsory these days09:56
magicaltroutwhich is basically what Snaps do for package management on Linux systems09:56
PCdudeindeed the point I was trying to make, I convinced my parents to switch from windows to linux a few months ago09:57
PCdudeit took 2 years, but its good now09:57
PCdudebasically the only problem for most people is microsoft word/excel/pp09:58
magicaltrouttrue09:58
PCdudeI am really curious though, what is gonna happen with the vulcan game engine10:00
PCdudesome big names are making games for it now (at least that is what they say)10:00
PCdudethe footprint of linux is smaller and could push up the FPS, maybe some of the gaming community will switch to linux10:00
magicaltroutprobably depends if steam keep up the linux support10:02
PCdudetrue that10:02
PCdudehow are the slides going?10:02
PCdudebtw, what country do u live in?10:03
magicaltroutUK10:03
magicaltroutI'm on 17 of 2210:03
magicaltroutthey're getting there :P10:03
magicaltroutalthough I need to go to the opticians this afternoon and drive to heathrow10:03
PCdudewait, did we talked yesterday too? I am bad with those names so sorry if yes10:04
magicaltroutlol10:04
magicaltroutyeah we did10:04
PCdudesorry then haha10:05
PCdudewhat program are u using for IRC?10:06
magicaltroutI just irssi running on a remote server10:07
magicaltroutmost of my life is spent inside bash terminsals, I don't see why irc would be any different10:07
PCdudeah ok, I use https://kiwiirc.com10:08
PCdudeI know IRC for some time now, but have only been using it for 1 week now10:08
magicaltrouti have a 15 year headstart on you :P10:09
PCdudeit is grandpa ;)10:09
magicaltrouti am old...10:10
PCdudeyeah, but I could use a 15 year knowledge head start rn haha10:11
magicaltroutit does occasionally have some benifits being old10:12
admcleod_like spelling10:12
magicaltroutpfft10:13
admcleod_;)10:13
PCdudeI am dutch, so no spelling rules applied to me :D10:13
magicaltrouti still struggle to read teh screen admcleod_ post LASEK, luckily I have you to back m up! :P10:14
admcleod_GOOD POINT10:14
* magicaltrout ignores admcleod_ and returns to slide writing10:14
PCduderead the screen? what happened?10:14
magicaltrouthad laser eye surgery PCdude10:15
admcleod_now he has laser eyes10:15
admcleod_peow peow10:15
magicaltrouthehe10:15
PCdudemay the force be with u10:17
* D4RKS1D3 Hi everyone10:21
magicaltroutgaa10:39
magicaltroutstupid nagios10:39
magicaltroutwhat on earth am i doing wrong10:39
PCdudegood luck, with pulling out hair magicaltrout :)10:39
PCdudeI am off to work10:39
magicaltrouthehe10:40
magicaltroutcya10:40
PCdudeI will be here tomorrow, probably praying for an answer too haha10:40
magicaltroutstub: am I being a moron? to get nrpe checks registered in nagios, do you have to include monitors.yaml?10:53
magicaltrouti'm struggling to digest the nrpe readme10:53
magicaltroutor cmars10:53
stubI haven't used monitors.yaml, so I know it works without it. But it might be something to do with local-monitors vs. nrpe-external-10:54
magicaltroutsad times10:54
magicaltroutfair enough10:54
stubBest I can tell, local-monitors was intended to replace nrpe-external-master but never gained traction. I don't know who was pushing that.10:55
stub(this is all antique)10:55
marcoceppimagicaltrout stub local-monitors pre-dates nrpe-external-master, it's goal was to provide an agnostic way to describe what to monitor that could be implemented by nrpe or zabbix or any other tool12:27
magicaltroutyeah12:27
marcoceppiinstead of having tens of interfaces for each monitoring tool, you just have one12:27
magicaltrouti was hoping for something plug and play for tomorrow12:28
marcoceppinow that we have interface layers, it'll probably be way easier to implement12:28
magicaltroutbut failed12:28
marcoceppibut it's not anything that has traction12:28
magicaltroutso hacked the result12:28
marcoceppiFWIW, local-monitors even predates my involvement with Juju12:28
magicaltroutand you're bloody ancient12:28
marcoceppiI know >.>12:28
magicaltrouthttps://docs.google.com/presentation/d/1UGuGfU7nuJISaAEIFZ_5lm1o0o010kpdm0HMBF8jvMo/edit?usp=sharing12:31
magicaltroutcast your eye over them marcoceppi when you get bored12:31
magicaltrouti need to fill 50 minutes with slides and a demo12:31
magicaltroutlet me know if I've missed anything obvious12:31
marcoceppimagicaltrout: there's a few empty slides at the end ;) but presentation flows well12:35
magicaltroutyeah, that bit I do know :P12:35
magicaltroutjust doing some lunchtime hacking to try and iron out a few demo kinks12:35
marcoceppicool cool, loog great so far12:35
magicaltroutvirtualbox won't play ball and let me demo maas which is a bit sad12:36
magicaltroutbut don't kill my instances mid presentation tomorrow please :P12:36
marcoceppimagicaltrout: hah, I'll keep an eye out for anything with dc/os and make sure not to reap them12:37
marcoceppihey stub, had a qustion for you on layer-apt12:38
stubyo12:38
marcoceppistub: are there plans to add something like charm.apt.does_this_package_even_exists12:39
marcoceppibac Makyo charm build is fixed for your charm now12:39
bacmarcoceppi: cool, thanks!12:40
stubmarcoceppi: Sure. I'd like the API fat enough that all the apt stuff in charmhelpers.fetch can be deprecated.12:41
stubmarcoceppi: But with better naming than doesthis_package_even_exist :-P12:41
marcoceppistub: yeah, wasn't sure a name, just wanted to convey the concept12:41
marcoceppiI've got a situation in the php-fpm charm where packages exist in trusty as php5-<name> but don't in xenail as php-<name> because they're builtins now in php712:42
stubmarcoceppi: The other option is delegating that to the existing apt package, but that seems to suffer from poor docs.12:42
marcoceppistub: so if I ask to queue_packages and it doesn't exist will the apt layer error?12:42
stubmarcoceppi: yes, the apt layer will error. Ignoring errors by default is one of charmhelpers.fetch's mistakes IMO12:43
marcoceppistub: makes sense12:43
marcoceppiI'll open a bug12:43
cmarsmagicaltrout, this may help: https://paste.ubuntu.com/23111690/12:43
bacmarcoceppi: worked!12:43
stubmarcoceppi: In this case, I would do 'if trusty then:' rather than 'if package in available_packages'. Because then the dead code is easily removed when trusty eols12:44
marcoceppistub: well, the package name is not defined by me, it's defined by the person including the upper layer12:44
magicaltroutoooh12:44
magicaltroutvery handy cmars12:45
magicaltroutthanks a bunch12:45
stubactually, it won't error. it will block with a status message informing you of the problem.12:45
marcoceppistub: for example php-modules: ['mcrypt', 'mbstring', 'mysql']12:45
marcoceppiphp5-mbstring exists, but php-mbstring in xenail doesn't, as an example12:45
cmarssure thing12:45
stubmarcoceppi: ok. So for now, I think it is 'if package not in charmhelpers.fetch.apt_cache()'. And a bug on the apt layer, since there are other use cases too.12:47
marcoceppistub: cool, thanks for a path forward12:49
magicaltroutoooh actually that'll be killer if it works13:08
caribouHello, I have a layer question : when using the basic layer & adding options: basic: packages: ['blah'], should I expect the 'blah' package to be installed when the charm is deployed ?13:08
magicaltroutI can nagios up my dcos master13:08
magicaltroutnagios up my nginx test container in the charm code13:08
magicaltroutyeah caribou13:13
cariboumagicaltrout: ok, thought so; thanks!13:13
magicaltroutlazyPower: just the man you'll know this, if I do, juju remove-application ...13:14
magicaltroutcan I fire a reactive hook inside that charm itself?13:14
marcoceppimagicaltrout: typically, the stop hook is called during remove-application13:14
lazyPower^13:14
marcoceppibut that's not the /only/ reason stop may fire13:14
lazyPowerhowever, you also get any relationship broken/departed hooks13:14
marcoceppiI don't think there's a clear "tear down" hook, but maybe we should have one13:14
magicaltroutboo13:15
magicaltroutI would like a "I've removed my docker container" hook13:15
magicaltroutbut fired from the container charm13:15
magicaltroutnot from the dcos-master charm13:15
marcoceppimagicaltrout: well couldn't you do that in relation-broken ?13:15
magicaltroutdunno13:15
magicaltroutthats why i was asking13:15
marcoceppithat's where I'd put it13:15
magicaltroutdo they fire within the charms that you tear down?13:15
marcoceppiyup13:16
marcoceppijuju basically "undos" what you do13:16
magicaltroutthat'll do nicely then13:16
marcoceppiso if you have a relation and you remove one side of that, the relation-departed/broken hooks fire in addition to the units being torn down13:16
marcoceppilazyPower: I think I found a focus that's more "smoke test" applicable13:18
lazyPowermarcoceppi - meet you in the batcave?13:20
marcoceppiomw13:20
=== Anita is now known as Guest55756
Guest55756Hi, getting error while deploying juju-2.0beta1613:31
Guest557562016-08-30 05:59:48 INFO juju.cmd supercommand.go:63 running jujud [2.0-beta16 gc go1.6.2] 2016-08-30 05:59:48 ERROR cmd supercommand.go:458 creating LXD client: Get https://10.178.209.1:8443/1.0: Unable to connect to: 10.178.209.1:8443 ERROR failed to bootstrap model: subprocess encountered error code 113:31
Guest55756Is there any work around for this error?13:32
Guest55756getting below error while deploying juju-2.0beta1613:44
Guest557562016-08-30 05:59:48 INFO juju.cmd supercommand.go:63 running jujud [2.0-beta16 gc go1.6.2] 2016-08-30 05:59:48 ERROR cmd supercommand.go:458 creating LXD client: Get https://10.178.209.1:8443/1.0: Unable to connect to: 10.178.209.1:8443 ERROR failed to bootstrap model: subprocess encountered error code 113:44
Guest55756Is there any work around for this error?13:44
babbageclunkGuest55756: What was the command you ran?13:50
Guest55756juju bootstrap local.lxd-test localhost13:51
babbageclunkAnd what does the local.lxd-test cloud look like?13:52
babbageclunk(I mean, how's it defined?)13:52
babbageclunkGuest55756: Ooh, what version of LXD are you running?13:53
Guest55756LXD version - Let me check13:53
Guest55756root@ptcvm3:~# lxd --version 2.0.4 root@ptcvm3:~#13:54
Guest55756babbageclunk_:its 2.0.413:55
=== rmcall_ is now known as rmcall
Guest55756babbagecluck_:any work around for this error?14:04
marcoceppilazyPower: so, -ginkgo.focus=Kubectl.client seems to be a decent smoke test, 32 tests including Guestbook.application14:05
marcoceppibasically, can I talk to the cluster via client?14:05
Guest55756babbageclunk_:any work around for this error?14:06
lazyPowermarcoceppi - its a brilliant place to start.14:06
lazyPowermarcoceppi - let me recap whats required to do that. Just build the e2e test suite, set the ginkgo.focus= flag during run of e2e.test and thats basically it?14:06
lazyPoweraside from the credentials dance14:06
marcoceppilazyPower: just quick_release14:07
marcoceppithen run with a few parameters14:07
lazyPowerallright, i'll see if i can get a job setup so we can pipeline it14:07
babbageclunkGuest55756: Sorry, was on the phone.14:07
lazyPowerare you still wanting an external charm to do this validation step?14:07
marcoceppilazyPower: waiting for test to finish, it's a bit long14:07
babbageclunkGuest55756: Are you able to launch a lxd container on that machine separately from juju?14:09
Guest55756babbageclunk_:how to do that?14:09
babbageclunkGuest55756: Also, how hard would it be for you to upgrade to lxd 2.1?14:10
Guest55756babbageclunk_:when I do apt-get install lxd, this version only comes14:10
Guest55756babbageclunk_:If I do apt-get upgR14:11
bacmarcoceppi, pmatulis: is this ready to merge? https://github.com/juju/docs/pull/1315  would like to kill those 404s14:11
babbageclunkGuest55756: launch a new container: `lxc launch ubuntu:`14:11
Guest55756babbageclunk_:If I do apt-get upgrade lxd will it upgrade14:11
Guest55756babbageclunk_:ok14:11
Guest55756root@ptcvm3:~# lxc launch ubuntu: Creating vorticose-tifany Starting vorticose-tifany root@ptcvm3:~#14:13
Guest55756babbageclunk_:root@ptcvm3:~# lxc launch ubuntu: Creating vorticose-tifany Starting vorticose-tifany root@ptcvm3:~#14:13
babbageclunkGuest55756: I think 2.1 is only in the ppa, so you'd need to do `sudo add-apt-repository ppa:ubuntu-lxc/lxd-stable` and then `sudo apt-get update` and `sudo apt-get upgrade`14:13
Guest55756babbageclunk_:ok let me follow these steps and retry14:14
Guest55756babbageclunk_:any other step apart from these?14:15
babbageclunkGuest55756: Thanks. If this works then it means we have a bug though - we should be able to work with lxd 2.0.4.14:15
Guest55756babbageclunk_:will update you if its successful14:16
babbageclunkGuest55756: Ok, thanks. At the moment I'm not getting notifications of your replies, because they're showing up for me as babbageclunk_ - if you just say babbageclunk I'm more likely to notice if IRC isn't focused (ie. most of the time).14:17
Guest55756ok :)14:18
pmatulisbac, i'll look at it now. i would like some feedback from your side re https://github.com/juju/docs/pull/131414:18
=== alexisb-afk is now known as alexisb
marcoceppilazyPower: so here's the output14:23
marcoceppilazyPower: http://paste.ubuntu.com/23111989/14:23
marcoceppiI wonder if a few of these are becuase I'm using 1.3.3 kubectl and not $master14:24
lazyPowerdoubtful14:24
marcoceppi\o/14:24
lazyPowerdo we get more detailed summary?14:24
lazyPoweror is that what we get14:24
mattywmgz, ping?14:24
marcoceppilazyPower: I can get a bunch of failure output14:25
marcoceppibut it's w3ay up in my buffer14:25
lazyPowerack14:25
Guest55756babbageclunk:2016-08-30 13:58:37 INFO juju.cmd supercommand.go:63 running jujud [2.0-beta16 gc go1.6.2] 2016-08-30 13:58:37 ERROR cmd supercommand.go:458 creating LXD client: Get https://10.209.9.1:8443/1.0: Unable to connect to: 10.209.9.1:8443 ERROR failed to bootstrap model: subprocess encountered error code 114:25
Guest55756babbageclunk: same error14:26
marcoceppilazyPower: like this: http://paste.ubuntu.com/23111996/14:26
lazyPowermarcoceppi - packaging conflict has bubbled up in charm-tools   pkg_resources.ContextualVersionConflict: (PyYAML 3.12 (/usr/local/lib/python2.7/dist-packages), Requirement.parse('PyYAML==3.11'), set(['jujubundlelib']))14:26
lazyPoweri'm seeing this in all the current implementations of charmbox, on status and in ci14:26
marcoceppilazyPower: yeah, that's been fixed in master14:26
lazyPowerok, so bump the boxes to build from master?14:26
mgzmattyw: responded in other channel14:26
marcoceppilazyPower: what are they building from now?14:27
marcoceppipypi?14:27
Guest55756babbageclunk:sorry, its still running14:27
lazyPowermarcoceppi - apt14:27
marcoceppilazyPower: that should never happen14:27
lazyPowerhttps://github.com/juju-solutions/charmbox/blob/master/install-review-tools.sh#L1214:28
Guest55756babbageclunk: same error --> Reading state information... tmux is already the newest version (2.1-3build1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Attempt 1 to download tools from https://streams.canonical.com/juju/tools/agent/2.0-beta16/juju-2.0-beta16-xenial-amd64.tgz... tools from https://streams.canonical.com/juju/tools/agent/2.0-beta16/juju-2.0-beta16-xenial-amd64.tgz downloaded: HTTP 200; time 80.146s; 14:30
Guest55756babbageclunk: these are the steps I followed. Please validate --->  2009  sudo add-apt-repository ppa:ubuntu-lxc/lxd-stable  2010  sudo apt-get update  2011  sudo apt-get upgrade  2012  sudo add-apt-repository ppa:juju/devel  2013  sudo apt-get update  2014  sudo apt-get install juju-2.0 lxd  2015  lxd --version  2016  juju --version  2017  sudo lxd init  2018  #juju bootstrap lxd-test localhost  2019  juju list-controllers  2020  j14:31
marcoceppilazyPower: why are you pip upgrading?14:31
babbageclunkGuest55756: Can you put that on paste.ubuntu.com? It's getting mangled here.14:32
lazyPowerTooling bump14:32
lazyPowerwe put tims test tooling bumps in both stable and devel, it required installation from source and a bump. but thats been a few weeks ago, the scenario may have changed14:32
marcoceppilazyPower: well a new dep now installs PyYAML 3.1214:33
marcoceppiwhich does not work with jujubundlelib14:33
lazyPowerdo you know which component is pulling in the new dep?14:33
lazyPoweroh wait i see the explicit upgrade to pyyaml derp14:34
Guest55756babbageclunk_: http://paste.ubuntu.com/23112045/14:39
babbageclunkGuest55756: ok, looking14:43
babbageclunkGuest55756: When I try the same thing I get 'unknown cloud "local"' - have you got a definition for local in `juju list-clouds`?14:47
Guest55756babbageclunk: let me check14:48
babbageclunkGuest55756: Try `juju bootstrap local lxd` instead.14:48
Guest55756babbageclunk: Ok will try this. Result of previous command : root@ptcvm3:~# juju list-clouds CLOUD        TYPE        REGIONS aws          ec2         us-east-1, us-west-1, us-west-2, eu-west-1, eu-central-1, ap-southeast-1, ap-southeast-2 ... aws-china    ec2         cn-north-1 aws-gov      ec2         us-gov-west-1 azure        azure       centralus, eastus, eastus2, northcentralus, southcentralus, westus, northeurope ... azure-ch14:48
Guest55756babbageclunk: shall i paste in ubuntu.com?14:49
babbageclunkGuest55756: pastebin again please ;)14:49
Guest55756babbageclunk: i am trying the other command14:50
babbageclunkGuest55756: ok14:50
Guest55756babbageclunk: http://paste.ubuntu.com/23112081/14:50
babbageclunkI get the same error as you're getting.14:52
Guest55756ok14:52
Guest55756babbageclunk: I was not getting the same error in beta1514:53
babbageclunkGuest55756: Ok, so it might be a bug in beta 16 - I'm going to create a bug for it.14:54
Guest55756babbageclunk_: when tried `juju bootstrap local lxd`, got the same error. Looks like a bug14:56
Guest55756babbageclunk_: is there any way to take juju2.0-beta15 version? by seeting ppa:juju/ ?14:57
Guest55756babbageclunk_:it take default devel version beta1614:57
babbageclunkGuest55756: Try using http://askubuntu.com/questions/307/how-can-ppas-be-removed to remove the juju ppa, then remove juju and reinstall it - that should get you back to beta1514:59
babbageclunkGuest55756: (There might be a more direct way than that.)14:59
babbageclunkGuest55756: (But I'm not sure.)14:59
Guest55756babbageclunk_:ok. Thanks a lot. Will try that one14:59
babbageclunkGuest55756: good luck, sorry for the trouble.15:01
Guest55756babbageclunk_:Thanks, np :)15:01
marcoceppipetevg: I had some problems using charms.unit over the weekend, mainly that it broke a whole bunch of imports when I tried Harness.patch_imports15:11
marcoceppiwnated to run through them witih you to see if I can figue out a way to fix it15:11
petevgmacroceppi: I am working on an email on exactly that subject.15:11
petevgmarcoceppi: basically, patching imports is a horrible idea.15:12
marcoceppipetevg: how else do we get around it?15:13
marcoceppiI'm using layer:apt and rely on lib/charms/apt.py from that layer15:13
petevgmarcoceppi: I've got a PR in on the docs with some "best practices" for working around it. But basically I think that I need to scrap the harness :-(15:13
petevghttps://github.com/juju/docs/pull/131715:13
cholcombeI have a py2 module that i need to use with reactive.  Am I up a creek?15:27
bacpmatulis, evilnickveitch: this PR landed https://github.com/juju/docs/pull/1315 and it fixes the issue but only for 'devel'. can you update the stable tag on that branch so we don't have the 404s? i'm not sure of your criteria for moving the tag.15:29
marcoceppicholcombe: kind of16:04
bdxis there an option that exists somewhere that will silence child layer messaging - if not this would be super useful16:13
bdxs/child layers/lower layers/16:14
bdxalso, what is the technical terminology we are using for "lower layer"|"child layer"?16:16
marcoceppibdx: is it really that hurtful? I mean at the end of the day it's just telling the operator what it's doing16:17
marcoceppibdx: and since you own the top layer, you set the final messages16:17
bdxmarcoceppi: well, I only bring it up because I just demoed deploying one of our apps as a charm, people were thoroughly impressed, the only negative feedback I got was that "the ruby messaging persisting for the entirety of the life of the charm is annoying, can we change that?"16:24
bdxits a polish thing16:24
marcoceppibdx: you totally can, in your top layer :)16:24
bacpmatulis, marcoceppi, evilnickveitch: automated dead link checking: https://github.com/juju/docs/pull/131816:25
pmatulisbac, i'd like to but that is the same file affected by the other bug and it has a bad link. i'd like to correct it first16:25
bacpmatulis: ok.  if not immediately, perhaps soon.16:26
bdxmarcoceppi: I am ... the last thing I do  in my charm is -> http://paste.ubuntu.com/23112522/16:27
bdxno matter what layer ruby messaging just trumps all16:27
marcoceppibdx: that's a bug in ruby layer16:28
marcoceppibdx: you might also want to respond to @hook('update-status')16:28
bdxoooh, and set status there as well16:28
bdxcan I use @hook in a reactive layer?16:29
marcoceppibdx: you can, it's discouraged, but this is a good example of where it works16:29
marcoceppibdx: also, you can just have @when('prm.available') and have it always status_set...16:30
* marcoceppi looks at ruby layer16:30
marcoceppibdx: ah, I see the problem16:32
marcoceppithis is a quick fix16:32
bdxmarcoceppi: should I just not use the @when_not('prm.available')16:35
bdxand set_state('prm.available')16:35
marcoceppibdx: no, I think that's fine16:35
bdxinstead just ensure that it fires all the time16:35
bdxlol16:35
marcoceppibdx: https://github.com/battlemidget/juju-layer-ruby/pull/716:38
bdxlol16:39
bdxYES16:39
marcoceppibdx: I've also got a bunch of other fixeds to make this layer more modern I'm about to put in another PR16:40
marcoceppibdx: this will have a few changes to what you're doing in your layers, as an FYI16:40
bdxmarcoceppi: also, I've another odd little issue ... http://paste.ubuntu.com/23112614/16:49
bdxno matter what I do, I can't get my charm to open ports16:49
bdxha16:49
bdxI feel like I'm about to feel really stupid, but I've gone over everything 10x and can't seem to figure it out ... works in all my other charms implemented identically16:51
marcoceppibdx: none of the charms are expsed16:52
marcoceppialso, lxd doesn't raelly have a firewaller16:52
bdxhttp://paste.ubuntu.com/23112623/16:52
marcoceppithey should all just be "open'16:52
bdxon aws I get the same thing tho here ..16:52
marcoceppibdx: I see the problem16:52
bdxeven when exposed16:52
marcoceppiwebsite.available is only run when you connect to the http interface16:52
bdxooooooh16:52
marcoceppibdx: you'll want to do that during prm.available, probably16:53
marcoceppithe rest of the hook looks fine, but open the port there in stead16:53
bdxok16:54
bdxexactly what I needed16:54
bdxthank you thank you16:54
marcoceppibdx: this is what I want to change: https://github.com/battlemidget/juju-layer-ruby/pull/816:57
marcoceppibdx: how much of the configuration options do you use for the ruby stuff?16:57
bdxjust 'version'16:58
bdx'ruby-version'16:58
marcoceppibdx: it seems that config is idempotent though, like if you change it after a deploy, it won't do anything16:58
marcoceppihow often do you plan on changing ruby version?16:59
bdxnever16:59
bdxit should be an option then?16:59
bdxall of those should be16:59
marcoceppibdx: yeah, that seems like a compile time option16:59
marcoceppibdx: that's what I'm thinking16:59
marcoceppiI'll make that a separate pull request16:59
marcoceppiI feel bad ripping out all these chunks17:00
bdxanything that reduces the # of configs getting slammed in config.yaml +117:08
bdxoh I see, you haven't gotten that far17:12
marcoceppibdx: eyah, not yet, I may do taht here or another PR17:14
=== frankban is now known as frankban|afk
bdxmarcoceppi: when I try to build my charm with your modernize branch -> http://paste.ubuntu.com/23112908/18:13
bdxpossibly I need to remove /home/bdx/allcode/charms/repo/deps ?18:14
bdxmarcoceppi: https://github.com/battlemidget/juju-layer-ruby/issues/918:22
marcoceppibdx: yeah, that WIP is not ready to land until charm-tools is fixed18:35
bdxawwwwee18:38
cholcombemarcoceppi, any eta on review.juju.solutions coming back up?18:56
cholcombejust wondering18:56
valeechHow can I modify a charm’s bundle.yaml to deploy services to a specific maas host? I have tried changing the -to: from just 1 2 3 to hostname1.maas hostname2.maas and it fails with “placement “hostname1.maas” refers to an application not defined in this bundle”19:16
bdxvaleech: https://github.com/jamesbeedy/os_ha_test_stack/blob/master/l3_ha_charmconf.yaml19:17
bdxvaleech: specifically https://github.com/jamesbeedy/os_ha_test_stack/blob/master/l3_ha_charmconf.yaml#L428,L44019:18
bdxthats one way19:18
valeechEureka! Thanks bdx!19:18
bdxadd constraints that are machine tags in maas19:18
bdxvaleech: np19:19
hatchusing tip it appears that --region is no longer supported?19:59
=== blr_ is now known as blr
=== natefinch is now known as natefinch-afk
magicaltroutmarcoceppi: sometimes i'm very sad21:11
magicaltroutbugg@tomsdevbox:~/Projects/dcos-master$ juju deploy nagios21:11
magicaltroutpanic: unknown channel "edge"21:11
marcoceppimagicaltrout: the saddest of pandas?21:11
magicaltroutsad because it worked this  morning :P21:11
marcoceppimagicaltrout: yeah, a new charm store just went out, are you on beta15?21:11
magicaltroutyeah21:12
marcoceppioh boy.21:12
* magicaltrout 's head hits the keyboard21:12
magicaltroutokay let me caveat that21:12
magicaltrouti have an empty beta 1521:12
magicaltrouti'm not stuck to beta 1521:13
magicaltrouti just need stuff to deploy21:13
BradCrittendenmagicaltrout: please update to beta 1621:13
=== BradCrittenden is now known as bac
magicaltroutsage advice21:13
magicaltroutis that in some funky ppa?21:13
marcoceppimagicaltrout: ppa:juju/devel21:13
bacmagicaltrout: we have three moving parts we tried to coordinate the release as well communication. they didn't all make it out together21:14
bacmagicaltrout: short answer, we now have four channels and juju before beta 16 will not work21:14
magicaltroutno problem21:14
magicaltroutbeing locked out is something i'm used to ;)21:14
magicaltroutalrighty21:22
magicaltrouttake 121:22
magicaltrout221:22
aisraelde3b7q!021:50
aisraelgah21:50
cmarshuh, all i see is ********21:55
* aisrael snickers21:56
magicaltrouti see de3b7q!021:58
magicaltroutit must be some osbfucated hash21:58
jrwreni see hunter222:00
=== Guest31658 is now known as hloeung
=== hloeung is now known as Guest28002
=== Guest28002 is now known as hloeung

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