juju bootstrap in local lxc environment fails in raring

Bug #1133160 reported by Alexander List on 2013-02-26
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyjuju
High
Kapil Thangavelu

Bug Description

I setup raring-server in a VM and upgraded to the latest packages as of today 20130226.

I installed the required packages (juju from ppa), configured environments.yaml, rebooted and tried to "juju bootstrap" as described here:

http://askubuntu.com/questions/65359/how-do-i-configure-juju-for-local-usage

I get this error:

alex@raring-server:~$ juju bootstrap
2013-02-26 15:03:53,885 INFO Bootstrapping environment 'lxc' (origin: distro type: local)...
2013-02-26 15:03:53,886 INFO Checking for required packages...
2013-02-26 15:03:54,572 INFO Starting networking...
2013-02-26 15:03:54,602 INFO Starting ZooKeeper...
2013-02-26 15:03:54,617 INFO Starting storage server...
Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
 at org.apache.zookeeper.server.quorum.QuorumPeerMain.<clinit>(QuorumPeerMain.java:64)
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
 at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
 at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
 ... 1 more

2013-02-26 15:04:05,203 ERROR could not connect before timeout

ii juju 0.6.0.1+bzr615-0juju all next generation service orchestration system
ii linux-image-generic 3.8.0.7.21 amd64 Generic Linux kernel image
ii lxc 0.9.0~alpha3-0ubuntu amd64 Linux Containers userspace tools
ii zookeeper 3.4.5+dfsg-1~exp1 all High-performance coordination service for distributed applications

Alexander List (alexlist) wrote :

slf4j is installed on the host system:

ii libslf4j-java 1.6.5-1 all Simple Logging Facade for Java
ii openjdk-7-jre-headless:amd64 7u15-2.3.7-1ubuntu1 amd64 OpenJDK Java runtime, using Hotspot JIT (headless)

Kapil Thangavelu (hazmat) wrote :

A fix is available in the juju ppa, and hopefully into updates.

Changed in juju:
assignee: nobody → Kapil Thangavelu (hazmat)
status: New → Fix Committed
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers