[00:00] seems to work if I add it to the environ file... hmmm... wonder why it didn't work the other way. [00:31] heya.. I'm trying to setup a local env for using Juju... I'm getting ERROR error parsing environment "local": no public ssh keys found when running juju bootstrap.. the docs don't seem to cover anything about adding public keys somewhere.. any ideas? [04:04] Reset MAAS after loosing Juju configuration? | http://askubuntu.com/q/364821 === CyberJacob|Away is now known as CyberJacob [12:19] cjohnston: try: ssh-keygen [12:24] Roconda: I have ssh keys [12:26] cjohnston: you sure you've got a public one? Cause I had the same error and generating my keys solved it [12:27] Roconda: yup [12:27] cjohnston: maybe your key hasn't the right permissions. Could you try: mv ~/.ssh ~/.ssh_backup && ssh-keygen [12:27] just to be sure [12:27] Roconda: it works for ssh elsewhere [12:28] It's 644 which is what a pub key is supposed to be IIRC [12:29] cjohnston: well thats weird. If generating new ones doesn't do the job then I would not know what else to do. I'm not a JuJu dev or something === freeflying_away is now known as freeflying === liam_ is now known as Guest1997 [14:31] Greetings. Been trying to follow the Juju "Getting Started" doc, but upon reaching the "sudo juju bootstrap" I get "ERROR Get http://10.0.3.1:8040/provider-state: dial tcp 10.0.3.1:8040: connection refused" and hours of web search and poring over documentation has turned up a whole lotta nothin'. Anyone else have a similar issue, or better yet, anyone know where I ought to be reading to solve this issue? [14:32] TSK: What version of Ubuntu are you on? [14:32] Currently on 13.04 tho I have been considering upgrading soon. [14:33] TSK: What version of Juju do you have? [14:34] 1.16.0-raring-i386 [14:34] TSK: do you have the "juju-local" package installed? === elopio_ is now known as elopio [14:34] Aye, I do indeed. [14:35] TSK: Are you on an encrypted home directory? [14:35] I am not. [14:35] does ps -aef | grep mongo show a mongod process running? [14:35] Sure does. [14:35] Yes indeed. [14:36] TSK: So, we encountered something like this yesterday. Where it took mongod longer to start up than bootstrap expected and resulting in this false positive [14:37] How long did it take? I've been tryin' for a few hours now to get this runnin'. [14:38] TSK: can you run `sudo juju destroy-environment` then rebootstrap one more time with --debug --show-log flags? [14:38] TSK: bootstrap will only wait for X seconds before giving up, even if mongod/juju-db starts shortly after that time [14:40] By golly, that seems to have fixed 'er right up. [14:43] Thank you very much. Seems to be workin' as expected now. [14:50] TSK: the next time you bootstrap it might fail, let me know if it does, we may increase the timeout for bootstraps waiting on mongdb [14:51] I surely shall. Thank you. It's good to know where the source of the issue is. I appreciate the help greatly. [14:51] The web was not much help, sadly. Is this a fairly new issue? [15:06] TSK: I first heard of it yesterday. to my knowledge it hasn't been an issue [15:06] Right on. That's good. Explains why there's not much info on the web about it. [15:07] If not many folk have seen the issue, then not many folk would have posted about it yet. :) === TSK is now known as {TSK} === {TSK} is now known as TSK [15:51] Juju is pretty neat thus far. Might have to use this to provision all my virtual machines from now on. === TSK is now known as Guest92173 === Guest92173 is now known as [TSK] [16:46] <[TSK]> Howdy. So, now I'm gettin' that same error as before, except when trying to access the same already bootstrapped environment after a reboot. [16:47] <[TSK]> Is there somewhere in the code I should look/test changing some variables to see if it helps anything? I'm familiar with Python if that helps any. [16:48] <[TSK]> Well, this is golang, so it's compiled [16:48] <[TSK]> So when you run juju status, you're getting an error? [16:48] <[TSK]> Aye. Same error as when trying to bootstrap. [16:49] <[TSK]> But you said it's already bootstraped? [16:49] <[TSK]> You only bootstrap once, unless you've torn down the environment since last we talked [16:49] <[TSK]> Aye. Already installed some things and tested them, then restarted the system to see how it'd go. [16:49] <[TSK]> Aye. It was already bootstrapped and working before the reboot. [16:50] <[TSK]> So, the local environment should survive reboot, what happens when you run `juju status --show-log --debug` [16:51] <[TSK]> 2013-10-24 16:50:25 INFO juju.provider.local environprovider.go:32 opening environment "local" [16:51] <[TSK]> 2013-10-24 16:50:26 ERROR juju supercommand.go:282 Unable to connect to environment "local". [16:51] <[TSK]> Please check your credentials or use 'juju bootstrap' to create a new environment. [16:51] <[TSK]> and then [16:51] <[TSK]> Error details: [16:51] <[TSK]> Get http://10.0.3.1:8040/provider-state: dial tcp 10.0.3.1:8040: connection refused [16:51] <[TSK]> (And of course before that all the key junk and stuff) [16:52] <[TSK]> Not seeing anything in there that really looks useful to ME, bein' that I'm entirely new to juju as yet. [16:55] <[TSK]> Looks like such a potentially interesting tool, too. I'd be bummed out if I couldn't actually use it in practice. [16:55] <[TSK] Well the Local provider is a very special provider and relatively new [16:56] <[TSK] try `sudo juju destroy-environment` then `sudo juju bootstrap` again. While it's designed to survive reboots, it may not have in this case [17:00] <[TSK]> destroy and re-bootstrap does sorta fix the problem but of course that leaves me with a shiny new empty environment again. [17:03] <[TSK]> LOVE the use of YAML, BTW. SO much better than say XML for example. === Makyo|Air is now known as Makyo [17:28] <[TSK] yes, I'll look into reboot survival [17:30] <[TSK]> Looks like the bootstrap issue seems to happen on all three of my machines (including the more powerful gaming rig I just tested it out on for curiosity.) I'm on a 50 megabit down/20 megabit up DSL line, and 100 megabit LAN, so that should not affect things, should it? [17:31] <[TSK]> Of course your original suggestion to destroy and re-bootstrap works equally well on all three machines, too. [17:31] <[TSK] the bootstrap problem being the timeout? [17:31] <[TSK]> Aye [17:31] Or the reboot survival? [17:31] <[TSK]> Have not yet tested reboot survival on the other two machines yet. [17:31] <[TSK] interesting. Let me ask the core developers what logs to collect to help troubleshoot this problem [17:31] <[TSK]> One is a netbook, the other is the gaming rig. [17:32] <[TSK]> Figured I'd test on a wide variety of hardware to see if the issue was specific to any one machine, or if it was on all machines. [17:32] <[TSK]> (The first test was on my development server.) [17:36] <[TSK] thanks for taking the time to test this out [17:40] <[TSK]> Hey, no problem. I'm always happy to help when I'm able. :) === [TSK] is now known as TSK [17:43] This is actually the first real project I've ever played with that was written in go. (I'ma Python guy myself) [17:45] * TSK goes to search GitHub for Juju source. [17:47] TSK: http://launchpad.net/juju-core [17:48] Looks like someone mirrored that at GitHub about 9 months ago. https://github.com/prabhakhar/juju-core [17:48] TSK: yeah, that's largely out of date. We're looking to mirror it at https://github.com/juju/juju-core [17:49] Aye. Doesn't look like they got ANY of the actual code history, either. Just a straight mirror of the state of the code 9 months ago. [17:49] TSK: right [17:51] Ah, looks like your original source repo is in bzr [17:51] * TSK installs bazaar [17:52] OOoo neat! There's a plugin for my filemanager for Bazaar now. [17:53] sudo aptitude show dolphin-plugins-bazaar [17:53] Only of interest to KDE users, but still... Nifty. :) [17:55] Could someone explain to me what the 'vip' and 'vip_cidr' options for charms do/are? I get the idea that they are a shared/load balanced IP to have a HA API. But should the be an address in the same range as the addresses the machines already have assigned by MaaS (but one that the DHCP server won't hand out?) Or should the been on a different NIC on the server and on their own subnet? [17:59] Azendale: to my understanding it can be either [18:00] Azendale: I believe the times I've used it, it's been on the same NIC but outside the range of IPs that the DHCP server provides [18:01] marcoceppi: Ok, thanks. I think I'll try that as that'll probably be easiest to set up for now. (I imagine there is some more configuration if you want to specify that the IP be on a specific interface) [19:13] Is there any way to force a service to delete itself? I destroyed it yesterday but juju is still reporting the service exists [19:17] zradmin: using `juju destroy-environment` takes everything down [19:17] mgz: yeah i dont want to do that for just the one service though [19:23] zradmin: running it again wouldn't hurt, and you need terminate-machine after to actually kill resource usage [19:25] mgz: my process to down a service looks like this: remove the units from the service, destroy the service, terminate machines... running a juju stat service just brings up a blank result [19:42] What's the lastest version of Openstack that I can deploy with Juju? Where can find this information? | http://askubuntu.com/q/365216 === liam_ is now known as Guest32295 === CyberJacob is now known as CyberJacob|Away === CyberJacob|Away is now known as CyberJacob === CyberJacob is now known as CyberJacob|Away === Topic unset by jcastro_ on #juju === jcastro_ changed the topic of #juju to: Docs: http://juju.ubuntu.com/docs || FAQ: http://goo.gl/MsNu4I || Review Queue: http://goo.gl/9yBZuv || Unanswered Questions: http://goo.gl/dNj8CP === jcastro_ changed the topic of #juju to: Welcome!! Docs: http://juju.ubuntu.com/docs || FAQ: http://goo.gl/MsNu4I || Review Queue: http://goo.gl/9yBZuv || Unanswered Questions: http://goo.gl/dNj8CP