[06:07] <ekacnet> is juju none and juju local supported in saucy
[06:07] <ekacnet> I have the feeling it's hasn't been really tested
[06:09] <sarnold> probably the ppa is better tested; 'none' is quite new, 'local' is better tested..
[06:14] <ekacnet> ok doing the opposite local -> "null" works much better
[06:15] <ekacnet> stupid question, can I install charms on the boostrap machine ?
[06:17] <sarnold> ekacnet: using 'local', yes; probably 'null' can do it, but I've not tried that
[06:22] <Azendale> can someone explain to me what functions the bootstrap juju machines does? It seems like the VM image comes from the cloud system (like MaaS). Does the bootstrap machine serve configs? Help setup relations between charms or something?
[06:29] <ekacnet> 2013-10-31 06:29:22 ERROR juju.tools list.go:113 cannot match tools.Filter{Released:false, Number:version.Number{Major:0, Minor:0, Patch:0, Build:0}, Series:"saucy", Arch:"amd64"}
[06:30] <ekacnet> bootstraping "null" didn't seems to work too well
[13:37] <jcastro> evilnickveitch, I found broken local examples
[13:37] <jcastro> MP incoming
[13:49] <smoser> ok. stupid question.
[13:49] <smoser> juju deploy --repository... local:my-charm
[13:49] <smoser> charm sucked. want to undeploy and try again.
[13:49] <smoser> can i delete ?
[13:51] <smoser> (other than with juju destroy-environment)
[13:53] <hazmat> smoser, juju destroy-service my-charm
[13:53] <hazmat> smoser, juju terminate-machine whatever-machine-it-was-on
[13:53] <smoser> $ juju destroy-service maas-region
[13:53] <smoser> $ echo $?
[13:53] <smoser> 0
[13:54] <smoser> but juju status still shows the service
[13:54] <hazmat> smoser, it takes a while to die, juju gives the charm a chance to clean up.. notice in status the lifecycle: dying
[13:54] <hazmat> smoser, a while normally being a minute or less
[13:54] <smoser> yeah, you're right.
[13:54] <smoser> k
[13:55] <hazmat> smoser, juju-deployer -T automates this a bit, but terminating all services, units, machines, clearing error states waiting etc.
[13:55] <hazmat> but its whole hog atm rather than targeted
[13:55] <smoser> right. thanks hazmat
[13:56] <smoser> hazmat, in
[13:56] <smoser> juju deploy  --repository ~/charms/ local:maas-region
[13:56] <smoser> why do i have to say "local:" ?
[13:57] <smoser> i would have thought that was defined with --repository=
[13:57] <hazmat> smoser, i had that argument once upon a time..
[13:57] <hazmat> with the same perspective..
[13:57] <hazmat> but the notion was you could also define --repository via JUJU_REPOSITORY
[13:57] <hazmat> and then its rather innocous what you might end up getting .. or define an alias with --repository
[13:58] <smoser> oh well.
[13:58] <hazmat> ie.  charm store as default, and local as explicit, since repository acquisition isn't always clear.
[13:59] <smoser> is debug-log known broken with local provider ?
[13:59] <smoser> or is it just me
[13:59] <smoser> $ juju debug-log
[13:59] <smoser> tail: cannot open `/var/log/juju/all-machines.log' for reading: No such file or directory
[13:59] <smoser> Connection to 10.0.3.1 closed.
[13:59] <smoser> ERROR exit status 1
[13:59] <hazmat> smoser, its broken
[14:00] <hazmat> smoser, there's a couple of other places files for local provider can be found .. typically in $JUJU_HOME/$ENV_NAME/log
[14:01] <hazmat> smoser, container/console.log go to /var/lib/juju/containers/$container-name
[14:01] <hazmat> the jhome log files are for the agent
[14:01] <marcoceppi> smoser: also, when you type juju deploy mysql juju-core is actually expanding that to "cs:precise/mysql" so when you don't explicitly list the protocol it'll be expanded to use the charm store URL
[14:01] <smoser> marcoceppi, yeah, that is weird behavior.
[14:02] <smoser> but i dont care to argue
[14:02] <hazmat> marcoceppi, right.. but that expansion could just as easily switch when specifying a repo..
[14:02] <smoser> (lots of times i *do* care to argue, but not now)
[14:02] <hazmat> :-)
[14:02] <hazmat> smoser, i'd liked how solomon put it yesterday ... keep scott happy.
[14:03] <marcoceppi> hazmat: it could, but I feel it's a rather small point. Juju could actually warn about ambiguous source
[14:03] <marcoceppi> juju deploy --repository=. (or JUJU_REPOSITORY is set) mysql
[14:03] <marcoceppi> Ambiguous deploy statement, did you means local:mysql?
[14:04] <hazmat> marcoceppi, its just feels rendundant to double specify repo... i know the reasons why its not that way though.
[14:04] <hazmat> er.. local charm
[14:04] <marcoceppi> hazmat: right, it does seem a bit redundant
[14:04] <hazmat> but  is more consistent the way it is
[14:04] <hazmat> ^it
[14:04] <marcoceppi> hazmat: maybe we should just drop the notion of protocol-less deploy statments though, just `juju deploy cs:mysql`
[14:05] <hazmat> marcoceppi, given a sane default, no real reason to
[14:05] <marcoceppi> hazmat: also, with this bug, it could cause a lot more confusion when not specifying local
[14:06] <marcoceppi> hazmat: https://bugs.launchpad.net/juju-core/+bug/906008
[14:06] <_mup_> Bug #906008: way to set default charm repository <feature> <juju-core:Triaged> <https://launchpad.net/bugs/906008>
[14:07] <marcoceppi> we had that in the docs for a while before we realized that doesn't actually work
[14:07] <hazmat> marcoceppi, interesting
[14:07] <hazmat> marcoceppi, JUJU_REPOSITORY is the only way to do that.. not sure how that came about otherwise..
[14:08]  * hazmat contemplates bzr blame
[14:08] <marcoceppi> hazmat: I think evilnickveitch tracked it back to jorge putting that in there
[14:08] <marcoceppi> but that could have just been from information he got from someone else
[14:08] <hazmat> indeed
[14:08] <marcoceppi> I got all excited, and thought I could use it to run my own charmstore. I was sadly mistaken
[14:09] <hazmat> i forget how much i dislike html docs till i try to write some
[14:12] <marcoceppi> hazmat: I think you just made nick rage quit ;)
[14:12] <jcastro> marcoceppi, hah, the scalable mediawiki bundle I just made needs a minimum of 5 nodes
[14:12] <jcastro> go big or go home!
[14:14] <smoser> ok. another question.
[14:14] <smoser> i really suck, and i keep making stupid mistakes.
[14:15] <smoser> and juju deploy .... service
[14:15] <smoser> then install fails
[14:15] <smoser> how do i iterate that quickly?
[14:15] <smoser> juju destroy-service maas-region && juju terminate-machine 1
[14:15] <smoser> is quite a slow iteration
[14:15] <smoser> and it wont let me deploy the service again until its out of 'dying'
[14:16] <jcastro> https://juju.ubuntu.com/docs/authors-hook-debug.html
[14:16] <smoser> juju please-die
[14:16] <jcastro> that helps you find the error
[14:16] <jcastro> and then you can rerun the hook right from tmux
[14:16] <sinzui> marcoceppi, I want to document the lxc-no-network-because-of-stale-cloud-init problem. Do I add a troubleshooting section to https://juju.ubuntu.com/docs/config-local.html
[14:17] <marcoceppi> sinzui: I've got that recorded and I'm sending the notes over to jcastro to make a comprehensive local troubleshooting guide as that's one of many things that have fouled up local provider users
[14:17] <marcoceppi> sinzui: not sure where it will live
[14:18] <smoser> thanks jcastro
[14:18] <jcastro> I usually just try to rerun the install hook again
[14:18] <jcastro> and see what errors out
[14:19] <marcoceppi> smoser: yeah, typically I open juju debug-hooks in one terminal window, wait until tmux pops up, then run juju resolved --retry <unit> in another terminal, that'll cat the hook that failed and you can run `hook/<hook-name>` in the tmux 1 window over and over, make edits to the hooks live, go nuts until its fixed
[14:19] <marcoceppi> smoser: Just make sure to copy your changes to your local machine/repo
[14:21] <smoser> marcoceppi, so charmhelpers/core/hookenv.py
[14:21] <smoser> wants juju-log
[14:21] <smoser> command
[14:21] <smoser> but not found ?
[14:23] <smoser> my PATH doesn't seem set up. is that something i missed ?
[14:23] <marcoceppi> smoser: that's...odd, juju-log should definitely be a command
[14:23] <smoser> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[14:23] <smoser> doesn't contain
[14:23] <smoser> /var/lib/juju/tools/1.16.0.1-precise-amd64/
[14:23] <marcoceppi> smoser: wait, what window in the tmux session are you right now?
[14:24] <smoser> ah. main one.
[14:24] <marcoceppi> smoser: yeah, that doesn't have hook envionment vars
[14:28] <smoser> marcoceppi, thanks.
[14:28] <smoser> all. thanks.
[15:04] <marcoceppi> jcastro: local provider troubleshooting guide draft I had: http://paste.ubuntu.com/6336111/
[15:10] <jcastro> ON IT
[15:10] <jcastro> hey
[15:11] <jcastro> are you done with it?
[15:11] <jcastro> I was thinking getting it up and marked up asap
[15:11] <jcastro> and then iterating fast, but in the docs themselves
[15:11] <jcastro> instead of pads and pastebins
[15:37] <jcastro> https://code.launchpad.net/~jorge/juju-core/troubleshooting-local-provider-docs/+merge/193444
[15:37] <jcastro> marcoceppi, I added mgz's tip from yesterday on blowing away those .jenv files
[15:38] <marcoceppi> jcastro: right, hopefully that bug will be fixed soon
[15:38] <marcoceppi> jcastro: but good point
[16:13] <mramm> hey all: thumper's blog post about his logging library for Go is now up on hacker news: https://news.ycombinator.com/item?id=6643805 please upvote it if you think it is interesting, and feel free to comment on hacker news if you think you have something to add.
[16:32] <adeuring> sinzui: https://code.launchpad.net/~adeuring/charmworld/more-heartbeat-info-2/+merge/193454
[16:33] <sinzui> thank you adeuring
[16:34] <sinzui> marcoceppi, Do you want charms to have a saucy series so that bigjools can publish his tarmac charm
[16:34] <sinzui> marcoceppi, Do we want to create a trusty series this week?
[16:34] <marcoceppi> sinzui: yeah, I was under the impression that we had a series for each release so far
[16:34] <marcoceppi> sinzui: please open both
[16:35] <adam_g> using a custom built juju/jujud binary set to bootstrap a new environment, is there some way of confirming the resulting env is using the correct version?  is it normal for to fetch tools from s3 if using the local binary set?
[16:36] <marcoceppi> sinzui: as well, if future releases could have trusty tools, I'd like to start doing some light charm testing for the trusty series
[16:39] <sinzui> marcoceppi, okay, I wont promise them today as I want 1.16.2 behind me
[16:40] <marcoceppi> sinzui: understood, but we should start taking steps to open the series up now
[16:40] <marcoceppi> thanks!
[17:21] <ekacnet> 2013-10-31 06:29:22 ERROR juju.tools list.go:113 cannot match tools.Filter{Released:false, Number:version.Number{Major:0, Minor:0, Patch:0, Build:0}, Series:"saucy", Arch:"amd64"}
[17:21] <ekacnet> should I file a bug in launchpad for this ?
[17:21] <ekacnet> when my juju version is obviously not 0.0.0
[17:24] <marcoceppi> ekacnet: are you trying to bootstrap the null provider and the remove machine is a saucy machine?
[17:24] <marcoceppi> s/remove/remote/
[18:04] <mhall119> jcastro: marcoceppi: where is my LXC instance getting http://ubuntu-cloud.archive.canonical.com/ubuntu/  precise-updates/cloud-tools/main i386 Packages
[18:04] <mhall119> from?
[18:05] <marcoceppi> mhall119: cloud-init probably
[18:05] <mhall119> it's pulling in django 1.5, where vanilla precise only has django 1.3
[18:06] <mhall119> is that going to always be there when I juju deploy, even to Canonical's internal clouds?
[18:07] <jcastro> ugh
[18:07] <jcastro> that's something that shouldn't happen
[18:07] <jcastro> jamespage, we probably need django for ... maas?
[18:08] <ehw> https://bugs.launchpad.net/cloud-archive/+bug/1240667
[18:08] <_mup_> Bug #1240667: Version of django in cloud-tools conflicts with horizon:grizzly <ubuntu-cloud-archive:Confirmed> <juju-core:Triaged> <https://launchpad.net/bugs/1240667>
[18:08] <ehw> jcastro: ^^
[18:08] <ehw> probably same issue
[18:10] <jcastro> yep
[18:11] <jcastro> sinzui, how do I nominate that bug for a backport fix?
[18:11] <jcastro> I mean, once it's fixed how do I say "we should have that in the stable release please' vs. 1.17+ only
[18:13] <sinzui> jcastro, does the bug have a nominate for series link for you?
[18:13] <sinzui> I guess not because the project doesn't have a bug supervisor
[18:14] <sinzui> jcastro, which bug? and can the fix wait 2-3 weeks for 1.18
[18:14] <jcastro> are we backporting 1.18 to saucy and friends?
[18:14] <jcastro> https://bugs.launchpad.net/cloud-archive/+bug/1240667
[18:14] <_mup_> Bug #1240667: Version of django in cloud-tools conflicts with horizon:grizzly <ubuntu-cloud-archive:Confirmed> <juju-core:Triaged> <https://launchpad.net/bugs/1240667>
[18:15] <jcastro> so in mhall's case, he's deploying django internally, and pulling in non-precise django sucks.
[18:15] <sinzui> jcastro, well backport is the wrong word...Ubuntu only makes dev packages. no one is using trusty. The juju project makes all packages to supported ubuntu series
[18:16] <sinzui> Oh that fucking bug
[18:16] <jcastro> yeah so I don't care about trusty
[18:16] <jcastro> I care about people inadvertantly deploying django from the cloud archive on 12.04 instead of what they expect
[18:17] <sinzui> It's hard to suppress my visceral disdain for that bug. It is not possible to deploy charmworld without some really arcane hacking
[18:18] <sinzui> jcastro, the good news is that bug will be fixed for everyone about the same time.
[18:18] <sinzui> I targeted it to 17 because we need to fix the regression for everyone
[18:21] <sinzui> jcastro, I think the intermediate fix will be to build mongodb without libv8 or statically link it. That will prove we can create juju-db
[18:25] <sarnold> "build mongodb without libv8" -- what would be left?
[18:26] <mhall119> jcastro: sinzui: so what are my options here?
[18:26] <mhall119> I *think* my staging and production deployments arne't getting this, tiaz tells me they both have django 1.3.something installed
[18:26] <mhall119> but I have a change that needs to be made if I have 1.5, that will cause a breakage if I have 1.3
[18:28] <sinzui> mhall119, for my charmworld deploy, I had to ssh to the machine, add a file to pin the priority, then manually run install: https://bugs.launchpad.net/cloud-archive/+bug/1240667/comments/9
[18:28] <_mup_> Bug #1240667: Version of django in cloud-tools conflicts with horizon:grizzly <charms> <packaging> <regression> <ubuntu-cloud-archive:Confirmed> <juju-core:Triaged> <https://launchpad.net/bugs/1240667>
[18:28] <sinzui> mhall119, I don't know a graceful fix
[18:29] <mhall119> sinzui: unfortunately that's not an option for me, I need to give IS a charm that "just works" without additional manual intervention
[18:29] <sinzui> mhall119, you can fork the charm and add a step during install that adds the file described in jamespage's comment
[18:30] <sinzui> mhall119, IS always forks its charms, so it is not a blocker, but it is more work
[18:30] <ehw> customers don't fork, though; it really looks like maas needs to separated out from cloud-tools
[18:30] <mhall119> well this is my charm, so I can easily do it, I'll try jamespage's fix
[18:30] <sinzui> mhall119, IS never deploys from the juju-store. they deploys the versions that they know
[18:30] <mhall119> sinzui: I know
[18:31] <sinzui> private clouds do fork because they have not vetted upstream changes. the require repeatability with every deploy
[18:32] <ehw> sinzui: yes and no; they stage, but they expect upstream fixes to be applied as they come, and don't like carrying deltas
[18:32] <sinzui> mhall119, My own charm is affect by this bug. jujucharms.com cannot be setup in production without gross hacks. Lets hope it doesn't fall over
[19:23] <mhall119> jcastro: I have a confession, I am starting to like juju
[19:24] <marcoceppi> mhall119: that's how we get you. We make you got through trials and tribulations so that when you come out on top after weeks of grueling pain and tears, you develop stockholm syndrome and grow to love the tool you once despised
[19:24] <marcoceppi> ;)
[19:24] <mhall119> lol
[19:25] <mhall119> "If I still hated it, all of these weeks of work would be for nothing, so I better love it"
[19:25] <marcoceppi> mhall119: but seriously, any feedback you've got about the problems you ran into, confusing things, mail jorge about them (or me, or the list). We'd love to make the developer experience wayyy better
[19:26] <mhall119> I think it's all been bugs you already know about, or else things specific to IS's requirements
[19:26] <mhall119> stuff like LXC containers not being cleaned up on destroy-environment seems to be fixed now
[19:27] <mhall119> I've had to delete ~/.juju/environments/* a couple of times
[19:27] <mhall119> not sure what the cause was or if there's a bug for that
[19:27] <marcoceppi> mhall119: yeah, that's a recent bug that's been reported now
[19:27] <jcastro> I've got that stuff in the LXC troubleshooting page
[19:27] <jcastro> it's in the doc MP queue if you wanna review and commit and can't wait for nick to get to it
[19:28] <marcoceppi> mhall119: any ideas on how to make writing a charm easier would be cool too
[19:28] <mhall119> I'd file a bug that I need more RAM and an SSD on my laptop, but I think that'll be won't-fix'ed
[19:29] <mhall119> marcoceppi: unfortunately I had to base my charm of an existing IS django charm because of their way or doing things, instead of using the juju tools
[19:29] <marcoceppi> mhall119: gotchya
[19:29] <marcoceppi> cool
[19:29] <marcoceppi> jcastro: I'll review and merge the troubleshooting when I get back from lunch
[19:29] <mhall119> marcoceppi: having a safe, easy way to say "call this other hook" from within a hook would be really useful
[19:30] <mhall119> since I find myself having very small hook scripts that call very large functions in common.sh
[19:30] <marcoceppi> mhall119: what's wrong with just calling "hooks/<hook-name>" from the hook? Or are you referring to being able to call relation hooks out of band?
[19:30] <mhall119> yeah
[19:31] <mhall119> so initially I was wanting to re-generate my db credentials file whenever I put a new bzr branch of my code on the instance
[19:31] <mhall119> rather than keeping the file in a common space and symlinking it in to new code directories
[19:32] <mhall119> which meant I needed to run the same code in db-relation-joined/changed in my config-changed or upgrade-charm hooks
[19:33] <mhall119> maybe it just needs to push the idea of putting all of the code that does stuff into common files, and having light-weight hook files that just call into it
[19:33] <marcoceppi> mhall119: I'd instead put the code in config-changed, have the db-relation hook be a very small file that records the data it needs to like .db-creds then have it call config-changed which has logic to look for a .db-creds file and build the config
[19:33] <marcoceppi> mhall119: that's actually a best practice for charms
[19:34] <marcoceppi> mhall119: to have hooks that are just essentially stubs that call out to shared/common functions. Then you can like unit-test those functions to add a level of sanity checking to charms
[19:34] <mhall119> marcoceppi: anything you guys can do to make that more obvious and easier would be nice
[19:34] <marcoceppi> mhall119: which, subbing hooks or centralized logic?
[19:35] <mhall119> well they kind of go hand-in-hand
[19:35] <marcoceppi> mhall119: the next version of charm-tools will generate a more opinionated template that includes that idea in it
[19:37] <mhall119> marcoceppi: providing tools that let you say something like "/srv/db.conf is the source for ${variablepath}/db.conf, so whenever variablepath changes automatically copy/symlink from the source to the new path"
[19:37] <mhall119> but that'll make juju a lot more complicated, I think
[19:38] <mhall119> marcoceppi: is there any way to make a custom hook?
[19:38] <mhall119> like "juju restart-gunicorn api-website"?
[19:38] <marcoceppi> mhall119: you can make whatever you want in the hooks/ directory. However, there's no way to trigger unless from another hook
[19:39] <marcoceppi> mhall119: there's work for a `juju run` command which might allow you to do that
[19:39] <mhall119> that would be nice
[19:40] <mhall119> so I broke down and wrote an "initdb" command for api-website that can be safely run over and over, since trying to make things work with just a .db_initialized state file wasn't cutting it due to django limitations
[19:43] <mhall119> sinzui: jamespage's apt preferences hack did the trick
[19:44] <sinzui> mhall119, did you fork the charm?
[19:45] <mhall119> sinzui: no, it's my own charm
[19:45] <sinzui> okay. I think we need to blog about this. I was lucky that jamespage was in the room when my charm broke
[19:45] <mhall119> the IS branch is the only branch
[19:50] <b1001> hmm.. I set up apache2 with juju, and I get Error 403: forbidden even from the apache2 charm "machine" and my localhost. (local juju instance)
[20:28] <b1001> it is not possible to halt/stop or shutdown juju on a local ?
[20:36] <marcoceppi> b1001: describe?
[20:37] <b1001> well i got it running on a laptop.. and i reckon running mysql, hadoop and other charms will tear on my battery.
[20:57] <marcoceppi> b1001: you can destroy the environment
[20:59] <b1001>  i would have to rebuilt it then :(
[21:01] <thumper> b1001: not automatically
[21:01] <thumper> b1001: but manually, yes
[21:01] <marcoceppi> thumper: this smells like a plugin
[21:01] <thumper> heh
[21:01] <marcoceppi> thumper: care to elaborate? or is it just lxc-stop ?
[21:02] <thumper> use lxc-stop -n <machine name>
[21:02] <thumper> they will auto start when the machine is rebooted
[21:02] <thumper> or using lxc-start -n <machine name>
[21:02] <marcoceppi> thumper: /me consisers juju local-suspend, juju local-wakeup
[21:02] <thumper> although I did see a bug fly past where containers were not auto starting
[21:02] <marcoceppi> \o/
[21:02] <thumper> local-resume?
[21:03] <marcoceppi> oh, yeah, that's logical
[21:03] <thumper> known bug with fix coming through proposed
[21:04] <jamespage> sinzui, that workaround needs to not be a workaround for to much longer
[21:04] <b1001> thumper: what do you mean?
[21:05] <thumper> b1001: the machines of the local provider are lxc containers
[21:05] <thumper> you can use the lxc commands to stop and start the machines
[21:05] <stokachu> any documentation laying around for utilizing bundles?
[21:06] <sinzui> jamespage, \o/
[21:06] <jamespage> sinzui, OK - I'll push it to trusty first
[21:06] <jamespage> and then do the PPA's
[21:07] <sinzui> thank you!
[21:07] <b1001> thumper: nice thanks.. didnt think of that.. seems to lower the load
[21:10] <marcoceppi> sinzui: mhall119 what hack is this? sounds like it's a good docs candidate
[21:11] <marcoceppi> stokachu: not yet, we have some drafts that will land when bundle support lands
[21:11] <context> trying to use the juju manual-provision, and its trying to connect to what looks to be mongo on 37017 but mongo is running on port 27017
[21:12] <sinzui> marcoceppi, add a file to pin the priority of the cloud-archive when the charm is installed: https://bugs.launchpad.net/cloud-archive/+bug/1240667/comments/9
[21:12] <_mup_> Bug #1240667: Version of django in cloud-tools conflicts with horizon:grizzly <charms> <packaging> <regression> <ubuntu-cloud-archive:Confirmed> <juju-core:Triaged> <https://launchpad.net/bugs/1240667>
[21:12] <marcoceppi> sinzui: if jamespage has a fix landing soon, I think it'll be okay?
[21:13] <marcoceppi> context: mongodb setup by juju should be spun up on it's own port as to not collide with existing default mongo installs
[21:13] <context> then bootstrap failed to do its job :x
[21:14] <context> this is a fresh brand new ubuntu 12.04 server
[21:14] <context> and now juju bootstrap thinks the machine is already provisioned
[21:14] <marcoceppi> context: maybe not, what does `initctl list | grep juju` show on the server?
[21:14] <context> how do i get it back to a non-provisioned state
[21:15] <context> juju-db stop/waiting
[21:15] <marcoceppi> context: can you pastebin /var/log/upstart/juju-db.log ?
[21:15] <marcoceppi> context: I think you're getting the wrong version of mongodb, which shouldn't happen, but that's what it smells like
[21:15] <context> error command line: unknown option sslOnNormalPorts
[21:16] <marcoceppi> context: you have the wrong mongodb version, thumper I thought manual provisioning added the cloud archive as part of cloud-init?
[21:16] <marcoceppi> thumper: or rather, who should I bug about manual provisioning?
[21:16] <marcoceppi> context: what version of juju are you running?
[21:16] <thumper> marcoceppi: there is a bug for it
[21:16] <thumper> I think it may even be fix committed
[21:16] <thumper> and axwalk
[21:16] <thumper> axw
[21:17] <context> one sec
[21:17] <marcoceppi> thumper: awsome, so if context manually adds the cloud-tools archive prior to attempting bootstrap it should be peachy axwalk?
[21:17] <marcoceppi> oh, he's not in the room right now
[21:17] <thumper> no
[21:17] <thumper> yes it should be fine
[21:17] <marcoceppi> cool
[21:17] <context> ?
[21:17]  * thumper crosses fingers
[21:18] <marcoceppi> thumper: he'll need to run destroy-environment to have it listed as "not bootstrapped" right?
[21:18] <context> juju command not on server
[21:18] <thumper> heh
[21:18]  * marcoceppi fears hulk smashing everything
[21:18] <thumper> that doesn't work
[21:18] <marcoceppi> \o/
[21:18] <thumper> there's a bug for that too
[21:18] <context> install juju on server before bootstrap ?
[21:18] <context> ERROR null provider destruction is not implemented yet
[21:18] <context> haha
[21:18] <marcoceppi> context: no, but you'll need a newer version of mongodb than what's in precise
[21:18] <thumper> marcoceppi: I'm pretty sure that destroy-environment for manually bootstrapped ones should be fine
[21:18] <marcoceppi> haha, fantastic
[21:19] <thumper> you have to manually remove the upstart jobs
[21:19] <thumper> I think that is all it really looks for
[21:19] <marcoceppi> thumper: cool
[21:19] <thumper> /etc/init/juju*
[21:19] <marcoceppi> context: okay, here's what I'm going to have you try
[21:19] <thumper> marcoceppi: so... document this?
[21:19] <marcoceppi> thumper: well, for destruction, yes. For bootstraping and the cloud-tools archive if there's a fix committed it should be landing soon
[21:20]  * thumper looks for the bug
[21:20] <marcoceppi> thumper: we explicitly state manual provisioning is crazy beta at the top
[21:20] <thumper> :)(
[21:20] <context> oh. didnt see that
[21:20] <marcoceppi> https://juju.ubuntu.com/docs/config-manual.html
[21:20] <context> yeah i see the Note now
[21:20] <marcoceppi> we should make that like a hero unit or something
[21:20] <context> yeah
[21:20] <marcoceppi> with flashing sierns and lights
 tag
[21:21] <marcoceppi> context: sorry we lured you in to a trap

[21:21] <context> that was my next suggestion ;)
[21:21] <context> haha
[21:21] <marcoceppi> thumper: we list the bug on the docs! https://bugs.launchpad.net/juju-core/+bug/1238934
[21:21] <_mup_> Bug #1238934: manual provider doesn't install mongo from the cloud archive <cloud-archive> <ssh-provider> <juju-core:In Progress by axwalk> <https://launchpad.net/bugs/1238934>
[21:21] <marcoceppi> context: well if you're still game to try this out, we can try a few things
[21:22] <context> im game
[21:23] <marcoceppi> awesome! so log in to the machine, sudo rm -f /etc/init/juju-*
[21:23] <context> im guessing if i just updated to 13.10 it would fix crap
[21:23] <context> done
[21:23] <marcoceppi> context: welllllllllll, I think there's a bug with manual provisioning a bootstrap that's not precise as well
[21:23] <marcoceppi> again, still under development
[21:24] <context> yeah
[21:24] <context> i stopped mongodb
[21:24] <context> as well
[21:24] <marcoceppi> okay, you'll need the cloud archive next, so sudo apt-get remove mongodb-server
[21:24] <marcoceppi> sudo apt-get install -y ubuntu-cloud-keyring
[21:24] <marcoceppi> sudo add-apt-repository cloud-archive:tools
[21:24] <marcoceppi> sudo apt-get update
[21:25] <marcoceppi> now you should be able to bootstrap the machine
[21:25]  * marcoceppi crosses fingers
[21:25] <jamespage> marcoceppi, the add-apt-repository call will install the keyring package btw
[21:25] <marcoceppi> jamespage: ah, probably should update https://wiki.ubuntu.com/ServerTeam/CloudToolsArchive
[21:26] <context> kk attempting bootstrap
[21:26] <context> now will i need to do this on machines in order to add-machine them? or should only need to be on the 'controller'
[21:26] <marcoceppi> context: only for the bootstrap, juju add-machine should work without needing to do this
[21:26] <context> kk
[21:27] <marcoceppi> context: since it's only the mongodb that needs updating. The juju tools themselves are kept independantly of the ubuntu archive
[21:27] <context> yeah
[21:28] <jamespage> marcoceppi, updated
[21:28] <context> i /think/ it worked. command ended happily. waiting for juju-status
[21:29] <context> jujud running, juju-status just sitting there
[21:29] <marcoceppi> context: it'll take a few mins to get setup
[21:29] <marcoceppi> context: /var/log/juju/machine-0.log should illumante what's going on
[21:30] <context> kk
[21:30] <context> whats juju written in
[21:30] <marcoceppi> golang
[21:30] <context> oh yeah :x i remember that
[21:31] <context> all im seeing in log is Pinger:Ping
[21:32] <marcoceppi> context: what does initctl list | grep juju show?
[21:32] <context> db and machine-0 running
[21:33] <marcoceppi> that's a good sign
[21:34] <context> nothing happening really cpu wise
[21:35] <marcoceppi> juju status still hanging?
[21:35] <context> yeah
[21:36] <context> maybe try restarting machine for giggles ?
[21:36] <marcoceppi> ¯\_(ツ)_/¯
[21:36] <context> haha
[21:37] <marcoceppi> context: nothing else fruitful in machine-0?
[21:37] <thumper> context: can you pastebin the entire machine-0 logfile?
[21:37] <thumper> I can have a quick look and see if anything leaps out
[21:38] <context> sec
[21:39] <context> http://pastebin.com/4BWB3ghR
[21:39] <context> i do see something regarding storage-auth-key
[21:39] <context> i do have storage-auth-key in my environments.yaml locally
[21:42] <thumper> hmm...
[21:42] <thumper> ah fark...
[21:42] <thumper> this is exactly the same problem that bit me with maas and lxc
[21:42]  * thumper double checks
[21:42] <context> also i noticed bootstrap-user doesn't work. i tried setting it as root and didnt work
[21:43] <thumper> yep that's it
[21:43] <thumper> grr!!!!
[21:43] <thumper> context: this isn't going to work until we fix this bug...
[21:43] <thumper> sorry about that
[21:43]  * thumper goes to crack a whip
[21:43] <thumper> context: can you file a bug for this?
[21:43] <thumper> or marcoceppi?
[21:43] <context> nothing i can do for now at least?
[21:43] <marcoceppi> thumper: what's the problem?
[21:43] <context> i can, im not exactly sure what it should say though
[21:45] <thumper> context: say "status for manual provider hangs"
[21:45] <bic2k> first charm submitted for review today, woot!
[21:45] <thumper> that is your symptom
[21:45] <thumper> marcoceppi: the storage-auth-key is being stripped out at the api level
[21:45] <thumper> so the thing that needs it doesn't get it
[21:45] <thumper> bit of a fail there
[21:46] <thumper> just miscommunication between devs, and lack of a functional test suite to catch
[21:46] <thumper> we are working on the test suite
[21:46] <thumper> but it's not there yet
[21:47] <context> kk filing bug now
[21:47] <marcoceppi> thumper: thanks for the info context: thanks for playing along!
[21:47] <thumper> context: ta
[21:48] <context> ;) anytime
[21:48] <marcoceppi> I haven't seen the release notes, but I think there were some approvments in 1.16.2 for manual provider
[21:50] <context> thumper, marcoceppi: https://bugs.launchpad.net/juju-core/+bug/1246905
[21:50] <_mup_> Bug #1246905: status for manual provider hangs <juju-core:New> <https://launchpad.net/bugs/1246905>
[21:51] <jamespage> marcoceppi, this is the list for 1.16.2  - https://launchpad.net/juju-core/1.16/1.16.2
[21:51] <thumper> ta
[21:52] <context> wasn't sure if i should have put any of that log output in there but i figured you could update the ticket with more detail on what you found
[21:52] <marcoceppi> jamespage: thanks!
[21:52]  * marcoceppi wonders what happened to 1.16.1
[21:53] <thumper> marcoceppi: superseeded by 1.16.2
[21:53] <marcoceppi> ah
[21:54] <context> thumper: any idea when there will be a release that fixes it
[21:54] <marcoceppi> 1.17.0 looks awesome
[21:54] <context> i know im a little antsy ;)
[21:56] <thumper> context: real soon now™
[21:58] <context> :D
[22:03] <marcoceppi> context: if you're not already, subscribe to the mailing list. We put the release notes for all the juju related release there as well as more indepth project discussion
[22:09] <context> kk, url ? :x
[22:09] <marcoceppi> context: DUH! sorry: https://lists.ubuntu.com/mailman/listinfo/juju
[22:10] <context> kk will sign up for that in a bit.  heading out for margaritas
[22:10] <marcoceppi> context: enjoy your evening o/
[22:44] <adam_g> sinzui, ping