/srv/irclogs.ubuntu.com/2013/05/31/#juju.txt

=== defunctzombie_zz is now known as defunctzombie
=== thumper-afk is now known as thumper
alicamAnyone online who can help me setup on EC2 in Sydney (ap-southeast-2) because nothing I do is working!02:58
alicamap-southeast-2 is not recognised as a valid region when you add it to the environment file.02:58
=== defunctzombie is now known as defunctzombie_zz
alicamWhen I add ec2.ap-southeast-2.amazonaws.com as the ec2-uri variable, as an override for region, it breaks the secure transport, and the auth fails.03:01
thumperalicam: I have also noticed problems with ap-southeast-203:14
thumperalicam: sorry, don't have a fix though03:14
thumpernot all regions created equal03:14
thumpersydney ec2 lies03:14
thumperin its api03:14
thumperI start an image there03:14
thumperbut ask over the api if it is running03:14
thumpernope03:14
thumperbut I can see it in the aws console03:15
thumperdoesn't matter, api lies03:15
thumperso *sadface*03:15
alicamSadface here too...03:15
alicamLooks like I'll try for Singapore of Nth Cal03:16
alicamAny experience with those?03:16
thumpersorry, no experience there03:16
thumpergood luck03:17
marcoceppi_alicam: north California should be fine. haven't tried Singapore though03:42
alicamThanks03:47
alicamThanks Marco. I tried Singapore and it couldn't speak to the instance. It fired up an instance, but then lost contact with it! eird03:47
alicamWeird03:47
alicamMarco, is there any reason why I'd have trouble specifying t2.micro instances in my constraints? I don't need m1s03:49
alicamt1.micro instances, I meant, sorry!03:49
alicammarcoceppi_: is there a way to make NFS share an instance with memcached, in the same way that mysql and php-fpm can be made to share?05:03
=== wedgwood_away is now known as wedgwood
=== alexlist` is now known as alexlist
=== agy_ is now known as agy
=== ubot5` is now known as ubot5
=== wedgwood is now known as wedgwood_away
ahasenackhi guys, where in launchpad can I see the merge proposals against a specific charm?12:22
ahasenackor, in lp lingo, "+activereviews"?12:22
jamespageahasenack, all of the official charm branchs are owned by ~charmers12:23
jamespagebut http://jujucharms.com/review-queue is the definitive source12:24
jamespagejcastro, sorry about all of the openstack merge proposals12:24
jamespage:-)12:24
ahasenackjamespage: hm, ok, but I wanted to get an email when a MP was put up for review against a specific charm12:24
jamespageadam_g and I will work through those (i.e. we won't merge our own proposals)12:24
jcastrojamespage: I wasn't complaining12:25
jcastroI was more like "dang, impressive"12:25
jamespagejcastro, :-)12:25
ahasenackjcastro: hey, is there a charm school today?12:25
jcastroyeah12:26
jcastroI'll post the reminder to the list12:26
ahasenackok12:29
=== wedgwood_away is now known as wedgwood
jcastrosidnei: scale of 1 to 10 how much work is that zero downtime for haproxy?13:36
jcastrosidnei: that link was awesome btw.13:36
jcastrohttp://www.igvita.com/2008/12/02/zero-downtime-restarts-with-haproxy/13:36
jcastro^^ for those interested13:36
dpb1Is there a workaround-type-replacement for debug-hooks missing in juju-core?13:37
dpb1I want to run commands interactively in the context of a hook on a machine to test out what is happening.13:37
sidneijcastro: im considering other alternatives mentioned elsewhere, let me dig a couple more links13:47
jcastrodpb1: I'm not aware of any at this time13:49
jcastromarcoceppi_: ^^^13:49
sidneijcastro: http://blog.balancedpayments.com/payments-infrastructure-suspending-traffic-zero-downtime-migrations/ is the other one i had in mind, it requires haproxy 1.5 though13:49
sidneihttp://labs.animoto.com/2010/03/10/uptime-with-haproxy/ is a variation of the first one13:50
=== wedgwood is now known as wedgwood_away
=== wedgwood_away is now known as wedgwood
marcoceppi_dpb1: not that I know of yet15:32
dpb1Hey marcoceppi_, :(15:32
marcoceppi_dpb1: I haven't really tried yet, A lot of my testing is "hook broke, ssh in, patch file, resolved --retry, check again"15:34
dpb1marcoceppi_: ya, same.15:35
dpb1marcoceppi_: I was thinking at one point of trying out some kind remote debugging, but then I... slapped myself.15:36
marcoceppi_dpb1: it'd be nice if core added that again *severe winking towards #juju-dev members*15:37
=== defunctzombie_zz is now known as defunctzombie
dpb1marcoceppi_: I sent an email to juju-dev, hopefully that gets some attention. :)15:38
=== defunctzombie is now known as defunctzombie_zz
jcastrohttp://ubuntuonair.com/ is up to date, we'll star the charm school in about 2 minutes!15:59
jcastrook let's begin16:03
jcastroif you want to ask questions during the charm school then feel free to do so here16:03
jcastroyou can follow the video stream on http://ubuntuonair.com/16:03
jcastrotoday we're doing How to Write a Charm Part II16:03
jcastroand Mark Mims is going to show us a charm from scratch using what we call a platform charm -- this example will be node.js!16:04
evilnickveitch\o/16:05
marcoceppi_woo who!16:08
arosalescharm schooling :-)16:15
jcastrom_3: you appear to have frozen16:59
arosalesjcastro, m_3 thanks!17:04
m_3tmux-driven-presentations... whoohoo!17:07
=== wedgwood is now known as wedgwood_away
blablahi, can someone please point me to the last Jono Bacon Q&A?19:25
blablacan't find the last videos in the youtube channel19:25
jcastrofor juju?19:33
jcastroanyone ever get an error similar to this19:34
jcastroerror: Get https://s3.amazonaws.com/juju-e4698ca2abde47dddd405d1f595745e596f/provider-state:19:34
jcastro remote error: handshake failure19:35
jcastroI'm doing a bootstrap and it's alternating between that and error: The specified bucket does not exist19:35
marcoceppi_jcastro: get them all the time20:29
ahasenackhm, I'm not understanding why relation-get needs a unit id21:30
ahasenackin a config-changed hook, I understand I need a -r <relation_id>21:30
ahasenackisn't that enough? the relation ids are between services, not units21:31
ahasenacki.e., the r_id between server/0 and client/0 is the same as between server/0 and client/121:31
ahasenackmeaning in my mind that whatever relation values have been set, the relation id is enough to read them21:31
ahasenackit wouldn't be different if I did relation-get .... client/0 or client/121:32
sarnoldahasenack: would it provide any utility for client/N to determine which of server/0 or server/1 to prefer for its queries/requests?21:33
ahasenacksarnold: the get command ("question") isn't sent to the server unit, it's "juju" that answers21:34
ahasenackif I understood the question correctly21:34
sarnoldahasenack: sorry, I'll back up a bit..21:34
ahasenack2013/05/31 21:19:57 INFO worker/uniter/jujuc: running hook tool "relation-get" ["-r" "test-r:1"]21:34
ahasenack2013/05/31 21:19:57 DEBUG worker/uniter/jujuc: hook context id "andreas-client/1:config-changed:1660150820142556165"; dir "/var/lib/juju/agents/unit-andreas-client-1/charm"21:34
ahasenack2013/05/31 21:19:57 INFO worker/uniter: HOOK error: no unit id specified21:34
ahasenackthat was the error21:34
ahasenackthis is a config-changed context21:34
ahasenackI added several units before, I printed the relation-ids and they are all the same for all units21:35
ahasenackmeaning, the relation id is between services, not units21:35
sarnoldahasenack: some clients / protocols (memcached? httpd?) allow clients to query a server and when providing a service, you might wish to spread out which servers get the queries.. I'm curious if requiring the unit id would allow writing config files to say "this client should prefer server/0 before server/1", and another client to configure "server/1 before server/0"21:35
ahasenacksarnold: ok, I see. What I understood is that it doesn't matter which unit I put in that command, the answer will be the same21:36
ahasenackhence, why do I have to put the unit in there at all21:36
ahasenackunless with relation-set I can scope things for a specific unit...21:37
ahasenackhm21:37
sarnoldahasenack: memcached isn't a perfect example, since most front-end libs will do something slightly better anyway.. I was just wondering if the intent was to make this feature possible.21:37
ahasenacklet's run a hook again to get relation-set --help21:37
sarnoldhehe21:37
ahasenackhm, no, relation-set only accepts at most a relation id21:39
sarnoldheh21:39
ahasenackwhile21:39
ahasenack2013/05/31 21:38:36 INFO andreas-client/1: usage: relation-get [options] <key> <unit id>21:39
ahasenackso, I don't know21:39
ahasenackrelation-get prints the value of a unit's relation setting, specified by key.21:39
ahasenack(that was from --help)21:39
ahasenackthat help doesn't seem accurate, as I can call relation-get without any parameters in a relation hook21:40
ahasenackneither key nor unit are mandatory in that context21:40
ahasenackmailing list to the rescue21:41
ahasenackat best I'll know the answer just before hitting "send"21:42
sarnold:)21:42
=== sidnei` is now known as sidnei

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