[06:00] <Jose__> hi can I create private cloud storage and computing with #juju
[06:04] <Jose__> ?
[06:06] <Jose__> @markthoms ho
[18:28] <mbruzek> hello marcoceppi I have a few questions
[18:28] <marcoceppi> mbruzek: go for it
[18:29] <mbruzek> I am reading that Amulet can be installed via pip.  How does one add something so pip can find it?
[18:34] <marcoceppi> mbruzek: if you're on Ubuntu, just apt-get install amulet
[18:34] <mbruzek> Yeah I saw that
[18:34] <marcoceppi> mbruzek: as for pip, you just `sudo pip install amulet`
[18:34] <mbruzek> I am just a curious person and have used pip before, but don't know how you get your code in the pip repos
[18:35] <marcoceppi> pip is a package management tool for python, so you install pip with the pip package; then just pip install <package>
[18:35] <marcoceppi> you'll need sudo for amulet as it modifies system paths
[18:35] <marcoceppi> pip amulet and apt-get amulet will conflict with each other though
[18:36] <mbruzek> But how does pip know where to find amulet?
[18:36] <marcoceppi> mbruzek: PostScript
[18:36] <marcoceppi> oop
[18:36] <marcoceppi> mbruzek: https://pypi.python.org/pypi
[18:36] <marcoceppi> huh, maybe I didn't put it on pip yet
[18:36] <marcoceppi> pypi*
[18:37] <marcoceppi> oops, only charm-tools and charmworldlib are on pypi. So you can't install amulet with pip yet
[18:38] <mbruzek> Ok I see the Python Package index.  Thanks marcoceppi
[18:38] <marcoceppi> np o/
[18:50] <jaywink> hi. Anyone tips on how to modify image-metadata-url of bootstrapped machine? I bootstrapped to an openstack cloud with the image metadata hosted locally but of course the bootstrap instance cannot connect to my computer so I cannot deploy anything :)
[18:55] <mbruzek> hi jaywink I am guessing that your computer is not on the same subnet as your OpenStack instance?
[18:57] <jaywink> mbruzek, no :P I can upload the image metadata somewhere but the bootstrap was kind of tricky due to this cloud being in beta so wondering if I can modify the config on the bootstrap instance to use another metadata url
[18:57] <marcoceppi> jaywink: you can't modify it once bootstrapped, iirc; you'll need to destroy, put the image-medata somewhere accessible, then rebootstrap
[18:57] <jaywink> marcoceppi, ok :/ tnx
[18:57]  * mbruzek defers to marcoceppi 
[18:58] <marcoceppi> jaywink: I'd check with one of the devs tomorrow, maybe fwereade would know, but they're usually not on during the weekends
[18:58] <marcoceppi> from what I understand it's not a trivial process
[18:58] <jaywink> btw what has happened to http://streams.canonical.com? it has gone empty
[19:00] <jaywink> marcoceppi, maybe I will raise I bug. I can think of a use case in a production environment if the metadata needs to be moved or is moved for some reason - recreating everything just to change the metadata url doesn't sound ideal :)
[19:01] <marcoceppi> jaywink: I'm not sure about the streams URL. The metadata is either stored in the object store or in the mongodb database. If it's the former, you should be able to download, overwrite it, then upload it again. If the latter it's going to be a bit more complex
[19:02] <marcoceppi> jaywink: check the bucket you defined as control-bucket if any of the files have the metadata information in there
[19:02] <jaywink> ok tnx will check
[19:15] <jaywink> marcoceppi, nah only tools in the objectstore afaict
[19:15] <marcoceppi> jaywink: hum, it's probably in the mongodb database then
[19:15] <marcoceppi> *unforunately*
[19:17] <jaywink> no prob, will raise a bug. thanks!
[19:41] <popey> I am running juju 0.7+bzr628+bzr633~precise1 on 12.04, and i have done a deploy of cs:~popey/precise/yacy-5 and expose, but it doesn't seem to get an IP
[19:42] <popey> where's the best place to start debugging?
[19:42] <popey> 2014-01-12 14:18:00,948 Machine:0: unit.deploy INFO: Started service unit yacy/1
[19:42] <popey> 2014-01-12 19:42:52,581 INFO Service 'yacy' was already exposed.
[19:42] <popey> 2014-01-12 19:42:52,584 INFO 'expose' command finished successfully
[19:43] <popey>         public-address: null
[19:43] <popey> ☹
[21:14] <marcoceppi> popey step 1) don't use 0.7
[21:15] <marcoceppi> popey: latest recommended stable is 1.16.5 from ppa:juju/stable
[21:15] <marcoceppi> if you don't want to add a PPA, consider using the cloud-tools archive (since you're on 12.04)
[21:20] <popey> alan@homeserver:/etc/apt/sources.list.d$ cat juju-pkgs-precise.list
[21:20] <popey> deb http://ppa.launchpad.net/juju/pkgs/ubuntu precise main
[21:20] <popey> thats my current ppa in use
[21:20]  * popey adds that ppa
[21:22]  * popey destroys and starts again
[21:26] <popey> bah!
[21:26] <popey> juju now needs mongo
[21:26] <popey> why didn't it install that as a dependency rather than echo some lines telling me how to use apt. how odd
[21:28] <popey> http://paste.ubuntu.com/6741064/
[21:28] <popey> bah
[21:37]  * popey regenerates config
[21:41] <popey> alan@homeserver:~$ juju debug-log
[21:41] <popey> Permission denied (publickey).
[21:41] <popey> ERROR exit status 255
[21:41] <popey> bah!
[21:41] <popey> alan@homeserver:~$ juju expose
[21:41] <popey> error: no service name specified
[21:42] <popey> inconsistency detected! (all other errors are "ERROR", but that one is "error:"
[21:49] <popey> \o/ got it working, thanks marcoceppi
[22:14] <marcoceppi> popey: debug-log doesn't work on local provider
[22:15] <marcoceppi> https://juju.ubuntu.com/docs/config-LXC.html#debug-log
[22:15] <marcoceppi> also, the errors should all be lower case, the ERROR exit status is an error message from SSH just being passed through to the client
[22:16] <marcoceppi> popey: to fix the mongodb issue, you should just install juju-local (which should be the package it tells you you need instead of saying "oh just install mongodb"
[22:16]  * marcoceppi wanders offline again