Bug 1719808
Summary: | [IPI] [OSP] Pulling debug logs from the bootstrap machine never works because bootstrap node has no public address | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | David Sanz <dsanzmor> |
Component: | Installer | Assignee: | Dan Prince <dprince> |
Installer sub component: | openshift-installer | QA Contact: | David Sanz <dsanzmor> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | medium | ||
Priority: | medium | CC: | bleanhar, ltomasbo, mfedosin, wjiang |
Version: | 4.2.0 | Keywords: | Triaged |
Target Milestone: | --- | ||
Target Release: | 4.2.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-10-16 06:31:56 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
David Sanz
2019-06-12 15:16:06 UTC
Reassign to Dan Prince. He is currently working on this. I saw bootstrap-fip is in for this isuse, but I found that this floating ip will not be destroyed even I destroy the cluster. (In reply to weiwei jiang from comment #2) > I saw bootstrap-fip is in for this isuse, but I found that > this floating ip will not be destroyed even I destroy the cluster. Created bug https://bugzilla.redhat.com/show_bug.cgi?id=1740543 for deleting this FIP Tried with ➜ ✗ ./openshift-install version ./openshift-install v4.2.0-201908181300-dirty built from commit 4e204c5e509de1bd31113b0c0e73af1a35e52c0a release image registry.svc.ci.openshift.org/ocp/release@sha256:bbf1c5a9b0ca47cae481bd9327bcde6869b826118e14fce61a6e3f99728f4c4c it still use internal ip to pull bootstrap logs. ... DEBUG Loading "Platform"... DEBUG Using "Install Config" loaded from state file DEBUG Reusing previously-fetched "Install Config" INFO Pulling debug logs from the bootstrap machine ERROR failed to create SSH client, ensure the proper ssh key is in your keyring or specify with --key: dial tcp 192.168.0.14:22: connect: connection timed out FATAL waiting for Kubernetes API: context deadline exceeded (openstack) server list --name wjosp0819 +--------------------------------------+-------------------------------------+--------+---------------------------------------------------------------+-------+----------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------+--------+---------------------------------------------------------------+-------+----------+ | 280acfc1-94e8-458c-953d-6121c41cd2f6 | preserve-wjosp0819b-6rwjc-master-2 | ACTIVE | preserve-wjosp0819b-6rwjc-openshift=192.168.0.25 | | m1.large | | 3ecf217b-4efc-4478-b92e-b2076f7273d1 | preserve-wjosp0819b-6rwjc-master-1 | ACTIVE | preserve-wjosp0819b-6rwjc-openshift=192.168.0.13 | | m1.large | | 98442568-b5a9-4868-a399-3c6fea8000d0 | preserve-wjosp0819b-6rwjc-master-0 | ACTIVE | preserve-wjosp0819b-6rwjc-openshift=192.168.0.27 | | m1.large | | 42de807d-af1c-45af-b935-d4101d74decb | preserve-wjosp0819b-6rwjc-bootstrap | ACTIVE | preserve-wjosp0819b-6rwjc-openshift=192.168.0.14, 10.0.79.162 | | m1.large | +--------------------------------------+-------------------------------------+--------+---------------------------------------------------------------+-------+----------+ Should be resolved by: https://github.com/openshift/installer/pull/2212 There is a regression caused by https://github.com/openshift/installer/pull/2128 The bootstrap_fip resource was moved from topology to bootstrap module, so it can't be found. The fix that solves the regression is on review: https://github.com/openshift/installer/pull/2256 Verified on 4.2.0-0.nightly-2019-08-25-233755: $ ./openshift-install gather bootstrap --log-level debug DEBUG OpenShift Installer v4.2.0-201908251340-dirty DEBUG Built from commit c2e6b0afd7f33ae0125d1ac96f3948919748ffc5 DEBUG Fetching "Install Config"... DEBUG Loading "Install Config"... DEBUG Loading "SSH Key"... DEBUG Loading "Base Domain"... DEBUG Loading "Platform"... DEBUG Loading "Cluster Name"... DEBUG Loading "Base Domain"... DEBUG Loading "Pull Secret"... DEBUG Loading "Platform"... DEBUG Using "Install Config" loaded from state file DEBUG Reusing previously-fetched "Install Config" INFO Pulling debug logs from the bootstrap machine DEBUG Gathering bootstrap journals ... DEBUG Gathering bootstrap containers ... DEBUG Gathering rendered assets... DEBUG Gathering cluster resources ... DEBUG error: the server doesn't have a resource type "pods" DEBUG error: the server doesn't have a resource type "nodes" DEBUG error: the server doesn't have a resource type "nodes" DEBUG error: the server doesn't have a resource type "apiservices" DEBUG error: the server doesn't have a resource type "pods" DEBUG error: the server doesn't have a resource type "clusterversion" DEBUG error: the server doesn't have a resource type "clusteroperators" DEBUG Waiting for logs ... DEBUG error: the server doesn't have a resource type "csr" DEBUG error: the server doesn't have a resource type "configmaps" DEBUG error: the server doesn't have a resource type "kubecontrollermanager" DEBUG error: the server doesn't have a resource type "kubeapiserver" DEBUG error: the server doesn't have a resource type "events" DEBUG error: the server doesn't have a resource type "endpoints" DEBUG error: the server doesn't have a resource type "machineconfigpools" DEBUG error: the server doesn't have a resource type "machineconfigs" DEBUG error: the server doesn't have a resource type "namespaces" DEBUG error: the server doesn't have a resource type "nodes" DEBUG error: the server doesn't have a resource type "openshiftapiserver" DEBUG error: the server doesn't have a resource type "pods" DEBUG error: the server doesn't have a resource type "secrets" DEBUG error: the server doesn't have a resource type "roles" DEBUG error: the server doesn't have a resource type "services" DEBUG error: the server doesn't have a resource type "rolebindings" DEBUG error: the server doesn't have a resource type "secrets" DEBUG Error from server (NotFound): the server could not find the requested resource DEBUG Gather remote logs DEBUG Collecting info from 192.168.0.16 EBUG Warning: Permanently added '192.168.0.16' (ECDSA) to the list of known hosts. DEBUG Gathering master journals ... DEBUG Gathering master containers ... DEBUG Waiting for logs ... DEBUG Collecting info from 192.168.0.14 EBUG Warning: Permanently added '192.168.0.14' (ECDSA) to the list of known hosts. DEBUG Gathering master journals ... DEBUG Gathering master containers ... DEBUG Waiting for logs ... DEBUG Collecting info from 192.168.0.24 EBUG Warning: Permanently added '192.168.0.24' (ECDSA) to the list of known hosts. DEBUG Gathering master journals ... DEBUG Gathering master containers ... DEBUG Waiting for logs ... DEBUG Log bundle written to ~/log-bundle.tar.gz INFO Bootstrap gather logs captured here "log-bundle-20190826110214.tar.gz" Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:2922 |