[05:11] <jose> jcastro: so, Nathan Williams deactivated his LP account and hasn't responded to my email, I wonder if it's good to take ownCloud maintainership by now
[10:20] <bloodearnest> hello charmers - I have a gunicorn MP here: https://code.launchpad.net/~bloodearnest/charms/precise/gunicorn/upgrade-path/+merge/213236
[10:23] <bloodearnest> it does not appear in the review queue, I think because Michael Nelson +1'ed it, and he is a member of ~charmers (although unsure as to his official status as able to merge)
[10:23] <bloodearnest> also it fixes 3 minor outstanding MPs, listed on the MP comments
[10:24] <bloodearnest> so, if some one could land it, that would clear 3 MPs of the charm review queue. As well as including all the fixes
[11:15] <marcoceppi> bloodearnest: yeah, so because of the way charmers is structured, people like inactive-charmers and former charmers are also in the group, so if a now defunct member of the team +1's a review but doesn't merge it - it gets lost :(
[11:15] <marcoceppi> bloodearnest: we have plans to address that next week
[11:20] <bloodearnest> marcoceppi: good to know
[12:16] <circ-user-kFtev> #juju-core
[12:53] <jcastro> jose, yeah, might as well
[13:46] <marcoceppi> mbruzek: can you review/merge this?
[13:46] <marcoceppi> https://code.launchpad.net/~bloodearnest/charms/precise/gunicorn/upgrade-path/+merge/213236
[13:47] <mbruzek> marcoceppi, Yes I can
[13:52] <marcoceppi> mbruzek: thanks
[13:52] <bloodearnest> mbruzek: thanks. cheat sheet for testing the upgrade path: https://pastebin.canonical.com/108935/
[13:53] <mbruzek> marcoceppi, bloodearnest There is another gunicorn MP before this one, do either of you know if they depend on each other?
[13:53]  * marcoceppi heavy shrug
[13:55] <bloodearnest> mbruzek: this one includes the fixes from all 3 currently in the queue (see comments on MP)
[13:56] <bloodearnest> mbruzek: 2 of those are duplicate fixs of the same problem, anyway
[13:56] <mbruzek> bloodearnest, ack
[13:56] <bloodearnest> mbruzek: this one is actually older than all those 3, but got lost
[13:57] <bloodearnest> mbruzek: I just updated it today to include all those issues, and fix an issue michael found about not removing the old service
[14:00] <bloodearnest> mbruzek: you partially reviewed this originally, IIRC, so hopefully is familiar?
[14:01] <mbruzek> yep, I just need the time to review it.
[14:06] <mhall119> jcastro: marcoceppi: what am I doing wrong?
[14:06] <mhall119> mhall@mhall-thinkpad:~/projects/Ubuntu/summit/charms/trusty/certification$ sudo juju bootstrap
[14:06] <mhall119> uploading tools for series [trusty]
[14:06] <mhall119> Bootstrap failed, destroying environment
[14:06] <mhall119> ERROR bootstrapping a local environment must not be done as root
[14:07] <marcoceppi> mbruzek: don't use sudo?
[14:07] <jose> maybe he's doing local
[14:07] <marcoceppi> mbruzek: as of 1.17, bootstrap on local no longer requires sudo
[14:07] <jose> oh
[14:07] <marcoceppi> mhall119: ^^ jose ^^
[14:07] <jose> that's news for me :P
[14:07] <mbruzek> ?
[14:07] <mhall119> oh, must *not* be done as root
[14:07] <mhall119> I fail at reading
[14:08] <mhall119> I assumed it was the old message
[14:08] <marcoceppi> mhall119: np, it's a depature from the previous functionality
[14:08] <marcoceppi> mhall119: you may also need to do some permission fixes in you ~/.juju directory
[14:08] <jcastro> marcoceppi, https://github.com/juju/docs/pull/79
[14:08] <jcastro> can you confirm the syntax on Note: pls
[14:08] <jcastro> I fixed the other stuff
[14:09] <jose> mhall119: make sure to set the default series on your environments.yaml to precise or trusty (I recommend precise) or LXC machine creation will fail
[14:12] <mhall119> jose: it's set for trusty
[14:12] <jose> it's up to you :)
[14:14] <mhall119> well, I'm targetting trusty, so that's what I need :)
[14:31] <mhall119> 2014-04-22 14:30:37 INFO config-changed OSError: [Errno 2] No such file or directory: '/etc/postgresql/9.1/main/postgresql.conf'
[14:31] <mhall119> using the IS charm for postgresql on trusty, any idea why I get that error?
[14:35] <marcoceppi> mhall119: postgresql is 9.3 on trusty
[14:35] <marcoceppi> mhall119: the charm store charm has already compensated for this
[14:36] <marcoceppi> fwiw, you can mix series in your deployment. IE, deploy IS postgresql from precise, your charm from trusty
[14:39] <mhall119> ok, thanks marcoceppi
[14:39] <mhall119> how do I do that with juju?
[14:43] <marcoceppi> mhall119: just deploy with the series in the deploy command
[14:43] <marcoceppi> mhall119: juju deploy cs:precise/postgresql
[14:43] <marcoceppi> will give you postgresql on precise
[14:43] <marcoceppi> same with local:
[14:44] <mhall119> ok
[14:55] <mhall119> marcoceppi: now I'm seeing a lot of:
[14:55] <mhall119> machine-0: 2014-04-22 14:55:09 ERROR juju runner.go:220 worker: exited "environ-provisioner": failed to process updated machines: cannot start machine 1: no matching tools available
[14:55] <mhall119> machine 1 is my precise target
[14:55] <marcoceppi> mhall119: ah, local provider doesn't upload multiple tool sets :\
[14:56] <mhall119> so I can't mix and match trusty and precise with the local provider?
[14:56] <marcoceppi> doesn't seem so, there might be a beter way
[15:05] <mhall119> mhall@mhall-thinkpad:~/projects/Ubuntu/summit/current_work/summit$ juju deploy cs:postgresql postgresql
[15:05] <mhall119> ERROR charm not found: cs:trusty/postgresql
[15:05] <mhall119> what am I doing wrong now marcoceppi ?
[15:10] <lazyPower> mhall119: There isn't a trusty version of the charm in the store.
[15:11] <lazyPower> mhall119: you can do some testing locally if you have charm-tools installed.  charm-get postgresql  in a trusty directory in your local c harm repository
[15:11] <lazyPower> then deploy from there.
[15:12] <mhall119> marcoceppi said the charmstore charm was ready for trusty :(
[15:14] <lazyPower> marcoceppi: has postgres been promulgated for trusty? i dont see it... but that doesn't mean I missed it.
[15:14] <lazyPower> s/missed it/didn't miss it/
[15:14] <lazyPower> mhall119: we're in a meeting, and i'll follow up once we're out.
[15:31] <mhall119> lazyPower: I'm jumping on a call now myself, so whenever you're free
[15:31] <mhall119> thanks
[15:34] <jose> hey guys, I'm having some troubles with charm helpers, http://paste.ubuntu.com/7307816/ is giving me ImportError: No module named lib.charmhelpers.contrib
[15:36] <mhall119> lazyPower: marcoceppi: one more issue, though postgresql charm didn't work, my django and gunicorn charms say they started, but I can't connect: http://paste.ubuntu.com/7307845/
[15:36] <mhall119> not even to get a django error message
[15:39] <lazyPower> mhall119: i'm fairly certain we haven't reached those charms in the audit. It may be experiencing silent failure on the charm. Without interfacing directly with that deployment i'm not sure.
[15:58] <marcoceppi> hey stub, is postgresql ready for trusty? Should I test for compat?
[16:00] <bigtree> juju bootstrap is timing out when using /etc/rc.local to set up a raid0 and mount it...the script is running fine but juju hangs on 'attemping to connect' when it finishes...any ideas?
[16:40] <renier> bigtree, I read somewhere that the firewall could interfere with juju. I had to disable it `sudo ufw disable` in my trusty vagrant box.
[17:14] <bigtree> @renier, thanks -- I added a 'sleep 60' to the beginning of the script ....that solved the problem but I'm not sure why
[17:53] <Tug> how can I force a unit to stop when I have an error ?
[17:53] <Tug> I ran juju destroy service myservice
[17:54] <Tug> as it was already in an error state it could not stop
[17:54] <Tug> I ran juju resolved myservice/x
[17:55] <Tug> I didn't want to run debug-hooks for each unit (because I just wanted to stop them) so I tried several times
[17:56] <Tug> now I have an error if I try debug-hooks: ERROR cannot set resolved mode for unit "shard1/1": already resolved
[17:58] <Tug> is there a way to force this? I would prefer not destroying the environment nor the machines
[18:00] <avoine> Tug: not that they are  in the resolved status you can't destroy them?
[18:01] <Tug> they are not in resolved status, resolved brought them back in error state
[18:01] <Tug> (because I did not run juju debug-hooks to return 1)
[18:02] <Tug> alright
[18:02] <Tug> I just needed to be patient
[18:02] <Tug> they just got removed
[18:02] <Tug> :)
[18:48] <bigtree> Using juju bootstrap on MaaS is successful, but when trying to add units/other machines juju hangs on login and the juju agent is never started.
[18:48] <bigtree> Anyone have any ideas?
[19:06] <bigtree> Does juju prevent rc.local from running?
[19:37] <marcoceppi> mbruzek cory_fu: https://github.com/marcoceppi/amulet/pull/28#issuecomment-41081228
[19:39] <mbruzek> marcoceppi, we both commented on this.  The changes are safe to make
[20:08] <tvansteenburgh> when i terminate a unit in a peer relationship, is it possible to determine in the relation-departed hook which of the two peers is going away?
[20:31] <hedin> hey, I just installed a 14.04 server and put juju-quickstart on it but when I try to run it, I only get this traceback https://dpaste.de/CEh4
[20:33] <rick_h_> hedin: looking
[20:35] <hedin> rick_h_: thanks :)
[20:35] <rick_h_> hedin: yea, that's odd and not seen that. Filing a bug and will try to replicate.
[20:36] <rick_h_> hedin: ever do much python development?
[20:36] <rick_h_> hedin: I wonder if getting quickstart from another source has the same issue.
[20:36] <rick_h_> hedin: https://bugs.launchpad.net/juju-quickstart/+bug/1311321 at the moment
[20:36] <_mup_> Bug #1311321: ascii can't decode error in 14.04 server install <juju-quickstart:Confirmed> <https://launchpad.net/bugs/1311321>
[20:38] <Tug> is it possible to run a hook again, even when the status is `started` ?
[20:39] <hedin> rick_h_: no, just a bit of scripting...
[20:42] <rick_h_> hedin: ok, I've filed the bug and will work on seeing if I can replicate in a VM
[20:46] <tvansteenburgh> hedin: curious what the output of `echo $LANG` is on your juju-quickstart machine?
[20:54] <hedin> $ echo $LANG
[20:54] <hedin> en_GB.UTF-8
[20:57] <hedin> I have installed ubuntu-14.04 LTS server on top of proxmox... After ubuntu installation, with only openssh-server selected, I ran:
[20:57] <hedin> sudo apt-get update && sudo apt-get upgrade
[20:57] <hedin> rebooted and sudo apt-get install juju-quickstart
[20:57] <hedin> and then juju-quickstart, as you saw in the dpaste
[20:58] <hedin> hmm... locale might give an answer... https://dpaste.de/qCeb
[20:59] <tvansteenburgh> try this:
[20:59] <tvansteenburgh> $ python -c "import locale; locale.setlocale(locale.LC_ALL, ''); print locale.getlocale()[1]"
[21:01] <hedin> tvansteenburgh: output: https://dpaste.de/oO2v
[21:02] <hedin> there is no locale.gen file in /etc/ on 12.04 and debian, I just uncomment the fo_FO.UTF-8 line and run locale-gen
[21:08] <tvansteenburgh> hedin: i don't follow...you fixed it?
[21:10] <rick_h_> hedin: this is 12.04? I thought you were on 14.04?
[21:11] <hedin> it is 14.04
[21:11] <hedin> Linux ubuntu 3.13.0-24-generic
[21:11] <tvansteenburgh> i would try:
[21:11] <tvansteenburgh> sudo locale-gen en_GB.UTF-8 fo_FO.UTF-8
[21:11] <tvansteenburgh> dpkg-reconfigure locales
[21:12] <hedin> tvansteenburgh: that fixed it, now juju-quickstart runs
[21:12] <tvansteenburgh> \o/
[21:13] <hedin> thanks for the help :)
[21:13] <hedin> maybe there should be added a check if locale's are configured ?
[21:15] <tvansteenburgh> hedin: you're welcome, of course
[21:16] <rick_h_> thanks tvansteenburgh, notes added to the bug. We'll look into a good way to watch for that
[21:16] <tvansteenburgh> rick_h_: sure thing
[21:16]  * tvansteenburgh goes back to minding his own business
[21:54] <james_w> hi, I have an environment using lxc on trusty, and machine 1 doesn't seem to be starting. Where would I find the logs for that machine?
[21:55] <james_w> ~/.juju/<env>/log only has machine-0.log
[21:55] <james_w> (and a couple of other files)
[21:56] <tvansteenburgh> james_w: any clues in the all-machines.log ?
[21:56] <james_w> ERROR juju runner.go:220 worker: exited "environ-provisioner": no state server machines with addresses found
[21:56] <james_w> that's the only error-looking thing
[21:57] <james_w> to my eye at least
[21:59] <tvansteenburgh> james_w: using local provider?
[21:59] <james_w> yeah
[21:59] <james_w> https://bugs.launchpad.net/juju-core/+bug/1248800 has that message
[21:59] <_mup_> Bug #1248800: worker/provisioner missed signal to start new machine <deploy> <hs-arm64> <juju-core:Triaged> <https://launchpad.net/bugs/1248800>
[21:59] <james_w> and says "restarting the provisioner fixed the problem"
[21:59] <james_w> how would I try that?
[22:00] <tvansteenburgh> i would just destroy the environment and start over
[22:00] <james_w> tried that
[22:00] <james_w> I can try again
[22:00] <tvansteenburgh> :(
[22:02] <bloodearnest> james_w: do you have juju-mongodb installed?
[22:02] <james_w> yeag
[22:02] <james_w> yeah
[22:03] <james_w> re-bootstrapped and the same message trying to deploy cs:ubuntu
[22:03] <bloodearnest> james_w: do you have default-series: specified in your env config?
[22:04] <james_w> no
[22:04] <james_w> only type and admin-secrey
[22:04] <james_w> secret
[22:06] <bloodearnest> james_w: when you bootstrap, does it say "uploading tools [trusty, precise]" or similar?
[22:06] <james_w> [trusty[
[22:07] <bloodearnest> so, not sure it this is the issue here, but it will be an issue with some charms, but you need default-series: precise to get juju to upload precise tools
[22:08] <james_w> http://paste.ubuntu.com/7310317/ is the all-machines.log
[22:09] <jose> jcastro: hey, the 'Please remove jenkins from trusty' bug, would adding the source specified on that page you mentioned and apt-getting work?
[22:10] <jcastro> yes
[22:10] <jcastro> the charm needs to get from their repo
[22:10] <jcastro> since it's not in ubuntu
[22:11] <jose> ok, I'll see if I can work in getting that fix into the queue
[22:28] <lazyPower> Hey so, question
[22:29] <lazyPower> with our current juju boxes not being in alignment with the tutorial that we have on the docs, we should probably temporarily remove that doc section? There's not a planned fix on the horizon for the juju vagrant boxes - pending additional work from hazmat from what i observed earlier today
[22:29] <lazyPower> s/work/assessment
[22:29] <lazyPower> jcastro: ^
[22:37] <jcastro> lazyPower, I agree
[22:37] <lazyPower> ok just so i'm on the right path, i need to make that fix in the MD docs in the /EN branch?
[22:38] <jcastro> yes
[22:38] <jcastro> the instructions are up to date
[22:38] <jcastro> check contributing.html
[22:38] <lazyPower> thanks! i'll mmake that PR before i EOD for the morning.
[22:38] <jcastro> on the live website
[22:38] <lazyPower> wow that came out all janky. I'll make a PR for first thing in the morning.
[22:39] <jose> how should I specify that a charm can relate to *all* interfaces?
[22:39] <jose> (in the metadata.yaml)
[22:46] <lazyPower> jose: what do you mean?
[22:47] <jose> lazyPower: I have the pagekite charm and I want it to be able to relate to literally any other charm
[22:47] <lazyPower> jose: well, thats tricky. there's no catch-all.
[22:47] <jose> oh
[22:48] <lazyPower> my suggestion would be to either define an interface for pagekite, or impelement the interfaces that pagekite should work with, eg: http, reverseproxy, et al.
[22:48] <lazyPower> and go from there. breaking off the expected workload in chunks after its been verified to work. If you do that you'll take care of most of the charms you're concerned with supporting, and users that want something specific can open a feature request
[23:08] <james_w> jose: juju-info I think is the name of the minimum interface supported by every charm
[23:08] <jose> hmm, ok
[23:09] <jose> I'll work in that one tomorrow I think, apparently I have to do some homework today :)
[23:29] <lazyPower> james_w: while that works, it only exposes the remote IP address. I'm not sure how pagekite works but i assume it requires more than just the ip?