Closed hoeness2 closed 10 years ago
Hum, it looks like juju changed his policy, sudo vs !sudo.
Please next time raise an issue in the right project, here it is pytoolbox. I will fix this in pytoolbox.
Forget my last message.
Try to bootstrap manually to check it:
$ juju bootstrap --environment local
My advice : Learn about POSIX and chown.
Hmmm it doesnt matter same error ERROR bootstrapping a local environment must not be done as root
Then if this is juju itself because you tested it manually you'll need to report a bug to Launchad.
Cleanup and bootstrap environment local [WARNING] This will terminate all units deployed into environment local by juju ! do it now ? [y/N]: y Traceback (most recent call last): File "Local/scenario.py", line 69, in
Local(environments=[OsciedEnvironment(u'local', config=CONFIG, release=u'raring')]).run()
File "Local/scenario.py", line 46, in run
self.local.bootstrap(wait_started=True)
File "/usr/local/lib/python2.7/dist-packages/pytoolbox/juju.py", line 604, in bootstrap
result = juju_do(u'bootstrap', self.name)
File "/usr/local/lib/python2.7/dist-packages/pytoolbox/juju.py", line 110, in juju_do
raise RuntimeError(to_bytes(u'Subprocess failed {0} : {1}.'.format(command_string, result[u'stderr'])))
RuntimeError: Subprocess failed juju bootstrap --environment local : ERROR bootstrapping a local environment must not be done as root
.
press enter to continue ...
I have also tried in non sudo mode but then i have this error
Initialize scenarios menu find: "./Local/charms/default/oscied-orchestra/juju/environments": Keine Berechtigung press enter to continue ...