/srv/irclogs.ubuntu.com/2012/06/14/#juju.txt

phe_13marcoceppi, here am i00:11
marcoceppiphe_13: are you running this command from your machine, or the AWS machine?00:11
phe_13my machine00:12
marcoceppiOkay, do you have your juju environment setup to connect to AWS?00:13
marcoceppihttps://juju.ubuntu.com/docs/getting-started.html#configuring-your-environment-using-ec200:14
phe_13sorry man, thats my AWS machine, but it in my own DMZ00:14
phe_13# juju bootstrap00:16
phe_13Could not find AWS_ACCESS_KEY_ID00:16
phe_132012-06-13 21:16:24,605 ERROR Could not find AWS_ACCESS_KEY_ID00:16
marcoceppiphe_13: what version of Ubuntu are you running?00:19
phe_13debian wheezy00:21
=== hasp is now known as hasp[afk]
=== almaisan-away is now known as al-maisan
pkimber#join pocoo07:40
=== al-maisan is now known as almaisan-away
=== mrevell_ is now known as mrevell
zygahey, https://juju.ubuntu.com/ says "If you are testing Ubuntu 12.04"... I think we should apply s/testing/using/11:04
zygahow can I fix that?11:04
zygajuju does not work well when co-installed with virtualbox11:11
zygajuju bootstrap fails because virbr0 is already created11:12
twobottuxaujuju: Invalid SSH key error in juju when using it with MAAS <http://askubuntu.com/questions/147714/invalid-ssh-key-error-in-juju-when-using-it-with-maas>11:46
=== almaisan-away is now known as al-maisan
=== _mup__ is now known as _mup_
bbcmicrocomputerI'm guessing it is, but is the transmission of config data between the juju client to the cloud (and subsequently to the deployed instances) encrypted?13:07
marcoceppibbcmicrocomputer: data between client and bootstrap node is encrypted to my understanding, however I'm not sure about node -> node communication (though I would assume it is)13:08
imbrandonvia ssh from you to the bootstrap node yes, between clients no idea13:08
imbrandonheya marcoceppi13:08
marcoceppio/13:08
bbcmicrocomputerimbrandon, marcoceppi: thanks13:09
marcoceppiimbrandon: I've got fixes for the wordpress session issue *maniacal laugh*13:09
imbrandonann yea i figured out what it was tooo13:09
imbrandonahh*13:09
imbrandonthe secret keys were diffrent on the nodes13:10
marcoceppiyup13:10
marcoceppi\o/ soo easy.13:10
imbrandonyea , when i noticed that i was like yay13:10
imbrandonheh13:10
marcoceppiI should have generic wp charm ready end of next week13:10
imbrandonsweet, i am hoping to have the drupal one tomarrow ( drupal 7 not 6 )13:11
imbrandon6 is in the store13:11
imbrandonbut not "great"13:11
marcoceppiimbrandon: is there an nginx proxy charm yet?13:11
imbrandonthats comming with the 7 charm13:11
marcoceppicool13:11
imbrandonits really a group of charms13:11
imbrandonnginx and nginx proxy and drupal and drupal-site13:12
=== zyga is now known as zyga-afk
=== al-maisan is now known as almaisan-away
SpamapSimbrandon: we need a way to define a strong primary<->subordinate relationship.14:14
SpamapSimbrandon: I like the way you're going w/ drupal/nginx .. but its going to make the setup pretty non-intuitive.. we need "stacks"14:14
imbrandonyea i was working on a dependancy hack14:15
imbrandonbut yea we need a real way14:15
imbrandonthe problem i came accross in the depend hack was it made it hard to use the charm outside of that stack14:16
imbrandone.g. nginx-proxy dont HAVE to use nginx as the server etc14:17
imbrandonSpamapS ( or hazmat ) yall know what the deal is with the docs build, i see the error but no idea why it dident build14:18
SpamapSerror?14:24
imbrandonyea something about the makefile conflict, i am guessing thats it14:25
imbrandonone sec14:25
=== hasp[afk] is now known as hasp
imbrandonerm cant fin it in LP right now14:30
imbrandoni was checking earlier that the merge went ok after hazmat approved it yesterday14:31
imbrandonand noticed it dident build , some page listed a makefile conflict but now i cant find it , heh14:31
cheez0rhrm, I'm running a juju bootstrap in a maas environment, and when I run juju -v status, it says it's trying to SSH connect to remote port 2181; why would that be?14:39
cheez0rSSH is running on port 22 of the targeted nodes, leading to the connection for juju status timing out.14:39
imbrandonzookeeper14:40
cheez0rnothing on the targeted node is listening to port 2181 however.14:41
=== med_ is now known as medberry
=== medberry is now known as med__
=== med__ is now known as med_
=== zyga-afk is now known as zyga
imbrandonSpamapS: +1000 on the missing-hook idea14:50
m_3imbrandon: yeah, that sounds awesome14:55
=== med_ is now known as med_out
=== med_out is now known as med_away
=== med_away is now known as med_
=== hazmat is now known as kapilt
lucianhello. i'm trying to find out about the status of rackspace support15:38
lucianthere is a ticket from 2011, but that's all i could find15:39
m_3lucian: no native openstack provider yet... you still need to have the ec2 api enabled.  so no love on the rackspace cloud proper yet15:41
m_3(afaik)15:41
lucianm_3: ok, thanks15:41
m_3np15:42
negronjl'morning all15:59
m_3negronjl: mornin16:03
negronjl'morning m_316:03
imbrandonheya16:03
negronjl'morning imbrandon16:04
=== salgado is now known as salgado-lunch
hspencercongrats on getting juju into Debian unstable..good work guys17:24
m_3SpamapS: whoohoo!!  ^17:32
koolhead17hspencer, :)17:35
koolhead17SpamapS, siir17:35
=== salgado-lunch is now known as salgado
SpamapShspencer: thanks :)17:41
negronjljcastro: ping17:43
koolhead17SpamapS, hello sirr17:43
SpamapSkoolhead17: howdy17:44
shazznerI'm curious, does juju on debian bootstrap debian nodes?17:44
SpamapSno17:45
SpamapSdebian lacks a few things17:45
shazznerah ok, just curious17:45
SpamapSactually its possible that the local provider could be made to do it17:45
SpamapSI haven't looked at the lxc debian template to see17:45
shazznerhuh17:45
SpamapSBut the code itself calls 'lxc-create -t ubuntu' so.. no ;)17:46
shazznerah ok cool17:46
shazznerhaving to rewrite charms would be a waste of effort anyway17:46
SpamapSshazzner: I think at least some charms will work fine crossing over from debian and ubuntu17:54
SpamapSshazzner: but yeah, I don't see much point honestly17:54
SpamapSMaybe if somebody wants to spin up on architectures that ubuntu doesn't have17:55
=== tobin__ is now known as tobin
=== kapilt is now known as hazmat
bkerensajcastro: any update on the HP thing? I got a call from someone in their engineering team yesterday randomly19:17
m_3jcastro's at a conference today19:29
robbiewbkerensa: I can confirm you are on the list19:53
bkerensarobbiew: thanks19:53
robbiewand we received confirmation from HP that they have you19:53
bkerensarobbiew: So I can start using a instance now?19:54
robbiewas to why someone from engineering would call...no idea...job offer? :)19:54
robbiewhmm19:54
robbiewone sec19:54
robbiewbkerensa: now THAT I don't know...let me check with our internal liason...one sec19:55
robbiewbkerensa: not getting a response, I shoot him an email and let you know19:58
bkerensakk19:58
robbiewbkerensa: our internal HP contact just responded and said he'll follow up...translation, no one knows :/20:11
bkerensa:)20:12
=== salgado is now known as salgado-afk
marsSpamapS, around?22:30
SpamapSmars: I am, wassup?22:43
marsHey SpamapS, I replied to bug 1006553, and I have a live runaway process on my system right now.  I was wondering if you needed to gather any other feedback while I have it?22:45
_mup_Bug #1006553: Juju uses 100% CPU after host reboot <juju:New> < https://launchpad.net/bugs/1006553 >22:45
marsSpamapS, it isn't hard to reproduce, takes about a day, but I thought if you needed more info, a live discussion would speed things up.  But if you prefer to keep it in the bug, that's cool too.22:46
SpamapSmars: yeah hm22:47
SpamapSmars: can you strace -f $thepid -o /tmp/foo.txt .. wait about 5 seconds, then pastebin that file?22:47
SpamapSoh now I see your reply, reading22:48
marsjust for fun, the 5 second tracelog is 8.2M :)22:49
SpamapSmars: takes a day is a bit weird22:49
marsSpamapS, well, it doesn't start as soon as the system is booted.  I have to wait for the process to go nuts.  I haven't measured exactly, but 24 hours is enough.22:50
SpamapSthats very weird22:50
marsSpamapS, fwiw, zookeeper has a cron entry in cron.daily22:52
SpamapSmars: zookeeper or zookeeperd ? (meaning, the package names)22:53
marszookeeper22:53
* SpamapS checks that out22:54
SpamapSmars: well that doesn't seem to cause the issue22:57
SpamapSmars: in fact that just exits immediately22:57
marsSpamapS, what limits the machine agent connection loop?  You said yours tries every few seconds, whereas mine is in a busy-wait loop23:01
SpamapSmars: I think mine is blocked on something else23:05
SpamapSmars: is anything landing in $datadir/machine-agent.output ?23:05
marsSpamapS, nope23:06
SpamapSmars: actually it might even be /tmp/juju-$user-$envname-machine-agent.output23:06
marsthe only file I have is machine-agent.log, which I posted to the original bug report23:06
SpamapSmars: do you have the file in /tmp tho?23:06
marsSpamapS, you mean, my data directory? Yes, that is: /tmp/local-juju/mars-local/machine-agent.log23:08
SpamapSmars: no the upstart job seems to redirect output to a special file23:11
SpamapSmars: check /etc/init/juju-mars-local-machine-agent.conf23:12
SpamapSmars: it should be redirecting output somewhere. Check that file.23:12
SpamapSmars: I'm trying to get a way for you to run the agent in the python debugger23:14
SpamapSmars: hopefully you can run it that way, and when it goes wack-o again, ctrl-c will drop you wherever it is polling23:15
SpamapShazmat: ^^ your expertise in python debugging would be helpful here :)23:15
SpamapSjimbaker: ^^23:15
marsSpamapS, found it: machine-agent.output is empty.  file-storage.output has Python exceptions in it, but it isn't growing.23:15
SpamapShrm.. debugger doesn't actually help that much because of twisted23:19
marsYou need to embed one of those SIGUSR1 "dump trace and exit" hooks :)23:21
SpamapSmars: can you pastebin 'sudo lsof -n -p ...' whatever the pidof is23:21
SpamapSmars: yeah23:21
marsSpamapS, http://pastebin.ubuntu.com/1041631/23:24
marsThis looks promising: http://stackoverflow.com/questions/132058/showing-the-stack-trace-from-a-running-python-application23:31
SpamapSmars: the second answer looks helpful23:37
SpamapSI think threading may be getting int he way here too23:39
SpamapSmars: can you attach to the process with gdb -p $thepid and do a 'bt' then 'thread 2' then 'bt' ?23:43
SpamapSmars: In mine, there are three threads (1 2 3) and 2 are inside libzookeeper23:44
SpamapSmars: thanks for going through this btw23:45
marsSpamapS, np23:45
marsSpamapS, same here, three threads, Py_Main, and two in libzookeeper23:46
marsSpamapS, one of them is in setsockopt, called from zookeeper_interest in libzookeeper.  Is that what you see?23:47
SpamapSmars: no actually23:49
SpamapS#0  0x00007ffc5c18db03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:8723:50
SpamapSmars: I'm beginning to think this is some weird libzookeeper bug23:51
SpamapSmars: either way, I think we should actually just take out the 'start on ...' from the local provider agents until zookeeper is started as well23:51
marsSpamapS, if it is Python, I can just hack a fix in there to test it out23:52
SpamapSmars: anyway, I think the right fix is to not start the agents on reboot23:58

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