/srv/irclogs.ubuntu.com/2017/03/29/#juju.txt

mwhudsonanastasiamac, axw, menn0: is someone(tm) going to take care of the juju-mongodb SRU verification? https://bugs.launchpad.net/ubuntu/+source/juju-mongodb3.2/+bug/167365201:20
mupBug #1673652: SRU juju-mongodb 3.2.12-0ubuntu1 to yakkety and xenial <verification-needed> <juju-mongodb3.2 (Ubuntu):Fix Released> <juju-mongodb3.2 (Ubuntu Xenial):Fix Committed by mwhudson> <juju-mongodb3.2 (Ubuntu Yakkety):Fix Committed by mwhudson> <https://launchpad.net/bugs/1673652>01:20
anastasiamacmwhudson: veebers is looking at this today \o/01:22
mwhudsonanastasiamac: awesome01:22
veebersanastasiamac, mwhudson we started looking at this today, not sure how long it will take but we should get some testing done in the next day or so01:46
mwhudsonveebers: i'm not in a hurry at all, i just wanted to make sure it wasn't forgotten about01:46
anastasiamacveebers: this is great! thank you :D01:46
anastasiamacmwhudson: we would really really like it, so very unlikely to forget :) m thrilled that u r following up \o/01:47
bdxwhat are the "payment forms" that are being added to juju-gui?04:01
bdxin this MR https://github.com/juju/juju-gui/pull/267504:02
LalitHello08:07
LalitI want to write amulet test case for my charm08:07
Lalithello [13:21] <lalit> i want to write amulet test case for my charm [13:22] <lalit> is there any way to pass resource to this charm From amulet framework08:07
Lalitis there any way to pass resource to this charm From amulet framework08:07
cnfmorning09:40
stubLalit: subprocess.check_call(['juju', 'attach', ....) if you can attach the resource after the initial deployment09:59
stubLalit: If you need the resource attached during deployment, I don't know. That would actually be a juju-deployer thing, which amulet is using for the initial deployment.10:00
CoderEuropeAnyopne here from the community team ?15:07
arosalesCoderEurope: we are all part of the community team, :-)  anything I can help with?15:09
bdxhttps://api.jujucharms.com/identity15:12
bdxred alert15:12
bdxhttp://paste.ubuntu.com/24275054/15:13
bdxI can't seem to login, register, or use juju from any of my clients15:13
bdxare others seeing this too?15:14
bdxrick_h:^15:14
bdxanyone:^15:15
rick_hbdx: checking, was just doing stuff before this call started.15:15
rick_hbdx: yes, I see it. Just getting a response going15:16
bdxnone of my juju clients are working ... http://imgur.com/a/betbJ15:16
bdxok15:16
rick_hbdx: yes, seems the identity service is not responding. Folks are on top of it15:28
bdxrick_h: thx15:28
CoderEuropearosales: sorted now thankyou :D15:30
arosalesCoderEurope: glad its sorted :-)15:30
bloodearnestrandom q: did juju2 deliver anything in terms of the 'virtual' service concept? i.e. deploying a shim charm on the controller, or similar?15:53
rick_hbloodearnest: what's a "shim charm" ?15:54
* rick_h is working to catch up15:54
kwmonroebloodearnest: rick_h, i think that's the concept of a "proxy charm", whereby you'd deploy a lightweight doohickey that proxies requests for an existing application that is not charmed.  the idea being you could have an existing mysql db that you want juju charms to interact with even though your mysql server is not actually a part of the deployment.16:06
kwmonroei know there was work done around that last cycle, but do not know any current status for it16:07
rick_hkwmonroe: yea, nothing new in juju2 towards that.16:07
kwmonroesounds like rick_h just got weekend plans ;)16:07
rick_hlol16:07
rick_hmy weekend plans involve driving across the country with a trailer :P16:07
kwmonroeoof!  good luck out there!  watch out for self-driving ubers16:08
bdxbloodearnest: just build it into the charm, let me see if I can dig up an example for you16:08
bloodearnestkwmonroe, that's what I'm talking about, proxy charm16:09
bdxbloodearnest: https://gist.github.com/jamesbeedy/dc0add471b086e918d2b64c7768d706c16:09
kwmonroebloodearnest: like bdx mentioned, some charms handle external entities already (https://jujucharms.com/rsyslog/ comes to mind, see the "Forwarding logs to a system outside of the Juju environment" section).16:11
bdxso, basically I do a manual db check, and set the state 'prm.manual.database.available' if the user has specified the db -> https://gist.github.com/jamesbeedy/dc0add471b086e918d2b64c7768d706c#file-prm_base-py-L4516:11
bloodearnestkwmonroe, bdx: right, that's what we've done forever, and it has drawbacks16:11
bdxbloodearnest: but I also allow for a database via juju relation16:12
bdxdef set_block16:12
bdxhttps://gist.github.com/jamesbeedy/dc0add471b086e918d2b64c7768d706c#file-prm_base-py-L9916:12
kwmonroebdx: that's slick -- using config to handle external db bits.16:12
bdxkwmonroe: yeah, then the when_any https://gist.github.com/jamesbeedy/dc0add471b086e918d2b64c7768d706c#file-prm_base-py-L12916:12
bloodearnestI basically want a single reusable charm that acts as an in-model, relatable, point of access to external services (dbs, logging, metrics, etc)16:13
bdxso I can remove the relation https://gist.github.com/jamesbeedy/dc0add471b086e918d2b64c7768d706c#file-prm_base-py-L169, and modify the config https://gist.github.com/jamesbeedy/dc0add471b086e918d2b64c7768d706c#file-prm_base-py-L16416:13
kwmonroevery cool bdx16:13
bloodearnestI have such a charm, but I'm forced to deploy it on a wasted vm16:13
bdxkwmonroe, bloodearnest: then block when none are available https://gist.github.com/jamesbeedy/dc0add471b086e918d2b64c7768d706c#file-prm_base-py-L5016:13
bdxmy next additions will include disallowing both to be configured at the same time16:14
bdxkwmonroe: thx!16:14
kwmonroebloodearnest:  "juju deploy --to <existing-machine>" would save you the wasted vm, assuming you have an existing machine that you don't mind jamming your proxy charm onto.16:14
magicaltrouthey arosales you there so you can stop spamming me? ;)17:38
arosalesmagicaltrout: hello :-)17:39
arosalesmagicaltrout: well if your license would work with your charms I wouldn't have to spam you17:39
magicaltroutsorry arosales I'm at a DARPA workshop launch stuff so I'm a bit sporadic in my sitting at a desk17:39
magicaltroutif you have a license17:39
magicaltroutyou should be able to visit http://yourserver/upload.htl17:40
arosalesmagicaltrout: sorry for the bother I figured you were on a project or I hoped maybe even taking a vacation17:40
magicaltrouthtml17:40
magicaltroutyou should get an upload form for a license17:40
arosalesmagicaltrout: yes tried that, but I can't login with admin/admin17:40
* arosales posted at https://groups.google.com/a/saiku.meteorite.bi/d/msg/user/6mDNTdwwJEg/EfkWhzgPDAAJ17:40
arosalesI am tearing down my controller and starting fresh just to be sure17:41
arosalesI'll create a new license with this new model since the IP will change17:41
magicaltroutfair enough, give me access and i'll take a look when you get it stood back up17:41
arosalescoming up as we speak should be about another 10 min17:42
magicaltroutcool17:42
magicaltrouti'm around all afternoon, I left the event, DARPA can do defence research but not WIFI it appears ;)17:43
arosalessecurity risk -- all smoke signals now17:45
arosalesmagicaltrout: no luck17:50
arosalesmagicaltrout: http://34.223.249.229/upload.html17:50
arosalesselecte upload license; select new license; then stuck in login in loop17:50
rick_h6 minutes to the Juju Show #917:54
arosalesrick_h: you have a link handy for folks who want to join live?17:54
rick_harosales: https://hangouts.google.com/hangouts/_/mqwvxdrugbaspk7bc7twmrx5wye to join the hangout and I'll get the viewing link17:55
arosalesrick_h: thanks17:55
rick_hhttps://www.youtube.com/watch?v=FQv-ScdYQeg to watch the stream live17:55
rick_hcome one, come all...it's another week of fun17:55
Boat_clubrick_h 🤣17:59
rick_harosales: you coming in?18:00
rick_harosales: any of the regulars around today or all off at kubecon?18:00
urulamabdx: please check if all is well for your models in JAAS18:03
urulamabdx: should be up and running now18:03
Boat_clubrick_h: see you now :)18:04
rick_hstokachu: ping for ^18:09
stokachurick_h: whats the url?18:09
rick_hhttps://hangouts.google.com/hangouts/_/mqwvxdrugbaspk7bc7twmrx5wye18:10
bdxurulama: looks like I'm back in business! thanks!18:10
urulamabdx: sorry for the long outage :(18:10
Boat_clubQUESTION: Who do we prompt to update jujucharms.com pages ? | Would there be a repo, for jujucharms.com ? | or where best should I go to chat about this ?18:10
urulamaBoat_club: you can file an issue on http://github.com/CanonicalLtd/jujucharms.com/issues18:11
Boat_cluburulama: cheers :)18:11
urulamaBoat_club: all feedback or suggestions appreciated18:12
bdxurulama: np! glad its back up now! thx18:12
=== frankban is now known as frankban|afk
Boat_cluburulama: Congrats on your 400th issue closed !18:17
hatchBoat_club lol, that's only one repo :)18:18
* Boat_club sips her coffee.18:19
Boat_clubQUESTION: Are there any issues with juju and systemd ? IDK much about it, but just thought I would ask a silly question :)18:20
rick_hBoat_club: sorry, missed your question. There's no issues that we're aware of18:22
zeestratBoat_club: Yes, it might not play nice if you use partitions: https://bugs.launchpad.net/juju/+bug/163439018:23
mupBug #1634390: jujud services not starting after reboot when /var is on separate partition  <uosci> <juju:Triaged> <juju-core:Triaged> <https://launchpad.net/bugs/1634390>18:23
rick_hdoh, that's right18:23
rick_hgood call zeestrat18:23
zeestratHoping it will get fixed in 2.2 :)18:23
Boat_clubrick_h: okay fantastico show, pal o/18:24
rick_hBoat_club: thanks for watching18:24
* rick_h goes to get notes together and onto the video wheee18:24
arosalesrick_h: thanks for charing another juju show18:26
rick_harosales: np, ty for joining in18:26
rick_harosales: will have to get some updates from the folks at kubecon maybe next week. curious what's up over there18:26
arosalesya there is some good kubernetes 1.6 bits coming down the pipe, and I would also be interested to hear how the conf went18:27
Boat_clubrick_h: guess juju works well on macOSX (?) | macbookair - not so much.18:27
rick_hBoat_club: so it's the client and works well18:29
rick_hBoat_club: I've been using it exclusively for a few days18:29
rick_hBoat_club: I migrated from a 2013 air to this new machine yesterday so definitely works on an air18:29
Boat_clubrick_h: just need to update this: http://bit.ly/macbookair18:29
Boat_clubwhoopsie18:29
Boat_clubhttp://bit.ly/macbookairUbuntu18:30
rick_hBoat_club: hah18:30
rick_hwell Juju is across platform. Ubuntu is a platform. :)18:30
Boat_clubrick_h: cool beans :D18:31
SimonKLBhey, could anyone from the charmers team pm me?18:45
arosaleskwmonroe: http://interfaces.juju.solutions/layer/nvidia-cuda/ may be interesting for tensor on spark18:47
arosaleslooks like tvansteenburgh used this layer in his work on GPUs for k8 @ https://github.com/kubernetes/kubernetes/compare/master...tvansteenburgh:gpu-support18:48
arosalesthe other  heavy lifting in k8 was the privileged container peices18:49
magicaltroutsomeone needs to charm up jupyterhub as well thats looking pretty cool these days18:50
* arosales thought we had a jupyter charm . . .18:52
arosaleshttps://jujucharms.com/u/tengu-team/jupyter-notebook-spark/218:52
arosalesJupyter Notebook from tengu18:53
Boat_clubarosales: Did you notice that www.reddit.com/r/LinuxActionShow was no more ?18:53
* arosales looks18:54
* arosales wasn't aware18:54
Boat_clubarosales: you triggered me at jupiter :D18:54
arosalesah18:54
arosalesJupiter Broadcasting18:55
magicaltroutthe hub is a  multiuser thing18:57
arosalesmagicaltrout: seems https://github.com/jupyterhub/jupyterhub mainly provides multi-user support for the jupyter notebook, correct?18:57
arosalesok18:57
magicaltroutas opposed to a stand alone notebook18:57
arosalesmay be good to ping seb on that when he is around to see if they have a use case to extend their current notebook charm18:58
* arosales doesn't see sebastien here atm18:58
kwmonroewhoa arosales - nice find re: cuda layer.  who knew tvansteenburgh was a secret bash coder?!?!19:31
magicaltroutyou never know what lurks under those shades19:33
arosalesI think he was building off SaMnCo work, but ya I am surprised there wasn't a re-factor to python :-)19:35
bdxthat cuda-layer looks awesome - I will be putting it to use soon actually, as one of our applications is now transcoding video and needs hw accel19:35
magicaltroutwhen you're stuck in an AirBnB is 3:40 too early for beer?19:37
arosalessorry I don't understand the question19:38
arosalestoo early for beer?19:38
magicaltrouthehe19:38
magicaltrouti have an "infrastructure transition discussion" in 20 mins19:38
magicaltrouti might need a bottle of moonshine19:39
arosalessounds like beer will only help that discussion19:39
magicaltroutyeah its pretty tedious19:39
magicaltroutits like talking to kwmonroe19:39
arosaleshah!19:39
arosalesmagicaltrout: if only it were "infrastructure transition to juju implementation"19:40
arosalesnow that meeting sounds fun19:40
kwmonroesorry, it's 14:40 so i was fetching a beer and missed the context here.. did you need something magicaltrout?19:41
kwmonroeoh, i see now.  hey magicaltrout, maybe bring up "add wifi" in your "infrastructure transition discussion".19:42
magicaltrouthehe, I tried to get them to go CDK but my sysadmin is a bit of a wimp19:42
magicaltroutwent for docker swarm instead19:42
arosalesdocker swarm over kubernetes, interesting19:43
magicaltroutgrim19:43
magicaltroutalthough the latest version is much improved19:44
arosalesI bet it was due to the docker registry scanning for vulnerabilities19:44
arosalesI think they have an interesting angle there19:44
magicaltroutyeah they have put a lot of work into the latest iterations19:44
arosalesI guess would could pair that with k8 though -- although I haven't tried19:44
magicaltroutso interesting new stuff19:44
magicaltroutsome19:44
magicaltroutbut we do use CDK on our NASA/DARPA project that launched today19:45
magicaltroutjuju on another NASA/DARPA project that has been going for a while now19:45
magicaltroutso i'm getting it crammed in there ;)19:45
arosales\o/19:46
magicaltroutthis is just going through the incubator to TLP vote process kwmonroe https://metron.incubator.apache.org/documentation/19:50
magicaltroutmight be worth investigating when it gets accepted19:50
kwmonroecool19:54
kwmonroemagicaltrout: i just checked.  our namenode uses dfs.permissions.enabled = true, so we're good on big data security ;)20:07
magicaltrouthmm21:59
magicaltroutthis spark bundle seems to have changed since i last used it21:59
magicaltroutkwmonroe: know if I can connect to hive these days using beeline?21:59
magicaltroutI used to be able to do stuff like22:00
magicaltrout/usr/lib/spark/bin/beeline -u jdbc:hive2://localhost:10000 -e 'CREATE TEMPORARY TABLE store2 USING org.apache.spark.sql.parquet OPTIONS (path \"/user/ubuntu/store.par\")'22:00
kwmonroefirstly magicaltrout, the spark bundle has indeed changed (you'll want either jujucharms.com/spark-processing/ for spark-standalone or https://jujucharms.com/hadoop-spark/ if you need hdfs and money is no object)22:00
kwmonroesecondly magicaltrout, where are you serving hive from?  did you deploy https://jujucharms.com/hive --to spark?22:01
magicaltrouts/hive/spark22:02
magicaltroutjust using the hive protocol22:02
magicaltrouti'm trying to bring an old script we used for a strata demo back to life for arosales but beeline used to provide spark sql support22:02
kwmonroeaaaahhh, sorry, i didn't grok that at first.  and that's not something i generally try to do.  what kind of error are you sseing?22:02
magicaltroutnowt special22:03
magicaltroutjust a connection refused type error22:03
bdxis the beta controller under high load right now?22:04
kwmonroeroger that magicaltrout -- could very well be a difference where apache-spark (the old charm) listened on 10000 while the new bigtop-spark does not.  lemme deploy and check right quick.22:04
arosaleskwmonroe: issue is the later bigtop spark is on Xenial and saiku with dep on Tomcat is Trusty only22:04
arosaleskwmonroe: so the question here is if the upstream (non-bigtop) apache-spark charm has changed22:05
magicaltroutoh might be user error22:05
arosaleskwmonroe: specifically the spark used in https://jujucharms.com/u/spicule/saiku-hadoop-spark/22:05
magicaltrouthold on22:05
arosalesbdx: you may catch more of the beta/ui folks in #juju-gui too22:07
magicaltroutscratch that kwmonroe i found the hack i used to have :)22:09
bdxarosales: thx22:11
arosalesnp bdx22:12
kwmonroe+1 magicaltrout.  fwiw magicaltrout arosales, the diffs between that bundle (a-s-6 and latest apache-spark-10) are the inclusion of benchmarks and peer (aka HA) support.  nothing related to hivey things between those 2.22:13
arosaleskwmonroe: Thanks22:13
kwmonroealso magicaltrout, now that arosales has reminded me that you're using trusty subordinates, do *not* use any of the bundles i listed earlier.  those are bigtop-based and xenial-only.22:16
arosaleskwmonroe: I would like to see if we can update tomcat for xenial22:17
kwmonroearosales: is the saiku sub on xenial?  or were you just saying update tomcat in general?22:19
arosalesSaiku is a sub on tomcat as well as spark22:19
arosalesso without getting tomcat to xenial Saiku is stuck on trusty22:20
magicaltroutsaiku isn't or doesn't have to be subordinate to spark I don't think22:22
arosalesmagicaltrout: but I think the charm itself is a sub, https://api.jujucharms.com/charmstore/v5/~spicule/trusty/saikuanalytics-enterprise-1/archive/metadata.yaml22:29
magicaltroutwell22:30
magicaltroutsaiku is subordinate to tomcat22:30
magicaltroutthats for sure22:30
magicaltroutbut there's no technical reason i know of to co locate it on the spark server22:30
arosalesgotcha22:32

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