/srv/irclogs.ubuntu.com/2014/08/05/#juju.txt

=== uru_ is now known as urulama
=== menn0_ is now known as menn0
=== Guest6594 is now known as ackk`
=== ackk` is now known as ackk
=== CyberJacob|Away is now known as CyberJacob
jcastrohttps://docs.google.com/a/canonical.com/document/d/1t_55N1il3XoL8z-jfa1CBoSxzOQjC90cgSpCqx5wkH0/edit#07:08
jcastrothumper, ^^^07:08
thumperbac, fwereade: https://docs.google.com/a/canonical.com/document/d/1t_55N1il3XoL8z-jfa1CBoSxzOQjC90cgSpCqx5wkH0/edit#07:09
bacthumper: https://docs.google.com/a/canonical.com/document/d/1t_55N1il3XoL8z-jfa1CBoSxzOQjC90cgSpCqx5wkH0/edit#07:38
bacthumper: no, https://wiki.canonical.com/InformationInfrastructure/IS/Mojo07:38
=== CyberJacob is now known as CyberJacob|Away
=== mjs0 is now known as menn0
=== jameinel is now known as j-a-meinel
=== jameinel is now known as jam
=== psivaa is now known as psivaa-reboot
stubTribaal: I think the non-corosync leader election stuff is still racy, in that you can have two or more units that think they are the leader running hooks at the same time.11:57
Tribaalstub: interesting, but how can that work?11:58
Tribaalstub: seems like "I am the unit with the smallest unit number" should be relatively easy to determine?11:58
Tribaalstub: or do you mean it races with the peer list fetching?11:59
stubA three unit cluster, units 2 and 3 have joined the peer relationship and happily running hooks. unit 1 is finally provisioned and joins the peer relation11:59
Tribaalah11:59
Tribaalsmartass units :)11:59
stubLast I checked, it is impossible to elect a leader reliably if you create a service with more than 2 units11:59
* stub looks for the bug number12:00
Tribaalyeah, seems very dodgy to do so. I guess the decoumentation should reflect that, but the comments are still valid12:00
Tribaalstub: can we query the juju state server for the list of peers?12:00
Tribaal:)12:00
stubTribaal: I haven't looked into unsupported mechanisms :)12:01
Tribaalstub: hehe12:01
stubTribaal: I'm just sticking with the 'create 2 units, wait, then add more' as a documented limitation until juju gives us leader election12:01
stubhttps://bugs.launchpad.net/juju-core/+bug/125848512:01
* Tribaal looks into how complex a corosync setup is12:02
stubLet me know, that might solve my issues too...12:02
Tribaalstub: seems like it would be generally useful, yes. seems like a job zookeeper would have handled well though12:03
Tribaalsorry if I'm breaking a taboo :)12:03
stubI think juju has the information we need, it just needs to be exposed to the charms ;)12:04
Tribaalstub: yeah12:07
Tribaalstub: ohh12:07
Tribaalstub: I think I have an idea :)12:08
Tribaalstub: I'll give it a spin when I'm on the beach this week and see if it can work12:09
stubTribaal: I've proven to myself that it is impossible, and nobody has yet corrected me, but you are more than welcome to prove me wrong :)12:10
stubMy test suite seems guaranteed to trigger the race conditions :)12:10
Tribaalstub: sweet!12:10
Tribaalstub: a reproductible race is half he battle already12:10
Tribaals/he/the/12:11
Tribaalso, corosync uses multicast it seems12:49
Tribaalthat comes with its own set of problems12:49
tvansteenburghjacekn: hi, i'm working the charm review queue this week, do you have any updates for https://code.launchpad.net/~jacekn/charms/precise/rabbitmq-server/queue-monitoring/+merge/218580 ?14:08
jacekntvansteenburgh: sorry no another team took over this project14:11
jacekntvansteenburgh: I will let them know14:11
tvansteenburghjacekn: ok thanks14:11
bigtreeI am having an issue with the juju mongodb filling up my 8gb micro sd card -- is there a way I can periodically flush this db?14:13
jamespagedimitern, http://paste.ubuntu.com/7961799/14:59
jamespagedimitern, http://paste.ubuntu.com/7961802/15:00
khussi'm creating a new charm my-nova-compute and it has to be installed on top of nova-compute. This means my-nova-compute has to be installed after installing nova-compute on the same machine. What kind of relationship can I use to achieve this?15:06
rbasaksinzui: did you sort that source tarball for me, please?15:30
rbasaksinzui: I was having connectivity issues, so don't know if I missed a URL.15:31
=== med_ is now known as Guest26240
sinzuirbasak, I am so sorry. I forgot. http://juju-ci.vapour.ws:8080/job/build-revision/1666/15:34
rbasaksinzui: no problem. Only getting to it now, as I wait on some very slow mysql tests :-/15:35
rbasaksinzui: are you free in eight minutes? The TB meeting has had some questions about Juju upstream QA for the exception request.15:53
rbasaksinzui: looks like it's dragged on for a while. If you could answer their questions, that might speed things up.15:53
rbasaksinzui: #ubuntu-meeting-215:53
sinzuirbasak, I don't have time, sorry. I am sprinting and debating at this moment15:54
rbasaksinzui: OK, I'll try and do what I can.15:54
hatchanyone know why I would get this error when trying to bootstrap using local?16:39
hatchWARNING ignoring environments.yaml: using bootstrap config in file "/home/vagrant/.juju/environments/local.jenv"16:39
hatch1.20.1-saucy-amd6416:39
jcw4hatch: I believe that's just a warning letting you know it's using the local.jenv instead of the environments.yaml16:40
jcw4hatch: if the local.jenv doesn't exist juju will create it the first time using environments.yaml as the template16:41
jcw4hatch: but after the local.jenv has been created, any changes in that section of the environments.yaml won't get picked up16:41
=== viperZ28__ is now known as viperZ28
hatchohh ok, it subsequently fails with:16:42
hatchERROR Get http://10.0.3.1:8040/provider-state: dial tcp 10.0.3.1:8040: connection refused16:42
hatchso I thought that might have been the problem16:42
jcw4hatch: hmm, that seems like an unrelated error.  Not sure what that one is16:43
hatchhere is the full output https://gist.github.com/hatched/5849510b38afac01b6cf16:44
hatchnot sure if that helps at all heh16:45
jcw4hatch: interesting.  The WARNING unknown config field "shared-storage-port" bit is interesting16:46
jcw4hatch: but I'm not sure it's related either16:46
jcw4hatch: I'm suspecting lxc issues maybe16:46
jcw4hatch: can you 'juju destroy-environment local' and 'juju bootstrap' again?16:47
hatchyeah i have to use --force though because it seems to have created a 'partial' env16:47
hatchthe same issue happens16:47
jcw4hatch: hmm16:47
hatchyeah I'm at a loss at how to debug this heh16:47
jcw4hatch: I'm afraid I don't know much more than that.  What does 'sudo lxc-ls --fancy' show?16:48
* jcw4 grasping at straws16:48
hatcha fancy empty table :)16:48
jcw4hmm; that's interesting.  I would expecte at least one row16:48
hatchafter destroying?16:48
abrimerjamespage, are you available for a question?16:49
hatchjcw4 well thanks for the help, I'll keep poking around16:49
jcw4hatch: yeah, I think the 'juju-*-template'  would stay around16:49
jcw4hatch: yw... good luck :)16:50
hatchthanks - I'll need it haha16:50
jcw4hatch: lazyPower or marcoceppi or someone else may know better, if they're available right now16:51
* lazyPower reads scrollback16:51
lazyPowerhatch: do you have teh juju-plugins repository added?16:52
lazyPowerthere's a plugin to help clean this up and get you to a known good state - fresh from the cloud. juju-clean16:52
hatchlazyPower not sure....16:52
hatchunrecognized command16:52
hatchso probably not16:52
lazyPowerhttps://github.com/juju/plugins16:52
lazyPowerinstall instructions are in the README. just clone and add to $PATH16:53
hatchoh ok will try16:53
themonkhow to view unit log in amazon instance?16:54
lazyPowerthemonk: either jujud ebug-log, or cat/tail/less it in /var/log/juju/unit-service-#.log16:55
lazyPower*juju debug-log16:55
themonkok thanks :)16:55
hatchlazyPower I don't want to jinx it but it appears to be working now....16:57
lazyPowerwoo16:57
hatchso...was that caused by the upgrade path or something?16:57
hatchany idea why it was broken?16:57
lazyPowerhard to say16:57
lazyPowerlocal provider can be picky16:57
hatchis this plugins stuff in the docs? I couldn't find it, it definitely should be :)16:58
lazyPowernope16:58
lazyPowerits very unofficial atm16:58
themonklazyPower, its not there i have /var/log/juju-themonk-local it has only local unit log, i want amazon instance unit log16:59
lazyPowerthemonk: you need to juju ssh to the unit, then look for it in /var/log/juju16:59
lazyPowerbbiaf, lunch17:00
themonkok got it17:01
natefinchman, memtest is not fast17:18
=== psivaa is now known as psivaa-holiday
hatchnatefinch you're sure having bad luck lately :)17:51
natefinchprobably same problem as before... I just thought it wasn't hardware, since the live disk worked, but maybe it's something specific to booting17:56
=== roadmr is now known as roadmr_afk
lazyPowernatefinch: no sir18:22
lazyPowermemtest is slooowwwww especially when you have quite a bit of it.18:22
sarnoldheh, reminds me of the first time using it on a machine with 16 gigs.. "oh haha look how long this is going to take! *wait five minutes* oh. this is annoying."18:23
lazyPowerhaha, seems about right18:24
=== CyberJacob|Away is now known as CyberJacob
=== scuttlemonkey is now known as scuttle|afk
natefinchtook an hour... no errors in the first pass though18:40
abrimerCan anyone help me with my quantum configuration for openstack using maas and juju?18:57
=== uru_ is now known as urulama
=== uru_ is now known as urulama
=== roadmr_afk is now known as roadmr
=== roadmr is now known as roadmr_afk
=== roadmr_afk is now known as roadmr
npasquaHello all. Does anybody have experience using the hacluster charm? We received agent-state-info: 'hook failed: "ha-relation-changed/joined"' on most subordinates.20:29
abrimerjamespage, do you have a minute to help me with my quantum issue?20:48
themonkI am not getting anything after hitting amazon public-address i cant ping too !!!!20:54
themonkamazone dashbord shows me that instance are running20:55
lazyPowerthemonk: did you expose it?20:57
themonklazyPower, yes20:57
=== natefinch__ is now known as natefinch
lazyPowerdid you validate your security groups were modified to actually open the ports?20:57
lazyPowerand its not some hiccup on the AWS API side of things?20:57
themonk30 min ago it was ok20:58
lazyPowerdid your units public address change on you?20:58
themonki just redeploy my charm20:58
themonki use --to 2 so public address should not change20:59
themonkand it remain same20:59
themonki just expose my amother service and i cant access it now too !!!21:00
=== CyberJacob is now known as CyberJacob|Away
=== menn0_ is now known as menn0

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