Comment 2 for bug 1304116

Revision history for this message
Curtis Hovey (sinzui) wrote :

I captured a few calls to status as the test was run. This warning looks like the env was changed, not properly restored after the restore:
    WARNING unknown config field "proxy-ssh"

Runnung "Juju ssh 0" fails
    ERROR state/api: websocket.Dial wss://10.0.3.1:17072/: dial tcp 10.0.3.1:17072: connection refused

ssh -i ~/cloud-city/staging-juju-rsa ec2-54-209-166-213.compute-1.amazonaws.com
    ssh: connect to host ec2-54-209-166-213.compute-1.amazonaws.com port 22: Connection timed out

Using the aws console to get the public IP, I tried to ssh with the key tahand was immediately rejected, though that
    ssh -i ~/cloud-city/staging-juju-rsa 54.209.157.232
    Permission denied (publickey)

BEFORE BACKUP
$ juju status -e test-function-aws-1
environment: test-function-aws-1
machines:
  "0":
    agent-state: started
    agent-version: 1.19.0
    dns-name: ec2-54-209-166-213.compute-1.amazonaws.com
    instance-id: i-c334b0e0
    instance-state: running
    series: precise
    hardware: arch=amd64 cpu-cores=1 cpu-power=300 mem=3840M root-disk=8192M
  "1":
    agent-state: started
    dns-name: ec2-54-209-96-248.compute-1.amazonaws.com
    instance-id: i-0331b520
    instance-state: running
    series: precise
    hardware: arch=amd64 cpu-cores=1 cpu-power=300 mem=3840M root-disk=8192M
services:
  ubuntu:
    charm: local:precise/ubuntu-1
    exposed: false
    units:
      ubuntu/0:
        agent-state: started
        machine: "1"
        public-address: ec2-54-209-96-248.compute-1.amazonaws.com

AFTER RESTORE.
$ juju status -e test-function-aws-1
WARNING unknown config field "proxy-ssh"
environment: test-function-aws-1
machines:
  "0":
    agent-state: down
    agent-state-info: (started)
    agent-version: 1.19.0
    dns-name: ec2-54-209-166-213.compute-1.amazonaws.com
    instance-id: i-bb3fbb98
    instance-state: running
    series: precise
    hardware: arch=amd64 cpu-cores=1 cpu-power=300 mem=3840M root-disk=8192M
  "1":
    agent-state: started
    agent-version: 1.19.0
    dns-name: ec2-54-209-96-248.compute-1.amazonaws.com
    instance-id: i-0331b520
    instance-state: running
    series: precise
    hardware: arch=amd64 cpu-cores=1 cpu-power=300 mem=3840M root-disk=8192M
services:
  ubuntu:
    charm: local:precise/ubuntu-1
    exposed: false
    units:
      ubuntu/0:
        agent-state: started
        agent-version: 1.19.0
        machine: "1"
        public-address: ec2-54-209-96-248.compute-1.amazonaws.com