/srv/irclogs.ubuntu.com/2015/01/05/#juju.txt

weblifeWould anyone here be interested in a book about "Engineering Customer Relationship Management Web Applications with Node.js & MongoDB" : https://github.com/webbrandon/simple-secure-auth00:21
=== negronjl_afk is now known as negronjl
=== Guest48642 is now known as rcj
=== rcj is now known as Guest3092
=== ev_ is now known as ev
=== Odd_Blok1 is now known as Odd_Bloke
=== liam_ is now known as Guest28200
=== coreycb` is now known as coreycb
=== rbasak_ is now known as rbasak
=== Guest3092 is now known as rcj
lazyPowerMorning Juju o/14:21
rick_h_lazyPower: woot woot14:22
skayo/14:23
=== cmars` is now known as cmars
=== Guest93916 is now known as balloons
=== kwmonroe_ is now known as kwmonroe
=== scuttle` is now known as scuttlemonkey
=== beuno_ is now known as beuno
=== roadmr is now known as roadmr_afk
=== roadmr_afk is now known as roadmr
=== kadams54 is now known as kadams54-away
=== urulama is now known as urulama|kids
skayarg, I don't know why this just started happening. juju bootstrap is failing. it was working earlier today. http://paste.ubuntu.com/9677528/16:53
skayhalp16:54
marcoceppiskay: you may have some old reminants laying around16:59
marcoceppiskay: what does `sudo initctl list | grep juju` show?17:00
skaymarcoceppi: juju-agent-sheila-local start/running17:01
marcoceppiskay: yeah, you've got an unclean destruction of the local provider17:01
skaymarcoceppi: the first time this started happening, I ran http://paste.ubuntu.com/9677575/ in hopes it would clean up everything17:01
marcoceppiskay: `juju destroy-environment --force local`17:01
=== kadams54-away is now known as kadams54
marcoceppiskay: well, that's a start..17:02
marcoceppiskay: it's missing a few things17:02
marcoceppiit's a bit overreaching, I should go update that ask ubuntu question17:02
skayretrying after running destroy-environment --force local17:02
marcoceppiskay: wait17:03
skaymarcoceppi: same result17:03
skaymarcoceppi: sorry, trigger happy17:03
marcoceppirun `sudo stop juju-agent-sheila-local` first17:03
marcoceppiyou delete the init file, but never actually stop the process17:03
marcoceppiyou should stop the juju-agent processes first, then run the clean up script17:04
skayoh cool, I got an interesting error when I tried to stop the process17:04
skaystop: Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist17:04
marcoceppiskay: right, because you removed the init file :)17:05
mwak_hi17:05
skayderp. what do I do now?17:05
marcoceppiskay: ps -aef | grep mongo17:06
skaykill that?17:06
marcoceppiskay: maybe17:06
marcoceppidepends if it's the right mongo proc17:07
marcoceppiI think there's something else that runs too17:07
marcoceppilet me check17:07
skaythere seems to be only one running here17:07
marcoceppiskay: kill the mongo if it's from /usr/lib/juju17:08
marcoceppiskay: also, kill any jujud processes running17:08
marcoceppiof which there may be one17:08
skaymarcoceppi: things are good now17:13
skaymarcoceppi: thanks kindly17:13
marcoceppiskay: no worries, I'll add this in to the local provider plugin I'm building17:14
skaymarcoceppi: I guess in the script I have, it should go through the list of files in /etc/init/juju-* and sudo service stop them?17:14
marcoceppiskay: yes, you should basically loop thorugh each of the services listed in `sudo initctl list | grep juju`17:15
skaymarcoceppi: what's going to be in the plugin?17:16
=== keithzg_ is now known as keithzg
marcoceppiskay: a whole bunch of stuff, I've outlined here:17:21
marcoceppihttps://github.com/juju-solutions/juju-local17:21
skaymarcoceppi: thanks. btw, I went ahead and started adding the step to put a stop to juju daemons in my script, https://github.com/codersquid/dotfiles/blob/master/bin/juju-cleanup#L16 though I haven't tested it yet. but if you see a problem in that line at a 2 second glance, let me know17:32
marcoceppiskay: you could add them to the existing juju plugin17:33
marcoceppihttps://github.com/juju/plugins/blob/master/juju-clean17:33
skaymarcoceppi: okay17:41
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
skaymarcoceppi: I'm not certain the script I'm using does things you'd want in that plugin, but I'll go ahead and submit a PR for comment18:08
skaymarcoceppi: hey, https://github.com/juju/plugins/pull/4118:35
skayI wish I could remember whoever it was in here who helped with a cleanup script before. what I'm using is based on the answer and on their script18:36
lazyPowerskay: probably mbarnett18:45
lazyPowerer mbruzek18:45
=== kadams54 is now known as kadams54-away
=== urulama|kids is now known as urulama
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
marcoceppiskay: thanks for the PR, looks good for the most part, left some feedback20:32
designatedwhat does the little heartbeat icon next to the hacluster charm represent?  does the number indicate the number oc clusters?20:54
designateds/oc/of20:54
marcoceppidesignated: it indicates the number of services heartbeat is connected to20:59
marcoceppisince it's a subordinate and can only exist on an existing service20:59
marcoceppierr20:59
marcoceppis/heartbeat/hacluster20:59
=== kadams54 is now known as kadams54-away
designatedmarcoceppi: thank you21:18
=== kadams54-away is now known as kadams54
designatedmarcoceppi: is it normal, once clustering completes, for the relation to turn gray and the heartbeat icon to show "1"?21:21
marcoceppidesignated: yes21:30
marcoceppisubordinate relation lines tend to go grey to stay out of the way of the tree21:30
designatedmarcoceppi: thank you, that clears up a little of the confusion21:30
seal_I have deploy a simple docker charm, which simply installs docker on ubuntu 140421:41
seal_when I run juju ssh <service>/0 and21:42
seal_then run sudo docker run -i -t ubuntu /bin/bash -v21:42
seal_I get FATA[0000] Cannot connect to the Docker daemon. Is 'docker -d' running on this host?21:42
marcoceppiseal_: well, is docker -d running on the host?21:42
seal_tried running sudo docker -d21:42
seal_yes21:42
seal_wait21:42
seal_cheecking21:42
seal_permission denied and I ran it as root21:43
seal_also tried running under ubuntu user21:43
seal_permission denied21:43
marcoceppiI'm not sure why it'd be doing that, lazyPower ^?21:45
lazyPowersec - on another problem. be with you shortly21:46
seal_ok thanks21:46
* lazyPower reads scrollback21:46
lazyPowerseal_: which docker charm did you look at?21:47
lazyPowerseal_: also, that is indeed strange, as sudo - it should have had no problems communicating with it.21:47
seal_well I could not find any21:48
seal_so I just wrote a basic charm with a single install hook21:48
seal_mainly curl -sSL https://get.docker.com/ubuntu/ | sudo sh21:48
seal_which reported no error even when using juju debug-hooks21:49
lazyPowerseal_: https://github.com/chuckbutler/docker-charm21:49
seal_ok will try that21:49
lazyPowerseal_: this is our active work target for docker, and when its completed we'll runt he gauntlet of upstream review21:49
lazyPowerit has some preliminary documentatino around cross host networking - but that's going to be the first serious change we make to it, as we're investigating in splitting it out from the charm itself and making it composeable with subordinates21:50
lazyPoweri'm not sure why docker would be doing that to you though - thats a really strange issue to crop up21:50
lazyPowerseal_: feel free to ping with any questions/comments/concerns/issues21:53
seal_yeah very strange as I have it installed locally and it works21:53
seal_thanks lazyPower21:54
lazyPowernp21:54
noise][Hi, I'm trying to troubleshoot an issue where I've got a working relation-changed hook from my website providing charm to haproxy. All is good with the 1st deploy of both services, but when I add a 2nd website unit and it calls relation-set to the haproxy, the haproxy charm's reverseproxy-relation-changed never gets called22:09
lazyPowernoise][: is this being done via add-unit? or are you relating a second charm all together to haproxy?22:09
noise][add22:10
noise][lazyPower: add-unit22:10
lazyPowerinteresting, it should have called the rp-relation-changed hook to set it as a round-robin target22:10
noise][y, no sign of it though :(22:10
lazyPowernoise][: can you file a bug against the haproxy charm on this?  https://bugs.launchpad.net/charms/+source/haproxy22:11
=== roadmr is now known as roadmr_afk
noise][lazyPower: will do. any idea where to start looking to hunt it down? It looks like the haproxy charm just doesn't even get called again22:12
lazyPowernoise][: i would attach to a debug-hooks session on haproxy, run the relationship and try to intercept it and run teh hooks interactively22:13
lazyPoweri suspect whats happening is the hook is getting called but bailing out because its getting a false positive thinking its already configured and doing a no-op22:13
noise][y, tried that, got no calls22:13
lazyPowerhmmm22:13
noise][but i'll try again w/a clean start22:13
lazyPowerwhat version of juju noise][?22:13
noise][1.20.10-utopic-amd6422:14
lazyPowerok thats -stable in utopic, hmm22:16
lazyPoweryeah i cant come up with any reason why it wouldnt' get called22:16
noise][lazyPower: i should note I'm using the "Relation-Driven Proxying" method, specifying "services=" in the relation-set22:17
noise][but it works fine for the first website unit, so not sure why it's failing for additional22:17
noise][anyway, i'll file a bug and continue to hunt22:17
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
whitcory_fu, is there a way to beam back changes from a unit w/ dhx?22:46
* whit is trying to figure out sync22:46
cory_fuwhit: -s22:46
whitso if I have dhx session running without -s cory_fu?22:46
cory_fudhx -s unit will automatically do a sync-charm when the session is done22:46
whitcory_fu, but I have to start it with -s (in the charm dir?)22:47
cory_fuwhit: Well, you could always close the current dhx session and then start a new one with -s22:47
whitok... that works22:47
cory_fuIn the charm dir, yes.  You could also just manually run sync-charm22:47
cory_fuIt's pretty straightforward22:47
cory_fuwhit: Basically just: juju sync-charm unit/022:48
cory_fu(from within the charm directory)22:48
=== kadams54-away is now known as kadams54
=== roadmr_afk is now known as roadmr
=== kadams54 is now known as kadams54-away

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