Bug 2114754
Summary: | "gather bootstrap" creates unexpected folder "serial-log-bundle-<timestamp>" beyond "log-bundle-<timestamp>.tar.gz" | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Jianli Wei <jiwei> |
Component: | Installer | Assignee: | Rafael Fonseca <rdossant> |
Installer sub component: | openshift-installer | QA Contact: | Jianli Wei <jiwei> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | medium | ||
Priority: | medium | CC: | gpei, rdossant |
Version: | 4.12 | ||
Target Milestone: | --- | ||
Target Release: | 4.12.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: | 2023-01-17 19:54:14 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
Jianli Wei
2022-08-03 08:36:51 UTC
Verified with 4.12.0-0.nightly-2022-08-07-180207. $ openshift-install version openshift-install 4.12.0-0.nightly-2022-08-07-180207 built from commit 3f27a2e7bedf151101feaa6f4df92b7e052fcd48 release image registry.ci.openshift.org/ocp/release@sha256:61eaa88c2476f6b1cab9300041f485d4e7af712b1fc5a2f226096722aca118b8 release architecture amd64 $ openshift-install create ignition-configs --dir test2 ? SSH Public Key /home/fedora/.ssh/openshift-qe.pub ? Platform gcp INFO Credentials loaded from file "/home/fedora/.gcp/osServiceAccount.json" ? Project ID OpenShift QE (openshift-qe) ? Region us-central1 ? Base Domain qe.gcp.devcluster.openshift.com ? Cluster Name jiwei-0808-03 ? Pull Secret [? for help] ****** INFO Ignition-Configs created in: test2 and test2/auth $ $ sed -i 's/jiwei-0808-03/foo/' test2/master.ign $ $ openshift-install create cluster --dir test2 WARNING Discarding the Bootstrap Ignition Config that was provided in the target directory because its dependencies are dirty and it needs to be regenerated INFO Master pointer ignition was modified. Saving contents to a machineconfig INFO Credentials loaded from file "/home/fedora/.gcp/osServiceAccount.json" INFO Consuming Bootstrap Ignition Config from target directory INFO Consuming Master Ignition Config from target directory INFO Consuming Worker Ignition Config from target directory INFO Creating infrastructure resources... INFO Waiting up to 20m0s (until 7:35AM) for the Kubernetes API at https://api.jiwei-0808-03.qe.gcp.devcluster.openshift.com:6443... INFO API v1.24.0+a9d6306 up INFO Waiting up to 30m0s (until 7:46AM) for bootstrapping to complete... INFO Pulling VM console logs INFO Pulling debug logs from the bootstrap machine ERROR Bootstrap failed to complete: timed out waiting for the condition ERROR Failed to wait for bootstrapping to complete. This error usually happens when there is a problem with control plane hosts that prevents the control plane operators from creating the control plane. INFO Bootstrap gather logs captured here "/home/fedora/test2/log-bundle-20220808074621.tar.gz" $ $ tar zxvf test2/log-bundle-20220808074621.tar.gz ... $ ls log-bundle-20220808074621/ -l total 28 drwxrwxr-x. 8 fedora fedora 4096 Aug 8 2022 bootstrap drwxrwxr-x. 5 fedora fedora 4096 Aug 8 2022 control-plane -rw-rw-r--. 1 fedora fedora 139 Aug 8 2022 failed-units.txt -rw-rw-r--. 1 fedora fedora 3567 Aug 8 2022 gather.log drwxrwxr-x. 3 fedora fedora 4096 Aug 8 2022 rendered-assets drwxrwxr-x. 2 fedora fedora 4096 Aug 8 07:47 serial drwxrwxr-x. 2 fedora fedora 4096 Aug 8 2022 unit-status $ ls log-bundle-20220808074621/serial/ -l total 1896 -rw-rw-r--. 1 fedora fedora 155820 Aug 8 07:46 jiwei-0808-03-jtdb2-bootstrap-serial.log -rw-rw-r--. 1 fedora fedora 592313 Aug 8 07:46 jiwei-0808-03-jtdb2-master-0-serial.log -rw-rw-r--. 1 fedora fedora 592303 Aug 8 07:46 jiwei-0808-03-jtdb2-master-1-serial.log -rw-rw-r--. 1 fedora fedora 592824 Aug 8 07:46 jiwei-0808-03-jtdb2-master-2-serial.log $ $ openshift-install destroy cluster --dir test2 INFO Credentials loaded from file "/home/fedora/.gcp/osServiceAccount.json" INFO Stopped instance jiwei-0808-03-jtdb2-bootstrap INFO Stopped instance jiwei-0808-03-jtdb2-master-1 INFO Stopped instance jiwei-0808-03-jtdb2-master-2 INFO Stopped instance jiwei-0808-03-jtdb2-master-0 INFO Deleted IAM project role bindings INFO Deleted service account projects/openshift-qe/serviceAccounts/jiwei-0808-0-openshift-g-zq9tc.gserviceaccount.com INFO Deleted service account projects/openshift-qe/serviceAccounts/jiwei-0808-0-openshift-c-kjv9l.gserviceaccount.com INFO Deleted service account projects/openshift-qe/serviceAccounts/jiwei-0808-03-jtdb2-w.gserviceaccount.com INFO Deleted service account projects/openshift-qe/serviceAccounts/jiwei-0808-0-openshift-i-tpwsw.gserviceaccount.com INFO Deleted service account projects/openshift-qe/serviceAccounts/jiwei-0808-0-openshift-m-kljfs.gserviceaccount.com INFO Deleted service account projects/openshift-qe/serviceAccounts/jiwei-0808-0-cloud-crede-h96l2.gserviceaccount.com INFO Deleted service account projects/openshift-qe/serviceAccounts/jiwei-0808-0-openshift-i-mtj9l.gserviceaccount.com INFO Deleted service account projects/openshift-qe/serviceAccounts/jiwei-0808-03-jtdb2-m.gserviceaccount.com INFO Deleted 1 recordset(s) in zone qe INFO Deleted 2 recordset(s) in zone jiwei-0808-03-jtdb2-private-zone INFO Deleted DNS zone jiwei-0808-03-jtdb2-private-zone INFO Deleted bucket object bootstrap.ign INFO Deleted bucket jiwei-0808-03-jtdb2-bootstrap-ignition INFO Deleted instance jiwei-0808-03-jtdb2-bootstrap INFO Deleted instance jiwei-0808-03-jtdb2-master-0 INFO Deleted instance jiwei-0808-03-jtdb2-master-1 INFO Deleted instance jiwei-0808-03-jtdb2-master-2 INFO Deleted disk jiwei-0808-03-jtdb2-bootstrap INFO Deleted disk jiwei-0808-03-jtdb2-master-0 INFO Deleted disk jiwei-0808-03-jtdb2-master-1 INFO Deleted disk jiwei-0808-03-jtdb2-master-2 INFO Deleted firewall rule jiwei-0808-03-jtdb2-control-plane INFO Deleted firewall rule jiwei-0808-03-jtdb2-etcd INFO Deleted firewall rule jiwei-0808-03-jtdb2-health-checks INFO Deleted firewall rule jiwei-0808-03-jtdb2-internal-cluster INFO Deleted firewall rule jiwei-0808-03-jtdb2-internal-network INFO Deleted firewall rule jiwei-0808-03-jtdb2-api INFO Deleted firewall rule jiwei-0808-03-jtdb2-bootstrap-in-ssh INFO Deleted address jiwei-0808-03-jtdb2-bootstrap-ip INFO Deleted address jiwei-0808-03-jtdb2-cluster-ip INFO Deleted address jiwei-0808-03-jtdb2-cluster-public-ip INFO Deleted forwarding rule jiwei-0808-03-jtdb2-api INFO Deleted forwarding rule jiwei-0808-03-jtdb2-api-internal INFO Deleted router jiwei-0808-03-jtdb2-router INFO Deleted subnetwork jiwei-0808-03-jtdb2-worker-subnet INFO Deleted target pool jiwei-0808-03-jtdb2-api INFO Deleted backend service jiwei-0808-03-jtdb2-api-internal INFO Deleted subnetwork jiwei-0808-03-jtdb2-master-subnet INFO Deleted instance group jiwei-0808-03-jtdb2-bootstrap INFO Deleted instance group jiwei-0808-03-jtdb2-master-us-central1-a INFO Deleted instance group jiwei-0808-03-jtdb2-master-us-central1-c INFO Deleted instance group jiwei-0808-03-jtdb2-master-us-central1-b INFO Deleted health check jiwei-0808-03-jtdb2-api-internal INFO Deleted HTTP health check jiwei-0808-03-jtdb2-api INFO Deleted network jiwei-0808-03-jtdb2-network INFO Time elapsed: 4m35s $ 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 (Moderate: OpenShift Container Platform 4.12.0 bug fix and security update), 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/RHSA-2022:7399 |