Ubuntu

fails to bootstrap, returns error: no reachable servers

Reported by ZhengPeng Hou on 2013-07-24
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
juju-core
Undecided
Unassigned
juju-core (Ubuntu)
High
Unassigned

Bug Description

1 install lxc mongodb-server, juju-core from saucy archive.
2 configure local provider by using juju init
3
freeflying@ultra:~$ sudo juju bootstrap -v
2013-07-24 00:41:29 INFO juju.environs.local environprovider.go:32 opening environment "local"
2013-07-24 00:41:29 INFO juju.environs.tools build.go:160 found existing jujud
2013-07-24 00:41:29 INFO juju.environs.tools build.go:170 target: /tmp/juju-tools991092497/jujud
2013-07-24 00:41:31 INFO juju.environs.tools storage.go:121 built 1.11.4.1-saucy-amd64 (4000kB)
2013-07-24 00:41:31 INFO juju.environs.tools storage.go:127 uploading 1.11.4.1-precise-amd64
2013-07-24 00:41:31 INFO juju.environs.tools storage.go:127 uploading 1.11.4.1-saucy-amd64
2013-07-24 00:41:32 INFO juju.environs.local environ.go:103 bootstrapping environment "local"
2013-07-24 00:41:32 INFO juju.environs.local environ.go:438 installing service juju-db-freeflying-local to /etc/init
2013-07-24 00:41:32 INFO juju open.go:69 state: opening state; mongo addresses: ["localhost:37017"]; entity ""
2013-07-24 00:41:32 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:32 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:32 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:33 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:33 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:33 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:34 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:34 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:35 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:35 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:35 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:36 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:36 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:36 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:37 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:37 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:38 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:38 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:38 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:39 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:39 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:39 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:40 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:40 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:41 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:41 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:41 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:42 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:42 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:42 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:43 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:43 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:44 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:44 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:44 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:45 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:45 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:45 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:46 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:46 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:47 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:47 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:47 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:48 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:48 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:48 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:49 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
^[[6;5~2013-07-24 00:41:49 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:50 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:50 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:50 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:51 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:51 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:51 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:52 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:52 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:53 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:53 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:53 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:54 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:54 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:54 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:55 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:55 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:56 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:56 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:56 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:57 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:57 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:57 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:58 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:58 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:59 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:59 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:41:59 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:00 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:00 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:00 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:01 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:01 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:02 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:02 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:02 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:03 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:03 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:03 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:04 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:04 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:05 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:05 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:05 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:06 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:06 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:06 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:07 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:07 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:08 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:08 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:08 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:09 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:09 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:09 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:10 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:10 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:11 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:11 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:11 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:12 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:12 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:12 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:13 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:13 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:14 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:14 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:14 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:15 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:15 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:15 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:16 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:16 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:17 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:17 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:17 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:18 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:18 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:18 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:19 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:19 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:20 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:20 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:20 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:21 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:21 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:21 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:22 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:22 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:23 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:23 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:23 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:24 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:24 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:24 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:25 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:25 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:26 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:26 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:26 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:27 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:27 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:27 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:28 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:28 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:29 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:29 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:29 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:30 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:30 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:30 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:31 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:31 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2013-07-24 00:42:32 ERROR juju.environs.local environ.go:546 failed to initialize state: no reachable servers
2013-07-24 00:42:32 ERROR juju supercommand.go:235 command failed: no reachable servers
error: no reachable servers
4 freeflying@ultra:~$ sudo status juju-db-freeflying-local
[sudo] password for freeflying:
juju-db-freeflying-local stop/waiting
freeflying@ultra:~$ sudo status mongodb
mongodb stop/waiting

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: juju-core 1.11.4-0ubuntu1
Uname: Linux 3.11.0-rc2 x86_64
ApportVersion: 2.11-0ubuntu1
Architecture: amd64
Date: Wed Jul 24 08:37:39 2013
Dependencies:

InstallationDate: Installed on 2013-07-11 (12 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130704)
MarkForUpload: True
SourcePackage: juju-core
UpgradeStatus: No upgrade log present (probably fresh install)

ZhengPeng Hou (zhengpeng-hou) wrote :
ZhengPeng Hou (zhengpeng-hou) wrote :

  local:
    type: local
    admin-secret: 44c57e3f247a1f838ef0eb00e808a6c2
    # Override the directory that is used for the storage files and database.
    # The default location is $JUJU_HOME/<ENV>.
    # $JUJU_HOME defaults to ~/.juju
    # root-dir: ~/.juju/local
    # Override the storage port if you have multiple local providers, or if the
    # default port is used by another program.
    # storage-port: 8040
    # Override the shared storage port if you have multiple local providers, or if the
    # default port is used by another program.
    # shared-storage-port: 8041
found the issue, if I comment out root-dir, bootstrap won't be able to complete correctly, if I leave this entry commented, bootstrap has no problem.

Serge Hallyn (serge-hallyn) wrote :

I can confirm this happened to me too. I'm not certain however whether it was user error on my part.

Changed in juju-core (Ubuntu):
importance: Undecided → High
status: New → Confirmed
Antonio Rosales (a.rosales) wrote :

The issue here explained by Tim P. is that when you have the following line in you config.yaml:
    # root-dir: ~/.juju/local

Juju does not expand "~/" our correctly so the path is not found correctly. Two workarounds are:
(1) Comment out this line as mentioned above.
(2) Uncomment the line, and put the full path in ie:
      root-dir: /home/user/.juju/local

-thanks,
Antoino

I also think that the debian package of juju-core is missing a dependency (mongodb). Installing it manually solved this.

2013-08-15 09:03:40 INFO juju open.go:69 state: opening state; mongo addresses: ["localhost:37017"]; entity ""
2013-08-15 09:03:40 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
(...)

Thanks,

David

John A Meinel (jameinel) wrote :

juju-core the package is the client tools (juju), so it should *not* depend on having mongodb locally installed.

To use the local provider, you can install "juju-local" on saucy (and from ppa:juju/stable).
That will bring in both lxc and mongodb.

Changed in juju-core (Ubuntu):
status: Confirmed → Invalid
Peter Klipfel (e-peter-6) wrote :

version: 1.12.0-precise-amd64

I had this error when trying to run in local mode, and when I started the mongo server, the error went away. However I am now encountering https://bugs.launchpad.net/juju-core/+bug/1178312

Tim Penhey (thumper) on 2013-10-02
Changed in juju-core:
status: New → Invalid

Same issues as Peter on 13.10 daily from 10/14:

- no reachable servers
- no mongodb installed with juju-local / installed manually
- then I get SSL error in 1178312 once I have mongodb (once I try to make any other local environments)

Is there a good, working, and current HOWTO on LXC for Saucy???

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments