Azure Provider: Deployed service never goes to started
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I have been unable to deploy charm after the initial bootstrap. The agent-state never comes out of started. The bootstrap node looks to start, but the service stays in "pending."
juju --debug status -e azure
2013-08-20 22:17:03 DEBUG juju.environs.azure environprovider
2013-08-20 22:17:06 DEBUG juju state.go:158 waiting for DNS name(s) of state server instances [juju-azure-
2013-08-20 22:17:07 INFO juju open.go:69 state: opening state; mongo addresses: ["juju-
2013-08-20 22:17:08 INFO juju open.go:107 state: connection established
environment: azure
machines:
"0":
agent-state: started
agent-version: 1.12.0
dns-name: juju-azure-
instance-id: juju-azure-
instance-state: Created
series: saucy
"1":
instance-id: pending
series: saucy
services:
wordpress:
charm: local:saucy/
exposed: false
relations:
loadbalancer:
- wordpress
units:
wordpress/0:
machine: "1"
2013-08-20 22:17:11 INFO juju supercommand.go:284 command finished
I am running the latest Juju compiled from trunk:
juju --version
1.13.2-
This error happens when I use a public bucket or when upload tools is invoked (see bug 1214181).
-thanks,
Antonio
I can reproduce this easily.
After deployment, the second machine comes up but I cannot ssh into it:
$ juju ssh 1 ix3trqnjtv. cloudapp. net,138. 91.139. 213' (RSA) to the list of known hosts.
Warning: Permanently added 'juju-azure-
Permission denied (publickey).
error: exit status 255
This means that cloud-init has not added the public key. This could be cloud-init's fault or juju's fault, but there's no real way of telling unless we can ssh in.