[00:01] hi folks, anyone know why a config-get cmdline call from inside a debug-hooks would not match the values returned from an external call to "juju get haproxy"? [00:02] I'm finding all "type: int" values are being replaced with an empty unicode string for the haproxy charm when I'm inside a debug-hooks config-changed [00:03] blackboxsw: that's odd, what version of juju? [00:03] marcoceppi, 1.15.0-saucy-amd64 [00:03] used --upload-tools on my bootstrap [00:04] deploying to cloud currently, will try lxc and see if I can reproduce the problem. [00:04] string type variables seem to be intact. [00:15] yeah will have to play in lxc land for a bit to see if the error is reproducible thx marcoceppi === freeflying_away is now known as freeflying [00:18] marcoceppi, also, I was working off of juju trunk, heading back to the ppa [00:37] marcoceppi, yep problem solved... was versionitis of an old trunk juju updating to the PPA in saucy fixed it: 1.16.3-saucy-amd64 === CyberJacob is now known as CyberJacob|Away [00:44] Is it safe to assume we will always be using ubuntu in a charm? or should I decidedly do sanity checks on environment for custom configurations? [00:45] To scope this question specifically, rsyslog has been default fo ra while now. Should I assume that's the default or should I build in detection for other systems like legacy syslog, syslog-ng? [00:48] lazypower: well, there's charms published to the juju charmstore and then there's the charms that other groups might write; I could imagine a sles, rhel, or centos user liking what juju has to offer but wanting to build upon their existing tools, and choosing to write charms that use e.g. systemd journal as their logging service of choice [00:52] Ok thats insightful. So to promote adoption I should do sanity checks for additional daemons and provide those utilities as well - this just changed scope. Thank you sarnold. [01:20] lazypower: well, that's up to you to define the scope of what you'll support with your charms. [01:21] lazypower: some shops might be all-fedora and want to embrace the systemd way of life; other shops might be heterogenous and want to deploy charms on top of anything. They'll have more work than shops with tighter goals.. [01:22] I'm in fairly constant contact with upstream about the charm I'm working on. They support everything under the sun - and if the guys on the other side of the fence want to help report bugs, I'll help them maintain it - to an extent. I dont want to try to make one charm ot rule them all, I'm currently running that mentality at my 9-5 and its exhausting. [01:22] but I see no reason to pigeon hole anyone because I'm lazy and dont want to read a configuration guide. [01:23] sounds like you'll have happy users :) [01:23] Lets hope, here's to keeping my promises [01:23] :) [01:28] Is there a good place for offtopic juju chat or have the IRC channels boiled down to business over pleasure? === mhall119|afk is now known as mhall119 [02:01] looks like the hooks documentation just turned into chunky salsa after an edit or deployment - https://juju.ubuntu.com/docs/authors-hook-kinds.html === gary_poster is now known as gary_poster|away === Beret- is now known as Beret === jcsackett_ is now known as jcsackett [05:37] So, i've been tasked with finding an alternative to the remote_syslog rubygem. I found nxlog as a viable alternative but the repositories don't exactly provide it for 12.04 LTS. What would an acceptable alternative be for the charm? Is maintaining a PPA a viable alternative or is PPA use frowned upon in charming? [05:40] hey lazypower :) I'd again say this is up to you as a charmer to decide the scope. I'd say it is probably fine to use a PPA if the software is clearly not in the archive or your PPA version provides significant functionality beyond the version in the archive; it'd be best to document in the README which PPA is used and perhaps make archive/ppa/compile-from-source options -- or allow specifying which ppa to use... [05:41] ... choices... i dont know what to do with myself. [05:42] it's tough; if you make too many choices available to the end user they might wonder what benefit you provide compared to doing it all themselves. There are definitely times when it helps to be opinionated -- I love reading advice from opinionated people, even if I don't follow the advice. :) [05:46] Well played sir. === CyberJacob|Away is now known as CyberJacob === jam1 is now known as jam === CyberJacob is now known as CyberJacob|Away === gary_poster|away is now known as gary_poster === ociuhandu_ is now known as ociuhandu [13:31] I destroyed a service but it keeps on juju status list marked as 'life: diying' but never goes away. How to proceed/ [13:41] http://pastebin.com/z3Mbi8HJ [13:45] X-warrior: are any of the elasticsearch units in an error state? [13:46] nope, "agent-state: started" [13:49] marcoceppi: nope, there is no machine/service on error state as far as I can see [14:18] marcoceppi: did you say something my internet dropped [14:35] Following https://bugs.launchpad.net/juju-core/+bug/1257705 would someone mind kicking off a new upload of juju to brew? [14:38] X-warrior: nope. Can you show the full juju status output? [14:39] ev: as soon as a new juju is out? sinzui did we have another release? [14:39] marcoceppi, juju 1.16.4 in a few hours [14:40] http://pastebin.com/B11PkKZt [14:40] marcoceppi: [14:40] sinzui: excellent! thanks [14:40] cool, thanks [14:40] ev: homebrew will be updated in a few hours [14:40] whoop === xnox_ is now known as xnox [14:58] marcoceppi: did you find anything wrong? [14:58] X-warrior: nothing immediate, can you juju ssh elasticsearch/0 and run ps -aef | grep juju [14:59] wonder if there's a long running hook or something [15:00] marcoceppi: I dont think so. http://pastebin.com/UU63aFqK [15:01] X-warrior: correct. What happens if you run juju destroy-service again? [15:01] it just runs normally [15:02] X-warrior: actually, what machine was logstash-indexer on? [15:02] 11 [15:02] X-warrior: juju ssh 11; ps -aef | grep juju [15:02] ok [15:03] marcoceppi: http://pastebin.com/ifZGMSt6 [15:29] * X-warrior tired [15:38] I tried to `juju set-environment access-key=ASDF secret-key=GHJK` and I get `ERROR The AWS Access Key Id you provided does not exist in our records.`. Ping @rogpeppe [15:39] marcoceppi: so any idea about this? [15:39] (I did also change it in the environment.yaml first, which may have been a mistake) [15:41] iri-: changing it in environments.yaml first *shouldn't* have made a difference [15:41] iri-: where do you see the error being printed? [15:41] rogpeppe: in the terminal where I ran juju set-environment [15:42] iri-: do you have a go dev environment on your local machine? [15:42] rogpeppe: yes [15:43] iri-: perhaps you could try this: [15:43] iri-: go get code.google.com/p/rog-go/cmd/ec2 [15:43] (that fetches a little utility i wrote for dealing with ec2 stuff) [15:43] iri-: then: [15:44] iri-: export AWS_ACCESS_KEY_ID=ASDF [15:44] iri-: export AWS_SECRET_ACCESS_KEY=GHJK [15:44] iri-: ec2 instances [15:44] iri-: if your key is ok, that should print your current set of running instance ids [15:45] rogpeppe: indeed it does. [15:45] iri-: hmm [15:46] iri-: what output do you get if you run juju status? [15:48] iri-: actually, that was probably a bad suggestion, as status takes ages [15:49] iri-: what do you see if you add --debug to the set-environment flags? [15:49] rogpeppe: nothing out of the ordinary [15:50] INFO juju.provider.ec2 ec2.go:193 opening environment "ec2" and the usual line containing a giant json object [15:53] iri-: so it didn't fail then? [15:53] it said "ERROR" (as in the first line I said to the channel) and then didn't seem to update the environment [15:54] iri-: no other info on the ERROR line? [15:54] rogpeppe: nope, it's as I showed === natefinch is now known as natefinch-dentis === natefinch-dentis is now known as natefnch-dentist [16:04] iri-: have you deprecated the old keys already? [16:05] I made them inactive, yes [16:05] (@ rogpeppe) [16:06] iri-: could you try reactivating them and then doing the set-environment again? [16:07] iri-: unfortunately we can't tell *which* access key id doesn't exist in their records [16:07] rogpeppe: that worked! Damn good job I didn't delete the old credentials.. [16:07] rogpeppe: I wouldn't have expected to need the old one to work in order to revoke it.. [16:07] iri-: indeed [16:08] iri-: i'm not quite sure why it does (the latest version of juju definitely does not) [16:09] iri-: i've managed to duplicate your error anyway [16:09] rogpeppe: great. [16:10] iri-: does this file exist for you: ~/.juju/environments/ec2.jenv ? [16:10] yes [16:10] iri-: ah, ok (i thought you were using an earlier juju version) [16:11] iri-: in that case, *that* is the place that's consulted for current environment keys by the client [16:11] rogpeppe: so.. I should have edited that file? I'm not following.. [16:11] iri-: it has an entry "bootstrap-config" containing all the keys that the environment was bootstrapped with [16:12] iri-: it shouldn't be necessary, but yes, editing that file would have fixed the problem [16:12] iri-: i'm just looking to find out why it failed the way it did === eagles0513875_ is now known as eagles0513875 [16:18] iri-: ah, i understand now [16:18] iri-: it does need the provider credentials to read the s3 bucket that contains the details of how to find the bootstrap instance [16:18] iri-: in the future we will be caching that instance's address locally, but in general there's no easy way around it === teknico_ is now known as teknico [17:05] jamespage, i updated heat charm with different auth key generation, and adding more tests, coverage is now 85% [17:21] yolanda, better! [17:21] * jamespage looks === CyberJacob|Away is now known as CyberJacob [19:59] hi all.. any idea why mongo would fail to start on bootstrap? [20:02] Starting MongoDB server (juju-db) [20:02] Connection to 10.0.0.1 closed [20:02] ERROR juju.environs.manual bootstrap.go:105 bootstrapping failed, removing state file: exit status 1 [20:19] ashipika: is there any other relevant information in the unit log? [20:20] I've eperienced this behavior a few times when I've hastily tried to add shards to the cluster before the master node is spun up, but i attribute that to user error. [20:20] looking at it.. it's on a livecd.. so might be it ran out of disk space.. [20:20] but i doubt it.. [20:21] I wont be able to help much aside from pointing you in places to look, in about 3 hours i'll be at home and can try to reproduce what you're seeing if that helps. [20:22] ok.. i'll try to pastebin the mongodb log [20:22] if that helps [20:23] certainly. I'd be happy to look over the output [20:23] any other logs that might help? [20:25] Can you include the juju controller log for completeness? I'd like to see the communication between the nodes [20:25] http://paste.ubuntu.com/6521644/ [20:26] hmm.. i'm doing all this on the same machine [20:26] same VM that is.. and there are no juju logs... strange [20:27] LXC? [20:27] just /var/log/juju/all-machines.log, which is empty.. [20:27] vmware player [20:27] ok, well looking at your mongodb log - this line itself http://paste.ubuntu.com/6521644/ [20:27] there's something going on in one of the hooks that is restarting the daemon possibly? [20:28] this: got kill or ctrl c or hup signal 15 (Terminated), will terminate after current cmd ends ? [20:28] how about any logs in $HOME/.juju/local/logs? [20:28] Correct. That line says the deamon proces received an interrupt [20:28] no such logs :( [20:28] hmm. What environment are you running JUJU in? [20:29] juju version: 1.17.0-precise-amd64 [20:29] precise livecd [20:29] null environment [20:29] ah ok. I have not startd experimenting with the null environment [20:29] the behavior changes a bit when using the null provider [20:29] i know.. experimental :) [20:30] that's what i'm doing.. experimenting.. [20:30] trying to create a custom livecd that would boot a bootstrapped juju host [20:30] nice [20:30] crazy :) [20:30] it can be both :D [20:30] seems so, yes :) [20:31] hmm mongo version 2.0.4 [20:31] latest stable mongo version should be 2.4.8 [20:31] but that should not be an issue [20:32] lazypower: do you know, perhaps, who is working on null environment? [20:46] Is local provider not working currently on 1.16.3 and .4? My machines stay in pending. [20:47] I get this in the cloud-init.log: http://paste.ubuntu.com/6521479/ [20:47] It also seems like the instances don't get addresses assigned, and the console spins and waits for the network to come up. [20:51] ashipika: are you using mongodb from the cloud-tools archive? [21:03] sorry.. had to grab a bite.. i ran: juju bootstrapp --upload-tools.. so whatever is used there === waigani_ is now known as waigani === gary_poster is now known as gary_poster|away === CyberJacob is now known as CyberJacob|Away [22:48] dpb1, you need the cloud-init-output.log to see what's actually happening [22:50] dpb1, lxc seeds cloud-init with a direct file inject for userdata [23:03] hazinhell: I found the answer: http://curtis.hovey.name/2013/11/16/restoring-network-to-lxc-and-juju-local-provider/ [23:03] basically, an old dhcp package [23:03] removing the cached images fixed it [23:04] ah.. 12.0.4.2 in lxc cache [23:04] yeah.. that's bit me before [23:04] there really isn't a good way to tell what the heck version that is the cache because its a totally generic name [23:04] it was from February! [23:04] ya. [23:05] I think maybe juju should ship with a maintenance job for it or something, but there are concerns with that approach too. :) [23:05] really it should be lxc's responsibility.. [23:06] ya, you are probably right [23:06] its the one keeping the cache, it should be responsible for sanely updating it [23:06] true. agreed.