=== negronjl-afk is now known as negronjl === Tribaal_ is now known as Tribaal === kaydo_ is now known as kaydo [03:38] hey! somebody there? [03:40] jose or lazyPower take a look at this video at the time 1:15 http://hemingway.softwarelivre.org/fisl15/high/41f/sala41f-high-201405070913.ogv [03:40] I talk about juju and Drupal [03:44] Sebas_: Cool! I'll take a look :) [03:44] jose \o/ [03:44] actually was unexpected called to the stage hehe [03:44] :P [03:45] so I didn't prepare anything, but was alright hehe [03:45] is it in 1m15s or 1h15m? [03:45] 1h16m [03:49] jose: that was in the FISL 15 [03:49] is that this year? [03:50] yes! actually last wednesday [03:50] awesome! [03:50] yeah! \o/ [03:51] I talk with all kind of people about juju [03:51] for example redhat people from openshift [03:51] tell them to switch to Ubuntu! [03:52] hehe they where really shock about what juju can do [03:52] haha yeah! [03:52] sadly ubuntu doesn't appear in the event [03:53] maybe next year? [03:53] debian, redhat, opensuse, fedora and others [03:53] yes of course [03:53] I'm thinking in talk about juju next year [03:54] also talked with some guys from openstack community [03:55] they didn't know about openstack bundle, and the maas integration [03:55] they are using foreman [03:55] and puppet [03:55] I assume they do now? [03:55] yes!! [03:57] but I didn't use already juju to deploy os, because I wanna to deploy it only with lxc containers [03:57] oh well [03:58] i only have 1 dedicated server, and i really doesn't wanna to deploy openstack in VMs [03:59] well, you can use the EC2 free tier [03:59] free you say? [03:59] for tiny and slow machines :) [03:59] http://aws.amazon.com/free [04:00] but wonderful for testing things [04:00] ohh nice [04:00] yeah! [04:00] I do all my charm development/testing on EC2's free tier :) [04:00] hi sarnold :) [04:00] ahh ok [04:00] hey jose :) [04:01] yeah but I was trying to avoid kvm's hehe [04:01] it's not kvm [04:01] or well, I'm not sure [04:01] probably xen [04:01] the best part is you mostly don't care :) [04:01] yeah [04:01] yes probably xen [04:01] haha [04:01] ¬¬ [04:02] you just use it [04:02] or well, at least I do [04:02] *nod* [04:03] do you already tried openstack with juju ? [04:04] jose or sarnold hmm let me rephrase that, do you already deploy openstack with juju? [04:04] Sebas_: not me, I don't have enough machines to make use of openstack, heh [04:05] sarnold: same problem here [04:05] i was trying some openstack all-in-one [04:05] but i don't know if it is something like that in ubuntu [04:06] like RDO from redhat has [04:07] ahhh :) [04:10] I don't use OpenStack :) [04:11] ohh, jose, you use other thing? [04:12] yes, I use EC2 [04:12] ahhh ok [04:12] Sebas_: hrm, in the jujucharms.com there's a bundle for deploying openstack on a machine with nested KVM [04:12] Sebas_: but I do'nt know the manage.jujucharms.com website well enough to find that bundle again [04:12] let me try and do that for you [04:12] ohhh thanks! [04:13] I've done nested KVM before when testing MAAS systems; it's a bit slow, but it got the job done.. [04:13] but nothing you'd want to use long-term [04:14] sarnold: who created that bundle? [04:14] is it http://manage.jujucharms.com/bundle/~james-page/openstack-on-openstack/openstack ? [04:15] jose: that's the one! ah. it's for testing on clouds that already exist. :) [04:16] hmmm im getting a look [04:16] "The Ubuntu Server Team use this bundle for testing OpenStack-on-OpenStack." [04:16] hehe nice [04:17] the thing is to use openstack to manage the vm's with lxc [04:17] like the juju local does === vladk|offline is now known as vladk === CyberJacob|Away is now known as CyberJacob === vladk is now known as vladk|offline === vladk|offline is now known as vladk === vladk is now known as vladk|offline === vladk|offline is now known as vladk === ev_ is now known as ev [08:59] Good morning (GMT+2 over here…). Is anyone around who provide some additional information about juju-gui together with a HAProxy based gateway? [10:30] zchander: never tried it but what's up? [10:32] I am (re)trying my MaaS cluster, but had to reinstall everything. I would like to access juju-gui from within our schoolnetwork, but our MaaS is in it’s own network. [10:33] I have a seperate server, with two network adapters, one connected to our schoolnetwork and one to our MaaS network. I would like to use the SSL enabled environment (Had the non-secure option working) [10:37] zchander: ok,so you could haproxy the 80 but not the 443? [10:37] rick_h_: Yes. using port 80 has worked (and before). [10:40] zchander: hmm, looks like we do send the port as 443 http://bazaar.launchpad.net/~juju-gui-charmers/charms/precise/juju-gui/trunk/view/head:/hooks/web-relation-joined#L29 if secure is on [10:42] My problem/issue is with HAproxy. I cannot seem to get a proper connection from my client (using SSL) to juju-gui (behind HAproxy) [10:42] zchander: looking at haproxy it seems it'll only pick up the port it's told if it has a service_name http://bazaar.launchpad.net/~charmers/charms/precise/haproxy/trunk/view/head:/hooks/hooks.py#L823 [10:42] zchander: oh hmm, yea I'm not sure how the ssl pass through would work there. [10:44] at that point haproxy is playing a man in the middle attach almost to the client. [10:45] hmm, everything I'm seeing is having you setup haproxy to be the ssl endpoint [10:51] I am also trying it with Apache2 as the reverse proxy, but here I get some I/O error issues. Might be related…. [10:54] zchander: yea, looking for docs/notes I did run across http://comments.gmane.org/gmane.comp.web.haproxy/15689 which seems to imply that it should be possible [10:55] zchander: the charm just might not support that complex a config ootb [10:56] The HAproxy server isn’t part of our juju environment. It is a seperate Ubuntu based server with 2 nics [11:22] zchander: oh ok, then yea. I think it should be possible just a matter of getting the right ssl handling config into the haproxy server I think. === vladk is now known as vladk|offline === vladk|offline is now known as vladk [13:01] How do I generate a release tarball from the bzr branch (specifically 1.18)? I don't see any instructions anywhere, and the two are quite obviously different. [13:05] rbasak: ask sinzui [13:05] Be aware the answer might not make sense. [13:06] * sinzui still needs more coffee [13:06] sinzui: I want to test the latest 1.18 branch against packaging in Utopic [13:06] (since there's no release of the last few commits yet) [13:06] So I tried to generate an orig tarball based on the bzr branch, which failed, and then I noticed that they aren't the same. [13:07] rbasak, that is because devel/network broke juju devel and stable :) [13:08] sinzui: yeah it's the fix for bug 1314686 I'm trying to verify [13:08] <_mup_> Bug #1314686: Please add support for utopic [13:08] rbasak, CI is catching up to devel at this hour. Next hour I will force a rebuild of stable if a new rev doesn't automatically trigger a build. [13:08] rbasak, If you cannot wait a few hours, then you can build it yourself with lp:juju-releease-tools [13:09] sinzui: OK, thanks. lp:juju-release-tools sounds like what I needed. I can wait though, but if I do, where do I get the orig tarball from after that? The orig tarball from the stable PPA? [13:09] rbasak, http://bazaar.launchpad.net/~juju-qa/juju-release-tools/trunk/view/head:/README.md [13:10] rbasak, make-release-tarball.bash -1 lp:juju-core/1.18 [13:10] sinzui: ah, great. Thanks! [13:10] rbasak, make-package-with-tarball.bash stable ./juju-core_1.18.4.tar.gz \ [13:10] 'Full Name ' [13:10] ^ that can be installed === tedg is now known as ted [13:25] sinzui: thanks - I got a release tarball now I think. Do you accept MPs for juju-release-tools? I have a trivial fix, but it looks like it has only one revision fed from somewhere else. [13:25] rbasak, We will accept fixes thanks [13:26] rbasak, was the '-1' a problem. I often use the actual revno instead of an index [13:27] sinzui: https://code.launchpad.net/~racb/juju-release-tools/hg/+merge/219188 [13:27] sinzui: ah, I missed the -1. I read the docs and looked up the revno. [13:27] Thank you rbase. I will get that merged ina few minutes [13:28] BTW, it gave me juju-core_1.18.4.tar.gz which doesn't quite seem right as there are more commits on top. [13:28] "git describe" does something sensible here, by appending a suffix describing the extra commits (in git's case, the number of commits and the HEAD commit hash). [13:28] Maybe that's appropriate here too? [13:29] Or maybe just a "~bzr{revno}" if the tag doesn't exactly match. [13:30] Actually "+bzr{revno}" would probably be more accurate. === lazyPower changed the topic of #juju to: Welcome to Juju! || Docs: http://juju.ubuntu.com/docs || FAQ: http://goo.gl/MsNu4I || Review Queue: http://goo.gl/9yBZuv || Unanswered Questions: http://goo.gl/dNj8CP || Weekly Reviewer: lazyPower [14:04] lazyPower: thanks for the answer :) [14:04] Sebas_: o/ anytime [14:04] i'm puzzled why your bug isn't showing up in the rev queue [14:04] glad i saw the mail or your bug would have gone unnoticed. [14:05] lazyPower: take a look at the description i made in the bug report https://bugs.launchpad.net/charms/+bug/1315428 [14:05] <_mup_> Bug #1315428: Review needed: Drupal Charm [14:05] lazyPower: there are some of the questions [14:05] http://manage.jujucharms.com/tools/review-queue -- feel free to check ~ 15 minutes after you've opened a bug, it ingests every 15 minutes (so max wait is 30 mins) - and as you see its not in there. [14:05] lazyPower good to know that the mail helped hehe [14:06] indeed! [14:06] lazyPower nice, I sow it yesterday, but didn't see my issue hehe [14:11] Hey lazyPower there are more than one drupal charms out there. I remember reviewing one recently. What do we do with multiple requests for the same charm? [14:11] Sebas_: lazyPower there's no linked bracnh [14:11] marcoceppi: ah, so the fact it's in github is the blocker for it getting into the queue. ok. [14:12] mbruzek: it'll require collaboration between the two charm authors i'd say. Drupal and ElasticSearch are both subject to this at the moment. [14:12] mbruzek: none are in the store yet [14:12] mbruzek: that or may be the best charm win? (i really dotn know, this is a first to me) [14:13] Ideally we'd want both authors working together toward teh same goal, building a high quality charm that implements best practices from both branches. But that's my 2 cents. [14:14] Sebas_, for reference the other drupal charm is here: https://bugs.launchpad.net/charms/+bug/1290636 [14:14] <_mup_> Bug #1290636: New drupal charm submission. [14:14] mbruzek: ooh i see, opening here... [14:14] Sebas_, It uses apache2, and yours uses nginx, I would say that is pretty different. [14:15] mbruzek: it uses nginx with perusio configurations [14:15] Sebas_, but see if there is a way the authors could agree on something. [14:15] mbruzek: yes we can do a merge [14:15] Either that or race his charm to the store... [14:16] hehe [14:16] Sebas_: its ok to be opinionated in your charm, we encourage that. With that being said, extending one or the other - based on a user config (use_apache: type: boolean, default: false) would make it really nice... [14:16] to auto-tune the configuration to your given preference in httpd [14:16] mbruzek: there's others diferences too [14:23] there are other things like, importing an existing project, compass install, etc... [14:23] the thing is this charm is good practices oriented [14:24] a drupal boilerplate is used [14:24] dweaver: ping [14:24] Sebas_: you two should talk :) [14:25] lazyPower: yeah definitely [14:28] Hi everyone [14:28] Hi Tug [14:28] I'm having an error with debug-hooks [14:28] $ juju debug-hooks mongos/0 [14:28] can't create socket: Permission denied [14:28] any idea ? [14:29] lazyPower: my questions about scaling are in the description of the issue, do you think thats enough? [14:29] Sebas_: occupied atm, can i get back to you? [14:29] lazyPower: to schedule our school charm :) [14:29] yes!! of course! [14:29] :D [14:29] lazyPower: thanksss [14:29] If you're not around when i circle back i'll reply to the thread. [14:30] thanks for your patience Sebas_ [14:30] lazyPower :D [14:30] lazyPower, pong [14:31] dweaver: Sebas_ is the other community member working on a drupal charm. You guys should coordinate, as there's awesome work in both charms. [14:32] dweaver: hey man! [14:32] lazyPower, Yes, I saw there was another submission. Hi Sebas_ [14:33] dweaver: we should work together on this charm, what you think? [14:33] dweaver: if you can take a look at the charm to see what is doing [14:34] Sebas_, I'd be happy to combine our resources. [14:34] but my goal is to deliver a best practices and enterprise charm ready [14:34] dweaver: \o/ [14:35] it was working fine until now :'(. Please, do you guys have any tips to start debugging the issue ? [14:35] take a look at the charm later please :) [14:36] Tug I haven't seen that before. Can you run: juju ssh mongos/0 ? [14:36] dweaver: we need to put apache option as webserver in the other charm [14:36] mbruzek, yes I can [14:36] Sebas_, That's a great goal and I'm happy to help. Time is the problem for me, I don't have much spare, but I should be able to review the charm later this week and let you know what I think so far and some suggestions on how we can combine . [14:36] Tug, and you connect OK? It looks like debug hooks failed on creating a connection. [14:37] dweaver: that would be great!! thanks :) [14:37] mbruzek, yes it connects fine. Then I can run $ sudo tmux attach-session -t mongos/0 and I also have can't create socket: Permission denied [14:39] Tug: looks like something detached you from teh session and there's possibly a permissions problem. I ran into this before, but didn't think much of it - it wasn't production and i destroyed/redeployed [14:39] here's a bug that shows what i found: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597335 [14:41] thx lazyPower, my error is even weirder as I'm running it with sudo [14:41] ah, thats no fun :( [14:44] not sure which process I could kill/restart... [14:44] I have 3 jujud [14:45] Tug, I believe lazyPower means to destroy-environment and restart this [14:45] juju destroy-environment [14:46] Tug, you should not need to kill individual processes [14:46] ok mbruzek, I'll try to destroy the service first I think [14:47] maybe even remove juju from the machine and add-machine later [14:47] Tug what environment are you using? [14:47] amazon [14:48] machines were created manually [14:48] Tug, I see [15:50] hey stub got a second? [16:01] Is the 'HOME' environment variable not available in a hook environment? [16:01] in python I mean? [16:01] I am writing a charm in python, os.path.join(os.environ['HOME'], 'Liberty') that line fails. [16:01] But when I ssh to the charm 'HOME' is set for both ubuntu and root user. [16:03] mbruzek: it's not set [16:03] not in a hook at least [16:04] marcoceppi, ah I see. Is there a good reason for not setting HOME ? [16:04] marcoceppi: since you're working with trusty testing, i've validated a MP works against a charm in series trusty - shoudl i go ahead and push it to trusty or wait for you to do it? [16:04] mbruzek: probably, I mean what would HOME be? [16:04] I can just use a tmp directory or something. [16:04] meaning - it was targeted at precise, but works on trusty. [16:04] lazyPower: link? [16:04] marcoceppi, I would expect HOME == /root [16:04] mbruzek: I would expect HOME to be $CHARM_DIR [16:05] http://leankit.hostmar.co/lp:charms/elasticsearch/215696 [16:05] You are after all the root user [16:05] just because you're root doesn't mean you want things to end up in the HOME directory [16:05] it makes people think about what they're doing, since services installed by charms should not run as root [16:05] That is fine, I was just trying to get a scratch area to do some work in, I thought HOME would be the place to do that [16:06] I can do it in temp. [16:06] or tmp [16:06] mbruzek: tmp is a better place [16:06] or $CHARM_DIR [16:06] lazyPower: there's not elasticsearch charm in trusty [16:06] marcoceppi: i'm aware, thats why i asked. [16:06] this works on trusty [16:06] lazyPower: there's not tests though [16:07] What would happen if a bash charm did "cd" what directory would pwd return? [16:07] marcoceppi: there are when you pull elasticsearch and merge this in. [16:07] lazyPower: ah, cool I'll keep that in mind [16:07] mbruzek: probably either cwd or / [16:08] lazyPower: if you want to give it the +1 and merge precise [16:08] I'll do the promulgation to trusty [16:08] marcoceppi: already merged precise. pending your validation of trusty. [16:08] lazyPower: ack, ty [16:08] i'm trying to deploy openstack all-in-one with juju in one dedicated server, so I'm going to try to deploy some charms that must be out of an lxc container [16:08] like the compute-node [16:09] Sebas_: you really need two nodes to do that [16:10] one for juju bootstrap (and all other services in LXC container) [16:10] and a second one for nova-compute [16:10] marcoceppi: second dedicated server? [16:12] marcoceppi: i was thinking something like all the os charms in lxc, but! the compute-node (with lxc libvirt type) in the 0 machine [16:12] right, everything can go in LXC excet nova-compute [16:12] marcoceppi: i'm triping ? hehe [16:12] right [16:12] which I guess you /could/ put on node - [16:12] 0* [16:13] but it just seems like it'd do better on it's own machin [16:13] marcoceppi: \o/ [16:13] you also can't use ceph with this setup [16:13] of course, but i have only 1 machine hehe [16:13] marcoceppi: instead of swift ? [16:14] well you couldn't have any ceph backed anything [16:20] marcoceppi: well, i'm going to try that approach adapting the openstack bundle [16:20] Sebas_: good luck! [16:20] marcoceppi: thank you!!! [17:08] If I destroy a service, should I expect juju to remove the associated packages from the machine it was deployed on? === vladk is now known as vladk|offline [17:10] also, if I have all of my charm config in a file, and I run "juju set --config=config_file.conf the_charm" should I expect the_charm to get the updated config from there? [17:16] qhartman no it won't remove the associated packages, you'll have to account for that in the charm if you don't want to tear down the machine/container and create a new one (recommended) [17:16] qhartman when the config is updated the config update hook will be executed, from there, you do with the data what you wish === roadmr is now known as roadmr_afk === roadmr_afk is now known as roadmr [18:51] what's the best serie for deploying local juju ? [18:51] trusty ? [18:51] or precise ? [18:53] somebody? :P [18:54] i'm asking because i'm planning to deploy a nova-compute-node charm into the 0 machine [18:58] jose: Did you see my comment on the tracks charm? [18:59] cory_fu: yep! I just came back from university [18:59] Oh, ok. :) [18:59] It's so close! :) [18:59] are you sure I should do -lt? === CyberJacob is now known as CyberJacob|Away [19:00] Yeah. Apparently, < does lexigraphical ordering instead of numerical ordering [19:01] oh, ok [19:01] I should change that everywhere, right? [19:01] Well, you could also use double parentheses instead of double brackets [19:01] http://www.tldp.org/LDP/abs/html/comparison-ops.html [19:02] I think everywhere you're comparing to a number (i.e., port) [19:04] easier to do -lt :P [19:04] Yeah. :) [19:05] cory_fu: pushed! [19:05] Awesome! Let me take a look [19:06] cool [19:09] mbruzek: Here's an example of my super simple upstart script (writer) for Apache Allura: http://bazaar.launchpad.net/~johnsca/charms/precise/apache-allura/refactoring-with-tests/view/head:/scripts/write-service [19:09] Thanks cory_fu [19:09] jose: there's a problem with owncloud on default deploy. I've got a recent revision of the tests here - bazaar.launchpad.net/~lazypower/charms/precise/owncloud/refactor_amulet_tests/ [19:10] that should be the last issue to resolve and its g2g for your dependent branch merge [19:10] s/owncloud on default deploy/ the port configuration code on default deploy/ [19:10] I wrote that write_service script but it would be easier to have a files directory with the .conf files already created and just copy them into place with install or charmhelpers.core.host.write_file [19:10] lazyPower: ack, taking a look [19:10] mbruzek: ^ [19:11] cory_fu, yeah good idea. [19:24] yaiks!! juju-gui is not deploying, WARNING juju.worker.uniter.charm git_deployer.go:200 no current staging repo [19:25] with precise serie [19:27] lazyPower: what's the problem with the owncloud charm? [19:27] I cannot seem to find it [19:27] ports aren't exposed. Run the test with --set-e and --timeout 15m [19:27] then inspect the environment after the test runs. [19:28] ok, trying now [19:28] jose: charm test -e amazon --set-e --timeout 20m 100-deploy.py -o test [19:29] that way you've got a) logs being piped after the run, b) an inspectable environment, and c) only running the test in question, nto waiting for the setup script to run. [19:30] hazmat, bcsaller, setup completes, but hangs on the login [19:31] this is aws single node [19:31] (my amazon environment is named ec2) [19:32] whit: did you bootstrap with the proper constraints [19:34] wow! juju-gui is not deploying any more :( [19:34] http://pastebin.com/PT716tDT [19:35] Sebas_: this is a juju-core issue not a juju-gui issue [19:35] Sebas_: 1.18.2 ? [19:35] let me check [19:35] marcoceppi: 1.18.3.1 [19:40] marcoceppi: do you think I must report a bug? [19:50] this has been fixed in 1.19 [19:50] Sebas_: they removed the git requirement all together [19:52] oohh [19:55] marcoceppi: 1.19 is stable? [19:55] Sebas_: no, 1.ODD are devel releases, 1.EVEN are stables [19:55] Sebas_: but it's been a known shortcoming for a while in juju-core, using git as a state server for charms [19:56] ooohh marcoceppi i get it [19:56] marcoceppi: do you know a workarround for this? [19:56] marcoceppi: did you get my comment about the wp mp? [19:56] jose: no, link? [19:56] Sebas_: for now just ssh in to the server and install git, then deploy again [19:57] hehe marcoceppi i was just going to do that [19:57] thanks :D [19:57] marcoceppi++ [19:57] marcoceppi: https://code.launchpad.net/~jose/charms/precise/wordpress/fix-1309980/+merge/216568 [19:58] jose: oh, yeah, as long as it's still in the review queue it'll get looked at [19:58] (it's still in the review queue) [19:59] I know, just wanted to let you know [19:59] humm thats strange "Could not resolve 'archive.ubuntu.com'" [20:00] Sebas_: juju resolved unit/# --retry [20:00] jose: will try [20:01] jose: the thing is it isn't in a error state [20:01] oh, where is that error? [20:01] *an error state [20:02] jose: i cant access internet from the machine [20:03] so the apt isn't finding the repository [20:03] Sebas_: so there's your problem [20:03] marcoceppi: yep [20:03] Sebas_: why git wasn't installed (it should be installed when a machine is provisioned) [20:03] Sebas_: is this maas? [20:03] marcoceppi: it's juju-local [20:03] just that [20:03] Sebas_: ah, can you run this? [20:04] in a trusty [20:04] apt-config | grep -ri "proxy" [20:04] inside the unit [20:04] marcoceppi: ok [20:04] sudo apt-config dump | grep -ri "proxy" [20:04] soryr, let me give you the real command [20:04] .profile:[ -f "$HOME/.juju-proxy" ] && . "$HOME/.juju-proxy" [20:05] Sebas_: can you pastebin the output of sudo apt-config dump ? [20:05] marcoceppi: of course [20:06] marcoceppi: http://pastebin.com/j81bVttQ [20:07] Sebas_: is that on your machine or the node? [20:08] unit [20:08] machine [20:08] marcoceppi: ubuntu@ubuntu-local-machine-2:~$ sudo apt-config dump [20:08] marcoceppi: why, it's wired? hehe [20:09] well, I don't see any proxy lines in there [20:09] so that's odd [20:09] its a fresh install of trusty and juju [20:09] you should just be able to apt-get update/upgrade without issue [20:09] marcoceppi: yep, thats the first time that happen [20:17] marcoceppi: well, i think i'm gonna try to re install everything again [20:48] well, i tried with another version 1.18.1 and didn't work again, so the proxy isn't working [20:48] i don't know why :( [21:50] jose: i'm about to EOD [21:50] how's the owncloud discovery going? === sputnik1_ is now known as sputnik13net [23:43] lazyPower: as I said, I didn't find out anything obvious, so if you could point me in the right direction I'd appreciate it :)