Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
more more debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jackfrancis committed Feb 13, 2018
1 parent 883c655 commit 7640178
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/e2e/runner/cli_provisioner.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,11 +230,15 @@ func (cli *CLIProvisioner) FetchProvisioningMetrics(path string, cfg *config.Con
masterFiles := agentFiles
masterFiles = append(masterFiles, "/opt/azure/containers/mountetcd.sh", "/opt/azure/containers/setup-etcd.sh", "/opt/azure/containers/setup-etcd.log")
hostname := fmt.Sprintf("%s.%s.cloudapp.azure.com", cli.Config.Name, cli.Config.Location)
fmt.Println(hostname)
conn, err := remote.NewConnection(hostname, "22", cli.Engine.ClusterDefinition.Properties.LinuxProfile.AdminUsername, cli.Config.GetSSHKeyPath())
fmt.Println("got past remote.NewConnection")
if err != nil {
fmt.Printf("inside remote.NewConnection error block: %s\n", err)
return err
}
for _, master := range cli.Masters {
fmt.Println("enumerating through masters")
for _, fp := range masterFiles {
err := conn.CopyRemote(master.Name, fp)
if err != nil {
Expand All @@ -244,6 +248,7 @@ func (cli *CLIProvisioner) FetchProvisioningMetrics(path string, cfg *config.Con
}

for _, agent := range cli.Agents {
fmt.Println("enumerating through agents")
for _, fp := range agentFiles {
err := conn.CopyRemote(agent.Name, fp)
if err != nil {
Expand Down

0 comments on commit 7640178

Please sign in to comment.