ensure-availability fails on GCE
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Invalid
|
Critical
|
Tim Penhey | ||
juju-core |
Won't Fix
|
Low
|
Unassigned | ||
1.24 |
Won't Fix
|
High
|
Unassigned | ||
1.25 |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
I seem to consistently get an error when bootstrapping an environment on GCE and then running:
juju ensure-availability -n 3
The instances are created but report error in juju status:
$ juju status -e gce2
environment: gce2
machines:
"0":
agent-state: started
agent-version: 1.24.5
dns-name: 104.197.32.115
instance-id: juju-065a5323-
instance-state: RUNNING
series: trusty
hardware: arch=amd64 cpu-cores=1 cpu-power=138 mem=1700M root-disk=10240M availability-
state-
"1":
agent-
failed'
instance-id: pending
series: trusty
state-
"2":
agent-
failed'
instance-id: pending
series: trusty
state-
services: {}
connecting to one of the failed instances and retrieving the log I get:
2015-09-07 13:45:57 INFO juju.cmd supercommand.go:37 running jujud [1.24.5-
2015-09-07 13:45:57 DEBUG juju.agent agent.go:432 read agent config, format "1.18"
2015-09-07 13:45:57 INFO juju.cmd.jujud machine.go:419 machine agent machine-1 start (1.24.5-
2015-09-07 13:45:57 DEBUG juju.wrench wrench.go:112 couldn't read wrench directory: stat /var/lib/
2015-09-07 13:45:57 INFO juju.cmd.jujud upgrade.go:87 no upgrade steps required or upgrade steps for 1.24.5 have already been run.
2015-09-07 13:45:57 INFO juju.network network.go:194 setting prefer-ipv6 to false
2015-09-07 13:45:57 INFO juju.worker runner.go:269 start "api"
2015-09-07 13:45:57 INFO juju.worker runner.go:269 start "statestarter"
2015-09-07 13:45:57 INFO juju.worker runner.go:269 start "termination"
2015-09-07 13:45:57 INFO juju.api apiclient.go:331 dialing "wss://
2015-09-07 13:45:57 DEBUG juju.worker runner.go:196 "statestarter" started
2015-09-07 13:45:57 DEBUG juju.worker runner.go:196 "termination" started
2015-09-07 13:45:57 DEBUG juju.worker runner.go:191 stop "state"
2015-09-07 13:45:57 INFO juju.api apiclient.go:263 connection established to "wss://
"
2015-09-07 13:45:57 INFO juju.api apiclient.go:331 dialing "wss://
2015-09-07 13:45:57 INFO juju.api apiclient.go:263 connection established to "wss://
"
2015-09-07 13:45:57 ERROR juju.cmd.jujud agent.go:298 agent terminating due to error returned during API open: invalid entity name or password
2015-09-07 13:45:57 INFO juju.worker runner.go:275 stopped "api", err: agent should be terminated
2015-09-07 13:45:57 DEBUG juju.worker runner.go:203 "api" done: agent should be terminated
2015-09-07 13:45:57 ERROR juju.worker runner.go:212 fatal "api": agent should be terminated
2015-09-07 13:45:57 DEBUG juju.worker runner.go:248 killing "statestarter"
2015-09-07 13:45:57 DEBUG juju.worker runner.go:248 killing "termination"
2015-09-07 13:45:57 INFO juju.worker runner.go:275 stopped "statestarter", err: <nil>
2015-09-07 13:45:57 INFO juju.worker runner.go:275 stopped "termination", err: <nil>
2015-09-07 13:45:57 DEBUG juju.worker runner.go:203 "statestarter" done: <nil>
2015-09-07 13:45:57 DEBUG juju.worker runner.go:227 no restart, removing "statestarter" from known workers
2015-09-07 13:45:57 DEBUG juju.worker runner.go:203 "termination" done: <nil>
2015-09-07 13:45:57 DEBUG juju.worker runner.go:227 no restart, removing "termination" from known workers
2015-09-07 13:45:57 DEBUG juju.service discovery.go:115 discovered init system "upstart" from local host
2015-09-07 13:45:57 DEBUG juju.service discovery.go:115 discovered init system "upstart" from local host
2015-09-07 13:45:57 INFO juju.cmd supercommand.go:436 command
tags: | added: docteam |
tags: | added: jujuqa |
Changed in juju-core: | |
importance: | Undecided → High |
affects: | juju-core → juju |
Changed in juju-core: | |
status: | New → Incomplete |
Changed in juju: | |
milestone: | none → 2.1.0 |
Changed in juju-core: | |
status: | Incomplete → Invalid |
Changed in juju: | |
importance: | High → Critical |
milestone: | 2.1.0 → 2.0-rc1 |
Changed in juju: | |
status: | Triaged → In Progress |
assignee: | nobody → Tim Penhey (thumper) |
Changed in juju: | |
milestone: | 2.0-rc1 → none |
Is this just on HA, or does deploying any further machines fail? See bug 1438200 for a similar error without HA involved.,