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

=== CyberJacob is now known as CyberJacob|Away
=== CyberJacob|Away is now known as CyberJacob
marcoceppiTerm1nal: juju status?00:37
=== CyberJacob is now known as CyberJacob|Away
mhall119holy crap it worked!02:32
josemhall119: what? what? I just heard an explosion!02:32
mhall119jose: it was my head02:32
mhall119juju just blew my mind :)02:33
josehaha, what did it just do?02:33
mhall119I deployed 5 services to 5 machines with all relations and it "just worked"02:34
mhall119even using haproxy, which I've never used before, I just deployed it, added a relation to my summit charm, and boom, it's scalable02:35
mhall119after fighting with charms and juju and lxc all week, I'm so happy right now02:36
mhall119jose: http://paste.ubuntu.com/7419267/ :)02:36
mhall119it's so pretty02:36
rick_h_mhall119: woot!02:36
josecool!02:37
* jose is excited to see that summit charm02:37
sarnoldoooo02:38
mhall119jose: https://code.launchpad.net/~mhall119/summit/charm02:38
joseawesome!02:38
* jose <3 summit02:38
=== CyberJacob|Away is now known as CyberJacob
=== vladk|offline is now known as vladk
=== CyberJacob is now known as CyberJacob|Away
=== yo61_ is now known as yo61
TugI have an error when running debug-hooks: duplicate session: shard1/0   Connection to ... closed.10:56
TugI have no other session opened10:56
TugOk, I found a workaround here: https://bugs.launchpad.net/juju-core/+bug/125550211:09
_mup_Bug #1255502: juju debug-hooks can fail with duplicate session <debug-hooks> <juju-core:Triaged> <https://launchpad.net/bugs/1255502>11:09
=== nessita_ is now known as nessita
cjohnstonmarcoceppi: ping13:03
lazyPowercjohnston: he's out today13:33
cjohnstonlazyPower: ack.. how good are you with amulet ;-)13:34
lazyPowerModerately good - I can try to answer your question :)13:39
_benoit_Any juju-core developper here ?13:40
_benoit_I am trying to find how I could reuse bits of the ec2 implementation in the outscale implementation13:40
_benoit_I saw that the types names of the ec2 implementation where not capitalized (exported) so I don't see how I could embed them for reuse13:41
cjohnstonlazyPower: /2713:45
cjohnstonsorry for the ping13:45
lazyPowerno worries13:45
lazyPowerwhats up13:45
cjohnstonlazyPower: so I have a test running.. and I am attempting to get the IP and port for the instance.. I get a KeyError on open-ports13:47
cjohnstonlazyPower: L77 http://paste.ubuntu.com/7417300/ I guess it shows complete, then 2 seconds later is starts another deployment... L78 shows the output of a command that is being run by the test, where we are trying to get the IP address and the open ports.. the open ports dont exist yet for some reason.. L84 is that same command, and they exist there13:47
=== liam_ is now known as Guest67023
lazyPowercan you link me to your test code?13:48
cjohnstonlazyPower: http://bazaar.launchpad.net/~canonical-ci-engineering/uci-engine/trunk/view/head:/tests/test_ppa_assigner.py13:49
lazyPowerinteresting use of amulet13:50
lazyPowerIt may be running through the code before it's finished standing up. try adding a d.sentry.wait()13:51
lazyPowerthat will ensure the sentry units hang the text execution until the topology has 'settled'13:51
cjohnstonhow should we be using amulet?13:51
lazyPowers/text/test13:51
lazyPowerthis is by no mean's wrong, but you're the first person i've seen introduce an amulet wrapper class like this :) i like it13:51
cjohnstonack.. it wasn't me.. lol.. I can't take the credit13:52
lazyPowerthis is cool stuff, i'm going to pass this off to my team so they can take a look as well13:52
=== wedgwood is now known as Guest40395
=== wedgwood1 is now known as wedgwood
=== mars__ is now known as mars
rbasakfrankban: I cannot get juju-quickstart 1.3.2 as packaged working in Utopic. I've filed a bug on this.14:51
rbasakfrankban: it may be a juju bug, I'm not sure. But this blocks an SRU to Trusty.14:51
frankbanrbasak: what's the problem?14:59
_benoit_niemeyer: Hi15:01
niemeyer_benoit_: Heya15:01
_benoit_niemeyer: you seems to be owner of juju core so I would like to ask you what is the best way to integrate the Outscale cloud in juju-core15:01
rbasakfrankban: details in bug 1317939. It just doesn't work.15:01
_benoit_niemeyer: It's mostly ec2 compatible but without s315:02
niemeyer_benoit_: Hmmm.. can we catch up in ~1h?15:02
_benoit_niemeyer: yeah sure15:02
niemeyer_benoit_: I need to step out for lunch imminently15:03
niemeyer_benoit_: Thanks!15:03
=== roadmr is now known as roadmr_afk
jcastroERROR state/api: websocket.Dial wss://10.0.3.1:17070/: dial tcp 10.0.3.1:17070: connection refused17:30
jcastrodoes anyone remember how to get around this?17:30
=== roadmr_afk is now known as roadmr
=== vladk is now known as vladk|offline
=== vladk|offline is now known as vladk
=== vladk is now known as vladk|offline
avoineoh oh, I think Rodney Quillo's new ansible release breaks all the charms that use it...18:51
_benoit_niemeyer: re18:59
niemeyer_benoit_: yo18:59
_benoit_niemeyer: should we go private to discuss this ?18:59
_benoit_niemeyer: first question do you have time right now ?19:00
niemeyer_benoit_: I do have some19:00
niemeyer_benoit_: If it's about juju, we can stay here, or go to #juju-dev19:00
tvansteenburghavoine: how so?19:09
avoinein 1.6 ansible try to read file that starts with { as json19:10
avoinebut charm-helpers use yaml19:10
avoinetvansteenburgh: ^19:10
lazyPowerwell this is weird, the rails-charm references vim-rails as it's upstream counterpart? https://code.launchpad.net/charms/+source/rails19:12
tvansteenburghavoine: thanks for the heads-up19:16
tvansteenburghavoine: i wonder if there's an option to use the old behaviour?19:16
lazyPoweravoine: When did that land?19:16
tvansteenburghyesterday it looks like19:17
lazyPowerurgh so its in the debian package then?19:17
tvansteenburghyep19:17
* lazyPower deploys gitlab-ci to validate its not broken19:17
=== CyberJacob|Away is now known as CyberJacob
avoinethe error is like: 2014-05-09 19:08:00 INFO install fatal: [localhost] => /etc/ansible/host_vars/localhost: Expecting property name: line 1 column 1 (char 1)19:19
avoineI think it could be fix in charm-helpers/contribs/templates/context.py by removing the parentesis around the yaml19:21
avoine* contrib/templating/contexts.py19:23
lazyPowersinzui: was vim-rails registered against the rails charm to share bugs? Is it going to peeve anyone off if i remove this uplink?19:25
sinzuilazyPower, 99% chance it was an error19:25
lazyPowerawesome. Thanks19:25
sinzuimost people who link to distros do more harm than help19:26
avoinetvansteenburgh: fyi https://bugs.launchpad.net/charm-helpers/+bug/131803619:37
tvansteenburghavoine: thank you!19:37
tvansteenburghavoine: did you want to propose your branch for merging? your change lgtm assuming all the tests pass, but i don't have the power to merge it19:58
tvansteenburghavoine: will probably need to wait for marcoceppi to merge19:59
avoinetvansteenburgh: yeah, should I create a merge request?19:59
avoineok19:59
tvansteenburghavoine: yes, please do19:59
lazyPowertvansteenburgh: ping me once your +1's are on the MP20:03
lazyPoweri'll do a quick review and ack it if it's good20:03
avoinetvansteenburgh: done https://code.launchpad.net/~patrick-hetu/charm-helpers/default_flow_style/+merge/21906320:03
lazyPowerdude, perfect20:05
lazyPoweravoine: thanks for this fix!20:05
=== CyberJacob is now known as CyberJacob|Away
marcoceppijcastro: sudo start juju-db-local-jorge20:41
joselazyPower: still around?22:33
lazyPowerfor a minute or two, whats up jose?22:35
joselazyPower: hey! you said your owncloud tests passed when you did them, would you mind pastebinning the test so I can see if they work for me?22:36
jose(in the case you still have those changes)22:36
joseI'm getting these random timeouts22:36
lazyPowerjose: it's whatever is in trunk of the owncloud charm22:36
josehmm... ok(?) (that shouldn't work)22:36
lazyPowerjose: running them against amazon now22:37
lazyPoweri'll stick around until they complete running22:37
josethanks! I'm running my tests once more to see if they for any magic reason work22:38
joselazyPower: unit relation-sentry failed hook install22:52
lazyPowerdid you --set-e?22:52
lazyPowerif you did, can you ssh-import-id on the unit so i can remote in and take a look at the logs?22:53
lazyPoweractually, i got that too, so nevermind. I'll re-run it with --set-e22:53
josesorry, nope :(22:53
* lazyPower scratches head22:53
lazyPowerthey worked at one point... otherwise they wouldn't have been acked.22:53
joseI find it weird... *that's* the one which shouldn't fail!22:54
lazyPower (╯°□°)╯︵ ┻━┻22:54
lazyPowerwell mine filed on deploying the relation sentry22:55
lazyPowerso22:55
* lazyPower looks shifty22:55
* lazyPower breaks for food while this runs its course22:55
joselazyPower: got the timeout again, even though seconds was set to 3000, which is 50mins23:12
lazyPowerjose: http://paste.ubuntu.com/7425609/23:13
joseso that's the thing?23:14
* jose grrs23:14
lazyPowerjose: looks like the tests tanked after the merge to update owncloud23:19
lazyPoweri just reverted back to rev 23 and they work23:20
joseso, what should we do?23:20
joseI'm not entirely sure on what do to now23:21
lazyPowerjose: the tests are going to have to be updated. The update got merged without checking the tests23:25
joseI personally don't see what could've changed23:25
lazyPowerfile a bug, assign to me, note in the MR that the tests need updated unless you feel like starting from square 0 and rewriting them.23:25
lazyPoweri'll get to them when I get some time to cycle on it. Possibly later this weekend depending on whats going on23:26
josehmm, will do23:26
lazyPowerThanks jose23:27
josethanks to you!23:27
lazyPowerI'm goign to head out for the evening. o/ appreciate the cycles on trying to discover whats wrong with the owncloud tests23:27
joseyou have a good rest of your day!23:28
Term1nalquestion about juju, trying to wrap my head around: say for example I do something dumb easy like wordpress and mysql in juju. If I set 2 mysql units for 1 wordpress unit, if one of the mysql units goes down, it's already good to go?23:28
joseI'm not exactly sure about how that would go23:31
Term1nalI guess I don't understand what the purpose of deploy more units of mysql would do exactly. Do they already replicate at that point?23:32
joseI personally don't know, someone else should be able to help around23:32
sarnoldTerm1nal: in general, I think you'd have to check the charm's README to know the capabilities of each charm.23:34
sarnoldTerm1nal: for mysql, it looks like you can deploy mysql slaves easily enough to improve read performance: http://manage.jujucharms.com/charms/precise/mysql23:34
sarnoldoff to walk the dog :) have fun23:35
Term1nalI can grok that, but in the juju-gui, what is the benefit of just increasing the amount of units deployed?23:36
Term1nalhttp://askubuntu.com/questions/369231/juju-mysql-adding-units-vs-adding-new-service-with-relation I think that sums up what I was wondering about.23:42
Term1nalSo adding more units to the charm doesn't do anything :D23:42

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