/srv/irclogs.ubuntu.com/2014/06/11/#ubuntu-uds-devops-1.txt

=== ChanServ changed the topic of #ubuntu-uds-devops-1 to: Currently no events are active in this room - http://summit.ubuntu.com/uos-1406/devops-1/ - http://irclogs.ubuntu.com/2014/06/11/%23ubuntu-uds-devops-1.html
=== rbasak_ is now known as rbasak
=== ChanServ changed the topic of #ubuntu-uds-devops-1 to: Track: Cloud DevOps | Simpler re-usable charms with Ansible | Url: http://summit.ubuntu.com/uos-1406/meeting/22244/simpler-charms-with-ansible/
noodles775Hangout here for anyone who wants to join the conv: https://plus.google.com/hangouts/_/hoaevent/AP36tYeQwxrxdZGveiZVKpetKkySfiZswgNHf5t0qJUtsowh4qjIIg?authuser=0&hl=en-GB13:58
noodles775people who have used ansible or ansible+juju would be great :)13:58
noodles775http://goo.gl/iewo1m14:05
noodles775http://goo.gl/iewo1m14:05
nessitanoodles775, what's the link?14:06
noodles775http://goo.gl/iewo1m14:06
vilasome channel op to add ' | Slides at http://goo.gl/iewo1m' in the topic ?14:08
wesleymasonChannel isn't registered by the looks, so no ops14:09
pindongawhere are the slides michael is talking about?14:10
wesleymasonpindonga: http://goo.gl/iewo1m'14:10
pindongata14:10
jcastrobloodearnest, can you share your screen with the slides?14:12
jcastroso that we have them in the video?14:12
bloodearnestnoodles775: ^^14:13
therealmarvmuch better also for later. Thanks for screensharing.14:15
vilabloodearnest: you're cutting off like hell (if I recognize the voice right :-/)14:19
wesleymasonbloodearnest: if you've not turned your video off and turned down your streaming you might want to14:19
nessitavila, he is, and he is14:19
vilanessita: ;-p14:19
jcastrois the video on the slides right now?14:19
vilajcastro: yes14:19
jcastroI can't see because I'm driving the slides14:19
nessitamuch better!14:19
wesleymasonbloodearnest: much better14:20
vila+114:20
wesleymasonnoodles775: other advantage is Ansible the project are very strict about being able to ship everything out of the box, e.g. reduced dependencies, making it more reliable to depend on in charms (either from packages, or vendoring etc.)14:22
vilaQUESTION: Does that mean there is no ansible playbook for django ? (Yet ? Hope ! Hope !)14:23
avoine1https://code.launchpad.net/~patrick-hetu/charms/precise/python-django/ansible14:25
avoine1vila:  ^14:25
avoine1like I said it's not finish yet14:25
vilaavoine1: \o/14:26
jcastrocan you guys see the slides?14:27
vilajcastro: yes14:27
bloodearnestjcastro: yep, but we have to select your feed14:27
gnuoyQUESTION: Does it still work well when charms need to make non-trivial decisions based on current context? For example, if a charm needs to set a setting down its relation with charm A based on information it got from charm B and whether the current day of the month is divisible by 3.14:32
vilabloodearnest, jcastro: not true for the stream, ha, noodles775 just replaced the slides14:32
jcastroyeah I just closed the slides for  the discussion part14:32
vilajcastro: ack14:32
jcastroI think "Top 5 reasons to use Ansible for Charms" would be a great blog post14:32
jcastrohint hint14:32
nessitawhat line in the Makefile?14:32
nessitabloodearnest, ^14:33
avoine122 to 3014:33
nessitathanks14:33
noodles775nessita: https://github.com/absoludity/charm-bootstrap-wsgi/blob/master/Makefile#L2514:34
nessitaack14:34
mbruzekThanks for the link to the example code.14:34
mbruzekQUESTION: Are there some good places to get more information about Ansible?  Tutorials or good links on the web?14:34
wesleymasonmbruzek: the documentation on the main Ansible site is very good: http://www.ansible.com/home14:35
urulamambruzek: http://docs.ansible.com :D14:35
lazyPower+1 to ansible module documentation14:36
lazyPowerIts really exhaustive on what you can do with the modules.14:36
mbruzekThank you14:36
therealmarvWhat is your opinion why use ansible vs. puppet vs. chef ? (beside it is python based)14:36
wesleymasonThere's also a very good ebook on leanpub for those who like to read offlline, but it's still incomplete: https://leanpub.com/ansible-for-devops14:36
therealmarvQUESTION What is your opinion why use ansible vs. puppet vs. chef ? (beside it is python based)14:36
lazyPowertherealmarv: in my humble opinion - and i realize i'm not giving the presentation - its the learning curve14:37
lazyPoweryou can learn ansible an an afternoon. It will take a few days before you can be really proficient with chef/puppet if you dont have much experience with the frameworks beforehand.14:37
gnuoybloodearnest, thanks14:38
wesleymasonIf you need it, it is quite easy to make a full Ansible task in Python too, to be called like any other task from the playbook14:38
wesleymasonnot just a shell out14:38
lazyPowerQUESTION are we contributing modules to push back to the ansible project? And if we have built any, what would they be?14:39
wesleymasons/task/module14:39
therealmarvthanks!14:40
lazyPowerThat would be briliant to get some juju related tasks vs using the shell helper to do relation-set14:41
lazyPower+114:41
wesleymasonalso parsing the yaml/json from a config-get/relation-get etc.14:42
wesleymasoninto list/dict that can just be passed into jinja2 template14:42
bloodearnestwesleymason: that kind of already done14:42
gnuoyIt sounds like the ansible equivalent of charm helpers hookenv14:42
lazyPower@QUESTION is the charm-bootstrap template on github the "best" place to get started writing ansible charms today?https://github.com/absoludity/charm-bootstrap-ansible14:43
wesleymasonbloodearnest: yeah by the charmhelper, but I don't think it'll work from another relation? e.g. like with the generic actions we talked about14:43
bloodearnestwesleymason: it should, it writes ALL THE DATA14:43
bloodearnestfor all relations14:44
wesleymasonah right14:44
lazyPowernoodles775: you should talk to tvansteenburgh14:44
lazyPowerhe's working on a boilerplate generator for ansible based charms14:44
lazyPowerwhich is in charm-tools14:44
lazyPowerQUESTION: When you say sharing roles, do you mean i can include a simple yaml and get all of the "relation pass data otw" already given to me, and i just implement the application specifics on my side?14:46
bloodearnestwesleymason: which is usually what your want anyway14:46
lazyPowerotw = on the wire14:46
nessitathanks!14:46
lazyPowerawww i missed cutoff14:47
gnuoythanks everyone, really interesting14:47
lazyPowerstupid delay14:47
wesleymasonbloodearnest: yep14:47
bloodearnestlazyPower: that's kind of what we've already got14:47
lazyPowerbloodearnest: i was asking more for the specifics re: ansible playbooks and what that gives me :)14:47
bloodearnestby roles, we mean pieces of functionality (nagios, logrotate, etc)14:47
lazyPowerah ok14:48
lazyPowerso you just drop in that bit of yaml and you'll gain rotating logs, and proper monitoring definitions14:48
bloodearnestlazyPower: things we kept up having to reimplement in every charm14:48
lazyPoweryeah, i'm in that cycle myself right now with a few charms that I'm responsible for14:48
noodles775lazyPower: if you get a chance, pull https://github.com/absoludity/charm-bootstrap-wsgi as it tries to demo the reusability of both wsgi-app functionality and nagios checks (leaving a really small playbook).14:48
lazyPoweri thought about abstracting to a common library, but an ansible role would keep that tidy14:48
bloodearnestlazyPower: you have to also invoke them from your playbook (with parameters), but yes14:49
bloodearnestlazyPower: and including some roles is easier than adding it to charm helpers14:49
bloodearnestimo14:49
lazyPowerGreat work on the session gents. cheers!14:50
=== ChanServ changed the topic of #ubuntu-uds-devops-1 to: Track: Cloud DevOps | Juju with LXC containers for local development | Url: http://summit.ubuntu.com/uos-1406/meeting/22247/juju-with-lxc-containers-for-local-development/
mbruzekFor reference here are the Juju LXC documentation https://juju.ubuntu.com/docs/config-LXC.html15:04
nessitajcastro, QUESTION, does this instructions apply to precise?15:06
mbruzekThe instructions are the same for precise and trusty.15:07
nuclearbobjcastro, I get "chown: invalid user: ‘ubuntu:ubuntu’15:07
nuclearbob"15:07
nuclearbobbut maybe we should discuss that later15:08
roadmrQUESTION: For precise, which kernel is required? is 3.8 enough, or is 3.11 needed?15:08
mbruzeknuclearbob, what command were you running when you got the error?15:08
nuclearbobmbruzek, juju quickstart15:08
nuclearbobmbruzek, here's what I'm doing: http://pastebin.ubuntu.com/7629014/15:09
pitti_uosI see the juju GUI (through youtube)15:09
nuclearbobfwiw, I've used juju on canonistack, I'm just getting stuck on local15:09
roadmrnuclearbob: pastebin that cloud-init-output.log maybe?15:09
mbruzeknuclearbob, what version of Ubuntu are you using?  uname -a15:09
nuclearbobroadmr, mbruzek, I'15:10
nuclearbobm running devel/utopic, but I haven't updated yet today.  I can't see that file in my local system15:10
mbruzeknuclearbob, you probably shouldn't have removed .juju directory15:11
roadmrnuclearbob: "on remote host", use lxc-ls to see if the container started at least; if so, try sshing into it or using lxc-console or lxc-attach15:11
nuclearbobmbruzek: I backed it up, I can put it back if that helps15:11
nuclearbobroadmr, I have a bunch of containers, but none of them have juju in the name15:11
mbruzekEither that or remove and reinstall the latest juju15:11
roadmr(oh never mind me, the env was destroyed so the lxc won't be there probably)15:11
nessitaI just finished installing juju-quickstart, can you please confirm that is the first command I should run?15:11
kentbit is15:11
mbruzek$ juju --version15:11
mbruzek1.19.3-trusty-amd6415:11
nuclearbobI'15:12
nuclearbobve got 1.19.3-utopic-amd6415:12
nuclearbobI can remove and reinstall if needed15:12
nuclearboboh, is max-local-machine-1 where I should look for the log?15:12
nuclearbobI was looking for something with juju in the name15:12
mbruzekI think removing .juju was a problem, either restore that  or remove/install15:13
nuclearbobokay, to remove/install, is apt-get remove juju-core ; apt-get install juju-core good enough?15:13
nessitajcastro, can you please pause a little bit and recap how you edned up with mysql in the lxc?15:13
mbruzeknessita, Can you elaborate your question15:14
lazyPowernessita: assuming you've run juju bootstrap -  juju deploy mysql15:15
nessitaI'm still waiting on juje-quickstart15:15
nessitaso not sure what to type next15:15
nessitaand wanted to recap what command to run next15:15
pitti_uosnessita: the mediawiki charm pulled in a mysql node15:16
mbruzeknessita, There is a lot going on it may take up to 3 or 6 minutes15:16
lazyPowernessita: do you still see the quickstart GUI or is it currently outputting the bootstrap text?15:16
nuclearbobroadmr, should I get rid of max-local-machine-1 and max-local-machine-2 before I run juju quickstart?15:16
nessitacurrrently showing: machine 1 provisioning is pending15:16
nessita(no new output in the last minute)15:16
pitti_uosnessita: he went to the GUI (which should already be open in browser) and just activated the mediawiki hub15:16
roadmrnuclearbob: yes, it's likely to try to create the same names again which will lead to clashes15:16
nuclearbobthat curses ui is awesome15:16
nessitapitti_uos, nothing in the browser15:16
lazyPowernessita: ok. so if Machine 1 is still provisioning, this will take a moment - its downloading a 200mb cloud image template for your LXC installation15:16
nessitaack15:16
lazyPowerthis is a one time thing if you've never bootstrapped on the local provider before.15:16
nuclearbobhmm, it's taking forever to lxc-destroy them, that's interesting15:16
lazyPowerafter your first time bootstrapping, it will take seconds to spin up a new container, as the image is cached.15:17
JamesTaitlazyPower, is that still the case even without a btrfs partition?15:17
roadmrnuclearbob: indeed, destroy should be fast. Did you -f (force)? we don't care about them so that may work15:17
nuclearbobroadmr, I'll try -f15:17
lazyPowerJamesTait: Correct. it will still clone the lxc-template15:17
lazyPowerit takes ~ 20 seconds? give or take?15:18
roadmrJamesTait: yes, the image is cached; you're thinking about cloning an existing container I think :)15:18
nessitamuch clearer, thanks!15:18
nessitaperfect, understood15:18
JamesTait\o/15:18
roadmrJamesTait: lxc-clone -s will clone using a snapshot, traditionally btrfs or lvm, but you can e.g. --backingstore overlayfs to just use a dir-backed overlay15:19
nessitalazyPower, machine 1 is still provisioning, any way of checking progress (or if it's stuck)?15:20
nuclearbobroadmr: I have this command running for minutes and not returning: sudo lxc-destroy -f -n max-local-machine-115:20
nuclearbobI hope I haven't borked my lxc setup15:20
lazyPowernessita: run sudo lxc-ls --fancy - do you see the precise/trusty template lxc containers listed?15:20
roadmrnuclearbob: hmm I've never seen that :/ can you lxc-console to see what it's doing?15:21
nessitalazyPower, https://pastebin.canonical.com/111495/15:21
roadmrnessita: maybe have a look at /var/log/juju/machine-0.log?15:21
nessitanessita@dali:~$ cat /var/log/juju/machine-0.log15:22
nessitacat: /var/log/juju/machine-0.log: No such file or directory15:22
JamesTaitroadmr, ah, it's possible I misunderstood - I've been avoiding recreating my local juju env because it always seemed to take a while, and I assumed it was re-downloading the cloud image (which isn't good on a metered connection :-P)15:22
nessitaroadmr, ^15:22
nessitanow I got this error: juju-quickstart: error: machine 1 is in an error state: error: template container "juju-trusty-template" did not stop15:22
roadmrJamesTait: ahh :) now we're talking about different things. It will cache the downloaded cloud image (so don't worry about your metered connection). You could also install apt-cacher-ng and configure lxc to use it (/etc/default/lxc), to also cache package downloads15:23
lazyPowernessita: so it failed during creating the template. boo15:23
roadmrJamesTait: in this context, the cloning/snapshot stuff won't help much but it's not needed really15:23
nuclearbobsudo lxc-destroy -f -n max-local-machine-1 doesn't seem to return anything either.  Maybe I should wait for the part of the talk about lxc doing bad things15:23
lazyPowerroadmr: is this an instance where you need to destroy the template and restart? the downloaded image should be re-used and it will quickly recreate teh template again.15:23
nessitaso this is usually my experience with the local provider, is hard to make it work as the instructions show, it fails in way that, without further knowledge, is hard to debug or recover from15:23
nessitadidrocks, that may be relevant for you ^15:24
roadmrlazyPower: indeed, thus even less of a concern for JamesTait, as juju/lxc are pretty good at caching and reusing templates15:24
* JamesTait is recreating his juju env tonight.15:24
nessitalazyPower, any way of recovering from that error?15:24
roadmrnuclearbob: hmm.. yes, unsure how/why things got b0rked :(15:24
sparkiegeekroadmr: JamesTait: LXC works really nicely with squid deb proxy. See http://tribaal.org/making-lxc-and-juju-fly-on-ubuntu.html15:25
lazyPowernessita: you'll need to sudo lxc-destroy --name juju-trusty-template after doing sudo lxc-stop --name juju-trusty-template15:25
lazyPowernessita: then you can re-run the quickstart command and it *should* just do magic15:25
JamesTaitsparkiegeek, agreed - I'm already using that setup. :)15:25
nessitalazyPower, on it!15:25
nessitalazyPower, same error again https://pastebin.canonical.com/111496/15:26
nessitajcastro, no question, but errors! :-/15:26
lazyPowerhmm15:27
nessitajcastro, that's my usual case (local provider breaks and no idea how to fix), and I must confess is pretty frustrating15:28
nuclearbobQUESTION: where do I find this marvelous juju-clean?15:28
nuclearbobI think I missed that part15:28
mbruzekhttp://paste.ubuntu.com/7629087/15:28
jcastrohttps://github.com/juju/plugins15:29
nessitarigth now I have no lxc for juju-trusty-template in order for stop or destroy15:29
didrocksnessita: you don't have anything in /var/lib/lxc, right?15:30
nessitadidrocks, I have all my usual container, not juju related15:30
nessita(sca, u1)15:30
didrocksnessita: did you update from the ppa or you are using juju-quickstart from bare trusty?15:30
nessitadidrocks, I added ppa juju/stable and then installed juju-quickstart15:30
nessitajuju-quickstart: Installed: 1.3.3+bzr74+ppa19~ubuntu14.04.115:31
bloodearnestI had that exact thing too15:31
lazyPowernessita: there's a merge for the juju cleaner that has the commands to run. its not emrged yet15:31
lazyPowerhttps://bugs.launchpad.net/juju-core/+bug/132012115:31
udsbotuLaunchpad bug 1320121 in juju-core "template container did not stop" [Medium,Triaged]15:31
nessitadidrocks, my LXCs https://pastebin.canonical.com/111498/15:31
lazyPowerdidrocks: https://bugs.launchpad.net/juju-core/+bug/132012115:31
didrockslazyPower: thanks! it was that one :)15:31
nessitaoh15:31
lazyPoweryeah, i may look lazy but i promise i'm over ehre flying through browser windows looking for the info15:32
nessita+115:32
nessitaso anyone has the command handy to downgrade/fix juju-quickstart?15:32
fgallinanessita: not sure if helps, but my experience is that stuff generally breaks if I happen to be running one of my non-juju lxc instances while doing juju stuff. I don't know if that changed but I take that preventive step of stopping them before doing juju magic.15:32
nessitaaja!15:32
nessitalazyPower, does that make sense? ^ I do have another (custom) LXC running15:33
nessitathis other LXC is not juju-related15:33
lazyPowernessita: i've had custom lxc containers running before without encountering this, but that's anecdotal. Its worth investigating.15:33
pitti_uosjcastro: fixing mysql> yes, please :) it's a rather common one15:33
nessitashutting down my non-juju-lxc-container15:34
lazyPowerwhoops i pasted teh bug not the merge request in github for the commands15:34
sparkiegeeknot fixing it by adding relation support for postgresql <-> mediawiki and ditching mysql ;) (j/k)15:34
nessitasame error on juju-quickstart, trying now nuking my ~/.juju folder15:34
lazyPowernessita: if that fails, let me know and we'll go through the wiping of the LXC bits for Juju and restarting15:34
nessitalazyPower, on it15:35
lazyPoweryeah there's going to be more  1 sec15:35
lazyPowerlet me fetch the link15:35
lazyPowerhttps://github.com/juju/plugins/pull/11/files15:35
pindongaQUESTION: where do you get the plugins? I'm on trusty but I don't have the pprint command15:35
lazyPowerLooking throught his plugin code, the commands used to wipe it. I need to create some non-juju lxc containers to make sure this doesn't affect them and it will be merged, so all you need to do in teh future is "juju clean" and it'll magically wipe it out for you.15:35
lazyPowerpindonga: https://github.com/juju/plugins15:36
sparkiegeekpindonga: https://github.com/juju/plugins15:36
pindongathx, would be nice if it was packaged for ubuntu, but it'll work for now15:36
jcastrohttps://github.com/juju/plugins15:36
sparkiegeekoh the lag...15:37
nuclearbobroadmr, now I'm getting "juju-quickstart: error: uploading tools for series [utopic precise trusty]"15:37
lazyPowernuclearbob: progress!15:37
nuclearboblazyPower: indeed!15:37
lazyPowerdo you have a default series placed in your ~/.juju/environments.yaml for the local environment?15:38
lazyPowerthats consistent with what i've seen before when we introduced trusty to the juju environments list.15:38
lazyPowerer, series, not environments15:38
lazyPowersorry too many thought trains colliding at once15:38
lazyPowernessita: poke check - how's things going over there?15:39
nessitalazyPower, so I cleaned up everything, but I guess thre is no point of running juju-quickstart if the version in trusty is borked?15:39
pitti_uosjcastro: yes, thanks15:39
nuclearboblazyPower, it looks like juju quickstart didn't give me a default series, maybe it should.  I'll add one for now15:39
nessitaI can just bootstrap local and run juju-gui, I guess?15:39
pitti_uosjcastro: it was quite illustrative how to fix a broken charm, so I'm glad you showed that and not just the "all works" marketing demo :)15:39
lazyPowernessita: you can achieve the same thing quickstart was doign for you by doing: juju bootstrap && juju deploy juju-gui15:40
nessitalazyPower, running15:40
nessitalazyPower, I guess I need to generate-env first?15:40
lazyPowerit wont automagically open the browser for you, and log you in though15:40
nessitaI wiped the ~/.juju fir15:40
nessitadir*15:40
pindongaso, not sure if this is the same as nessita's issue, but juju-quickstart never finishes running... the env is bootstrapped but the gui machine is pending and nothing else moves15:40
lazyPowernessita: bootstrapping will handle that for you15:40
lazyPoweroh!15:40
nessitaah, does it now?15:40
lazyPoweryes if you wiped ~/.juju you need to juju init again15:40
nessitaright15:40
nessitalazyPower, also "juju switch local", right?15:41
nuclearbobokay, I added default-series: trusty to my local environment, but I still get the same error uploading tools15:41
lazyPowercorrect15:41
lazyPowernuclearbob: this is during bootstrap correct?15:41
nessitadone, check with juju env, running bootstrap now15:41
lazyPowernuclearbob: if you run juju bootstrap --upload-tools does it succeed?15:41
roadmrnuclearbob: wow :/ do you see anything interesting in /var/log/juju?15:41
nuclearboblazyPower, I was runnign juju quickstart, if I just run juju bootstrap, it doesn't generate an error uploading the tools, but I still get the chown invalid user error, I'll check the juju log15:42
nuclearbobI don't have an ubuntu user on my workstation, is that the problem?15:42
lazyPowernuclearbob: are you on trusty?15:42
nuclearboblazyPower, utopic15:42
nuclearboband there is no /var/log/juju15:42
lazyPowerOh! interesting...15:43
lazyPowernuclearbob: it would be in ~/.juju/local/logs15:43
nuclearboblazyPower, no local directory in .juju15:43
lazyPowernuclearbob: ok, stands to reason since bootstrap is failing15:44
lazyPowernuclearbob: can you do a traditional juju bootstrap without using quickstart?15:44
lazyPoweror does it still complain about the ubuntu:ubuntu user?15:44
nessitajcastro, is that colourizing thing yours? juju's? system's?15:44
lazyPoweri'll admit, i dont have much experience with whats going on in utopic, so i'm learning right along with you nuclearbob15:44
lazyPowernessita: ccze is a package in the repositories.15:45
lazyPowernessita: available with sudo apt-get install ccze15:45
jcastronessita, it's a package in universe, ccze15:45
nessitalazyPower, juju-gui unit still pending, from over a minute ago, i should keep waiting, right?15:45
lazyPowerbe forewarned, there is a caveate if you do long-running tail's, and your logs pipe doesn't receive any activity after a while, it will appear frozen.15:45
nessitare: ccze, thanks!15:45
nuclearboblazyPower, I am still getting the chown invalid user error15:45
lazyPowernessita: do you see the container listed in sudo lxc-ls --fancy?15:45
lazyPowernuclearbob: ok, sounds like a definitive bug against juju in utopic. Can you file a bug against juju-local with all the relevant log output + troubleshooting steps we have taken?15:46
nessitalazyPower, unique LXC currently running is nessita-local-machine-1  RUNNING  10.0.3.51  -     YES15:46
lazyPowernessita: and juju-status says its p ending?15:46
nuclearboblazyPower, can do15:46
nessitalazyPower, yes https://pastebin.canonical.com/111502/15:46
lazyPowernessita: ok give it a few more moments15:47
nessitalazyPower, ah! but visiting 10.0.3.51 in the browser (now) works15:47
* lazyPower scratches head15:47
lazyPowerwell15:47
lazyPoweri'm glad its there15:47
nessitaI'm in! first time in juju-gui ever15:47
lazyPowerthe status output is troubling15:47
lazyPowerbut heyyyyy15:48
lazyPowerwe got you inb4 you gave up!15:48
lazyPowerhi515:48
sparkiegeekjcastro: what version of Juju are you using? juju debug-log works with local provider in 1.19.315:48
nessitajcastro, can you paste the tail command here? I lost which file to tail on15:49
nessita(please)15:49
jcastrotail -F postgresql-0-debug.log | ccze15:49
jcastroor15:49
jcastrotail -F all-machines.log | ccze15:49
nessitathanks!15:49
mbruzeksparkiegeek, I have verified that debug-log works on 1.19.315:50
sparkiegeekmbruzek: yeah, one of my favourite new features/bug fixes ;)15:50
mbruzeksparkiegeek, I was unaware that was fixed!  I am very happy to see that!15:50
nessitajcastro, already sorted out, no worries15:50
pindongaso, I've been having the same issue locally for ages... I can't get the local provider to deploy anything locally... the machines never finish bootstrapping..15:52
jcastrothat sounds like the template bug I had15:52
pindongaie, strace on the jujud process shows it's waiting on some other process (presumably lxc?)15:52
pindongahowever there is no lxc process running15:52
pindongaand when I launch lxc containers manually they do work :(15:53
nessitathank you!15:53
JamesTaitThanks jcastro!15:53
pitti_uosthanks jcastro15:53
nuclearbobthanks jcastro, roadmr, mbruzek, and lazyPower!15:53
lazyPowerthanks for attending nuclearbob :)15:54
pindongajcastro, sorry if I missed you mentioning the solution to the template issue... care to repeat?15:54
JamesTaitAnd also roadmr, mbruzek and lazyPower! :)15:54
mbruzeknuclearbob, No problem, hit us up in #juju if you need any more help15:54
roadmrthanks, good session :)15:54
lazyPowerpindonga: there's a plugin merge with teh commands to execute, would you like the link?15:54
JamesTaitAnd nessita for pointing this session out to me. ;)15:54
pindongaplease15:54
pindongalazyPower, please :)15:54
lazyPowerhttps://github.com/juju/plugins/pull/11/files -- needs testing with additional lxc containers not under juju control to validate the merge is good. but should be g2g15:54
mbruzekpindonga and JamesTait Here is a session we had for Troubleshooting Jujuhttp://www.youtube.com/watch?v=UuqFaTASBTE15:55
bloodearnest\o/ juju-clean plugin has fixed my broken local env :) Thanks jcastro15:55
jcastroyeah!15:55
pindongalazyPower, so I should add these changes and run juju cleanup?15:55
sparkiegeekshould be called juju-nuke-from-orbit15:55
lazyPowerpindonga: i would run them manually until they get merged into the clean plugin15:55
=== ChanServ changed the topic of #ubuntu-uds-devops-1 to: Track: Cloud DevOps | Juju Core and GUI Roadmap | Url: http://summit.ubuntu.com/uos-1406/meeting/22287/juju-core-roadmap/
nessitapindonga, I ran each command individually and re-bootstrapped15:56
nessitaand it worked15:56
bloodearnestORLY? I may just have to stay around then...15:56
bloodearnestnessita: \o.15:56
jcastromarco is mid-upgrading the plugin15:57
jcastroso we should have a newer one here in a little bit that should sort everyone15:57
JamesTaitThanks for the link, mbruzek.  Can I juju deploy more-hours-in-the-day so I have time to watch it? :-P15:58
nessitajcastro, I lost track of that status of juju-quickstart, shall I expect the fix in trusty?15:58
nessita(I'm using the juju stable ppa)15:58
jcastrostay on the PPA for now15:58
jcastrorbasak is in progress fixing in trusty15:58
nessitajcastro, thanks :-)15:59
=== avoine is now known as patrick
* fgallina moves to use the stable ppa16:00
=== patrick is now known as patrick-uds
pindongajcastro, should I switch to the stable ppa? I'm using trusty16:01
jcastropindonga, I prefer to use the PPA16:05
rbasakI would like to get the versions in the archive updated and updated frequently enough that the PPA becomes redundant, but we're not there yet.16:05
pindongajcastro, lazyPower so, I've cleared everything up and re-run quickstart.. stuff seems to be moving... I'll report back when it stops...16:06
pindongathanks for the help16:06
jcastrowe're in #juju for the follow up16:07
pindongaack16:08
patrick-udsQUESTION: do you plan to make it possible to deploy a bundle with containing local charms in juju-gui?16:13
jcastroooh good one!16:13
jcastroI'll have him answer here in a minute16:13
apwprops for being able to talk when you can hear yourself ...16:21
urulamaQUESTION: will it be possible to link charms from different environments (in a multi env system)?16:23
patrick-udsmaybe a local charm store could help out16:25
urulamagreat, thanks16:26
jcastrohttp://jujugui.wordpress.com/16:27
urulamaQUESTION: multi user support -> are we talking about connecting to LDAP server?16:28
rbasakSo juju's state server will use LDAP to connect to an LDAP server deployed using a charm in it's own environment? That sounds like fun :-P16:30
urulamasorry for being nosy :D16:30
rbasakurulama: thank you for participating!16:31
urulamathanks16:31
urulamarbasak: was a pleasure to get to know what's coming :D16:33
=== ChanServ changed the topic of #ubuntu-uds-devops-1 to: Currently no events are active in this room - http://summit.ubuntu.com/uos-1406/devops-1/ - http://irclogs.ubuntu.com/2014/06/11/%23ubuntu-uds-devops-1.html
=== ChanServ changed the topic of #ubuntu-uds-devops-1 to: Track: Cloud DevOps | Getting Started Writing Juju Charms | Url: http://summit.ubuntu.com/uos-1406/meeting/22236/getting-started-writing-juju-charms/
marcoceppio/18:02
mbruzekIf you want to follow along at home:  https://juju.ubuntu.com/docs/getting-started.html18:06
mbruzekCharm Tools:  https://juju.ubuntu.com/docs/tools-charm-tools.html18:08
mbruzekhttps://juju.ubuntu.com/docs/contributing.html18:10
mbruzekFor those who do not already know, the YAML format is simple human readable format18:14
mbruzekhttp://en.wikipedia.org/wiki/YAML18:14
mbruzekThe YAML specification can be found here: http://www.yaml.org/18:15
mbruzekThe README file can be in Markdown format:  http://en.wikipedia.org/wiki/Markdown18:16
mbruzekAny questions for Macro please leave them here, prefix with QUESTION18:20
mbruzekJuju Icon documentation:  https://juju.ubuntu.com/docs/authors-charm-icon.html18:30
nessitavideo stoppped, is it just me?18:38
mbruzekI am still going18:38
marcoceppinessita: you may need to refresh18:38
nessitaon it18:38
nessitamarcoceppi, so you just removed the whole peer section?18:39
mbruzekYes he did18:39
jcastromarcoceppi, your audio cut out18:40
nessitambruzek, thanks, I'm "back"18:40
mbruzeknessita, it looks like marco is having problems.18:40
nessitambruzek, did he fix the "I: relation bar has no hooks18:40
nessita"18:40
nessita?18:40
nessitamy latest charm proof shows:18:41
nessitanessita@dali:~/charms/trusty/foobar$ charm proof18:41
nessitaW: Includes template icon.svg file.18:41
nessitaI: relation bar has no hooks18:41
mbruzekI = Informational and we are OK with them.18:41
nessitaah!18:42
mbruzekYou would want to clean up any charm proof Warnings or Errors.18:42
nessitaright18:42
mbruzekWe are going to continue this session into the next hour please stay with us if you are seeing these messages about time left in our session.18:49
=== ChanServ changed the topic of #ubuntu-uds-devops-1 to: Currently no events are active in this room - http://summit.ubuntu.com/uos-1406/devops-1/ - http://irclogs.ubuntu.com/2014/06/11/%23ubuntu-uds-devops-1.html
fgallinacurly, no spaces.18:56
mbruzekCharm Interfaces documentation:  https://juju.ubuntu.com/docs/authors-charm-interfaces.html18:59
mbruzekAlso here is a handy list of EXISTING interfaces:  https://manage.jujucharms.com/interfaces18:59
marcoceppifgallina: thanks!19:00
mbruzekThe hook environment is documented here:  https://juju.ubuntu.com/docs/authors-hook-environment.html19:04
nessita juju-log "FOOOOO"19:07
nessitajuju-log: command not found19:07
nessitaanything extra I need to install?19:08
nessitaah, ok19:08
mbruzeknessita, You must be in a hook environment before those commands are available19:09
pindongaQUESTION: in case it hasn't been addressed before... recommendations on how to keep multiple branches for a charm (I found the issue in the past where keeping them side-by-side inside of the charm repository would cause issues, like the wrong branch being picked up by juju)19:09
pindongaie, in particular is there a nice way to use lightweight checkouts when writing charms?19:10
mbruzekThanks for the great question19:16
pindongathx for the answer19:17
pindongait'd be ideal if we could find a way to make juju work with symlinks at least19:17
pindongaso that I don't have to move folders around19:17
pindongabut at least you got me an idea (changing the charm name and keep branches side by side)19:17
pindongawhich is better than keeping many repos (imho)19:18
catbus1the juju bootstrap node is not on?19:19
jcastrombruzek, 15 minute warning!19:46
mbruzekThanks jose19:50
jose:)19:50
lazyPowermarcoceppi: juju scp -r doesn't work because juju isn't passing -r to the command20:02
lazyPowerunless i'm way off base, but i'm about 99% sure thats the case.20:02
lazyPoweri get really cheap and just tarball teh charmdir and copy that to $HOME, then juju scp that over.20:03
lazyPowerits not ideal but it gets the job done20:03
bloodearnestlazyPower: juju scp --help shows examples of -r working as expected (1.18.3 anyway)20:06
lazyPowerbloodearnest: yeah i saw that20:06
lazyPowerbut in practice it doesn't appear to be the case20:06
lazyPowerperhaps docs contain feature creep ;)20:06
bloodearnestI'm sure I saw a -- to pass things through to raw scp at some point20:07

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