/srv/irclogs.ubuntu.com/2013/10/24/#juju.txt

Preytellseems to work if I add it to the environ file... hmmm... wonder why it didn't work the other way.00:00
cjohnstonheya.. 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?00:31
AskUbuntuReset MAAS after loosing Juju configuration? | http://askubuntu.com/q/36482104:04
=== CyberJacob|Away is now known as CyberJacob
Rocondacjohnston: try: ssh-keygen12:19
cjohnstonRoconda: I have ssh keys12:24
Rocondacjohnston: you sure you've got a public one? Cause I had the same error and generating my keys solved it12:26
cjohnstonRoconda: yup12:27
Rocondacjohnston: maybe your key hasn't the right permissions. Could you try: mv ~/.ssh ~/.ssh_backup && ssh-keygen12:27
Rocondajust to be sure12:27
cjohnstonRoconda: it works for ssh elsewhere12:27
cjohnstonIt's 644 which is what a pub key is supposed to be IIRC12:28
Rocondacjohnston: 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 something12:29
=== freeflying_away is now known as freeflying
=== liam_ is now known as Guest1997
TSKGreetings.  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:31
marcoceppiTSK: What version of Ubuntu are you on?14:32
TSKCurrently on 13.04 tho I have been considering upgrading soon.14:32
marcoceppiTSK: What version of Juju do you have?14:33
TSK1.16.0-raring-i38614:34
marcoceppiTSK: do you have the "juju-local" package installed?14:34
=== elopio_ is now known as elopio
TSKAye, I do indeed.14:34
marcoceppiTSK: Are you on an encrypted home directory?14:35
TSKI am not.14:35
marcoceppidoes ps -aef | grep mongo show a mongod process running?14:35
TSKSure does.14:35
TSKYes indeed.14:35
marcoceppiTSK: So, we encountered something like this yesterday. Where it took mongod longer to start up than bootstrap expected and resulting in this false positive14:36
TSKHow long did it take?  I've been tryin' for a few hours now to get this runnin'.14:37
marcoceppiTSK: can you run `sudo juju destroy-environment` then rebootstrap one more time with --debug --show-log flags?14:38
marcoceppiTSK: bootstrap will only wait for X seconds before giving up, even if mongod/juju-db starts shortly after that time14:38
TSKBy golly, that seems to have fixed 'er right up.14:40
TSKThank you very much.  Seems to be workin' as expected now.14:43
marcoceppiTSK: the next time you bootstrap it might fail, let me know if it does, we may increase the timeout for bootstraps waiting on mongdb14:50
TSKI surely shall.  Thank you.  It's good to know where the source of the issue is.  I appreciate the help greatly.14:51
TSKThe web was not much help, sadly.  Is this a fairly new issue?14:51
marcoceppiTSK: I first heard of it yesterday. to my knowledge it hasn't been an issue15:06
TSKRight on.  That's good.  Explains why there's not much info on the web about it.15:06
TSKIf not many folk have seen the issue, then not many folk would have posted about it yet.  :)15:07
=== TSK is now known as {TSK}
=== {TSK} is now known as TSK
TSKJuju is pretty neat thus far.  Might have to use this to provision all my virtual machines from now on.15:51
=== TSK is now known as Guest92173
=== Guest92173 is now known as [TSK]
[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:46
[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:47
marcoceppi<[TSK]> Well, this is golang, so it's compiled16:48
marcoceppi<[TSK]> So when you run juju status, you're getting an error?16:48
[TSK]Aye.  Same error as when trying to bootstrap.16:48
marcoceppi<[TSK]> But you said it's already bootstraped?16:49
marcoceppi<[TSK]> You only bootstrap once, unless you've torn down the environment since last we talked16: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:49
marcoceppi<[TSK]> So, the local environment should survive reboot, what happens when you run `juju status --show-log --debug`16:50
[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 then16:51
[TSK]Error details:16:51
[TSK]Get http://10.0.3.1:8040/provider-state: dial tcp 10.0.3.1:8040: connection refused16:51
[TSK](And of course before that all the key junk and stuff)16:51
[TSK]Not seeing anything in there that really looks useful to ME, bein' that I'm entirely new to juju as yet.16:52
[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
marcoceppi<[TSK] Well the Local provider is a very special provider and relatively new16:55
marcoceppi<[TSK] try `sudo juju destroy-environment` then `sudo juju bootstrap` again. While it's designed to survive reboots, it may not have in this case16:56
[TSK]destroy and re-bootstrap does sorta fix the problem but of course that leaves me with a shiny new empty environment again.17:00
[TSK]LOVE the use of YAML, BTW.  SO much better than say XML for example.17:03
=== Makyo|Air is now known as Makyo
marcoceppi<[TSK] yes, I'll look into reboot survival17:28
[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:30
[TSK]Of course your original suggestion to destroy and re-bootstrap works equally well on all three machines, too.17:31
marcoceppi<[TSK] the bootstrap problem being the timeout?17:31
[TSK]Aye17:31
marcoceppiOr the reboot survival?17:31
[TSK]Have not yet tested reboot survival on the other two machines yet.17:31
marcoceppi<[TSK] interesting. Let me ask the core developers what logs to collect to help troubleshoot this problem17:31
[TSK]One is a netbook, the other is the gaming rig.17:31
[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:32
marcoceppi<[TSK] thanks for taking the time to test this out17:36
[TSK]Hey, no problem.  I'm always happy to help when I'm able.  :)17:40
=== [TSK] is now known as TSK
TSKThis is actually the first real project I've ever played with that was written in go.  (I'ma Python guy myself)17:43
* TSK goes to search GitHub for Juju source.17:45
marcoceppiTSK: http://launchpad.net/juju-core17:47
TSKLooks like someone mirrored that at GitHub about 9 months ago.  https://github.com/prabhakhar/juju-core17:48
marcoceppiTSK: yeah, that's largely out of date. We're looking to mirror it at https://github.com/juju/juju-core17:48
TSKAye.  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
marcoceppiTSK: right17:49
TSKAh, looks like your original source repo is in bzr17:51
* TSK installs bazaar17:51
TSKOOoo neat!  There's a plugin for my filemanager for Bazaar now.17:52
TSKsudo aptitude show dolphin-plugins-bazaar17:53
TSKOnly of interest to KDE users, but still...  Nifty.  :)17:53
AzendaleCould 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:55
marcoceppiAzendale: to my understanding it can be either17:59
marcoceppiAzendale: 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 provides18:00
Azendalemarcoceppi: 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)18:01
zradminIs there any way to force a service to delete itself? I destroyed it yesterday but juju is still reporting the service exists19:13
mgzzradmin: using `juju destroy-environment` takes everything down19:17
zradminmgz: yeah i dont want to do that for just the one service though19:17
mgzzradmin: running it again wouldn't hurt, and you need terminate-machine after to actually kill resource usage19:23
zradminmgz: 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 result19:25
AskUbuntuWhat's the lastest version of Openstack that I can deploy with Juju? Where can find this information? | http://askubuntu.com/q/36521619:42
=== 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

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!