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