[00:24] hi all [04:07] hi all [04:07] have two problems [04:07] have a private openstack cloud that needs http proxy for apt [04:08] how do I bootstrap and have the zookeeper use the apt-proxy? [04:08] second issue, how to define the default instance flavor for juju deploments [04:08] ? [05:34] where can i get the machine id for a unit, no other context is set , its from an outside script running on a node, so no hook etc [05:35] i'm looking to pass it on cli to a app with --machine_id as the docs say, they just dont say what it is exactly or where to obtain it properly ( or any way at all ) [11:43] hi [11:43] I am doing a juju upgrade-charm [11:43] and guess what my new charm update was broken [11:43] I have ssh into the instance and fixed it and now I would like to do a new upgrade-charm but the state of the instance is on an error [11:44] and upgrade wont work, is there any way to change that or do it need to destroy the service and start again? [12:01] victorp: juju resolved service/N [12:01] imbrandon, thanks! [12:02] do you also happen to know how to access file that have being copied as part of the charm, there must be a env variable or something for the folder no? [12:03] in /var/lib/juju/ somewhere [12:03] cant rember right off [12:03] iirc [12:05] imbrandon, thanks I solved it :) I was assuming that it was running under /charm/hooks rather than /charm/ [12:07] imbrandon, who is your wordpress charm coming along? [12:14] good good [12:15] oh i just read your blog posts :) [12:16] took me a minute to put 2+2 :) but yea, i'm working on the nginx charms ( its broken into a few ) and the drupal charms mostly ( and the omg-wp custom wordpress one ) marcoceppi is doing most of the new wordpress one, but they all are based on work we did on omg-wp [12:16] :) [12:18] victorp: i noticed in the branch too it looked like you copy/pasted one of the hooks, it may just be the way loggerhead shows it as i dident check it out but if so just fyi symlinking works fine [12:18] with hooks [12:19] imbrandon, I just run into that problem and changed it into a link - hopefully should be fine now [12:19] :) [12:20] also there is "juju debug-hooks " too if you get stuck, thats a life saver along with the jitsu wrapper/tools [12:21] afk a few, but i'll be round all day if ya catch a snag [12:21] imbrandon, cool I will start trying that [12:21] imbrandon, thanks a lot [12:21] np === lazyshot_ is now known as lazyshot === garyposter is now known as gary_poster === carif_ is now known as carif [14:06] Has anyone else figured out how to use a debconf-set-selections with Mercurial, git, or svn already? If not, any other ways to use a password with repositorys? [14:11] Ok, looks like I can preconfigure the .hg/hgrc file in the project init. [14:56] negronjl: SpamapS: You guys have change access to the new charm pilot calendar, bus factor [15:01] jcastro: I'll just remind you that I do not see messages that aren't ^SpamapS [15:01] k [15:01] * SpamapS wonders if irssi could be fixed to highlight on the whole line [15:08] SpamapS: depends on how much perl you want to dig into :) [15:09] jcastro: hey on your way back down south, just stop off at KC and drop me a conney , kthxbia. [15:14] then con someone over there to drop me a in-and-out burger from the left coast and i'll be set ( never grabbed on in SFO, totally skipped it LOL ) [15:15] i have a juju agent using ~95% cpu "/usr/bin/python -m juju.agents.machine --nodaemon --logfile /tmp/local-dev/root-local/machine-agent.log --session-file /var/run/juju/root-local-machine-agent.zksession" [15:15] any idea what's wrong with my installation/setup? or is it some bug? [15:15] do you have debug-log running ? [15:16] iirc that will send zk into a frenzy sometimes ... other than that, anything more to go on ? [15:17] no, but log has mostly zookeeper errors "ZOO_ERROR@handle_socket_error_msg@1528: Socket [192.168.122.1:50821] zk retcode=-7, errno=110(Connection timed out): connection timed out (exceeded timeout by 0ms)" [15:19] hrm, past me, maybe SpamapS or hazmat will pop in soonish and be able to help you trace it a bit more [15:20] imbrandon: honestly.. in n out is only good because everything over there is such crap. Here in LA we make fun of in n out. ;) [15:20] Its not "bad" per se.. but its just not deserving of the reputation it has from outside the state. [15:21] ah.. its local provider post reboot [15:21] aljosa: kill it [15:21] hazmat: hopefully we'll get that SRU to -proposed today [15:23] <_mup_> juju/proposed-support r488 committed by kapil.thangavelu@canonical.com [15:23] <_mup_> enable proposed on main AND universe. [15:24] is this some zookeeper related bug? log is basically full of zookeeper connection errors, timeout or something like "Exceeded deadline by 821282ms" [15:24] aljosa, the local provider environment doesn't survive reboots [15:25] ok, thanks for help and your time [15:28] SpamapS: the last line of my irssi config file is `hilights = ( { text = "m_3"; nick = "yes"; word = "yes"; } );` which seems to do what you're saying... I think that's stock and not a plugin [15:37] m_3: will try that, thanks [15:38] I think the `text` part is magic SpamapS see if you see this [15:38] m_3: i think he means the whole line and not just the word [15:38] err name [15:39] imbrandon: right... that'll hilight the line when the text is matched anywhere in the line... not just the nick match [15:39] afaik [15:39] oh yea it will [15:39] _heavily_ copied/pasted without full understanding :) [15:40] i took it as the other way as in like when you select with your mouse the line [15:40] as in yea, it does what your saying we just both took SpamapS statement diffrent ways that at this minute both seem correct [15:40] lol [15:41] like you konw the "current line hilight" in an IDE [15:41] thats how i was thinking, not that the word was said on that line [15:41] recommend adv_windowlist.pl too [15:41] yup, i cant live with out that one [15:43] m_3: http://cl.ly/Gzi2 [15:43] see how mine hilights, just the name :) i was thinking for that whole line to turn yellow [15:44] was the goal [15:44] :) [15:46] imbrandon: http://files.markmims.com/irssi.png [15:46] actually like the bitlbee twitter plugin [15:47] i used btlbee for a while but i couldent get used to it [15:48] http://paste.ubuntu.com/1013228/ [15:48] I just forget the dang commands and have to hunt around every time [15:48] m_3: that fnotify.pl one is very very nice, it sends my desktop or wherever i am notify-osd commands remote [15:49] of mentions etc from my irssi running on the server somewhere else while attached [15:49] yeah, I have fnotify in there, but never took the time to set it up [15:49] you get it to sms or just growl / gnome-notify? [15:49] its real easy if you only use one or two machines [15:49] I just use one... always on, just attach/detach [15:49] growl notify-osd ( for kde too ) [15:50] oh, but for client yeah... I'm on several [15:50] but its very clean and easy to modify [15:50] i bet it would take 5 min to make work withj prowl [15:50] really want it to just notify to the ipad/iphone [15:50] thats prowl [15:50] * m_3 note to google prowl later [15:50] thanks [15:50] its push growl to the phone / pad / desktop [15:51] free middle man service , and you have to get a 1.99 ( not a scam ) ios app, but the desktop and other apps are free [15:51] cool [15:51] they are the equiv of growl infact it uses growl on the desktop [15:51] sounds liek just the ticket [15:52] oops... gotta run the wife to dentist.. back online in the waiting room in a bit [15:52] but yea for a one time $2 cost, best 2 bux i spent in a very very ;ong time [15:52] and its got a nice simple rest api for custom stuff if you want, like i have github hooks setup to ping it etc [15:52] l8tr [15:57] m_3: haha your irssi window is very very close to mine, first time i've seen that, most ppls irssi setups are soooo diffrent [15:57] i think i dropped the ACT: N from the top line and the rest is the same [16:06] 'morning all [16:07] jcastro: Sorry I'm late in the conversation but, where is the charm pilot calendar ? [16:15] negronjl: I just made it [16:15] I am working on it now [16:15] * negronjl nods [16:15] jcastro: thx ... let me know if I can help [16:16] yeah I can't get the script to work but that's just me === jcastro changed the topic of #juju to: Reviewer: ~charmers || Review Calendar: http://goo.gl/uK9HD || Review Queue: http://jujucharms.com/review-queue || Charms at http://jujucharms.com || Want to write a charm? http://juju.ubuntu.com/Charms || OSX client: http://jujutools.github.com/" [16:24] negronjl: see topic, there's the schedule [16:25] m_3: your preferred day is today so I put you down for today, since that's kind of last minute feel free to just do it whenever this week, that sound ok? [16:25] jcastro: Tuesday is best [16:25] jcastro: thanks! [16:26] ok so everyone got their preferred days [16:26] and we have at least one dude a week [16:26] which I don't think will be a problem once we get the current queue down a few more items [16:27] \quit [16:27] ok so once we deal with bac's mp that brings our queue time down to 3/4 weeks. [16:28] :) [16:30] marcoceppi: imbrandon: ok I've added you guys to the calendar (see topic) if you want to commit to certain days and add them [16:30] otherwise, review the queue at your leisure! [16:30] jcastro: cool, thanks! [16:34] jcastro: ty ty [16:35] jcastro: you have james one 4th july, not certain but i'm not sure much would be done that day [16:35] :) [16:36] s/one/on [16:38] he's british, I don't think they celebrate that [16:38] :) [16:39] heh dident think of that :) [16:39] whoops [16:39] lol [16:44] jcastro: I will deal with bac's thing after I get juju uploaded to Debian this week [16:45] I don't know if thats appropriate for charmers.. at this point we're blocked on getting things into the distro [16:45] jcastro: btw, thanks for getting the calendar setup. Looks great! [16:45] i'ma try and do saturdays, at least every other one, since thats when most everyone else is afk anyhow mostly [16:46] imbrandon: you only need to commit to 1 saturday per month [16:46] but today is my step-dads bday, 70 years old, soooo i'm off to take him and my mom to lunch [16:46] SpamapS: niggling items are fine I think, it just forces us to check it at least once a week [16:47] i'll be back in a few , ok one sat ( first one of the month ) garenteed, but i'll obviously do more as i have time etc etc [16:47] hows that :) [16:48] jcastro: i cant add to the calendar, my google account is me@brandonholtsclaw.com [16:48] bbiab :) [16:49] fixed [16:52] Man I'm about to run out of colors for the google calendars I subscribe to [16:52] 9 so far [16:55] SpamapS, you lie! http://hypertextbook.com/facts/2006/JenniferLeong.shtml [16:56] nathwill: wee, only 99,991 left by the most conservative estimate! [16:57] SpamapS: time to sign up for more calendars! [16:57] nathwill: though I'd like for them to *stand out* not to be distinguishable [16:57] lol [17:01] SpamapS: ok so this works out great with the charms-tool review, that leaves mims and juan to go directly into the charm contest queue. [17:02] SpamapS: you and negronjl did awesome driving that number down from 34! [17:04] jcastro: I think over the next month the real measure will be the avg-days-in-queue [17:04] jcastro: our target should be 3 [17:04] well, lets say 7 [17:04] * jcastro nods [17:05] negronjl: oh mira, we'll need graphs of that stuff, but probably not a priority right now [17:05] ok so I'm about to file bugs for everything in the spreadsheet that does NOT have a bug report. [17:05] so I'm about to launchpad spam everyone, be warned! [17:10] jcastro: woot [17:14] jcastro: got it ... graphs... I gotta finish some CloudFoundry stuff first and I'll get on that. [17:14] it's not CloudFoundry important. :) [17:14] SpamapS, jcastro: In the meantime, we should think on what to track on those graphs. [17:15] we'll be able to backgraph too? I am interested in how horrible we were last cycle [17:15] exact same as distro: http://reports.qa.ubuntu.com/reports/sponsoring-stats/ [17:16] I don't think we need "reviewers of the last month" though [17:19] jcastro: got it [18:04] sure [18:04] crap, wrong channel :) [18:06] lol [18:35] jamespage: would accumulo fall in your domain or would it be a seperate community charm? [18:35] http://accumulo.apache.org/ [18:36] SpamapS: hey, good news, I only needed to file 5 bugs in charms. Looks like while people hated the spreadsheet, we did a decent job keeping it up to date and filing a bug [18:37] * imbrandon returns from old people lunch :) [18:37] man, 70 ... I hope I make it that long [18:40] momma always told me not to look into the eyes of the sun; but momma, thats where the fun is ... ... rev'd up like a duce, a nother runner in the night, blinded by the light! [18:42] Its a 60's and 70's rock while you code day. Yup. [18:44] SpamapS or hazmat: what would be the most proper way for me to get what juju considers to be the machine_id from on the machine its self but not from/in a hook or juju at all for that matter ( e.g. a root cron bash script or similar ) [18:46] end goal is to call like "relation-get --machine_id -s /var/lib/juju/instance/.juju.hookcli.sock db" or something very similar [18:47] is that just the auto incremented machine number , like the same one i would use to "juju terminate-machine N" ? [18:48] thought i tried that, maybe not [18:48] * imbrandon might dig into the source a bit and see if i can tell or get more confused [18:48] relation-get uses -r and uses relation ids, you can't relation-get to a machine directly [18:49] marcoceppi: i think it was relation list i was thiking of to get the rid's [18:50] marcoceppi: and i know now, well not a documented way , so i'm trying some 'intresting' things on the cli [18:50] :) [19:01] imbrandon, cat /etc/init/juju-machine-agent.conf | grep MACHINE [19:01] its in the env for the machine-agent process [19:02] imbrandon: what machine id ? [19:02] oh that machine id [19:02] that seems like you're doing something evil [19:02] imbrandon: danger will robinson. You are stepping outside the documented API. What are you getting at? [19:03] https://juju.ubuntu.com/docs/internals/unit-agent-hooks.html? [19:04] SpamapS: JUJU_CLIENT_ID. and yea outside the documented api but its only half implmented i *think* and i'm trying to use it early [19:04] client id isn't really used.. its basically set to the string 'constant' [19:04] imbrandon: what are you trying to do though? [19:04] it was for concurrent usage, but we execute serially [19:04] JUJU_CLIENT_ID=13 relation-get -s /var/lib/juju/units/nginx-4/.juju.hookcli.sock -r loadbalancer [19:04] imbrandon, client_id != machine_id [19:05] heh so you can set client id to anything and it will work? [19:05] hrm , i think i needed the machine id for another cli app [19:05] SpamapS, as long its the string 'constant' ;-) [19:05] imbrandon: that -r looks wrong [19:05] SpamapS: i just added the -r [19:05] imbrandon: you want a relation ID there.. you can get those from relation-ids [19:05] and no it dont work [19:05] JUJU_CLIENT_ID=13 relation-ids -s /var/lib/juju/units/nginx-4/.juju.hookcli.sock loadbalancer [19:06] there's no context on the agent though outside of executing a hook.. [19:06] imbrandon: that will print all of the relationships under the 'loadbalancer' relation [19:06] for the cli api to be able to responsd [19:06] Traceback (most recent call last): [19:06] Failure: twisted.protocols.amp.UnknownRemoteError: Code: Unknown Error [19:06] 2012-05-29 19:06:23,434 ERROR: Traceback (most recent call last): [19:06] Failure: twisted.protocols.amp.UnknownRemoteError: Code: Unknown Error [19:06] ah so he needs jitsu? [19:06] imbrandon: grab juju-jitsu from the PPA [19:06] 0.6 has 'jitsu run-as-hook' [19:07] SpamapS: well i want to do this from a script [19:07] imbrandon: thats fine, it will work from a script [19:07] hazmat: yea thus trying to set up manually :) [19:07] SpamapS: ahhh ok [19:07] i'll try that then [19:07] i thought it forced a tmux session [19:08] i'm "almost" getting it to work just by poking arround though :) but yea jitsu is likely much easier, but at least i got to konw the dir layout and such better [19:09] been poking arround in /var/lib/juju/* heh [19:09] SpamapS: is there much/any docs on jitsu ? so i can at least do a lil bit of it with out naggin ya too much [19:10] imbrandon: --help ? ;) [19:10] kk [19:10] good nuff fo me :) [19:11] btw i ran accross a bug i think, got a sec to step through the process with me and if so i'll file it [19:11] ok so [19:12] imbrandon: run-as-hook != debug-hooks [19:12] say i fire up 4 nginx plain webservers, no lb or databases , just keep this simple [19:12] then from the aws console or via api i attach a eip to one of the nodes [19:13] zk still keeps the old IP and i cant get to it via juju ssh service/N anymore [19:13] and when hooks fire it lists the wrong ips etc etc on relations [19:13] for that node [19:13] imbrandon: sounds like a rockin por^H^Herfect webserver [19:14] imbrandon: yeah, EIP messing with the public-address is a real problem. :-P [19:14] well am i missing something, like a zk-relook-at-nodes-ips or something ? [19:14] ok [19:15] so it is a bug/known problem and not just me being ignorant ? [19:15] damnit.. not installing run-as-hook .. doh [19:16] imbrandon: its a known problem ys [19:16] seems like there could be a hook that fires on network changes , and then it could make zk refresh ? heh [19:18] jcastro, looks very similar to hive so should not be that hard to charm [19:18] jamespage: ok so should I have a seperate bug for it? [19:18] jcastro, raise one for the time being [19:18] k [19:19] I think its a distinct charm - but one that will make use of hadoop and zookeeper charms [19:21] imbrandon: FYI, juju-jitsu 0.6 didn't have run-as-hook like I thought. I just released 0.8 .. you'll have to wait till the PPA builds it (or branch/autoreconf/./configure/make/make install it) [19:22] kk, i'll got a few other things to do in the meantime i'll wait as long as its been uploaded right ? [19:22] if not i'll do a co [19:30] nice, an apt-mirror show stopper bug, looks like i get to do a lil perl brushing up on too this week [19:31] SpamapS: think i might be able to bribe you for a sponsored upload in 24 or 48 hours to debian ( I'm the listed maintainer and upstream so no nmu or anything , just not a DM or DD so cant actually upload ) I havent talked to my normal DD sponsor in months , no idea if he is arround [19:31] heh [19:33] trust me i dont make new releases for it every cycle even, so i wont be making a habbit of it :) [19:34] imbrandon: sure just throw a .dsc at me. :) [19:35] ty ty , yea i havent even began to clean it up and still need to track down this bug, i'll likely make a round through the debian bts too since i dont release that often just to knock it all out in one go if possible, thus 24 probabbly closer to 48 [19:36] assuming your not feeding a little one by then :) [19:37] i really should take the time to do the DM process at minimum [19:37] $someday [19:41] i want to get Ali's script if its still in use, it was setup so me and one or two others that was regularly sponsored would email a special email address with a signed .dsc and it would autobuild and smoke test it before ali even looked at it and emailed back the results etc like lil dak kinda, assuming that went ok it forwarded it on and then when there was time to finish the review presonally it was uploaded ( normally less than a day ) , pretty [19:41] for people [19:44] <_mup_> juju/trunk r538 committed by kapil.thangavelu@canonical.com [19:44] <_mup_> [merge] proposed support, add support for using proposed repository pockets for [19:44] <_mup_> main and universe as a source for juju if specified via juju-origin: proposed. [19:44] <_mup_> [r=clint-fewbar][f=926550] [20:08] <_mup_> Bug #1006099 was filed: unable to set extended desktop < https://launchpad.net/bugs/1006099 > [21:54] Almost... How many does the world need? I fugure I can do 3 a week. [22:13] nice... local provider now adds upstart configs to my local machine that peg the cpu when zk isn't available... the services "respawn" too [22:20] m_3: #winning [22:20] good progress [22:20] m_3: look on the bright side, it doesn't fill up your disk anymore ;) [22:29] * SpamapS submits his talk for Linux Foundation's CloudOpen event "Cloning SysAdmins with the Cloud and Juju" [22:29] nice [22:29] juju add-unit sysop [22:31] juju add-relation bofh unsuspecting-user-accounting [23:08] hi all [23:08] koolhead17: o/ [23:10] koolhead17: hey, you should assign yourself as maintainer of the owncloud charm [23:11] SpamapS, hi there. sure [23:11] bkerensa: and you should grab subway [23:11] SpamapS, i been bit off IRC for some reasond [23:12] koolhead17: we all need a break sometimes :) [23:13] SpamapS, i have some more charms to spread :) [23:13] SpamapS: what?> [23:13] and owncloud4 has released as well [23:13] 10 subway : Benjamin Kerensa [23:13] m_3, how are things [23:13] bkerensa: are you subscribed to the juju mailing list? [23:13] SpamapS: no? [23:13] >.< [23:13] I better add myself [23:14] bkerensa: ahh, ok. You need to assign yourself as maintainer of subway.. add "maintainer: Benjamin Kerensa " (without the quotes of course) to metadata.yaml [23:14] SpamapS: yeah I heard thats a new requirement [23:14] will do [23:14] m_3: ahem... you too .. nfs, ganglia, node-app, postgresql ... all "yours" ;) [23:18] * koolhead17 thinks SpamapS is on assigning mode today :) [23:22] SpamapS: yeah, I'll grab maintainer for them... prob friday (moving truck tomorrow morning) [23:23] koolhead17: crazy atm [23:24] m_3, kind of same this side. L( [23:24] :) [23:30] SpamapS: nevermind... done [23:33] * m_3 was in default "aahhhh" mode, but it only takes two shakes to update maintainer [23:35] m_3: thanks! [23:36] SpamapS: how's the list of shame ? [23:37] negronjl: about to get a lot shorter :) [23:37] SpamapS: nice [23:38] negronjl, list of shame? 0.o [23:39] koolhead17: It's a list that SpamapS has that lists the charms without maintainers [23:39] ooh ok