3

trying to use juju in a local environment. Here is my ~/.juju/environments.yaml file:

environments:
  sample:
    type: local
    control-bucket: juju-a14dfae3830142d9ac23c499395c2785999
    admin-secret: 6608267bbd6b447b8c90934167b2a294999
    default-series: oneiric
    juju-origin: distro
    data-dir: /home/matteo/juju

the path /home/matteo/juju exists. But when I type juju bootstrap here is the output:

2011-10-16 00:07:32,367 INFO Bootstrapping environment 'sample' (type: local)...
2011-10-16 00:07:32,367 INFO Checking for required packages...
2011-10-16 00:07:32,650 INFO Starting networking...
too many values to unpack
2011-10-16 00:07:32,897 ERROR too many values to unpack

Many thanks in advance!

EDIT:

after restarting my pc now it shows this:

2011-10-17 00:02:13,850 INFO Bootstrapping environment 'sample' (type: local)...
2011-10-17 00:02:13,850 INFO Checking for required packages...
2011-10-17 00:02:14,142 INFO Starting networking...
errore: Impossibile avviare la rete default
errore: Requested operation is not valid: network is already active

Command '['virsh', 'net-start', 'default']' returned non-zero exit status 1
2011-10-17 00:02:14,176 ERROR Command '['virsh', 'net-start', 'default']' returned     non-zero exit status 1

1 Answer 1

5

Two separate issues.

  1. libvirt requires the user to be in the libvirt group. The login shell/desktop session that installed the libvirt package unfortunately won't have the groups active, till the next login. The easiest thing to do is to just logout/login.

  2. We had some localization issues with the release. A fix is in our review queue and it should be available from the ppa by the end of the week has landed in the PPA. https://bugs.launchpad.net/juju/+bug/873335

3
  • What ppa do I have to add? Because so far nothing changed. Oct 22, 2011 at 13:10
  • The trunk daily build PPA is ppa:juju/pkgs
    – SpamapS
    Oct 24, 2011 at 18:50
  • last update brings the right bugfix! It's working now! So cool! Oct 31, 2011 at 21:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.