Trouble using local environment

Thiago Cardoso artefon at gmail.com
Fri Jul 13 11:32:37 UTC 2012


That was precisely the problem. My default series was set as 'oneiric'
since I followed the tutorial [1]. I didn't know that using an older
series could hinder the deploy but, now that you said, it makes sense.
Since juju uses a container I need a compatible system.

Thanks a lot for your effort and for helping me solve this. Juju is a
very promising system and I am enjoying using it.

[1] https://juju.ubuntu.com/docs/getting-started.html

-- Thiago

On Thu, Jul 12, 2012 at 4:50 PM, Clint Byrum <clint at ubuntu.com> wrote:
> 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