Public bug reported:

I attemped to follow the instructions at
http://askubuntu.com/questions/65359/how-do-i-configure-juju-for-local-
usage:

1. sudo apt get install juju-local
2. juju init
3. juju switch local
4. sudo juju bootstrap

This gives the following error:

al@al-desktop:~$ sudo juju bootstrap
[sudo] password for al: 
uploading tools for series [trusty]
Bootstrap failed, destroying environment
ERROR bootstrapping a local environment must not be done as root

I then tried to run it without root and I got the following stacktrack:

al@al-desktop:~$ juju bootstrap
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x48 pc=0x405567]

goroutine 1 [running]:
runtime.panic(0xc3d940, 0x18b0508)
        /usr/lib/go/src/pkg/runtime/panic.c:266 +0xb6
main.environFromName(0xc2100b7730, 0xc210000c70, 0x5, 0xc2100e0310, 0xd78650, 
...)
        
/build/buildd/juju-core-1.18.1/src/launchpad.net/juju-core/cmd/juju/common.go:40
 +0x1c7
main.(*BootstrapCommand).Run(0xc210146480, 0xc2100b7730, 0x18a9c10, 0x4)
        
/build/buildd/juju-core-1.18.1/src/launchpad.net/juju-core/cmd/juju/bootstrap.go:95
 +0xab
main.envCmdWrapper.Run(0x7f7c948e4268, 0xc210146480, 0xc2100b7730, 
0x7f7c9474e1d8, 0x2)
        
/build/buildd/juju-core-1.18.1/src/launchpad.net/juju-core/cmd/juju/main.go:158 
+0x48
main.(*envCmdWrapper).Run(0xc21007ebd0, 0xc2100b7730, 0x14, 0x7f7c9474e1d8)
        
/build/buildd/juju-core-1.18.1/src/launchpad.net/juju-core/cmd/juju/addmachine.go:1
 +0x9a
launchpad.net/juju-core/cmd.(*SuperCommand).Run(0xc210146400, 0xc2100b7730, 
0xc2100b7730, 0x0)
        
/build/buildd/juju-core-1.18.1/src/launchpad.net/juju-core/cmd/supercommand.go:298
 +0x439
launchpad.net/juju-core/cmd.Main(0x7f7c948e5cd0, 0xc210146400, 0xc2100b7730, 
0xc21000a010, 0x1, ...)
        
/build/buildd/juju-core-1.18.1/src/launchpad.net/juju-core/cmd/cmd.go:244 +0x283
main.Main(0xc21000a000, 0x2, 0x2)
        
/build/buildd/juju-core-1.18.1/src/launchpad.net/juju-core/cmd/juju/main.go:131 
+0x439d
main.main()
        
/build/buildd/juju-core-1.18.1/src/launchpad.net/juju-core/cmd/juju/main.go:173 
+0x44

goroutine 3 [syscall]:
os/signal.loop()
        /usr/lib/go/src/pkg/os/signal/signal_unix.go:21 +0x1e
created by os/signal.init·1
        /usr/lib/go/src/pkg/os/signal/signal_unix.go:27 +0x31

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: juju-local 1.18.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-8.28-generic 3.13.2
Uname: Linux 3.13.0-8-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
CurrentDesktop: XFCE
Date: Thu Jun 12 19:44:09 2014
InstallationDate: Installed on 2014-02-11 (120 days ago)
InstallationMedia: Xubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140210)
PackageArchitecture: all
SourcePackage: juju-core
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: juju-core (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1329429

Title:
  local bootstrap fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/juju-core/+bug/1329429/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to