restore consistently fails

Bug #1387172 reported by Curtis Hovey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
Critical
Horacio Durán

Bug Description

Restore is consistently failing
    http://juju-ci.vapour.ws:8080/view/Juju%20Revisions/job/functional-backup-restore/
    http://juju-ci.vapour.ws:8080/view/Juju%20Revisions/job/functional-ha-backup-restore/

These tests were broken at the same time all the upgrade tests began failing, but these tests continue to fail after a fix was landed. The call to juju restore fails with this as the only message:

2014-10-29 09:16:58 INFO juju.cmd supercommand.go:37 running juju [1.21-alpha3-precise-amd64 gc]
Bootstrapping environment "test-function-hp-3"
Starting new instance for initial state server
Launching instance
 - 4d3345fe-b091-4fb3-9065-8f5c01eedb34
Installing Juju agent on bootstrap instance
Waiting for address
Attempting to connect to 15.125.94.249:22
Attempting to connect to 10.0.0.27:22
Warning: Permanently added '15.125.94.249' (ECDSA) to the list of known hosts.
sudo: unable to resolve host juju-test-function-hp-3-machine-0
Logging to /var/log/cloud-init-output.log on remote host
Running apt-get update
Running apt-get upgrade
Installing package: curl
Installing package: cpu-checker
Installing package: bridge-utils
Installing package: rsyslog-gnutls
Fetching tools: curl -sSfw 'tools from %{url_effective} downloaded: HTTP %{http_code}; time %{time_total}s; size %{size_download} bytes; speed %{speed_download} bytes/s ' --retry 10 -o $bin/tools.tar.gz <[https://region-a.geo-1.objects.hpcloudsvc.com/v1/60502529753910/juju-dist/testing/tools/releases/juju-1.21-alpha3-trusty-amd64.tgz]>
Bootstrapping Juju machine agent
Starting Juju machine agent (jujud-machine-0)
Bootstrap complete
error: cannot connect to api server: unable to connect to "wss://10.0.0.27:17070/"
2014-10-29 09:39:10 ERROR juju.cmd supercommand.go:323 subprocess encountered error code 1

Curtis Hovey (sinzui)
Changed in juju-core:
milestone: none → 1.21-alpha3
Curtis Hovey (sinzui)
Changed in juju-core:
assignee: nobody → Horacio Durán (hduran-8)
Revision history for this message
Horacio Durán (hduran-8) wrote :

This is caused by https://github.com/juju/juju/commit/b582fe14b05cce1fcd2ad757c97382b2b2bda01e this commit changed the structure of the machine document and therefore one of the restore steps (updating machine document to hold new intance) was broken.

Curtis Hovey (sinzui)
Changed in juju-core:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.