/srv/irclogs.ubuntu.com/2012/01/03/#juju.txt

=== Bryanste- is now known as Bryanstein
=== shang_ is now known as shang
rogmornin' all, and happy new year!08:29
mplrog: same to you Roger :)09:40
rogmpl: hiya09:40
nijabaHNY rog & all10:20
koolhead11hello nijaba10:21
nijabaHey koolhead11!  hope you had a nice break10:23
koolhead11yes sir. :)10:23
TheMueA stormy HNY from Germany too. ;) I hope the trees in front of our house will survive those gusts.10:28
koolhead11TheMue:10:59
koolhead11:P10:59
TheMuekoolhead11: Hey   :S11:01
TheMuekoolhead11: But so far everything is ok. ;)11:02
=== koolhead11 is now known as koolhead17
koolhead17TheMue: the sounds good.11:02
TheMuekoolhead17: yep11:02
freeflyingwondering how can I get juju + lxc works on a laptop, anyone has any clues?12:41
thervefreeflying, https://juju.ubuntu.com/CharmSchool should have the necessary bits12:47
freeflyingtherve: I did following that pages tells, but no lucky at all on oneiric, bootstrap is fine, afterwards, all machines will be just pending there12:51
thervefreeflying, did you reboot in the process?12:52
freeflyingtherve: after libvit-bin installed, yes12:53
therveI don't know then12:53
therveit used to work at least12:53
jcastrowoo, back to the grind folks!14:22
koolhead17hey jcastro :)14:23
m_3morning gang14:33
marcoceppiMorning14:53
freeflyingstill have problem with juju + lxc on laptop, container started successfully after deploy, but juju status shows them in pending, can ssh into the container, anyone has ideas on this?14:58
koolhead17freeflying: it takes sometime i suppose :)14:59
freeflyingkoolhead17: usually how long does it take? :)15:01
koolhead17freeflying: pastebin juju -v status15:01
koolhead17freeflying: on machine like mine with 2 gigs RAM long enough :P15:02
freeflyingkoolhead17: http://paste.ubuntu.com/791723/15:04
freeflyingkoolhead17: I'm going to leave my laptop running alone there :), and get into bed, hope everthing will be going as expected in 8 hrs :P15:06
koolhead17freeflying: another thing you can do is check log inside your data-dir15:06
koolhead17freeflying: hehehe. i guess it will take less time :P15:07
koolhead17freeflying: if your interested in debugging i can show u the way :P15:07
freeflyingkoolhead17: I'd love to, since I'm going to give a talk on juju in couple of days at a confenrence :P15:08
koolhead17jcastro: wont it be good idea to modify the documentation and come up with some starred kind of thing saying about memory and time taken for juju to bring up instance?15:09
jcastroyeah, I need to talk to hazmat about docs15:09
koolhead17freeflying: awesome, well in that there are other folks here who can help you as they are more knowledgeable than me :P15:09
jcastrofreeflying: is this the first time you're running it?15:10
jcastrothe first time takes a while15:10
jcastroafter that when everything is cached it's like a few seconds for me15:10
freeflyingjcastro: actually I tried before, but not sure if I gave it enough time before I destroy them :)15:10
koolhead17freeflying: one simple suggestion15:11
koolhead17try installing only mysql charm15:12
koolhead17and unless/until it comes in running mode dont deploy wordpress charm15:12
koolhead17i remember facing same in first time :P15:12
freeflyingkoolhead17: ok, just destroyed previous environment, and re-deploy mysql only15:14
koolhead17freeflying: cool15:14
freeflyingkoolhead17: how can I check whether the charm has been deployed into the container?15:15
koolhead17freeflying: juju -v status will give you information about the container <id>15:16
koolhead17in the environments.yaml you must have provided juju data-dir15:17
koolhead17go there15:17
koolhead17you will find something like <username>-sample15:18
koolhead17inside there u will have a directory units15:18
koolhead17it has all the meat u require :P15:18
hazmatjcastro, pong15:21
freeflyingkoolhead17: ssh into the container just deployed(not with juju ssh), and there is nothing running inside the container shows mysql will be deployed15:23
koolhead17freeflying: is mysql charm finally running"?15:24
freeflyingkoolhead17: no, juju status told its still in pending15:25
hazmatfreeflying, do you see the containers twice in the output of lxc-ls ?15:25
hazmatlxc-ls shows all extant containers, and does a separate line for running containers (so its listed twice if running)15:25
freeflyingkoolhead17: yes15:26
freeflyinghazmat: yes15:26
freeflyingfreeflying@x200:~$ sudo lxc-ls15:26
freeflyingfreeflying-lxc-0-template  freeflying-lxc-mysql-015:26
freeflyingfreeflying-lxc-mysql-015:26
m_3marcoceppi: do you have a gist for using the ch downloader/verifier?15:28
koolhead17jcastro: around15:28
marcoceppim_3: Not really, I could make one if you like15:29
m_3marcoceppi: nah, just wondering if you had one in place already... thanks tho!15:29
koolhead17freeflying: did you install Juju from PPA?15:30
freeflyingkoolhead17: yes15:32
koolhead17freeflying: juju -v status15:32
koolhead17if any luck15:32
koolhead17:P15:33
* koolhead17 being optimist15:33
hazmatfreeflying, inside of $data-dir/units/mysql-0 there should be logs from the unit agent that might be helpful here15:33
hazmatalso worthwhile to verify the unit agent is running via  ps aux | grep juju15:33
hazmatshould show the machine agent for local host and the unit agent for the container15:33
freeflyinghazmat: only the one for on host is running15:36
hazmatfreeflying, hmm.. could you pastebin the master-customize.log in $data-dir15:37
hazmatfreeflying, typically if the unit agent doesn't come up its a problem getting the initial container setup correctly15:37
koolhead17nijaba: i have been able to get few off the issues in owncloud charm as you pointed getting fixed :P15:37
nijabakoolhead17: sounds great! Tell me when you need another review15:38
koolhead17nijaba: by this week end sir :)15:39
nijabakoolhead17: looking forward to it15:39
koolhead17thanks15:39
freeflyinghazmat: http://paste.ubuntu.com/791761/15:41
koolhead17hazmat: any idea when are we getting done with the juju bug so it works with eucalyptus?15:54
hazmatfreeflying, it looks like the install failed into the template container16:10
hazmat Hash Sum mismatch and failed to fetch some archives16:10
jcastrooh neat, cacti over the break16:11
jcastromarcoceppi: thanks for the review16:11
marcoceppijcastro:  Yeah, still writing the full review, there's a lot left do to for that one16:40
* jcastro nods16:40
jcastroI'm just happy to see a guy show up!16:40
SpamapSkoolhead17: I'm not sure there is a bug in the latest Ubuntu+juju16:43
SpamapSkoolhead17: IIRC the problem was that txaws was too old on lucid16:43
koolhead17SpamapS: so we need to try juju+eucalyptus+oneiric to get that particular doubt/issue whatever fixed16:45
SpamapSkoolhead17: eucalyptus can be on any platform, but juju should be run on oneiric talking to the eucalyptus box16:49
SpamapSWe should probably try to get a euca and an openstack setup and run our ftests against it16:50
koolhead17SpamapS: that would be awesome.16:50
koolhead17SpamapS: also as you mentioned i need to get an oneirc instance running via eucalyptus and get juju configured on that.? am i correct sir ?16:51
SpamapSkoolhead17: um, no. ;)16:55
SpamapSkoolhead17: you just need oneiric *somewhere* that can communicate with eucalyptus16:56
SpamapSkoolhead17: it could be an instance, or a VM on a laptop, or something else.16:56
* koolhead17 scratches his head 5 times17:00
nijabaSpamapS: do you have time to work on my buildd issue?17:54
SpamapSnijaba: sure, remind me where to start.18:07
nijabaI'll resend my last email which is a nice summary18:07
nijabaSpamapS: see your inbox18:08
* SpamapS recoils in horror upon seeing his swollen bloated spam infested inbox18:14
nijabaSpamapS: I can pastbin my email if you prefer :)18:15
SpamapSnijaba: regarding your question, I think I should change the Makefile to only run tests on 'make check' instead of also on 'make install'. This makes sense, make install is run with fakeroot, while make check is not.18:18
* SpamapS does that18:18
* nijaba does happy dance18:18
SpamapSnijaba: ok, pushed18:20
SpamapSnijaba: you should be able to kick off the auto-build from code.launchpad.net/charm-tools18:20
nijabaSpamapS: I am, but I need to reauest a merge of take-trois first18:21
nijabaSpamapS: merge review requested18:26
SpamapShm looks good, testing now.. but I just noticed a bug in my code..18:30
SpamapSusing exit 0 where the test should really return 0 or something. Hrm.18:30
SpamapSmay have to refactor the tests a bit to stick them each in their own function so they can skip themselves.18:30
nijabaah, true...18:31
SpamapSFine for now though18:31
SpamapStests/helpers/helpers.sh: 39: /home/clint/src/charm/buildd-fixes-take-trois/tests/helpers/test_peer.sh: cannot create /tmp/tmp-juju-log: Permission denied18:32
SpamapSlooks like that needs to be a mktemp -d18:33
SpamapStests/helpers/helpers.sh: 190: /home/clint/src/charm/buildd-fixes-take-trois/tests/helpers/test_peer.sh: cannot create /tmp/result: Permission denied18:33
nijabaSpamapS: it's a file actually, and I wanted to keep the same name over multiple runs18:33
SpamapSnijaba: then you'll need to put the username in it18:34
nijabaSpamapS: ??18:34
SpamapSI can't run "as a test user"18:34
SpamapSbecause I ran as my regular user already18:34
nijabaSpamapS: ah, right! will fix18:34
SpamapSshould probably clean those files up on success18:35
SpamapS/tmp/result is also a bad file name. ;)18:35
nijabaSpamapS: I truncate on each run18:35
SpamapSyeah but you can't just use /tmp/result .. mktemp18:36
nijabaSpamapS: you are right18:36
SpamapS(and then make sure that file is cleaned up in your trap if it exists)18:36
SpamapSOtherwise it works fine once I rm those two files from my main user18:37
nijabaSpamapS: ok, changes pushed18:47
jcastrom_3: I'm going to give zenoss one day or so to catch up with the new years and then I'm going to ask for a call this week or next18:48
=== koolhead17 is now known as koolhead17|afk
SpamapSnijaba: you can't just rm tempfiles after you're done with them. You have to do it in the exit trap.19:15
SpamapSnijaba: otherwise an error leaves files sitting in /tmp19:15
SpamapSnot the end of the world19:15
SpamapSbut bad form. ;)19:15
SpamapSactually I think you're ok here..19:16
SpamapSthere's no possibility for error.19:16
SpamapSunless echo fails. ;)19:16
SpamapSnijaba: note that you don't actually need that result file.. you could just | grep19:18
SpamapS2>&1 | grep anyway19:18
nijabaSpamapS: noted19:41
nijabathanks19:41
m_3jcastro: sounds good on zenoss... anytime's good for me19:42
m_3jcastro: maybe before budapest tho?19:42
jcastroyeah so, this week19:42
m_3jcastro: should I talk to the guys I know there beforehand?19:43
jcastrooh I didn't know you knew people19:43
* m_3 gets around19:43
jcastrom_3: sigh, I failed to include you on CC19:43
jcastrofwding the info now19:43
m_3(beach boys stuck in my head now)19:43
mchenetzGood afternoon and Happy Holidays!20:09
jcastrohey mchenetz!20:37
jcastrohow were your holidays?20:37
mchenetzjcastro: they were good and yours?20:37
jcastrogood good!20:37
mchenetzI was busy during the holidays… However, i am getting back to the OSX implementation now20:38
jcastroSpamapS: Got time soonish?21:04
SpamapSjcastro: now's good21:47
jcastroSpamapS: I just sent you a mail with the text.21:48
jcastroG+?21:48
SpamapSsure let me grab my G+ machine21:48
SpamapSjcastro: invite when ready21:50
SpamapSI hate technology21:57
jcastroSpamapS: I can hear the feedback when I yell21:59
jcastroso I think it's getting to your laptop21:59
jcastrophone?22:01
jcastroor irc is fine22:01
EvilBillWow, back here from the holidays.22:13
EvilBillBig fun.22:13
SpamapSEvilBill: w/b23:42
freeflying /win 3423:55

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