/srv/irclogs.ubuntu.com/2014/07/06/#juju.txt

=== 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
nookyHello, one question, how can I set the ami id via constraints?.22:54
mwhudsonargh23:11
mwhudsoni am trying to deploy a local charm and i'm becoming very confused23:11
mwhudsonubuntu@linaro-test:~$ juju deploy --to 0 --repository=charms local:trusty/newcassandra23:12
mwhudsonERROR charm not found in "/home/ubuntu/charms": local:trusty/newcassandra23:12
mwhudsonubuntu@linaro-test:~$ ls charms/trusty/newcassandra/23:12
mwhudsonconfig.yaml  copyright  exec.d  files  hooks  icon.svg  lib  Makefile  metadata.yaml  notes  README.md  revision  scripts  templates  tests  TODO  TODO.storage23:12
mwhudsonwhat am i missing?23:12
michelpmwhudson, i'm trying that step myself, but i have a trailing slash on my repository: juju deploy --repository=/home/$USER/dev/charms/ local:trusty/openresty23:15
michelpalso i'm specifying an absolute path23:15
mwhudsonmichelp: that doesn't make a difference23:15
mwhudson(i'm almost relieved about that!)23:15
michelpmwhudson, that's all i have to offer though, i'm just starting this myself :)23:16
mwhudsonand the error message has the absolute path in...23:16
mwhudsonheh thanks23:16
* mwhudson regrets his timezone23:16
michelpfwiw that command works for me, my charm deploys23:16
mwhudsonmichelp: ok23:16
mwhudsonthumper: hello in here :)23:30
thumpermwhudson: yeah... that is a bit weird23:31
mwhudsonthumper: i can't even find where that error message is coming from23:31
mwhudson(in the juju source i mean)23:31
* thumper pokes around in the code23:31
thumperI wish we didn't use "curl" for "charm url" as curl means something else to me23:34
thumpermwhudson: I have found the error at least23:37
mwhudsonthumper: oh>23:37
mwhudson?23:37
thumpermwhudson: can you check the permissions on the directories?23:37
mwhudsondrwxr-xr-x all the way down23:38
thumperbugger23:38
thumpermwhudson: code is github.com/juju/charm/repo.go:47323:38
mwhudsonoh23:39
mwhudsoni was only looking in juju/juju23:39
mwhudsonnot yet adjusted to brave new world i guess23:39
thumperhmm...23:39
* thumper scratches his head23:40
thumpermwhudson: ok, found an option23:41
thumpermwhudson: the charm name inside the metadata needs to match the path, so newcassandra23:41
mwhudsonoooh23:41
mwhudsonyes23:42
thumpermwhudson: if you just copied a different cassandra charm, it'll fail23:42
mwhudsonthumper: thanks23:42
thumpermwhudson: it looks like the dirname could be anything23:42
mwhudsonoh23:42
thumperand it is the charm metadata that it actually looks at23:42
mwhudsonoh ok23:43
thumperthat surprises me too23:43
mwhudsonthat was the problem fwiw23:46
mwhudson(now my other problem is bash, sign)23:46
mwhudson*sigh23:46
=== CyberJacob is now known as CyberJacob|Away

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