/srv/irclogs.ubuntu.com/2013/09/18/#juju.txt

AskUbuntuScaled down Openstack Grizzly installation with Juju and Maas | http://askubuntu.com/q/34689801:19
=== wallyworld___ is now known as wallyworld
=== CyberJacz is now known as CyberJacob
=== CyberJacob is now known as Guest81313
=== tasdomas_afk is now known as tasdomas
=== defunctzombie_zz is now known as defunctzombie
=== defunctzombie is now known as defunctzombie_zz
AskUbuntuJuju GUI public IP | http://askubuntu.com/q/34699108:11
=== defunctzombie_zz is now known as defunctzombie
jamespagedosaboy, around? lets discuss ceph/cinder ehere08:32
dosaboyjamespage: howdi08:45
dosaboycongratz btw08:45
dosaboyso it is clear that a wider rework is in order08:46
jamespagedosaboy, ta08:46
dosaboyfor now, as you suggest, i'll add  the rep count to the cinder config08:46
jamespagedosaboy, agreed; I want to rework the cinder integration anyway so lets do something tactical for the time being08:46
jamespagedosaboy, I made another comment on the MP for the replica count stuff08:46
jamespagedosaboy, for the rework I want to re-implement the ceph/cinder integration as a separate 'backend' charm08:47
jamespageas a single cinder instance can support multiple backends >= grizzly08:47
dosaboyyup08:48
jamespagedosaboy, so the ceph integration becomes a subordinate charm for cinder08:48
jamespagedosaboy, alongside other backend sub charms08:48
dosaboymakes sense08:48
jamespageexisting compat would be retained still for existing deployments08:48
dosaboyjamespage: i assume the problem we see here also applies to the glance charm08:49
jamespagedosaboy, yup08:49
* dosaboy checks08:49
dosaboyi'll apply same interim patch there too08:49
jamespagedosaboy, +108:50
jamespageif you want todo those I can ack them through08:50
jamespage(well this morning - not around PM today)08:50
jamespagebut in tomorrow08:50
dosaboydoing it now08:51
=== defunctzombie is now known as defunctzombie_zz
=== jmb^ is now known as jmb
freeflyingdoes juju-core specifically bridge to eth0 when bootstrap with maas?09:28
dosaboyjamespage: cinder and glance patches should be ready for review now09:38
mattywI can't see what command I need to run to actually run charm tests https://juju.ubuntu.com/docs/authors-testing.html09:49
jamespagedosaboy, odd - I get an access denied when the cinder charm tries to create the pool10:14
dosaboydamn i suspected as much, maybe that the 'ceph osd' command requires different perms to rados command10:17
dosaboyjamespage: can you show me the permissions for the cindr client?10:19
jamespagedosaboy, maybe10:19
jamespageosd rwx10:20
jamespagemon r10:20
jamespagedosaboy, ^^10:20
dosaboyjamepage: hmm that should be enough10:23
dosaboyor maybe * is needed for admin10:23
dosaboyi can test if you gimme a few mins10:23
jamespagedosaboy, just trying a fix now10:31
jamespagedosaboy, needs "mon rw"10:39
dosaboyaha!10:40
dosaboyjamespage: the user is created by the ceph charm right?10:41
jamespagedosaboy, yes10:42
jamespageceph.py10:42
dosaboyare you going to patch or do you want me to?10:42
jamespagedosaboy, trying to figure out how to upgrade permissions10:42
dosaboyjamespage: it may be yucky10:42
dosaboy'capabilities'10:42
marcoceppihazmat: in precise it does, shouldn't in the ppa10:46
jamespagedosaboy, ceph auth caps11:09
jamespagedosaboy, ceph auth caps client.<SERVICE_NAME> mon 'allow rw' osd 'allow rwx'11:16
jamespagespecifically11:16
Dotted^i have a local juju setup, but trying to ssh into any of my machines i get a Permission denied (publickey,password)., however there is no difference between id_rsa.pub on my host user and the authorized_keys on the lxc machines12:16
rick_h_Dotted^: so I had to add username ubuntu@ to get into things. I should setup an ssh config block to auto use that user12:32
rick_h_Dotted^: try ssh'ing into one of the ips manuall ssh ubuntu@ip12:32
Dotted^that did the trick, thanks12:33
Dotted^a bit unfortunate that the "juju ssh" wont work12:33
rick_h_Dotted^: yea, so make that work you'd have to edit .ssh/config and add a block for your lxc ip range http://paste.ubuntu.com/6123709/12:35
=== thomi_ is now known as thomi
Dotted^well ssh <ip> now works without adding ubuntu@, juju ssh is still broken it seems12:38
rick_h_Dotted^: hmm, :( not sure then. Maybe marcoceppi knows more when he's around.12:38
Dotted^alright, well thanks - at least i can get into the machines now :)12:39
=== bladernr` is now known as bladernr_
jcastrohey evilnickveitch13:12
mattywdoes someone have a moment to answer a couple of questions?13:33
evilnickveitchjcastro, hey13:34
jcastromattyw: no, get out.13:34
jcastroof course we have a moment!13:35
jcastroevilnickveitch: hey, I removed the warning on the debugs hook page13:35
mattywjcastro, I was just grabbing my coat ;)13:35
jcastrothe one that is like "this doesn't actually work yet."13:35
jcastroevilnickveitch: the other is, I'm listed as maintainer for lp:maas-website, can we move that over to a team or something?13:35
evilnickveitchjcastro, oh, cool. that is being rewritten13:36
mattywjcastro, this page - on charm testing: https://juju.ubuntu.com/docs/authors-testing.html it doesn't actually say how I can run the tests13:36
mattywjcastro, also, in a charms config.yaml is it possible for options to depend on other options in the file. For exmple. set a BaseDir and then have other values use that?13:36
jcastromattyw: 1 is a ceppi question, this page looks new to me.13:39
jcastro2. is I don't think so? But I am not sure.13:39
jcastromattyw: any other questions I can no know the answer to for ya? :)13:39
mattywjcastro, are they any plans to allow you to deploy from github like juju deploy github.com/mattyw/myAwesomeCharmCollection myWickedCharm13:41
jcastromattyw: so I've seen some that use multiple configs13:41
jcastrobut I don't know about enforcing usage of one over the other other than just not working13:41
jcastroyes, there are plans to deploy from anywhere, just not github13:41
jcastroideally we can pull from any internal or external source13:42
mattywjcastro, just not or not just?13:42
jcastronot just, sorry!13:42
jcastro<-- case of the mondays13:42
jcastrojuju deploy someinternalresource blah13:43
mattywjcastro, one more question13:46
mattywframework charms13:46
mhall119jcastro: why are there machine folders in /var/lib/lxc/ even after I destroy-machine them?13:46
jcastroI don't know I need to ask thumper about that13:47
mattywwell actually - maybe not framework charms, but it would be great to be able to send a charm a message to run an arbitrary hook13:47
jcastromhall119: I noticed that this weekend for the first time, I hope it's not a bug13:47
mhall119jcastro: should I wait for my service units to come up before calling add-relation, or will is queue that until they are ready?13:47
jcastromhall119: once the bootstrap is up the entire thing is async, you can go at whatever pace you like13:48
jcastromattyw: from within a charm or just manually?13:49
jcastromhall119: you pulled in the "juju-local" package too I assume?13:50
mattywjcastro, externally13:50
mattywjcastro, well actually let me re phrase13:51
jcastromattyw: hmmm13:51
jcastromhall119: are you on 1.13 or 1.14 of juju? "juju version" will tell you13:51
mattywthe rails charm: if I understand correct it will install rails then setup for a specific app?13:51
jcastroyeah13:51
mhall1191.13.3-saucy-i38613:52
mattywjcastro, so how do you do that specific stuff - is that done with the config?13:53
jcastroyeah13:53
mattywok cool13:53
jcastrothe setup for the specific app you mean?13:53
=== kentb is now known as kentb-afk
mattywthat's right13:53
jcastroRight now it's just like, the repo URL and stuff though13:53
jcastroI don't think it's doing anything too fancy yet13:53
marcoceppiDotted^: how are you trying to ssh? `juju ssh <mahine-number>`?13:54
Dotted^yes13:55
marcoceppiDotted^: that does not work on local provider, please use `juju ssh <unit>` instead, so juju ssh wordpress/0 for example13:55
marcoceppiDotted^: this is a known issue13:55
Dotted^ahh thanks, that works13:55
jcastrohey marcoceppi, both mhall119 and I saw an issue where the lxc stuff isn't being cleaned up with destroy-environment13:56
marcoceppijcastro: that's a bug then13:56
mhall119jcastro: destroy-machine, I haven't done destroy-environment yet13:56
marcoceppimhall119: destroy-machine doesn't remove the machine?13:56
mhall119it removed it from juju status13:57
* marcoceppi bootstraps a local13:57
mhall119but not from /var/lib/lxc/13:57
jcastroI had the same thing happen13:57
jcastroagent-state-info: 'rror: container "jorge-local-machine-1" is already created)'13:57
jcastrook I'm going to file a bug since I can reproduce it14:04
marcoceppijcastro: cool, I'll try to get more debug information14:05
jcastrohttps://bugs.launchpad.net/juju-core/+bug/122714514:06
_mup_Bug #1227145: Juju isn't cleaning up destroyed LXC containers <juju-core:New> <https://launchpad.net/bugs/1227145>14:06
jcastromhall119: can you confirm the bug please?14:06
mhall119jcastro: confirmed14:06
mhall119"Internal Server Error" Progress!14:19
=== freeflying is now known as freeflying_away
mhall119sure would be nice if it actually wrote the internal error message to the error log file :(14:35
marcoceppimhall119: is that from juju or the application?14:45
mhall119marcoceppi: from gunicorn14:48
yolandahi, i'm receiving this error after a juju bootstrap, when trying to deploy a service, or even with juju status: error: cannot log in to admin database: auth fails15:22
yolandaenvironment was working fine until this afternoon15:22
=== kentb-afk is now known as kentb
mhall119so...juju destroy-environment failed15:42
mhall119now I have a postgres instance in "down" agent-state that I can't get rid of15:42
x-warriorShould I worry about updating juju when I already have a environment deployed?15:47
x-warrioran*15:47
kurt_marcoceppi: ping15:48
marcoceppikurt_: pong15:48
kurt_marcoceppi: are there any good guides available for setting up openstack once horizon is in place?  Or any guides that are WIP?15:49
marcoceppix-warrior: you can run juju upgrade-juju to upgarde the deployed version of juju. The client should be compatible with most deployed versions of juju since 1.1215:49
marcoceppikurt_: you should be able to follow any instructions/guides on the openstack site15:49
marcoceppimhall119: that's so weird15:49
kurt_ok.  it would be nice if there were one published in conjunction with the settings for jamespage's openstack manifesto.15:50
kurt_that links up his configurations with IP addressing schema, etc15:50
marcoceppikurt_: there are so many ways you can take the configuration of openstack after setting up the charms though, it's really about what you want to do at that point I imagein15:51
kurt_agreed, but a demo path with a working configuration would be cool.  I am headed that way anyways.  The whole network configuration taken to a working finished model IMHO is one of the biggest challenges with openstack.15:53
mattywmarcoceppi, what command do you call to run charm tests? https://juju.ubuntu.com/docs/authors-testing.html15:58
jcastrocharm status hangout in just a few minutes!15:59
arosales_Charm Weekly hangout starting in a few16:01
arosales_hangout out URL at: https://plus.google.com/hangouts/_/edb0a66997812f8ade7263387d24623dc7094011?authuser=0&hl=en16:01
arosales_if you want to join us.16:01
jcastroarosales_: I need the youtube URL16:01
mhall119marcoceppi: After destroying some other services and machines, destroy-environment finally worked16:01
mhall119I've manually deleted all the old lxc container data in /var/lib/lxc/16:01
mhall119starting fresh now16:02
marcoceppimattyw:  You need to install the juju-test plugin, it's in the juju-plugins project16:02
jcastrohttp://pad.ubuntu.com/7mf2jvKXNa16:03
jcastrofor the notes16:03
jcastrohttp://ubuntuonair.com if you wanna follow along!16:03
mattywmarcoceppi, this one? https://launchpad.net/juju-plugins16:08
marcoceppimattyw: yes, no ppa/installer for it yet. Just copy juju_test.py to juju-test somewhere in path for now16:08
mhall119omg omg omg!  I got something working!16:25
mhall119jcastro: how can I get a local shell of a LXC deployed instance?16:26
marcoceppimhall119: juju ssh api-website/016:35
=== arosales_ is now known as arosales
mhall119so I finally got it all working, only to find out I need to put it all behind an Apache proxy :(16:43
mhall119marcoceppi: is there an apache subordinate that can automagically serve static files *and* act as a proxy for my gunicorn subordinate?16:46
marcoceppimhall119: no, but someone had a similar question, I can't remember what I did to get it working with them16:47
marcoceppimhall119: there's an apache2 charm16:47
marcoceppimhall119: http://irclogs.ubuntu.com/2013/07/12/%23juju.html might or might not help16:49
mhall119thanks marcoceppi16:49
Dotted^is there a way to get the juju debug-log on lxc containers?17:41
sarnoldDotted^: I believe I read that the easy way is to read the files through the host filesystem17:42
Dotted^where are they located?17:43
sarnoldDotted^: try .juju/local/log/unit-*.log and /var/lib/lxc/17:44
Dotted^nice thanks17:44
Dotted^are there any issues with wordpress? combining it with mysql seems to work, wordpress and memcache and nfs is fine, but it explodes when trying to add relations to all 317:55
marcoceppiDotted^: the LXC containers all mount /var/log/juju/ on each machine to .juju/local/log - so just read them there as sarnold pointed out17:55
marcoceppiDotted^: there's a known issue with memcached and wordpress not working17:55
marcoceppiDotted^: NFS and MySQL work fine17:55
sarnoldmarcoceppi: aha :) thanks!17:56
marcoceppihttps://bugs.launchpad.net/charms/+source/wordpress/+bug/1057212 https://bugs.launchpad.net/charms/+source/wordpress/+bug/117003417:56
_mup_Bug #1057212: Memcached relation fails if wp install isn't complete <wordpress (Juju Charms Collection):In Progress by marcoceppi> <https://launchpad.net/bugs/1057212>17:56
_mup_Bug #1170034: integration with memcached broke <wordpress (Juju Charms Collection):Confirmed> <https://launchpad.net/bugs/1170034>17:56
Dotted^so its only because wp isnt setup yet?17:57
marcoceppiDotted^: no, memcached dones't work regardless of the state of wordpress17:59
marcoceppiDotted^: it's a bug with the upstream plugin17:59
Dotted^ah17:59
marcoceppiDotted^: I've been meaning to fix it, just haven't found the time just yet17:59
=== defunctzombie_zz is now known as defunctzombie
=== defunctzombie is now known as defunctzombie_zz
mhall119jcastro: marcoceppi: can you guys sanity check https://code.launchpad.net/~mhall119/ubuntu-api-website/canonical-is-charm/ for me?18:55
Dotted^hmm adding nfs to wordpress breaks wordpress, the log complains about "mount.nfs: access denied by server while mounting 10.0.3.201:/srv/data"18:57
jcastromhall119: do README.md or README.rst18:58
Dotted^10.0.3.201:/srv/data/wordpressfolder even18:58
jcastromhall119: in whichever format you prefer.18:59
mhall119jcastro: what's wrong with just README?19:01
jcastroit needs an extension19:02
jcastrohmm, did the boilerplate not give it an extension?19:02
mhall119jcastro: this is copied from another charm19:02
jcastrook19:03
mhall119an internal one that IS uses19:03
mhall119this will also only be used by Canonical IS19:03
jcastrooh ok!19:03
jcastrothen it doesn't matter19:03
kentbwhat's a good way to explain 'admin-secret' in the environments.yaml file?  I know you can pretty much use anything you want, but, do any of the supported environments (maas, ec2, etc) actuall make use of it for anything (other than logging into juju-gui)?19:13
marcoceppikentb: it's only really used for API access, it's internal to juju19:49
kentbmarcoceppi: ok. thanks!19:50
=== BradCrittenden is now known as bac
=== defunctzombie_zz is now known as defunctzombie
kurt_kentb: how far have you gotten?21:14
=== tasdomas is now known as tasdomas_afk
kurt_I managed to get an instance running, but am now stuck on getting an IP allocated to the instance with "an error occurred" - trying to figure out the logging for that - where it is21:15
blairboHey All. I'm trying to set up a local juju server.  The documentation is a little light on the network setup prior to installing juju, mongodb and bootstrapping. Anyone have experience with this or know of a good walkthrough. I've been googleing and many step-by-steps seem old and outmoded. Specifically i'm interested in  the host network setup. I have three NICs, and am wondering what the best21:26
blairbopractices are for setting those up, and any VLANs I should be setting up on the switch.21:26
kentbkurt_: Had a bunch of other important stuff jump in front of openstack today, but, when I had it all up and running the first time last week, I could allocate IP addresses to my instances and ping both the internal namespace address as well as the public-facing one.21:31
kurt_kentb: wow, I really need to see your configuration21:32
marcoceppiblairbo: for local server, there is no additional networking setup. If you want to access the juju machine outside of the host running the local provider you'll need to configure the LXC bridge, but that's outside of the juju documentation21:33
Dotted^im doing some benchmarks and im getting about 600 requests per second for wordpress on nginx tuned for single, that seems a bit low to me or is it supposed to be so low ?21:59
Dotted^nvm22:00
=== kentb is now known as kentb-out
blairbomarcoceppi22:16
blairbomarcoceppi: ok.. i must be having other issues then22:17
marcoceppiblairbo: could you describe your problem?22:17
ZonkedZebraHello. I have bootstraps my AWS ENV and see the bootstrap instance in the AWS dashboard, but when run juju deploy juju-gui the new machine (#0) never spins up, just says "pending" forever. Where should i be looking for errors?22:19
ZonkedZebraLog files i should be looking at?22:23
=== freeflying_away is now known as freeflying
ZonkedZebraHello, anyone awake? Its no limited to juju-gui, any charge i attempt to deploy crates a new machine and never gets past the pending state22:30
sarnoldZonkedZebra: what size instances are you using? I understand micros can take forever to come up..22:35
ZonkedZebrasarnold: I haven't specified, the bootstrap node came up on a m1.small instance, none of the other machines even show up as pending or initializing or anything at all in the AWS dashboard22:36
sarnoldZonkedZebra: they don't even show up in the dashboard? hrm..22:38
ZonkedZebraand /var/log/juju/all-machines.log is helpfully entirely empty22:38
marcoceppiZonkedZebra: could you paste your juju status output?22:39
marcoceppito paste.ubuntu.com22:39
ZonkedZebrahttp://paste.ubuntu.com/6125937/22:39
marcoceppiZonkedZebra: you have a few other problems! Somehow you've got a bootstrap node (which is machine 0) that's pending but you can actually get a juju status which is illogical22:40
ZonkedZebramarcoceppi: after bootstrapping juju status reports 0 machines and 0 services22:41
ZonkedZebrai had assumed that the bootstrap node was excluded from the list22:41
marcoceppiZonkedZebra: yeah, that makes no sense. There is always 1 machine, the bootstrap node, machine 022:41
marcoceppiZonkedZebra: Could you ssh on to the bootstrap node and see if you have any files in /etc/init/juju-* ?22:42
ZonkedZebrayep22:42
ZonkedZebrajuju-db.conf appears to be the only juju related file in /etc/init22:42
marcoceppiZonkedZebra: everything about this situation makes me believe something is very wrong. I'd recommend `juju destroy-environment` and then try bootstrapping again. Once you bootstrap run juju status and make sure you have a machine 0 that is in a started state22:43
ZonkedZebramarcoceppi: I have, this is my third go around22:43
marcoceppiZonkedZebra: what does `juju version` say?22:44
ZonkedZebra1.11.2-unknown-amd6422:44
marcoceppiZonkedZebra: Ah! i know the problem22:44
marcoceppiZonkedZebra: are you on Mac OSX?22:44
ZonkedZebraI am22:44
marcoceppiZonkedZebra: the current release of juju is 1.14.0, so when you bootstrap instead of it detecting the client version you're using it's setting up 1.14. I could have sworn the brew recipe was updated to deploy the latests juju version, did you recently do a brew install>22:45
marcoceppiZonkedZebra: or is this `brew install` from a while ago?22:45
marcoceppiarosales: ^22:45
ZonkedZebraI tried the homebrew method, got some crazy go compile error, so used the package from github linked to from here: https://github.com/juju/juju-core/releases22:46
marcoceppiZonkedZebra: yeah, release is pretty outdated22:47
marcoceppiZonkedZebra: we opted to use brew since we can keep it up-to-date rather than trying to upload every release22:47
blairbomarcoceppi: I went through the setup guide and ran the test proceedure.  agent-state for machine 0 goes down and charm agent-state remains as pending for wordpress and mysql22:47
dalek49Tangentially related to juju, can openstack run on a vps, or do I have to run it on bare metal?22:48
marcoceppiblairbo: if agent-state for machine 0 is down, then juju isn't working. On your local machine try to restart the juju-* services in /etc/init. If it's still down after a few mins pastebin (http://paste.ubuntu.com/) the files from /var/log/upstart/juju-*22:49
marcoceppidalek49: there's "devstack" which can be setup on a single machine. Depending on the VPS is virtualize, yes you can, but beware of performance issue22:49
marcoceppiissues*22:49
ZonkedZebramarcoceppi: brew install juju installs go with no issues (1.1.2) but during the go install command runtime/cgo throws this error: "clang: error: no such file or directory: 'libgcc.a'"22:49
arosalesmarcoceppi, reading backscroll22:50
marcoceppiZonkedZebra: yikes, I dont' have a mac osx machine to test what you need22:50
ZonkedZebraits using "juju-core_1.12.0-1.tar.gz", should it be using 1.14?22:51
arosalesZonkedZebra, ya we need to removed that from github. jcastro put it there before brew.22:51
arosalesZonkedZebra, here is the info on homebrew22:52
arosales[1] https://github.com/mxcl/homebrew/blob/master/Library/Formula/juju.rb22:52
arosales[2] https://github.com/mxcl/homebrew/pull/2185822:52
marcoceppiZonkedZebra: try running brew install for juju with "--use-llvm" option22:53
=== Guest81313 is now known as Guest81313|Away
* marcoceppi grabs at sticks22:53
arosalesZonkedZebra, https://lists.ubuntu.com/archives/juju/2013-August/002847.html is the thread22:53
arosalesZonkedZebra, we just released 1.14 today so we proably need to get 1.14 added to that brew though22:53
ZonkedZebramarcoceppi: ha-zahh! --use-llvm did the trick22:54
marcoceppiZonkedZebra: WOO! So happy that worked22:54
marcoceppiZonkedZebra: that should give you a juju version of 1.12.0, which should work with 1.14.0 for bootstraps22:54
marcoceppiarosales: I'll update the docs with that work around for the brew install command in the mac osx section22:54
arosalesmarcoceppi, thank you22:55
marcoceppiafterifinishtestingglusters22:55
arosalesmarcoceppi, ack22:55
arosalesI'll also reach out to rodrigo and see if can update the brew receipe.22:55
marcoceppiarosales: we should be able to open a pull req22:56
marcoceppiactually, I might just do that now22:57
marcoceppiarosales: we should have the release team do it as part of the stable releases22:57
arosalesmarcoceppi, +122:58
marcoceppiarosales: just update the URLs in this file on github and open pull req https://github.com/mxcl/homebrew/blob/master/Library/Formula/juju.rb22:58
arosalesmarcoceppi, email sent to sinzui22:59
marcoceppiarosales ZonkedZebra: https://github.com/mxcl/homebrew/pull/22669 Submitted update to brew for latest stable/devel. Hopefully they will be merged soon23:04
marcoceppiZonkedZebra: are you getting a better juju status this time around?23:05
ZonkedZebraYep, everything going smoothly so far, just waiting on the juju-gui agent to start23:05
marcoceppiZonkedZebra: excellent, if you're looking to save money in the future, you can co-locate the juju-gui charm on the bootstrap node, so you can get your moneys worth on that node; `juju deploy --to 0 juju-gui`; for the next time around :)23:06
ZonkedZebrawonderful, thanks for all the help23:07
marcoceppiZonkedZebra: np, the room is most active during business hours in the UK/US. So if it's "after hours" and no one is here feel free to post your question to either http://askubuntu.com tagged with Juju or on our mailing juju@lists.ubuntu.com that way we can get back to you in a more permenant form23:08
blairbomarcoceppi: when i tab after typing "service" the list does not include either of the two juju services23:22
marcoceppiblairbo: what does `initctl list` show? does it show and juju- services?23:23
blairbomarcoceppi: I did "initctl list | grep -i juju" and i got these two - juju-agent-juju-local stop/waiting23:24
blairbojuju-db-juju-local start/running, process 115123:24
marcoceppiblairbo: start the juju-agent-juju-local23:25
marcoceppiblairbo: that's the APi that controls the provisioning23:25
marcoceppiblairbo: `sudo start juju-agent-juju local` should do it23:25
marcoceppiblairbo: after you start it, run juju status, if it's still says agent down and juju-agent-juju-local is stopped, pastebin the log from /var/log/upstart/juju-agent-juju-local.log23:26
ZonkedZebramarcoceppi: quick question. Im attempting to extend the node-app charm to support my preferred database (postgres) an addition to mongodb, Any examples of that kicking around (multiple databases) in an existing charm?23:41
marcoceppiZonkedZebra: not that I know of, let me check23:41
marcoceppiZonkedZebra: you'd basically just add the bits and bobs that postgresql charm requries to the node-app23:42
marcoceppiZonkedZebra: there's no way to say, "only need one or the other", in relations, so if someone adds a mongodb and a postgresql, the charm will process both of them23:43
sarnoldZonkedZebra: this one looks like it can handle postgresql or mysql or mongodb: http://manage.jujucharms.com/charms/precise/rails23:44
marcoceppisarnold: ZonkedZebra: however, that charm also does everything via chef scripts, so it's not so easy to follow23:45
sarnoldoh man :/23:45
sarnoldsorry ZonkedZebra :)23:45
ZonkedZebrasarnold, marcoceppi : well its better then nothing, thanks23:45
=== thumper is now known as thumper-gym
blairbomarcoceppi: it issued a process ID, but when i list again it's still in stop/waiting state, and juju status shows agent-state still down23:55
marcoceppiblairbo: can you install pastebinit and run `cat /var/log/upstart/juju-agent-juju-local.lot | pastebinit`23:56
blairbomarcoceppi: also there's no log file with the path specified.  There is one for the db, but not the agent.23:56
sarnold.lot ?23:56
blairbohe meant .log23:58
sarnoldjust checking:) hehe23:58
blairbo:)23:59

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