[22:54] <nooky> Hello, one question, how can I set the ami id via constraints?.
[23:11] <mwhudson> argh
[23:11] <mwhudson> i am trying to deploy a local charm and i'm becoming very confused
[23:12] <mwhudson> ubuntu@linaro-test:~$ juju deploy --to 0 --repository=charms local:trusty/newcassandra
[23:12] <mwhudson> ERROR charm not found in "/home/ubuntu/charms": local:trusty/newcassandra
[23:12] <mwhudson> ubuntu@linaro-test:~$ ls charms/trusty/newcassandra/
[23:12] <mwhudson> config.yaml  copyright  exec.d  files  hooks  icon.svg  lib  Makefile  metadata.yaml  notes  README.md  revision  scripts  templates  tests  TODO  TODO.storage
[23:12] <mwhudson> what am i missing?
[23:15] <michelp> mwhudson, i'm trying that step myself, but i have a trailing slash on my repository: juju deploy --repository=/home/$USER/dev/charms/ local:trusty/openresty
[23:15] <michelp> also i'm specifying an absolute path
[23:15] <mwhudson> michelp: that doesn't make a difference
[23:15] <mwhudson> (i'm almost relieved about that!)
[23:16] <michelp> mwhudson, that's all i have to offer though, i'm just starting this myself :)
[23:16] <mwhudson> and the error message has the absolute path in...
[23:16] <mwhudson> heh thanks
[23:16]  * mwhudson regrets his timezone
[23:16] <michelp> fwiw that command works for me, my charm deploys
[23:16] <mwhudson> michelp: ok
[23:30] <mwhudson> thumper: hello in here :)
[23:31] <thumper> mwhudson: yeah... that is a bit weird
[23:31] <mwhudson> thumper: i can't even find where that error message is coming from
[23:31] <mwhudson> (in the juju source i mean)
[23:31]  * thumper pokes around in the code
[23:34] <thumper> I wish we didn't use "curl" for "charm url" as curl means something else to me
[23:37] <thumper> mwhudson: I have found the error at least
[23:37] <mwhudson> thumper: oh>
[23:37] <mwhudson> ?
[23:37] <thumper> mwhudson: can you check the permissions on the directories?
[23:38] <mwhudson> drwxr-xr-x all the way down
[23:38] <thumper> bugger
[23:38] <thumper> mwhudson: code is github.com/juju/charm/repo.go:473
[23:39] <mwhudson> oh
[23:39] <mwhudson> i was only looking in juju/juju
[23:39] <mwhudson> not yet adjusted to brave new world i guess
[23:39] <thumper> hmm...
[23:40]  * thumper scratches his head
[23:41] <thumper> mwhudson: ok, found an option
[23:41] <thumper> mwhudson: the charm name inside the metadata needs to match the path, so newcassandra
[23:41] <mwhudson> oooh
[23:42] <mwhudson> yes
[23:42] <thumper> mwhudson: if you just copied a different cassandra charm, it'll fail
[23:42] <mwhudson> thumper: thanks
[23:42] <thumper> mwhudson: it looks like the dirname could be anything
[23:42] <mwhudson> oh
[23:42] <thumper> and it is the charm metadata that it actually looks at
[23:43] <mwhudson> oh ok
[23:43] <thumper> that surprises me too
[23:46] <mwhudson> that was the problem fwiw
[23:46] <mwhudson> (now my other problem is bash, sign)
[23:46] <mwhudson> *sigh