juju status fails with connection timed out (1.9.12-precise-i386)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
On precise, after running juju bootstrap --upload-tools followed by juju status -v I get the following error:
juju version = 1.9.12-precise-i386
juju status -v
2013/03/25 16:03:03 INFO JUJU:juju:status environs/ec2: opening environment "ama
zon"
2013/03/25 16:03:04 INFO JUJU:juju:status environs/ec2: waiting for DNS name(s)
of state server instances [i-d894b2b1]
2013/03/25 16:03:05 INFO JUJU:juju:status state: opening state; mongo addresses:
["ec2-
2013/03/25 16:03:05 INFO JUJU:juju:status state: connecting to 50.16.55.110:3701
7
2013/03/25 16:04:08 ERROR JUJU:juju:status state: connection failed: dial tcp 50
.16.55.110:37017: connection timed out
2013/03/25 16:04:08 INFO JUJU:juju:status state: connecting to 50.16.55.110:3701
7
2013/03/25 16:05:11 ERROR JUJU:juju:status state: connection failed: dial tcp 50
.16.55.110:37017: connection timed out
...etc
The same happens when I try to juju ssh 0.
By logging into the aws web management console I can see the state server has started and can see the following in the system log.
juju-db start/running, process 8434
2013/03/25 15:44:59 INFO JUJU:jujud:
2013/03/25 15:44:59 INFO JUJU:jujud:
2013/03/25 15:44:59 ERROR JUJU:jujud:
Scrolling up I can see a 404 error when it looks like we're trying to get the mongo package:
Setting up liberror-perl (0.17-1) ...
Setting up git-man (1:1.7.9.5-1) ...
Setting up git (1:1.7.9.5-1) ...
2013-03-25 15:44:59 URL:https:/
http://
2013-03-25 15:44:59 ERROR 404: Not Found.
description: | updated |
=== modified file 'environs/ ec2/ec2. go' HighestVersion | environs. CompatVersion ).DefaultSeries () FindTools( env, v, flags) MongoURL( e, v) (&startInstance Params{
machineId: "0", c(&instanceCons traint{
region: e.ecfg().region(),
series: scfg.series, scfg.tools. Arch}, scfg.tools. Arch, "amd64"},
constraints: scfg.constraints,
--- environs/ec2/ec2.go 2013-03-21 04:04:27 +0000
+++ environs/ec2/ec2.go 2013-03-25 17:54:17 +0000
@@ -244,6 +244,7 @@
flags := environs.
v := version.Current
v.Series = env.Config(
+ v.Arch = "amd64"
// TODO: set Arch based on constraints (when they are landed)
return environs.
}
@@ -286,7 +287,7 @@
}
v := version.Current
v.Series = tools.Series
- v.Arch = tools.Arch
+ v.Arch = "amd64"
mongoURL := environs.
inst, err := e.startInstance
@@ -449,7 +450,7 @@
spec, err := findInstanceSpe
- arches: []string{
+ arches: []string{
})
if err != nil {