Copying charms around by hand? Be careful!

Jorge O. Castro jorge at ubuntu.com
Tue Mar 25 16:59:03 UTC 2014


Matt and I got bit by this today and since it's a simple thing to
forget I thought I'd let the list know:

Those of you deploying on proxied off machines that don't have access
to the charm store and are copying charms onto internal machines,
please remember that scp will follow links, not copy them over. Some
charms use symlinks of all the hooks into a common.py or something, so
if you do an ls in your hook dirs and they're all the same filesize
... you get the idea.

I've submitted this to the docs under debugging hook errors and
recommeded rsync and tarball-then-scp:

https://github.com/juju/docs/pull/34/files

-- 
Jorge Castro
Canonical Ltd.
http://juju.ubuntu.com/ - Automate your Cloud Infrastructure



More information about the Juju mailing list