Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
state/backup: fix restore #7366
Conversation
axw
added some commits
May 19, 2017
| @@ -276,10 +276,15 @@ var sshCommand = ssh.Command | ||
| // runViaSSH runs script in the remote machine with address addr. | ||
| func runViaSSH(addr string, script string) error { | ||
| - // This is taken from cmd/juju/ssh.go there is no other clear way to set user |
axw
May 19, 2017
Member
Why? ssh.Client.Command documents the argument as taking the syntax [user@]host. It shouldn't be needed.
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
jujubot
merged commit 6a9ae3f
into
juju:develop
May 19, 2017
1 check failed
github-check-merge-juju
Built PR, ran unit tests, and tested LXD deploy. Use !!.*!! to request another build. IE, !!build!!, !!retry!!
Details
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
axw commentedMay 19, 2017
Description of change
When SSHing to machines to fix their API server
addresses during restore, do not require strict host
key checking. It is unnecessary, as we do not pass
across any sensitive information.
QA steps
Run "assess_recovery" against AWS.
Documentation changes
None.
Bug reference
Fixes https://bugs.launchpad.net/juju/+bug/1691886