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

=== CyberJacob is now known as CyberJacob|Away
=== melmoth_ is now known as melmoth
=== zz_paulczar is now known as paulczar
=== paulczar is now known as zz_paulczar
=== zz_paulczar is now known as paulczar
=== paulczar is now known as zz_paulczar
=== jam3 is now known as jam
=== thumper is now known as thumper-afk
=== stub` is now known as stub
ekacnetis juju none and juju local supported in saucy06:07
ekacnetI have the feeling it's hasn't been really tested06:07
sarnoldprobably the ppa is better tested; 'none' is quite new, 'local' is better tested..06:09
ekacnetok doing the opposite local -> "null" works much better06:14
ekacnetstupid question, can I install charms on the boostrap machine ?06:15
sarnoldekacnet: using 'local', yes; probably 'null' can do it, but I've not tried that06:17
Azendalecan 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:22
ekacnet2013-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:29
ekacnetbootstraping "null" didn't seems to work too well06:30
=== CyberJacob|Away is now known as CyberJacob
=== mgz is now known as mgzh
=== sodre is now known as sodre_zzz
=== allenap_ is now known as allenap
=== thumper-afk is now known as thumper
jcastroevilnickveitch, I found broken local examples13:37
jcastroMP incoming13:37
smoserok. stupid question.13:49
smoserjuju deploy --repository... local:my-charm13:49
smosercharm sucked. want to undeploy and try again.13:49
smosercan i delete ?13:49
smoser(other than with juju destroy-environment)13:51
hazmatsmoser, juju destroy-service my-charm13:53
hazmatsmoser, juju terminate-machine whatever-machine-it-was-on13:53
smoser$ juju destroy-service maas-region13:53
smoser$ echo $?13:53
smoser013:53
smoserbut juju status still shows the service13:54
hazmatsmoser, it takes a while to die, juju gives the charm a chance to clean up.. notice in status the lifecycle: dying13:54
hazmatsmoser, a while normally being a minute or less13:54
smoseryeah, you're right.13:54
smoserk13:54
hazmatsmoser, juju-deployer -T automates this a bit, but terminating all services, units, machines, clearing error states waiting etc.13:55
hazmatbut its whole hog atm rather than targeted13:55
smoserright. thanks hazmat13:55
smoserhazmat, in13:56
smoserjuju deploy  --repository ~/charms/ local:maas-region13:56
smoserwhy do i have to say "local:" ?13:56
smoseri would have thought that was defined with --repository=13:57
hazmatsmoser, i had that argument once upon a time..13:57
hazmatwith the same perspective..13:57
hazmatbut the notion was you could also define --repository via JUJU_REPOSITORY13:57
hazmatand then its rather innocous what you might end up getting .. or define an alias with --repository13:57
smoseroh well.13:58
hazmatie.  charm store as default, and local as explicit, since repository acquisition isn't always clear.13:58
=== zz_paulczar is now known as paulczar
smoseris debug-log known broken with local provider ?13:59
smoseror is it just me13:59
smoser$ juju debug-log13:59
smosertail: cannot open `/var/log/juju/all-machines.log' for reading: No such file or directory13:59
smoserConnection to 10.0.3.1 closed.13:59
smoserERROR exit status 113:59
hazmatsmoser, its broken13:59
hazmatsmoser, there's a couple of other places files for local provider can be found .. typically in $JUJU_HOME/$ENV_NAME/log14:00
hazmatsmoser, container/console.log go to /var/lib/juju/containers/$container-name14:01
hazmatthe jhome log files are for the agent14:01
marcoceppismoser: 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 URL14:01
smosermarcoceppi, yeah, that is weird behavior.14:01
smoserbut i dont care to argue14:02
hazmatmarcoceppi, 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
hazmatsmoser, i'd liked how solomon put it yesterday ... keep scott happy.14:02
marcoceppihazmat: it could, but I feel it's a rather small point. Juju could actually warn about ambiguous source14:03
marcoceppijuju deploy --repository=. (or JUJU_REPOSITORY is set) mysql14:03
marcoceppiAmbiguous deploy statement, did you means local:mysql?14:03
hazmatmarcoceppi, its just feels rendundant to double specify repo... i know the reasons why its not that way though.14:04
hazmater.. local charm14:04
marcoceppihazmat: right, it does seem a bit redundant14:04
hazmatbut  is more consistent the way it is14:04
hazmat^it14:04
marcoceppihazmat: maybe we should just drop the notion of protocol-less deploy statments though, just `juju deploy cs:mysql`14:04
hazmatmarcoceppi, given a sane default, no real reason to14:05
marcoceppihazmat: also, with this bug, it could cause a lot more confusion when not specifying local14:05
marcoceppihazmat: https://bugs.launchpad.net/juju-core/+bug/90600814:06
_mup_Bug #906008: way to set default charm repository <feature> <juju-core:Triaged> <https://launchpad.net/bugs/906008>14:06
marcoceppiwe had that in the docs for a while before we realized that doesn't actually work14:07
hazmatmarcoceppi, interesting14:07
hazmatmarcoceppi, JUJU_REPOSITORY is the only way to do that.. not sure how that came about otherwise..14:07
* hazmat contemplates bzr blame14:08
marcoceppihazmat: I think evilnickveitch tracked it back to jorge putting that in there14:08
marcoceppibut that could have just been from information he got from someone else14:08
hazmatindeed14:08
marcoceppiI got all excited, and thought I could use it to run my own charmstore. I was sadly mistaken14:08
hazmati forget how much i dislike html docs till i try to write some14:09
marcoceppihazmat: I think you just made nick rage quit ;)14:12
jcastromarcoceppi, hah, the scalable mediawiki bundle I just made needs a minimum of 5 nodes14:12
jcastrogo big or go home!14:12
smoserok. another question.14:14
smoseri really suck, and i keep making stupid mistakes.14:14
smoserand juju deploy .... service14:15
smoserthen install fails14:15
smoserhow do i iterate that quickly?14:15
smoserjuju destroy-service maas-region && juju terminate-machine 114:15
smoseris quite a slow iteration14:15
smoserand it wont let me deploy the service again until its out of 'dying'14:15
jcastrohttps://juju.ubuntu.com/docs/authors-hook-debug.html14:16
smoserjuju please-die14:16
jcastrothat helps you find the error14:16
jcastroand then you can rerun the hook right from tmux14:16
sinzuimarcoceppi, 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.html14:16
marcoceppisinzui: 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 users14:17
marcoceppisinzui: not sure where it will live14:17
smoserthanks jcastro14:18
jcastroI usually just try to rerun the install hook again14:18
jcastroand see what errors out14:18
marcoceppismoser: 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 fixed14:19
marcoceppismoser: Just make sure to copy your changes to your local machine/repo14:19
smosermarcoceppi, so charmhelpers/core/hookenv.py14:21
smoserwants juju-log14:21
smosercommand14:21
smoserbut not found ?14:21
smosermy PATH doesn't seem set up. is that something i missed ?14:23
marcoceppismoser: that's...odd, juju-log should definitely be a command14:23
smoser/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin14:23
smoserdoesn't contain14:23
smoser/var/lib/juju/tools/1.16.0.1-precise-amd64/14:23
marcoceppismoser: wait, what window in the tmux session are you right now?14:23
smoserah. main one.14:24
marcoceppismoser: yeah, that doesn't have hook envionment vars14:24
smosermarcoceppi, thanks.14:28
smoserall. thanks.14:28
=== paulczar is now known as zz_paulczar
marcoceppijcastro: local provider troubleshooting guide draft I had: http://paste.ubuntu.com/6336111/15:04
jcastroON IT15:10
jcastrohey15:10
jcastroare you done with it?15:11
jcastroI was thinking getting it up and marked up asap15:11
jcastroand then iterating fast, but in the docs themselves15:11
jcastroinstead of pads and pastebins15:11
=== zz_paulczar is now known as paulczar
jcastrohttps://code.launchpad.net/~jorge/juju-core/troubleshooting-local-provider-docs/+merge/19344415:37
jcastromarcoceppi, I added mgz's tip from yesterday on blowing away those .jenv files15:37
marcoceppijcastro: right, hopefully that bug will be fixed soon15:38
marcoceppijcastro: but good point15:38
=== freeflying is now known as freeflying_away
=== med_ is now known as med
=== med is now known as med_
mrammhey 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:13
adeuringsinzui: https://code.launchpad.net/~adeuring/charmworld/more-heartbeat-info-2/+merge/19345416:32
sinzuithank you adeuring16:33
sinzuimarcoceppi, Do you want charms to have a saucy series so that bigjools can publish his tarmac charm16:34
sinzuimarcoceppi, Do we want to create a trusty series this week?16:34
marcoceppisinzui: yeah, I was under the impression that we had a series for each release so far16:34
marcoceppisinzui: please open both16:34
adam_gusing 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:35
marcoceppisinzui: as well, if future releases could have trusty tools, I'd like to start doing some light charm testing for the trusty series16:36
sinzuimarcoceppi, okay, I wont promise them today as I want 1.16.2 behind me16:39
marcoceppisinzui: understood, but we should start taking steps to open the series up now16:40
marcoceppithanks!16:40
=== paulczar is now known as zz_paulczar
=== sodre_zzz is now known as sodre
ekacnet2013-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
ekacnetshould I file a bug in launchpad for this ?17:21
ekacnetwhen my juju version is obviously not 0.0.017:21
marcoceppiekacnet: are you trying to bootstrap the null provider and the remove machine is a saucy machine?17:24
marcoceppis/remove/remote/17:24
=== paraglade_ is now known as paraglade
mhall119jcastro: marcoceppi: where is my LXC instance getting http://ubuntu-cloud.archive.canonical.com/ubuntu/  precise-updates/cloud-tools/main i386 Packages18:04
mhall119from?18:04
marcoceppimhall119: cloud-init probably18:05
mhall119it's pulling in django 1.5, where vanilla precise only has django 1.318:05
mhall119is that going to always be there when I juju deploy, even to Canonical's internal clouds?18:06
jcastrough18:07
jcastrothat's something that shouldn't happen18:07
jcastrojamespage, we probably need django for ... maas?18:07
ehwhttps://bugs.launchpad.net/cloud-archive/+bug/124066718: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
ehwjcastro: ^^18:08
=== zz_paulczar is now known as paulczar
ehwprobably same issue18:08
jcastroyep18:10
jcastrosinzui, how do I nominate that bug for a backport fix?18:11
jcastroI mean, once it's fixed how do I say "we should have that in the stable release please' vs. 1.17+ only18:11
sinzuijcastro, does the bug have a nominate for series link for you?18:13
sinzuiI guess not because the project doesn't have a bug supervisor18:13
sinzuijcastro, which bug? and can the fix wait 2-3 weeks for 1.1818:14
jcastroare we backporting 1.18 to saucy and friends?18:14
jcastrohttps://bugs.launchpad.net/cloud-archive/+bug/124066718: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:14
jcastroso in mhall's case, he's deploying django internally, and pulling in non-precise django sucks.18:15
sinzuijcastro, 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 series18:15
sinzuiOh that fucking bug18:16
jcastroyeah so I don't care about trusty18:16
jcastroI care about people inadvertantly deploying django from the cloud archive on 12.04 instead of what they expect18:16
sinzuiIt's hard to suppress my visceral disdain for that bug. It is not possible to deploy charmworld without some really arcane hacking18:17
sinzuijcastro, the good news is that bug will be fixed for everyone about the same time.18:18
sinzuiI targeted it to 17 because we need to fix the regression for everyone18:18
sinzuijcastro, I think the intermediate fix will be to build mongodb without libv8 or statically link it. That will prove we can create juju-db18:21
sarnold"build mongodb without libv8" -- what would be left?18:25
mhall119jcastro: sinzui: so what are my options here?18:26
mhall119I *think* my staging and production deployments arne't getting this, tiaz tells me they both have django 1.3.something installed18:26
mhall119but I have a change that needs to be made if I have 1.5, that will cause a breakage if I have 1.318:26
sinzuimhall119, 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/918: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
sinzuimhall119, I don't know a graceful fix18:28
mhall119sinzui: unfortunately that's not an option for me, I need to give IS a charm that "just works" without additional manual intervention18:29
sinzuimhall119, you can fork the charm and add a step during install that adds the file described in jamespage's comment18:29
sinzuimhall119, IS always forks its charms, so it is not a blocker, but it is more work18:30
ehwcustomers don't fork, though; it really looks like maas needs to separated out from cloud-tools18:30
mhall119well this is my charm, so I can easily do it, I'll try jamespage's fix18:30
sinzuimhall119, IS never deploys from the juju-store. they deploys the versions that they know18:30
mhall119sinzui: I know18:30
sinzuiprivate clouds do fork because they have not vetted upstream changes. the require repeatability with every deploy18:31
ehwsinzui: yes and no; they stage, but they expect upstream fixes to be applied as they come, and don't like carrying deltas18:32
sinzuimhall119, My own charm is affect by this bug. jujucharms.com cannot be setup in production without gross hacks. Lets hope it doesn't fall over18:32
mhall119jcastro: I have a confession, I am starting to like juju19:23
marcoceppimhall119: 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 despised19:24
marcoceppi;)19:24
mhall119lol19:24
mhall119"If I still hated it, all of these weeks of work would be for nothing, so I better love it"19:25
marcoceppimhall119: 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 better19:25
mhall119I think it's all been bugs you already know about, or else things specific to IS's requirements19:26
mhall119stuff like LXC containers not being cleaned up on destroy-environment seems to be fixed now19:26
mhall119I've had to delete ~/.juju/environments/* a couple of times19:27
mhall119not sure what the cause was or if there's a bug for that19:27
marcoceppimhall119: yeah, that's a recent bug that's been reported now19:27
jcastroI've got that stuff in the LXC troubleshooting page19:27
jcastroit's in the doc MP queue if you wanna review and commit and can't wait for nick to get to it19:27
marcoceppimhall119: any ideas on how to make writing a charm easier would be cool too19:28
mhall119I'd file a bug that I need more RAM and an SSD on my laptop, but I think that'll be won't-fix'ed19:28
mhall119marcoceppi: 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 tools19:29
marcoceppimhall119: gotchya19:29
marcoceppicool19:29
marcoceppijcastro: I'll review and merge the troubleshooting when I get back from lunch19:29
mhall119marcoceppi: having a safe, easy way to say "call this other hook" from within a hook would be really useful19:29
mhall119since I find myself having very small hook scripts that call very large functions in common.sh19:30
marcoceppimhall119: 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
mhall119yeah19:30
mhall119so initially I was wanting to re-generate my db credentials file whenever I put a new bzr branch of my code on the instance19:31
mhall119rather than keeping the file in a common space and symlinking it in to new code directories19:31
mhall119which meant I needed to run the same code in db-relation-joined/changed in my config-changed or upgrade-charm hooks19:32
mhall119maybe 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 it19:33
marcoceppimhall119: 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 config19:33
marcoceppimhall119: that's actually a best practice for charms19:33
marcoceppimhall119: 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 charms19:34
mhall119marcoceppi: anything you guys can do to make that more obvious and easier would be nice19:34
marcoceppimhall119: which, subbing hooks or centralized logic?19:34
mhall119well they kind of go hand-in-hand19:35
marcoceppimhall119: the next version of charm-tools will generate a more opinionated template that includes that idea in it19:35
mhall119marcoceppi: 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
mhall119but that'll make juju a lot more complicated, I think19:37
mhall119marcoceppi: is there any way to make a custom hook?19:38
mhall119like "juju restart-gunicorn api-website"?19:38
marcoceppimhall119: you can make whatever you want in the hooks/ directory. However, there's no way to trigger unless from another hook19:38
marcoceppimhall119: there's work for a `juju run` command which might allow you to do that19:39
mhall119that would be nice19:39
mhall119so 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 limitations19:40
mhall119sinzui: jamespage's apt preferences hack did the trick19:43
sinzuimhall119, did you fork the charm?19:44
mhall119sinzui: no, it's my own charm19:45
sinzuiokay. I think we need to blog about this. I was lucky that jamespage was in the room when my charm broke19:45
mhall119the IS branch is the only branch19:45
b1001hmm.. I set up apache2 with juju, and I get Error 403: forbidden even from the apache2 charm "machine" and my localhost. (local juju instance)19:50
b1001it is not possible to halt/stop or shutdown juju on a local ?20:28
marcoceppib1001: describe?20:36
b1001well i got it running on a laptop.. and i reckon running mysql, hadoop and other charms will tear on my battery.20:37
marcoceppib1001: you can destroy the environment20:57
b1001 i would have to rebuilt it then :(20:59
thumperb1001: not automatically21:01
thumperb1001: but manually, yes21:01
marcoceppithumper: this smells like a plugin21:01
thumperheh21:01
marcoceppithumper: care to elaborate? or is it just lxc-stop ?21:01
thumperuse lxc-stop -n <machine name>21:02
thumperthey will auto start when the machine is rebooted21:02
thumperor using lxc-start -n <machine name>21:02
marcoceppithumper: /me consisers juju local-suspend, juju local-wakeup21:02
thumperalthough I did see a bug fly past where containers were not auto starting21:02
marcoceppi\o/21:02
thumperlocal-resume?21:02
marcoceppioh, yeah, that's logical21:03
thumperknown bug with fix coming through proposed21:03
jamespagesinzui, that workaround needs to not be a workaround for to much longer21:04
b1001thumper: what do you mean?21:04
thumperb1001: the machines of the local provider are lxc containers21:05
thumperyou can use the lxc commands to stop and start the machines21:05
stokachuany documentation laying around for utilizing bundles?21:05
sinzuijamespage, \o/21:06
jamespagesinzui, OK - I'll push it to trusty first21:06
jamespageand then do the PPA's21:06
sinzuithank you!21:07
b1001thumper: nice thanks.. didnt think of that.. seems to lower the load21:07
marcoceppisinzui: mhall119 what hack is this? sounds like it's a good docs candidate21:10
marcoceppistokachu: not yet, we have some drafts that will land when bundle support lands21:11
contexttrying 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 2701721:11
sinzuimarcoceppi, 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/921: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
marcoceppisinzui: if jamespage has a fix landing soon, I think it'll be okay?21:12
marcoceppicontext: mongodb setup by juju should be spun up on it's own port as to not collide with existing default mongo installs21:13
contextthen bootstrap failed to do its job :x21:13
contextthis is a fresh brand new ubuntu 12.04 server21:14
contextand now juju bootstrap thinks the machine is already provisioned21:14
marcoceppicontext: maybe not, what does `initctl list | grep juju` show on the server?21:14
contexthow do i get it back to a non-provisioned state21:14
contextjuju-db stop/waiting21:15
marcoceppicontext: can you pastebin /var/log/upstart/juju-db.log ?21:15
marcoceppicontext: I think you're getting the wrong version of mongodb, which shouldn't happen, but that's what it smells like21:15
contexterror command line: unknown option sslOnNormalPorts21:15
marcoceppicontext: you have the wrong mongodb version, thumper I thought manual provisioning added the cloud archive as part of cloud-init?21:16
marcoceppithumper: or rather, who should I bug about manual provisioning?21:16
marcoceppicontext: what version of juju are you running?21:16
thumpermarcoceppi: there is a bug for it21:16
thumperI think it may even be fix committed21:16
thumperand axwalk21:16
thumperaxw21:16
contextone sec21:17
marcoceppithumper: awsome, so if context manually adds the cloud-tools archive prior to attempting bootstrap it should be peachy axwalk?21:17
marcoceppioh, he's not in the room right now21:17
thumperno21:17
thumperyes it should be fine21:17
marcoceppicool21:17
context?21:17
* thumper crosses fingers21:17
marcoceppithumper: he'll need to run destroy-environment to have it listed as "not bootstrapped" right?21:18
contextjuju command not on server21:18
thumperheh21:18
* marcoceppi fears hulk smashing everything21:18
thumperthat doesn't work21:18
marcoceppi\o/21:18
thumperthere's a bug for that too21:18
contextinstall juju on server before bootstrap ?21:18
contextERROR null provider destruction is not implemented yet21:18
contexthaha21:18
marcoceppicontext: no, but you'll need a newer version of mongodb than what's in precise21:18
thumpermarcoceppi: I'm pretty sure that destroy-environment for manually bootstrapped ones should be fine21:18
marcoceppihaha, fantastic21:18
thumperyou have to manually remove the upstart jobs21:19
thumperI think that is all it really looks for21:19
marcoceppithumper: cool21:19
thumper/etc/init/juju*21:19
marcoceppicontext: okay, here's what I'm going to have you try21:19
thumpermarcoceppi: so... document this?21:19
marcoceppithumper: well, for destruction, yes. For bootstraping and the cloud-tools archive if there's a fix committed it should be landing soon21:19
* thumper looks for the bug21:20
marcoceppithumper: we explicitly state manual provisioning is crazy beta at the top21:20
thumper:)(21:20
contextoh. didnt see that21:20
marcoceppihttps://juju.ubuntu.com/docs/config-manual.html21:20
contextyeah i see the Note now21:20
marcoceppiwe should make that like a hero unit or something21:20
contextyeah21:20
marcoceppiwith flashing sierns and lights21:20
context<blink> tag21:20
marcoceppicontext: sorry we lured you in to a trap21:21
marcoceppi<marquee>21:21
contextthat was my next suggestion ;)21:21
contexthaha21:21
marcoceppithumper: we list the bug on the docs! https://bugs.launchpad.net/juju-core/+bug/123893421: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
marcoceppicontext: well if you're still game to try this out, we can try a few things21:21
contextim game21:22
marcoceppiawesome! so log in to the machine, sudo rm -f /etc/init/juju-*21:23
contextim guessing if i just updated to 13.10 it would fix crap21:23
contextdone21:23
marcoceppicontext: welllllllllll, I think there's a bug with manual provisioning a bootstrap that's not precise as well21:23
marcoceppiagain, still under development21:23
contextyeah21:24
contexti stopped mongodb21:24
contextas well21:24
marcoceppiokay, you'll need the cloud archive next, so sudo apt-get remove mongodb-server21:24
marcoceppisudo apt-get install -y ubuntu-cloud-keyring21:24
marcoceppisudo add-apt-repository cloud-archive:tools21:24
marcoceppisudo apt-get update21:24
marcoceppinow you should be able to bootstrap the machine21:25
* marcoceppi crosses fingers21:25
jamespagemarcoceppi, the add-apt-repository call will install the keyring package btw21:25
marcoceppijamespage: ah, probably should update https://wiki.ubuntu.com/ServerTeam/CloudToolsArchive21:25
contextkk attempting bootstrap21:26
contextnow 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
marcoceppicontext: only for the bootstrap, juju add-machine should work without needing to do this21:26
contextkk21:26
marcoceppicontext: since it's only the mongodb that needs updating. The juju tools themselves are kept independantly of the ubuntu archive21:27
contextyeah21:27
jamespagemarcoceppi, updated21:28
contexti /think/ it worked. command ended happily. waiting for juju-status21:28
contextjujud running, juju-status just sitting there21:29
marcoceppicontext: it'll take a few mins to get setup21:29
marcoceppicontext: /var/log/juju/machine-0.log should illumante what's going on21:29
contextkk21:30
contextwhats juju written in21:30
marcoceppigolang21:30
contextoh yeah :x i remember that21:30
contextall im seeing in log is Pinger:Ping21:31
marcoceppicontext: what does initctl list | grep juju show?21:32
contextdb and machine-0 running21:32
marcoceppithat's a good sign21:33
contextnothing happening really cpu wise21:34
marcoceppijuju status still hanging?21:35
contextyeah21:35
contextmaybe try restarting machine for giggles ?21:36
marcoceppi¯\_(ツ)_/¯21:36
contexthaha21:36
marcoceppicontext: nothing else fruitful in machine-0?21:37
thumpercontext: can you pastebin the entire machine-0 logfile?21:37
thumperI can have a quick look and see if anything leaps out21:37
contextsec21:38
contexthttp://pastebin.com/4BWB3ghR21:39
contexti do see something regarding storage-auth-key21:39
contexti do have storage-auth-key in my environments.yaml locally21:39
thumperhmm...21:42
thumperah fark...21:42
thumperthis is exactly the same problem that bit me with maas and lxc21:42
* thumper double checks21:42
contextalso i noticed bootstrap-user doesn't work. i tried setting it as root and didnt work21:42
thumperyep that's it21:43
thumpergrr!!!!21:43
thumpercontext: this isn't going to work until we fix this bug...21:43
thumpersorry about that21:43
* thumper goes to crack a whip21:43
thumpercontext: can you file a bug for this?21:43
thumperor marcoceppi?21:43
contextnothing i can do for now at least?21:43
marcoceppithumper: what's the problem?21:43
contexti can, im not exactly sure what it should say though21:43
thumpercontext: say "status for manual provider hangs"21:45
bic2kfirst charm submitted for review today, woot!21:45
thumperthat is your symptom21:45
thumpermarcoceppi: the storage-auth-key is being stripped out at the api level21:45
thumperso the thing that needs it doesn't get it21:45
thumperbit of a fail there21:45
thumperjust miscommunication between devs, and lack of a functional test suite to catch21:46
thumperwe are working on the test suite21:46
thumperbut it's not there yet21:46
contextkk filing bug now21:47
marcoceppithumper: thanks for the info context: thanks for playing along!21:47
thumpercontext: ta21:47
context;) anytime21:48
marcoceppiI haven't seen the release notes, but I think there were some approvments in 1.16.2 for manual provider21:48
contextthumper, marcoceppi: https://bugs.launchpad.net/juju-core/+bug/124690521:50
_mup_Bug #1246905: status for manual provider hangs <juju-core:New> <https://launchpad.net/bugs/1246905>21:50
jamespagemarcoceppi, this is the list for 1.16.2  - https://launchpad.net/juju-core/1.16/1.16.221:51
thumperta21:51
contextwasn'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 found21:52
marcoceppijamespage: thanks!21:52
* marcoceppi wonders what happened to 1.16.121:52
thumpermarcoceppi: superseeded by 1.16.221:53
marcoceppiah21:53
contextthumper: any idea when there will be a release that fixes it21:54
marcoceppi1.17.0 looks awesome21:54
contexti know im a little antsy ;)21:54
thumpercontext: real soon now™21:56
context:D21:58
=== AlanChicken is now known as alanbell
=== alanbell is now known as AlanBell
marcoceppicontext: 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 discussion22:03
contextkk, url ? :x22:09
marcoceppicontext: DUH! sorry: https://lists.ubuntu.com/mailman/listinfo/juju22:09
contextkk will sign up for that in a bit.  heading out for margaritas22:10
marcoceppicontext: enjoy your evening o/22:10
=== CyberJacob is now known as CyberJacob|Away
adam_gsinzui, ping22:44
=== paulczar is now known as zz_paulczar
=== thumper is now known as thumper-afk
=== freeflying_away is now known as freeflying
=== freeflying is now known as freeflying_away

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