Trouble using local environment
Clint Byrum
clint at ubuntu.com
Thu Jul 12 19:50:43 UTC 2012
Excerpts from Thiago Cardoso's message of 2012-07-12 10:29:08 -0700:
> Kapil, thanks for your response.
>
> I checked the unit log and, indeed, I have an error. Here some info
> about my box:
>
> Linux 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC
> 2012 x86_64 x86_64 x86_64 GNU/Linux
>
> $ python --version
> Python 2.7.3
>
> $ dpkg-query -W juju
> juju 0.5+bzr531-0ubuntu1.2
>
> And the error on unit's output.log:
>
> unit.py: error: unrecognized arguments: --nodaemon
> --session-file /var/run/juju/unit-crawler-0-agent.zksession
> usage: unit.py [-h] [--debug] [--profile] [--savestats]
> [--rundir RUNDIR]
> [--pidfile PIDFILE] [--logfile LOGFILE]
> [--loglevel {DEBUG,INFO,ERROR,WARNING,CRITICAL}]
> [--chroot CHROOT] [--umask UMASK] [--uid UID] [--gid GID]
> [--daemon] [--syslog] [--sysprefix PREFIX]
> [--principal PRINCIPALS]
> [--zookeeper-servers ZOOKEEPER_SERVERS]
> [--juju-directory JUJU_DIRECTORY] [--unit-name UNIT_NAME]
>
Hi Thiago. It appears that you have tried to deploy an older version of
juju with a newer one. This happens if, say, you try to deploy oneiric
charms without setting an explicit juju-origin: ppa so that the newer
juju is pulled from the archive.
I'd recommend focusing on precise charms unless you have some specific
reason to try and deploy on oneiric.
Can you confirm that the container you deployed is running an older juju?
Try this:
dpkg -l juju
More information about the Juju
mailing list