Skip to content

Getting bm server logs at end of e2e test does not work #1550

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
guettli opened this issue Mar 14, 2025 · 0 comments
Open

Getting bm server logs at end of e2e test does not work #1550

guettli opened this issue Mar 14, 2025 · 0 comments

Comments

@guettli
Copy link
Collaborator

guettli commented Mar 14, 2025

/kind bug

Getting bm server logs at end of e2e test does not work

It seems that the IP is missing, because "address at" looks empty.

Failed to get logs for Machine ci13863802258-4n5id9-md-1-fz6xl-f59c2, Cluster ci13863802258-jvewwh/ci13863802258-4n5id9: [dialing host IP address at : ssh: handshake failed: ssh:

https://github.com/syself/cluster-api-provider-hetzner/actions/runs/13863802258/job/38798330043?pr=1542

STEP: --------------------------------------------------- @ 03/14/25 19:37:34.596
  STEP: BareMetalHost: bm-e2e-1670788 1670788 @ 03/14/25 19:38:04.603
  STEP:   ProvisioningState: ensure-provisioned @ 03/14/25 19:38:04.603
  STEP:   Error: connection refused error of SSH command ssh gave connection error @ 03/14/25 19:38:04.603
  STEP:   Ready Condition: False StillProvisioning host is still provisioning - state "ensure-provisioned" @ 03/14/25 19:38:04.603
  STEP: BareMetalHost: bm-e2e-1724024 1724024 @ 03/14/25 19:38:04.603
  STEP:   ProvisioningState: provisioned @ 03/14/25 19:38:04.603
  STEP:   Ready Condition: True   @ 03/14/25 19:38:04.603
  STEP: --------------------------------------------------- @ 03/14/25 19:38:04.603
  STEP: BareMetalHost: bm-e2e-1670788 1670788 @ 03/14/25 19:38:34.611
  STEP:   ProvisioningState: ensure-provisioned @ 03/14/25 19:38:34.611
  STEP:   Error: connection refused error of SSH command ssh gave connection error @ 03/14/25 19:38:34.611
  STEP:   Ready Condition: False StillProvisioning host is still provisioning - state "ensure-provisioned" @ 03/14/25 19:38:34.611
  STEP: BareMetalHost: bm-e2e-1724024 1724024 @ 03/14/25 19:38:34.611
  STEP:   ProvisioningState: provisioned @ 03/14/25 19:38:34.611
  STEP:   Ready Condition: True   @ 03/14/25 19:38:34.611
  STEP: --------------------------------------------------- @ 03/14/25 19:38:34.611
  STEP: Checking all the machines controlled by ci13[863](https://github.com/syself/cluster-api-provider-hetzner/actions/runs/13863802258/job/38798330043?pr=1542#step:3:891)802258-4n5id9-md-1 are in the "<None>" failure domain @ 03/14/25 19:38:44.131
  INFO: Waiting for the machine pools of cluster ci13863802258-jvewwh/ci13863802258-4n5id9 to be provisioned
  STEP: PASSED! @ 03/14/25 19:38:44.15
  < Exit [It] Should successfully create a cluster with three control planes @ 03/14/25 19:38:44.15 (15m39.737s)
  > Enter [AfterEach] Running the CaphClusterDeploymentSpec in Hetzner Baremetal @ 03/14/25 19:38:44.15
  STEP: Dumping logs from the "ci13863802258-4n5id9" workload cluster @ 03/14/25 19:38:44.15
Failed to get logs for Machine ci13863802258-4n5id9-control-plane-lhlgz, Cluster ci13863802258-jvewwh/ci13863802258-4n5id9: [dialing host IP address at : ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain, failed to tar dir /etc/kubernetes: dialing host IP address at : ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain, failed to tar dir /var/log/pods: dialing host IP address at : ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain]
Failed to get logs for Machine ci13863802258-4n5id9-md-1-fz6xl-f59c2, Cluster ci13863802258-jvewwh/ci13863802258-4n5id9: [dialing host IP address at : ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain, failed to tar dir /var/log/pods: dialing host IP address at : ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain, failed to tar dir /etc/kubernetes: dialing host IP address at : ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain]
  STEP: Dumping all the Cluster API resources in the "ci13863802258-jvewwh" namespace @ 03/14/25 19:38:44.42
  STEP: Deleting cluster ci13863802258-jvewwh/ci13863802258-4n5id9 @ 03/14/25 19:38:45.043
  STEP: Deleting cluster ci13863802258-jvewwh/ci13863802258-4n5id9 @ 03/14/25 19:38:45.052
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant