/srv/irclogs.ubuntu.com/2016/06/03/#ubuntu-community-team.txt

davidcalleMorning o/07:48
dpmgood morning all08:00
svijmorning08:30
Kiloshi svij davidcalle dpm08:30
davidcalleHey Kilos o/08:47
svijdpm: hey! Did you have time to look into the blog on ubucon.org? Also, I guess there wasn't a meeting yesterday?09:02
dpmhi svij, I started, but I didn't get too far trying to get the juju local deployment to work. It seems quite a bit has changed with the 2.0 release09:40
svijah okay09:40
dpmit seems the time did not work for the others yesterday, as I hadn't received any confirmation to the new time - I joined the hangout nevertheless in case someone would show up, but after a few minutes I closed the hangout09:43
svijah ok, as I heard the others didn't have time either09:43
dpmthat's fine, we can talk on the next meeting. Other than that, I didn't have other updates09:44
svijme neither.09:44
dpmI think as the next announcement, we should work out and open registration09:44
svijand we need a few sponsors09:45
dpmjcastro, marcoceppi, that reminds me - I understand the local (lxc) provider is no longer available in juju 2.0. Is there a way at all to currently get local deployments to work with LXD, even if it's a bit of a hack? I read https://jujucharms.com/docs/devel/temp-release-notes#lxd-provider but I couldn not figure it out09:49
dpmOn juju 2.0 I could not even figure out how to generate the initial config09:50
* svij is going to visit Canonical HQ later today to play with all the devices \o/09:54
dpmsvij, nice!09:59
dpmballoons, or I guess I can ping you now for questions on juju ^ ;)09:59
svijand Im going out for a beer with thibaut10:02
svijbut I guess he will drink my beer :D10:03
=== \b is now known as benonsoftware
marcoceppidpm: it's a lot easier in 2.012:13
marcoceppidpm: just install lxd, run lxd init (answer questions), then do `juju bootstrap my-new-local-stuff lxd`12:13
dpmmarcoceppi, \o/12:14
dpmmarcoceppi, I figured out that bit, and I've got juju locally running, however12:14
dpmI'm having trouble with the local charm for ubucon12:14
dpmmarcoceppi, $ juju deploy local:trusty/ubucon12:15
dpmERROR unknown schema for charm URL "local:trusty/ubucon"12:15
marcoceppidpm: yeah, all that goes away too12:15
marcoceppidpm: just do `juju deploy /abs/path/or/relative/path/to/ubucon`12:15
dpmtried that too, that's where I got stuck. Let me re-run it and paste the output12:15
dpmmarcoceppi, $ juju deploy ~/charms/trusty/ubucon12:16
dpmERROR series not specified and charm does not define any12:16
dpmI think I'd need to change some .yaml files in the charm or layer, but I wasn't sure which12:16
marcoceppidpm: ah, that's because I'm a horrible charm maintainer12:16
marcoceppidpm: you can just do this for now12:16
dpm:)12:16
marcoceppi`juju deploy ~/charms/trusty/ubucon --series trusty`12:17
dpmon it12:17
dpmok, juju did it without complaints so far12:17
dpm"Waiting for agent initialization to finish"12:18
* dpm crosses fingers12:18
marcoceppidpm: you'll also need to deploy postgresql, but I feel you may know that already12:19
dpmyeah, did that and added the relation12:19
dpmmarcoceppi, I can update the charm/layer myself if you know off the top of your head which fields we should add and which yaml files to modify12:21
marcoceppidpm: you'll want to pull down the layer, edit metadata.yaml, add a series key, which is a list of one string "trusty", then charm build on that layer and you'll have an updated charm with series defined by the charm12:22
dpmmarcoceppi, great, will do that.12:23
dpmmarcoceppi, argh! -> ubucon/0     error           idle        2.0-beta7 2                      10.194.112.38  hook failed: "install"12:23
marcoceppidpm: pastebin me the logs from /var/log/juju/unit-ubucon-0* on that machine?12:25
dpmmarcoceppi, http://pastebin.ubuntu.com/16944735/12:27
marcoceppidpm: huh, that's odd12:27
dpmbzr: ERROR: Not a branch: "/srv/ubucon/ubucon-site/".12:28
dpmwhere's the install hook on http://bazaar.launchpad.net/~ubucon-site-developers/ubucon-site/ubucon-layer/files ?12:29
dpmbrb12:30
marcoceppidpm: reactive/ubucon.py12:30
dpmmarcoceppi, hm, it seems the install hook is not explicitly defined here, so I'm guessing it's using a standard 'install' that simply checks out the repo. No idea what to do next12:38
marcoceppidpm: not quite12:38
marcoceppidpm: this may be a failure in the django layer12:38
dpmmarcoceppi, interesting, trying to run the command manually from inside that unit gives me the same error, seems to be bzr related? http://pastebin.ubuntu.com/16945198/12:53
dpmah, actually, that should be run as sudo, I guess12:54
marcoceppidpm: what does `bzr info` show in the /srv/ubucon/ubucon-site direcetory12:54
dpmmarcoceppi, http://pastebin.ubuntu.com/16945242/12:55
marcoceppidpm: it's trying to merge before it did a bzr branch/pull12:55
marcoceppiwhich is weird12:55
jcastrodpm: yeah, lxd provider is fully supported, you want this page: https://jujucharms.com/docs/master/clouds-LXD13:10
dpmthanks jcastro13:11
jcastroour docs still haven't shifted over to the stable branch13:12
jcastroso like you probably ended up on old docs. :/13:12
dpmjcastro, yeah, but I figured it out from another doc in devel that looks similar to the one you showed me13:12
dpmI can't believe I'm stuck with a bzr error now, though :/13:13
dpmI wonder if this warning in `charm build` has anything to do with it, although it seems harmless13:16
dpmbuild: Please add a `repo` key to your layer.yaml, e.g. repo: bzr+ssh://bazaar.launchpad.net/~ubucon-site-developers/ubucon-site/ubucon-layer/13:16
dpmmarcoceppi, the django layer the ubucon charm uses is https://github.com/marcoceppi/layer-django, right?13:24
marcoceppidpm: yes13:24
dpmmarcoceppi, ok, cool. So I guess there I can 1) look at the install hook if it needs debugging and 2) add the update hook we need for the site13:26
dpmor action, not sure of the right nomenclature13:26
marcoceppidpm: there are not more hooks in charms, all the code lives in reactive/<name>.py ;)13:26
marcoceppibut otherwise, yes13:26
dholbachpicking up my niece from kindergarten, bbiab13:28
dpmok cool13:28
dpmmarcoceppi, ok, one last question before I give up -> http://pastebin.ubuntu.com/16947271 - any ideas why no relations are being found?14:22
marcoceppidpm: you're deploying the wrong thing14:38
dpmouch14:38
* dpm re-reads pastebin14:38
marcoceppidpm: build: Destination charm directory: /home/dpm/charms/builds/ubucon14:38
marcoceppidpm: you should be deploying that path14:38
dpmmarcoceppi, argh, you're right, thanks! But should it not be ~/charms/trusty/ubucon instead? I can't recall having deployed from the 'builds' directory?14:42
dpmI mean when I did it earlier on14:42
dpmah, they seem to have the same content14:43
marcoceppidpm: you added series flag to the charm, so it's a different output14:43
dpmmarcoceppi, so the right path to point to is always the build dir? Or does it make a difference? I just want to make sure we document the right thing in the site's deployment README14:44
marcoceppidpm: the build output directory14:51
dpmok, cool14:51
marcoceppicharm build takes the layer and builds a charm, the charm is what you ultimately want to deploy14:51
dpmrunning the install hook now14:51
dpmcrossing fingers that bzr is happy14:51
dpmargh14:52
dpmhook failed: "install"14:52
marcoceppidpm: i'll take a look in a min14:52
dpmawesome, thanks14:52
czajkowskic/14:53
dpmhey czajkowski14:57
* svij waves from canonical hq.15:28
davidcallesvij: nice :)15:50
dpmsvij, Telegram pics or it didn't happen! :-)15:51
popeypics from the roof :)15:52
popey(don't drop your phone)15:52
svijdpm: check the insiders group :P15:54
svijI mean outsiders group!15:54
svijpopey: hmm.. I could drop this Pro 5.15:54
popeyDon't! They're rare!  ðŸ˜ƒ15:54
svijcurrently no one is looking for me. I think I could go out with the pro 5, the bq m10 and a nexdock! 🤔15:56
davidcallesvij: we won't tell on you :)15:57
svijthis channel is luckily not publically logged... oh wait.15:58
popeyyou have the nexdock?16:03
popeydidnt realise we got hold of one o fthem16:03
svijyep here is one beta thing as thibaut told me16:08
svijnot tested yet16:08
dholbachsee you next week16:30
dholbachhave a good one16:30
Kiloscheers dholbach16:31
Kilosyou have a good one too16:31
Kilos:D16:31
svijIm either too dumb for the nexdock or it doesnt work right now...16:42
dpmwho let svij in at the office?16:51
dpmI'm starting to get worried :-)16:51
svijdpm: heh ;)16:53
* svij likes the hardware of the pro 516:55
dpmif there are news leaked about a super secret device over the weekend, we know who to ask where they came from...16:55
svijif only the OS would be way better...16:55
dpmsuch a troll...16:55
svijhaha16:55
popeyhehe16:56
svijdpm: I ll tell jane that you're naughty!111!16:58
svijtoo bad she is busy17:02
dpm:)17:04
dpmmarcoceppi, have you had the chance to look at the ubucon charm install failure? I'm about to log off, but if you have a few pointers I can perhaps look at it some time during the weekend17:20
dpmmarcoceppi, actually, the issue seems to be here http://bazaar.launchpad.net/~charm-helpers/charm-helpers/devel/view/head:/charmhelpers/fetch/bzrurl.py#L4817:47
dpmbranch() checks if the location exists, but it does not check if it's a bzr branch. Probably something else mkdir's the directory before, and branch() was not expecting this case17:47
dpmactually, that something is L6217:48

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