[00:33] SpamapS, i thought it was going to have the default config written out with ssl check enabled [00:34] hazmat: the branch I had proposed does that [00:35] SpamapS, not the version in reitveld afaics [00:35] https://codereview.appspot.com/5934054/ [00:36] SpamapS, besides that LGTM [00:40] hazmat: https://codereview.appspot.com/5934054/patch/11001/12003 [00:42] <_mup_> juju/relation-id-option r521 committed by jim.baker@canonical.com [00:42] <_mup_> Fix setup of local api factory used by testing [00:49] <_mup_> juju/relation-id-option r522 committed by jim.baker@canonical.com [00:49] <_mup_> Remove usage of invoker attr in favor of using the factory to get it [00:51] <_mup_> juju/relation-id-option r523 committed by jim.baker@canonical.com [00:51] <_mup_> Code rearrangement [00:56] <_mup_> juju/relation-ids-command r511 committed by jim.baker@canonical.com [00:56] <_mup_> relation-ids command without a relation name to qualify returns all relation ids [00:58] <_mup_> juju/relation-id-option r524 committed by jim.baker@canonical.com [00:58] <_mup_> Merged upstream & resolved conflict due to moving relation-ids command tests to upstream [00:59] <_mup_> juju/relation-hook-context r526 committed by jim.baker@canonical.com [00:59] <_mup_> Merged trunk for this already merged branch to workaround lbox prereq issue [01:11] <_mup_> juju/relation-ids-command r512 committed by jim.baker@canonical.com [01:11] <_mup_> Change test setup to verify that relation-ids on a relation name does in fact only return those relation ids [01:11] <_mup_> juju/relation-id-option r525 committed by jim.baker@canonical.com [01:11] <_mup_> Merged upstream [03:20] <_mup_> juju/relation-ids-command r513 committed by jim.baker@canonical.com [03:20] <_mup_> Test relation ident enumeration from nonrelational hook context and departed relation hook context [03:35] <_mup_> juju/relation-id-option r526 committed by jim.baker@canonical.com [03:35] <_mup_> Merged upstream [06:45] if someone can promote charm attached to bug #956259 looks alright :) [06:45] <_mup_> Bug #956259: Charm needed: znc < https://launchpad.net/bugs/956259 > [06:47] lynxman: you're not in ~charmers ? [06:47] SpamapS: yeah, so how can I promote it myself? :) [06:48] lynxman: bzr push lp:~charmers/charms/oneiric/znc/trunk && charm promulgate [06:48] SpamapS: cool, thanks === almaisan-away is now known as al-maisan [07:27] /loa/clear [07:27] oops [07:47] ok [07:47] I (poorly) rewrote the parse_upstream php file into python [07:48] shazzner: eh? [07:48] heh why ? j/k [07:48] http://paste.ubuntu.com/915662/ [07:48] well [07:48] mostly to do with how it's broken in precise [07:48] :) [07:48] oh the https [07:48] ya [07:48] wget's not broken.. just wget the damn thing ;) [07:49] i'm actully converting SpamapS's python for the multi nginx stuff to php now [07:49] I wish! [07:49] haha [07:49] imbrandon: hater [07:49] started it like 15 min ago [07:49] lol [07:49] SpamapS: hehe , well i wanted it all to match [07:49] e.g. all the othersgonna be php [07:50] imbrandon: I'd like for that to all be generic as soon as subordinates land [07:50] nothing against your implmentation though [07:50] imbrandon: shouldn't need to all be one language [07:50] no, it dont, its a prefrence thing [07:50] imbrandon: but I'm actually glad to see non-python/bash charm hooks :) [07:50] just being anal [07:50] :) [07:51] I always figured ruby would be more prevalent.. not .. php [07:51] i'm trying to figure out the best way to do the most in php thought, since its not installed by default i have to bash bootstrap it minimum [07:51] i'm sure rubys and gems and diimonds and poneies will be next :) [07:51] imbrandon: I want to create a more declarative way to pull in packages at some point to handle this case [07:52] yea thats would be cool [07:52] I just want to say xml handling is so much easier than python [07:52] *in php I mean [07:52] imbrandon: I'd like for there to be a way to write a charm that is 99% just lists of packages/files to install. [07:52] i duno about 99% then its just a deb :) [07:53] deb + rules file thats not debuild'd [07:53] shazzner: seems like you're iterating when you could have done xpath [07:53] SpamapS: but i agree, more than now would be nice [07:53] SpamapS: I have no doubt I did it poorly :p [07:53] imbrandon: the 1% would be the bits that run on hook changes. [07:54] ahh ok [07:54] then yea i;'m right with ya [07:54] so maybe 90% [07:54] if you have suggestions or changes, please go for it [07:54] Like, let me write the code only when code is warranted. [07:54] right [07:54] yea i just equated that in my head as more, but yea, i fully agree then [07:55] but yea , its nothing against your implmentation, infact its quite simple and easy to understand even for a python newb but i'm just being picky [07:55] is all :) [07:56] The reason I've gravitated to python away from other languages has been that the code is usually easy to understand (except when its twisted based ;) [07:57] btw i got importing from github going i think, its not imported yet but its in the queue for RSN [07:57] yea i've just stayed away from it since the rules seem like they were written by rms [07:58] heh and really i havent stayed away just try not to use it when not nessesary [07:58] lol [07:58] * SpamapS will like github when celery tastes like candy [07:58] hahaah [07:58] hehe [07:58] btw they did a huge upgrade to the issue tracker this week [07:58] urllib2.URLError: [07:58] might peek at it again [07:58] shazzner: thats what I get [07:59] huh [07:59] milestones and proraties and stuff [08:00] haha it seems like the same issue php had [08:00] * imbrandon slides off to find some nicoteine and finish bootstrapping drupal 8 into a working state [08:00] semi afk [08:01] btw morning fellas 0/ :) [08:01] imbrandon: 'bout to be sleep for me [08:01] ahh [08:01] SpamapS: are you behind a proxy perhaps? [08:02] shazzner: definitely not [08:02] same here, it's like 3am [08:02] err huh [08:02] * imbrandon just woke up, i keep odd hours for most, its 3am here too [08:02] shazzner: have you tried with openssl s_client [08:02] I think their servers may just suck [08:03] probably [08:03] probably out of entropy [08:03] where ya grabbin it from ? [08:03] openssl s_client -host sourceforge.net -port 443 [08:03] stalls out [08:03] I ran that script several times testing it though, all consistant [08:03] nice [08:03] hrm [08:03] telnet to that host/port also stalls [08:04] shazzner: sure, you used up all their entropy ;) [08:04] damnit! sorry guys [08:04] use lp to import the sf repo and then grab from there ;) [08:04] actually [08:04] this is likely an openssl issue [08:04] on a centos 6 box, no issue, connects right up [08:04] i'll try from osx one sec [08:05] yea right up here [08:05] yeah that openssl line stalls for me too [08:05] http://paste.ubuntu.com/915676/ [08:05] Protocol : TLSv1 [08:05] imbrandon: same result [08:06] actually wait, mines a little different [08:07] mines from osx so it might be a bit diffrent [08:07] ah [08:07] wtf [08:07] http://paste.ubuntu.com/915676/ [08:07] I think I accidentally /quit there or something [08:07] SpamapS: you lost terminal [08:07] :D [08:07] heh says lost term [08:07] 03:06 -!- SpamapS [~clint@ubuntu/member/spamaps] has quit [Quit: Lost terminal] [08:07] SpamapS: How is contest coming along ? :P [08:08] http://paste.ubuntu.com/915679/ [08:08] Yeah must have torched byobu accidentally [08:09] bkerensa: wrapping up judging this week :) [08:09] :P [08:09] I use guake and have move between tabs be ctrl-left & right and close tabs ctrl-down [08:09] RC4-SHA [08:09] I wonder if Ubuntu's openssl has that disabled [08:09] I've closed my irc session many times :/ [08:10] the channel topic should probably change too :p [08:12] * imbrandon gave up OPer when lilo passed, no haxoring the topic from me [08:12] aha [08:12] RC4 is in fact disabled [08:12] nice [08:12] if you explicitly request it [08:12] it works [08:12] *thank you ubuntu security team for making sure we are safe* [08:12] and sourceforge.. I spit on your RC4 [08:12] heh [08:13] shazzner: so your PHP implementation will probably work fine, if you add some options [08:14] oh yeah? [08:14] http://www.php.net/manual/en/context.ssl.php [08:15] specifically, 'ciphers' [08:15] I would set it to AES256-SHA,RC4-SHA [08:16] if google glass is not a april fools joke i'm so getting some [08:17] yeah those look pretty rad [08:17] SpamapS: I'll take a look at that, thanks! [08:18] I'm off to bed though, have do to taxes tomorrow :( [08:18] night ya'll === shazzner is now known as shazzner-away [08:19] ugh yeah I have to wrap my taxes up this week too :-P [08:19] what a lovely thought to go to sleep to [08:19] * SpamapS passes out [08:27] Any guess why I can't test out and deploy the cassandra charm? I see it in the repo https://code.launchpad.net/~charmers/charms/oneiric/cassandra/trunk-1 [08:27] I'm getting a not found [08:53] hi, good morning [08:53] i'm having a problem running juju in a local container in precise [08:54] error: internal error Network is already in use by interface virbr0 === al-maisan is now known as almaisan-away [09:54] yolanda: just re login and it will be solved! [10:13] hi, yes, i rebooted and works [11:44] hi, another question. In what directory should i put my local.yaml file with config settings? i tried to put it under the precise/ directory of the repo and gives an error [13:25] Good morning jujuers! [13:36] niemeyer: morning [13:36] TheMue: Good morning! [13:38] hi [13:38] g'morning folks [13:38] i have this problem when trying to get content from a private repo: [13:38] W: Failed to fetch https://private-ppa.launchpad.net/canonical-isd-hackers/ppa/ubuntu/dists/precise/main/binary-i386/Packages Proxy CONNECT aborted [13:38] i'm using local containers [13:38] in my local machine works, but juju local container gives that error [13:38] any clue? [13:39] yolanda, your running your machine behind a proxy [13:40] no, i didn't add any config for that. Locally i can get that repo without problems [13:40] but when i create a juju local machine, it gives that error [13:40] yolanda, juju setups the local containers for an apt cacher ng proxy on the host [13:40] hazmat, how can i solve the problem? [13:40] yolanda, you may have to adjust the cacher-ng proxy settings on the host [13:41] hazmat, where can i check it? [13:43] yolanda, its in /etc/apt-cacher-ng its got a web page for its stats at http://localhost:3142/acng-report.html [13:44] yolanda, do you have that ppa enabled on the host? [13:44] hazmat, but in my local machine i can access the repo, the problem is on the juju instance [13:45] and in the juju instance i cannot see any apt-cacher-ng directory when i debug [13:45] yolanda, the apt-cacher-ng stuff is on the host not the container [13:45] the containers are all configured to point to it [13:47] yolanda, so you trying to add a ppa and install a package from it in the container in a charm hook? [13:48] yolanda, the private ppa has some form of auth.. it sounds like that it causing a problem with proxy.. but if thats not adding ppa auth to the container, or config to the proxy i don't know [13:48] hazmat, i added the right user and pass to the sources.list [13:49] perhaps is some problem with https? [13:52] yolanda, could you pastebin anything relevant from the cacher-ng logs at /var/log/apt-cacher-ng on the host [13:53] let me check [14:11] hazmat, i cannot see any content about this ppa in logs [14:25] jcastro, hi there [14:26] hi [14:26] let me know how can i help with juju doc :) [14:27] i think i did do some changes with the doc and its waiting 4 approaval [14:29] hazmat, i'm totally lost with that problem, what else can i check? [14:31] koolhead11: that was your one before the docs were split out [14:31] everything is integrated now [14:32] yolanda, you could try turning up the logging in apt-cacher-ng (VeboseLogging=1), the errors should be here. /var/log/apt-cacher-ng/apt-cacher.err [14:33] jcastro, as in all documenation related stuff is handled? [14:33] yolanda, er.. VerboseLog=1 [14:34] yolanda, or email the list, i'm not that familiar with apt-cacher-ng.. or if it supports https [14:35] koolhead11, all the docs are in a separate repo so they don't have to wait in the code merge queue, and there's a larger group that has direct access. [14:35] lp:juju/docs [14:36] hazmat, yes saw the ail in mailinglist :) [14:36] cool [14:37] let me check [14:41] hazmat, i enable log, but still any clue about canonical, i see some logs there, but nothing related to that entry === hazmat is now known as kapilt [16:01] imbrandon: OpenSSL problem identified btw. [16:02] SpamapS: what was it? [16:02] bug #965371 [16:02] <_mup_> Bug #965371: HTTPS requests fail on some sites on Ubuntu 12.04 < https://launchpad.net/bugs/965371 > [16:02] fixed in the latest openssl [16:02] has to do with the size of the initial handshake packet [16:03] awesome [16:03] so, dist-upgrade people! [16:03] was fixed on Friday [16:16] :) [16:21] SpamapS: marcoceppi: m_3_ charm contest, let's finish it [16:21] jcastro: might as well, still waiting on s3cmd [16:22] http://pad.ubuntu.com/charmcontest [16:26] SpamapS: ^ those are the entrants afaict who are eligible. Confirm pls. [16:28] oh, gitolite [16:28] https://bugs.launchpad.net/charms/+bug/906176 [16:28] <_mup_> Bug #906176: Gitolite charm < https://launchpad.net/bugs/906176 > [16:28] we need to finish this review [16:29] ditto for drupal [16:29] https://bugs.launchpad.net/charms/+bug/964936 [16:29] <_mup_> Bug #964936: Drupal Charm: superchared Drupal charm with nginx,, apc, php-fpm, all setup to scale to the moon and be Best Practices. < https://launchpad.net/bugs/964936 > [16:32] jcastro: dunno if you saw, but lynxman promulgated znc last night [16:32] yep, on the list [16:33] SpamapS: so I'm thinking, check these two, promulgate or kickback, and then decide? [16:33] Drupal hasn't been promulgated yet, still needs a finaly review [16:35] http://pad.ubuntu.com/charmcontest <-- am I missing anyone? [16:35] I left out myself, marco, and nick's charms that promulgated or where finished during the period [16:37] jcastro: thanks for the shipment [16:37] :D [16:37] I assume you had Cezz send the UPS thingy [16:37] I didn't send you anything yet [16:37] -.- [16:37] jcastro: no? [16:37] nope, I'm not mailing out the prizes until tomorrow [16:37] uhh well I didnt order anything and Merchandise Mania is shipping me something [16:37] so hmm [16:37] LOL [16:37] wth [16:38] stealth swag [16:38] <_mup_> juju/relation-id-option r527 committed by jim.baker@canonical.com [16:38] <_mup_> Addressed minors [16:38] jcastro: indeed [17:01] jcastro: lol its from Mozilla :D they use Merchandise Mania too [17:09] Are there any instructions or documentation on possibly adding a provider to juju? [17:15] SpamapS: hold on http://paste.ubuntu.com/916240/ [17:19] dude: "authorized-keys: chuck" [17:20] you can do that? [17:20] jcastro: according to the docs you can [17:20] but that might be the problem [17:22] hi [17:22] I have a quick question. Is support for Debian & Redhat in the Juju Roadmap? [17:23] aiurea: good question.... I think jcastro might be able to answer that [17:24] bkerensa: I'm a Debian developer starting a new project and I would love to use juju. And I could contribute afterwards. But I would like to know that support for RedHat/Debian is incoming. [17:26] aiurea: If for some reason you have to go and dont get a answer before you leave feel free to ping the Cloud mailing list to get a answer [17:26] https://lists.ubuntu.com/mailman/listinfo/Ubuntu-cloud [17:27] bkerensa: thank you. [17:31] aiurea: bkerensa juju mailing list works well too: https://lists.ubuntu.com/mailman/listinfo/juju [17:31] marcoceppi: got it. [17:31] marcoceppi: ok :) [17:32] * bkerensa is interest to know the answer to aiurea's question since I hope to talk about juju in the futurew [17:33] From what I understand, and I might be wrong, juju client should be able to run on any linux system. The charms are all apt-get specific so outside of aptitude they won't deploy. Theoretically you could deploy to Debian images in say ec2 but I don't think anyone has tried. As for Redhat while the client might run I think yum is missing a few vital packages that would be required for redhat images [17:33] to run [17:34] So it's a giant maybe. I don't know if the dev team has any plans to support other systems and if they do when they would be doing that [17:35] SpamapS: http://paste.ubuntu.com/916313/ [17:40] I see. === kapilt is now known as hazmat [17:43] zul: that means zookeeper failed to start [17:43] zul: check console log [17:43] k [17:44] * SpamapS puts $5 on "Hash sum mismatch" [17:44] SpamapS: last line is this: http://paste.ubuntu.com/916321/ [17:45] zul: that means juju failed to install. Look up higher. [17:46] SpamapS: wha....it tried to fetch from the ec2 archive: http://paste.ubuntu.com/916324/ [17:49] zul: whats 'nov.ec2' ? [17:49] zul: is that some kind of weird thing that cloud-init is doing because the "region" is nov? [17:49] SpamapS: im not exactly sure [18:35] SpamapS: getting a wall of "[ 183.541157] 1 multicall(s) failed: cpu 0" when bootstrapping a t1.micro, is that Amazon's gentle way of saying NO CPU FOR YOU? [18:42] marcoceppi: never seen that [18:42] marcoceppi: what region? [18:43] eu-west-1 [18:43] The last several micros I've tried to boostrap in eu-west-1 and us-east-1 have failed [18:43] this is just the first time I've actually checked the logs [18:50] java bug.. very sad. ;) [18:52] jimbaker: did I see relation id support land this morning? [19:34] SpamapS, yes you did [19:35] SpamapS, definitely a nice feature - charms can now work with relations from any hook [19:35] jimbaker: wait, what? [19:37] marcoceppi, you can list available relation ids using the new relation-ids command [19:37] then use -r with relation-get|relation-set|relation-list [19:38] Ah, so you can get, set, and list relation data from any hook now? [19:38] marcoceppi, correct [19:38] epic [19:41] truly epic [19:42] you can ripple an event through the system now [19:42] * SpamapS goes to get lunch [19:43] awesome [19:44] SpamapS, yes, this is a very nice aspect of what has landed - generalizing the orchestration [19:45] with ultimately just a very simple addition of functionality [21:05] SpamapS: I think the next charm I am going to write is for openphoto [21:07] wow, I didn't even know that existed [21:07] bkerensa: if you want you can file a wishlist bug on lp under "charms" and link the home page there [21:07] so we have it [21:08] jcastro: I will do... I am joining the openphoto team as a Community Manager [21:08] :P [21:08] so it naturally makes sense [21:08] <3 [21:12] bkerensa: *sweeeeet* [21:13] bkerensa: btw, when you're done w/ that charm, I'll definitely +1 you for ~charmers (and I bet somebody else will too) [21:14] heh [21:14] :D [21:15] SpamapS: oh hai [21:15] <_mup_> Bug #974650 was filed: relation-ids should default to $JUJU_RELATION, or if not available, raise an error < https://launchpad.net/bugs/974650 > [21:15] SpamapS: maybe you know the answer to my question in #ubuntu-cloud ? [22:42] yay taxes are done! :D [23:05] shazzner: did you see above, the openssl issue is solved in the latest package in precise? [23:06] Spamaps: no I didn't, let me give it a shot [23:07] shazzner: something to do with broken BigIP's [23:07] huh [23:07] does that python script work for you now? [23:08] I'm still getting the ssl timeout with the php parse_upstream script [23:08] unless, this is something totally different [23:11] shazzner: I lost the python script.. (/tmp .. rebooted.. ;) [23:12] shazzner: but openssl s_client works now [23:12] shazzner: the error 104 would be different [23:12] here it is in all it's glory!: http://paste.ubuntu.com/916729/ [23:19] so when I call juju-log [23:19] where exactly does it log it to? [23:20] shazzner: the charm.log [23:20] shazzner: which is visible via 'debug-log' [23:21] shazzner: or on disk, as /var/lib/juju/units/xxx-#/charm.log [23:21] shazzner: or if you're using the local provider, data-dir/units/xxx-#/unit.log [23:21] SpamapS: got it, thanks! :) [23:23] hmm ok, so the root of the matter is I added a bin/parse_upstream.py file along with my charm [23:23] when I try to call it, it can't seem to find it [23:23] I'm basing this off the phpmyadmin charm, which seems to be correct but it keeps failing there [23:24] what would be the absolute path to the charm on the machine? [23:24] oh wait I think I found it [23:24] same path as the charm.log [23:26] python /tmp/foo.py [23:26] http://sourceforge.net/projects/kusabax/files/Kusaba%20X%200.9.3/Kusaba%20X%200.9.3%20Full/kusabax_0.9.3_full.zip/download|fbd051a3b0c3ddd9d08e56309b4f2e23 [23:26] shazzner: yep, works now [23:26] yay! :) [23:26] shazzner: don't assume that path [23:27] shazzner: your charm will always start executing in the root of the charm [23:27] yeah I was noticing that [23:27] shazzner: $CHARM_DIR will always be set to that dir [23:27] hrm [23:27] those are two assumptions you can make [23:28] it fails here: HASHFILE=`bin/parse_upstream.py` with /var/lib/juju/units/kusabax-0/charm/hooks/install: 20: local: not in a function [23:29] it's probably something stupid on my end [23:30] thats a syntax error [23:30] local is only allowed in functions [23:30] oh [23:30] like I said, something stupid :p [23:30] because she'll scope for non-functions is always global :-P [23:31] got it === Furao_ is now known as Furao