[00:00] Docker is a software delivery mechanism. You're effectively creating (arguably...) an immutable container image that you run in production with everything pre-configured. This is just the deployment phase. Nothing in docker-core tells it how to connect to complimentary/required services. Given teh mediawiki example - docker by itself has no notion of a mysql db, now to create credentials in mysql, or how to get that information back to the running [00:00] docker container. Juju is an orchestration language that can wrap these components and provide that information/expertise to any service that understands how the declarative relationship model works. [00:00] sebas5384: thats preaching to the choir - but we're prototyping around it. [00:00] and you may see some interesting things emerge out of virtual services which will be discussed at our upcoming sprint in malta. [00:01] ooh great [00:01] lazyPower: so there is some work to get docker as a provider ? [00:02] sebas5384: eh, 'as a provider' is a bit of a stretch [00:02] just specified the docker daemon info [00:02] keep your eyes peeled for mention of virtual services and once the spec is finalized someone may be able to shed more light about it. [00:02] sebas5384: also that blog post is coming this week - i have a hard cut off date to do a writeup over my docker charm work. [00:03] lazyPower: yeah, well using juju as a complete workflow tool for devops [00:04] is not going to happen till we have something more fast like docker to spin up the services, and sharing changes [00:06] I don't know how to explained better, but I would like to see juju as my only tool for deploying and orchestrating my services [00:06] sebas5384: everyone has different requirements, and building a tool that wraps everybody's workflow as it stands today (with changes to core) is going to be slow going [00:07] lazyPower: yeah thats my fear [00:07] this is why virtual services is a compelling option - so dont abandon hope yet [00:07] and dont let end users mistake juju for just a "deploymetn" solution. we're doing lifecycle management in charms and scaling - which is more than just "deployment" [00:08] lazyPower: I really hope that juju uses docker as a provider and protocol to upgrade and deploy their services [00:08] sebas5384: i just stopped in to check on offlines for the OCP demo - i'm goign to bounce out and finish my swap day. If you have any pressing questions about that feel free to hit up the list and i'll do my best to get back to you shortly :) [00:09] lazyPower: sure! thanks :) [00:10] lazyPower: i'll be waiting that article about the future of juju and docker o/ === kadams54-away is now known as kadams54_ === kadams54_ is now known as kadams54-away === kadams54-away is now known as kadams54_ === kadams54_ is now known as kadams54-away === kadams54-away is now known as kadams54_ === kadams54_ is now known as kadams54-away [06:47] @lazyPower hello [06:48] jobot: hi [06:48] oh hi, I had discussed a charm with you on the e-mail list earlier, and was wondering if you had any time to discuss it [06:49] it was a suitecrm charm. I had trouble getting the database info to automatically populate during installation [08:33] good morning to everyone! [08:34] I'm trying to use the load balancer charm HAProxy for my charm. I set up everything, but when I try to access to the public IP of the load balancer, I get a 503 Service Unavailable. How can I diagnose my situation? [08:42] more info: if I try to connect directly to the units of my charm, the connection hangs [08:44] jobot: hey sorry about the *extended* delay in reply [08:44] jobot: i'm firefighting for a demo atm - I'd be happy to pick this up tomorrow? === rogpeppe3 is now known as rogpeppe1 === rogpeppe1 is now known as rogpeppe [09:05] hi to all! o/ [09:07] guys I have some problem with haproxy .. can someone help me? [09:37] marcoceppi, ping [10:31] bradm, heya, seems we are fixing the same issue in rabbit [10:31] me: https://code.launchpad.net/~bloodearnest/charms/trusty/rabbitmq-server/add-nagios-service-groups/+merge/251790 [10:31] you: https://code.launchpad.net/~brad-marshall/charms/trusty/rabbitmq-server/nagios-fixes-sync-charmhelpers/+merge/251551 [10:32] bradm, are you gonna be working on it soon? [10:34] hmm, I have a simple apache2 charm-helpers sync MP: https://code.launchpad.net/~bloodearnest/charms/trusty/apache2/update-charm-helpers/+merge/252331 [10:34] can I trigger an automated test run for it? [10:36] can anybody help me with HAProxy? I totally dunno what to do [11:00] Muntaner, what's the problem [11:00] ? [11:00] hi gnuoy [11:00] I'm trying to use HAproxy to introduce load-balancing to my charm [11:01] I'm following the wordpress charm code [11:01] but can't get my HAproxy to work, since I get a 503 error [11:01] and can't find useful logs [11:04] gnuoy, need more infos? [11:04] Muntaner, what does /etc/haproxy/haproxy.cfg have in it ? [11:04] gnuoy, paste incoming [11:05] gnuoy, http://paste.ubuntu.com/10573891/ [11:07] Muntaner, on the haproxy node what does "nc -zvw2 10.0.0.7 8080" return ? [11:10] gnuoy, just a sec [11:17] Muntaner, fwiw the haproxy monitoring page is really useful to see the status [11:17] gnuoy, I get port 8080 (tcp) timed out: Operation now in progress [11:18] gnuoy, how can I reach it [11:18] ? [11:18] Muntaner, so it sounds like it is not a problem with haproxy. whatever you have attached to the haproxy is not serving content on 8080 [11:20] gnuoy, that's the motivation of the 503 error? [11:21] Muntaner, yes, haproxy is saying none of its backends are available [11:21] mh fine, my server is running on the 80 in fact gnuoy [11:22] how can I set the correct backend? [11:27] Muntaner, when your charm joins with haproxy I think it should set a port if I remember correctly [11:27] Muntaner, the haproxy charm has a README with the details [11:28] Muntaner, yes, the README shows what to do in the "1. Single-Service Proxying" section [11:31] gnuoy, thanks [11:31] looking about it [11:37] Hi Jamespage [11:40] gnuoy, seems to work now, thanks! how can I test my configuration to check if HAproxy is correctly working? [11:41] While trying to deploy the openstack bundle @ https://jujucharms.com/openstack/29 , I am getting the following error http://paste.ubuntu.com/10574023/ [11:41] Muntaner, look at port 8080 on your haproxy node, it has a status page [11:42] I had earlier deployed this succesfully in the very same MAAS environment before [11:42] gnuoy, I have nothing at 192.168.0.97:8080 [11:43] Muntaner, sorry, I meant port 10000 [11:44] gnuoy, I get a 403 Forbidden [11:44] I need to put a password, I guess [11:44] Muntaner, look at haproxy.cfg it has the credentials in it [11:45] Can someone please tell me what the issue is ? [11:45] gnuoy, how should I give the password to haproxy? [11:50] 2015-03-10 17:18:16 [ERROR] deployer.deploy: Invalid service placement mysql to lxc:juju-gui=0 2015-03-10 17:18:16 [ERROR] deployer.deploy: Invalid service placement rabbitmq-server to lxc:juju-gui=0 2015-03-10 17:18:16 [ERROR] deployer.deploy: Invalid service placement ceph-osd to juju-gui=0 2015-03-10 17:18:16 [ERROR] deployer.deploy: Invalid service placement neutron-gateway to juju-gui=0 [11:52] marcoceppi: I have the Galera Cluster charm in my own LP directory. What is the procedure to make it a reviewed/Featured charm? [11:52] Should I start by filing a ticket at https://bugs.launchpad.net/charms/+filebug? If yes, then what title/tags should I give it? [12:01] gnuoy, seems working [12:01] gnuoy, my HAproxy is at 192.168.0.97. When I go on this url, it auto-redirects me to 192.168.0.93: is this the expected behaviour? [12:02] (92 and 93 are the units of my web service) [12:03] Muntaner, That is not expected and I don't think it's haproxy doing the redirect. It'll be the web service [12:03] gnuoy, so I should use the web service remaining on the proxy IP? [13:04] Hi Jamespage === roadmr is now known as roadmr_afk === roadmr_afk is now known as roadmr [14:07] heya [14:48] hi guys [14:48] I have a problem with nova security groups and juju [14:48] I have 100 security groups available in my project [14:48] but Juju only uses 10 of them and then gives me errors if I try to launch new VMs [14:56] any suggestions? === jorge is now known as jcastro [15:11] Muntaner: that is a question for the OpenStack charmers like jamespage coreycb or beisner [15:11] Muntaner, check your security group rule quota [15:12] jamespage, it is 100 [15:12] jamespage, you mean in nova? [15:12] Muntaner, well that depends [15:12] Muntaner, are you using neutron security or nova security? [15:13] Muntaner, also security groups and security group rules are separate quota items in neutron [15:13] jamespage, nova security [15:13] Muntaner, same applies in nova [15:17] may also be worth noting bug 1335885 if doing repetitive deploys (there's a potential for quota consumption there) [15:17] Bug #1335885: destroy-environment reports WARNING cannot delete security group [15:43]  lazyPower: np, yeah I went to sleep. Try to catch you later today. [15:44] to hell with vendoring charmhelpers... when do we get resource streams? [16:15] hey jujuers [16:15] I need to set which user the mysql charm is gonna use [16:15] because I need it to be shared between many charms [16:15] can I do that? [16:30] I've run into an issue when using the openstack-installer (and landscape) where the Ceph charm is trying to use the various removable media devices on the boxes as block storage [16:30] I have submitted bug: https://bugs.launchpad.net/charms/+source/ceph/+bug/1420094 [16:31] Bug #1420094: Ceph install fails by using removable devices [16:31] but, is there any way I can force the ceph charm to only use a specific block device and ignore everything else? === kadams54 is now known as kadams54-away === kadams54-away is now known as kadams54 [16:58] * lamont is doing battle with juju-local and losing: chown: invalid user: ‘ubuntu:ubuntu’ [16:59] anyone wanna help a juju-local noob? [17:03] (anyone happen to have a working type:local juju/environments.yaml snippet they can share? === kadams54 is now known as kadams54-away [17:10] lamont: sure, what's up? [17:11] marcoceppi: tossed you a paste with what I'm seeing, and what I have.. clearly, it's not right. [17:11] clue would be appreciated [17:13] hi, im having some troubles with juju 1.22-beta4 [17:13] lamont: that's weird [17:13] it was working fine [17:13] marcoceppi: verily [17:14] redelmann: what are you seeing? [17:14] now it always say: cannot read info: lock timeout exceeded [17:14] lamont: can you boostrap with --debug and -v flags? [17:14] from one moment to another [17:14] redelmann: when trying to do? [17:14] ah, that might be better than the strace -ff output I just created [17:14] i already try [17:15] 2015-03-10 17:14:49 INFO juju.cmd supercommand.go:37 running juju [1.22-beta4-trusty-amd64 gc] [17:15] marcoceppi: would it be signifcant to say that I'm running vivid? [17:15] 2015-03-10 17:14:49 INFO juju.utils.fslock fslock.go:146 attempted lock failed "env.lock", reading, currently held: reading [17:15] 2015-03-10 17:14:50 ERROR juju.cmd supercommand.go:411 there was an issue examining the environment: cannot read info: lock timeout exceeded [17:15] lamont: maybe, but it's good to know [17:15] im using lxc on local machine [17:15] redelmann: for future multiline pastes it'd be useful to use http://paste.ubuntu.com [17:16] marcoceppi: ok, sorry [17:16] redelmann: there's an issue trying to get a lock on your environment. Is this when trying to bootstrap? [17:17] marcoceppi: http://paste.ubuntu.com/10575661/ [17:17] http://people.canonical.com/~lamont/bootstrap.debug <-- marcoceppi [17:17] marcoceppi: no, i was working without any trouble, after deploy one ganglia instance it start to faild [17:18] marcoceppi: after that i couldn't do anything [17:18] redelmann: can you run the following: `sudo apt-get install pastebinit; sudo initctl list | grep juju | pastebinit` [17:19] http://paste.ubuntu.com/10575679/ [17:19] lamont: can you (after cleaning up the file) paste ~/.juju/environments/local.jenv ? [17:19] redelmann: you already have an environment running, running a bootstrap will fail. Can you run `juju status` ? [17:20] "~/.juju/environments/local.jenv" [New File] 0,0-1 All [17:20] damn, I thought that was going to be it [17:21] marcoceppi: http://paste.ubuntu.com/10575695/ [17:21] http://paste.ubuntu.com/10575698/ <-- marcoceppi the actual and for true environments.yaml stanza, albeit redacted [17:22] redelmann: did you upgrade your juju client recently after bootstrapping that environment? [17:22] lamont: you can omit the authorized-keys-path, it's redundant as ~/.ssh/id_rsa.pub will be uploaded as part of Juju's logic [17:22] marcoceppi: no, i was just testing some local charms [17:22] mine is just type: local and admin-secret [17:22] redelmann: what does `juju version` produce? [17:23] marcoceppi: 1.22-beta4-trusty-amd64 [17:24] marcoceppi: i cant destroy enviroment too. [17:24] redelmann: can you try `juju destroy-environment -y --force local` ? [17:24] marcoceppi: running with --force: ERROR cannot read environment info for "local": cannot read info: lock timeout exceeded [17:25] redelmann: well, we can clean it up manually, this is highly irregular [17:25] marcoceppi: sound like mongodb problem? [17:25] redelmann: possibly, lets see if this helps it recover [17:25] redelmann: try `sudo restart juju-db-redelmann-local; sudo restart juju-agent-redelmann-local` [17:25] * lamont decides to confirm that openstack environments bootstrap, since this is a reinstalled box, after all [17:25] juju bootstrap -e openvpn [17:25] Launching instance [17:25] seems to be [17:26] lamont: yeah, it's just with your local, and it's trying to chown ubuntu when there's really no need [17:26] marcoceppi: same problem, unable to connect to enviroment "local" [17:27] redelmann: okay, so manual clean up it is. If you want to "destroy" local do the following: [17:27] marcoceppi: ok, im "listening" [17:27] * marcoceppi is typing [17:28] actually, just run this [17:28] https://github.com/juju/plugins/blob/master/juju-clean [17:28] marcoceppi: this is the second time it happend to me, the first time I thought it was a change of ip [17:30] marcoceppi: im connecting eth0 with lxcbr0, and sometimes dhcp gives me a different ip for lxcbr0 [17:31] interesting, that shouldn't cause an issue since technically bootstrap node is on localhost [17:31] but it might be actually [17:32] marcoceppi: is there a good way to make it stop trying to do that? [17:32] lamont: I haven't the slightest, this is a first for me [17:34] marcoceppi: one last quesion: is necessary to run "--upload-tools" in bootstrap? [17:38] marcoceppi: http://paste.ubuntu.com/10575811/ [17:38] marcoceppi: Still same problem after clean [17:38] marcoceppi: maybe deleting .juju/enviroments/local.jenv [17:39] marcoceppi: i solved it [17:39] what was it? === kadams54 is now known as kadams54-away [17:40] marcoceppi: env.lock direcory inside enviromens [17:41] marcoceppi: http://paste.ubuntu.com/10575825/ [17:41] interesting [17:41] marcoceppi: think i destroy my enviroment for nothing :P [17:41] env.lock is a new direcetory [17:42] I'll add it to the juju-clean script [17:42] marcoceppi: Ok, after that i needed to run juju-clean again === kadams54-away is now known as kadams54 [17:57] marcoceppi: thank for the help [18:13] marcoceppi: at what point should I see juju fire up a jujud on my machine? (I don't have one) [18:15] lamont: there's a line in the local output that says something to the effect of "starting agent" [18:15] lamont: basically it should be there as soon as cloud init finishes, if not you should check the cloud-init-output.log in /var/log/ [18:15] assuming this isn't the bootstrap node [18:16] if it is the bootstrap node.. bootstrap with --debug and you'll see the ssh interaction [18:18] sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges? <-- I wonder if that's relevant [18:18] oh haha. strace === kadams54 is now known as kadams54-away [18:25] hazmat: http://paste.ubuntu.com/10576054/ hazmat: what I see is it getting completely lost looking for tools, and then things get weird === kadams54-away is now known as kadams54 [18:26] lamont: ic. that just looks a juju bug with vivid, it looks like default user ubuntu isn't in that cloud image [18:27] hazmat: can I trivially force it to only use trusty? or does lxc mean that it must use vivid? [18:28] I just want it to bootstrap, man. well, and then do a bunch of deploys, I guess [18:28] lamont: so try just adding an ubuntu:ubuntu user on the host, [18:29] does that user need privileges? [18:29] lamont: so your host is vivid? .. it looks like its trying to bootstrap on the host and assuming the 'ubuntu' user is there [18:29] lamont: probably .. password less sudo [18:29] host is vivid, ubuntu user never has been there [18:29] yeah.. that's just broken/buggy imo [18:29] shouldn't assume that for local provider [18:30] once you get it working you can use any series, normally series gets picked up from the charm unless your doing add-machine in which case you can pass it explicitly [18:31] http://paste.ubuntu.com/10576080/ <-- I suppose that constitutes "progress" [18:31] * hazmat would stalk some juju devs [18:33] lamont: i just pinged folks on #juju-dev hopefully somebody turns up [18:33] ta [18:33] fwiw, no mongo processes running, though juju-mongodb has been installed [18:34] lamont: its an upstart not found message, could this related to yesterday's move to systemd? [18:34] jrwren: quite possibly [18:34] lamont: juju on vivid has been working fine for a while, but vivid is about to (or just did) switch to booting with systemd [18:34] ericsnow: 2015-03-09 (yesterday) [18:35] if this is a known thing that'll be fixed for vivid sometime soon, I'll just keep using openstack for testing [18:35] lamont: we are wrapping up adding support for systemd in the next juju release (1.23) [18:36] lamont: also, there's a know issue where a vivid container (running systemd) won't work on a non-vivid host (trusty and utopic can be made to work though) [18:37] s/know/known [18:37] ericsnow: does that make the workaround for the meantime "use an utopic schroot"? [18:37] * lamont actually wants trusty containers [18:37] maybe I'll just use a trusty box, instead of my vivid box [18:38] sometimes, bleeding edge sucks === kadams54 is now known as kadams54-away === kadams54-away is now known as kadams54 [18:40] lamont: trusty works if you've updated a few packages out of "trusty-updates" [18:40] lamont: see https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1347020 [18:40] Bug #1347020: systemd does not boot in a container [18:41] lamont: for testing I've been running local provider in a vivid KVM [18:41] ericsnow: ah, that has potential [18:42] ericsnow: meaning your "juju-local on vivid" test box is a kvm? [18:42] lamont: anyway, I'm hoping to land the last patch for systemd-on-vivid support in a little bit [18:43] lamont: yep [18:43] lamont: but most of my testing has been limited to just bootstrapping [18:48] ericsnow: I would be most interested in being a tester for you. [18:49] but first, lunchtime === roadmr is now known as roadmr_afk === kadams54 is now known as kadams54-away === roadmr_afk is now known as roadmr === kadams54-away is now known as kadams54 === kadams54 is now known as kadams54-away [21:44] hi [21:44] I just set up a private cloud using canonical/landscape/openstack [21:44] as part of it, it created me a juju endpoint. [21:45] How do I: A: get credentials for the juju endpoint; B: start playing? [21:45] ELI5 please? [21:56] Does anyone know how to create credentials for juju in openstack? [22:19] ^^ ? === kadams54-away is now known as kadams54 [23:02] lazyPower: hello, how's it going? === kadams54 is now known as kadams54-away === cmagina_ is now known as cmagina [23:46] :( === kadams54-away is now known as kadams54