openshift / installer

Install an OpenShift 4.x cluster
https://try.openshift.com
Apache License 2.0
1.44k stars 1.38k forks source link

OpenShift 4.2 baremetal install fails #2732

Closed vinothkumar437 closed 4 years ago

vinothkumar437 commented 4 years ago

Attaching screenshot please help me to resolve it.

From Master Node

master

From Worker Node

worker

Please let me know, if any other details are required.

abhinavdahiya commented 4 years ago

we have an issue template https://github.com/openshift/installer/blob/master/.github/ISSUE_TEMPLATE.md that asks users some basic information like what version of the installer, which commands did you run, the install-config.yaml (if used), attaching .openshift_install.log file etc.

So if you can provide those details that would help.

vinothkumar437 commented 4 years ago

attaching .openshift_install.log

time="2019-12-03T02:55:26+05:30" level=debug msg="Generating \"Metadata\"..." time="2019-12-03T03:03:09+05:30" level=debug msg="OpenShift Installer v4.2.4" time="2019-12-03T03:03:09+05:30" level=debug msg="Built from commit 425e4ff0037487e32571258640b39f56d5ee5572" time="2019-12-03T03:03:09+05:30" level=info msg="Waiting up to 30m0s for the Kubernetes API at https://api.test.example.c om:6443..." time="2019-12-03T03:03:09+05:30" level=debug msg="Still waiting for the Kubernetes API: Get https://api.test.example.com: 6443/version?timeout=32s: http: server gave HTTP response to HTTPS client" time="2019-12-03T03:03:39+05:30" level=debug msg="Still waiting for the Kubernetes API: Get https://api.test.example.com: 6443/version?timeout=32s: http: server gave HTTP response to HTTPS client" time="2019-12-03T03:04:09+05:30" level=debug msg="Still waiting for the Kubernetes API: Get https://api.test.example.com:6443/version?timeout=32s: http: server gave HTTP response to HTTPS client" time="2019-12-03T03:04:39+05:30" level=debug msg="Still waiting for the Kubernetes API: Get https://api.test.example.com:6443/version?timeout=32s: http: server gave HTTP response to HTTPS client" time="2019-12-03T03:05:09+05:30" level=debug msg="Still waiting for the Kubernetes API: Get https://api.test.example.com:6443/version?timeout=32s: http: server gave HTTP response to HTTPS client" time="2019-12-03T03:05:39+05:30" level=debug msg="Still waiting for the Kubernetes API: Get https://api.test.example.com:6443/version?timeout=32s: http: server gave HTTP response to HTTPS client" time="2019-12-03T03:06:09+05:30" level=debug msg="Still waiting for the Kubernetes API: Get https://api.test.example.com:6443/version?timeout=32s: http: server gave HTTP response to HTTPS client" time="2019-12-03T03:06:39+05:30" level=debug msg="Still waiting for the Kubernetes API: Get https://api.test.example.com:6443/version?timeout=32s: http: server gave HTTP response to HTTPS client"

vinothkumar437 commented 4 years ago

openshift-install --dir=dir01/ wait-for bootstrap-complete --log-level=info

[root@bootstrap-0 install]# cat install-config.yaml apiVersion: v1 baseDomain: example.com compute:

vinothkumar437 commented 4 years ago

please find the requested information, please help me to resolve this issue.

Regards Vinothkumar P

abhinavdahiya commented 4 years ago

https://github.com/openshift/installer/issues/2732#issuecomment-560462912

updated the comment for clearer install-config.yaml

openshift-install --dir=dir01/ wait-for bootstrap-complete --log-level=info
[root@bootstrap-0 install]# cat install-config.yaml
apiVersion: v1
baseDomain: example.com
compute:
- hyperthreading: Enabled
  name: worker
  replicas: 0
controlPlane:
  hyperthreading: Enabled
  name: master
  replicas: 1
metadata:
  name: test
networking:
  clusterNetwork:
  - cidr: 10.128.0.0/14
    hostPrefix: 23
  networkType: OpenShiftSDN
  serviceNetwork:
  - 172.30.0.0/16
platform:
  none: {}
pullSecret: '{"auths":{"bootstrap-0.example.com:5000": {"auth": "ZHVtbXk6ZHVtbXk="}}}'
sshKey: 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDU3o5UQtW/2VTcoadDP1tKa97zaH8fNWmRlsT2WlnAtwwik91pTfZ1Iowmn40TmPenyVC66GS5qOQUE0qqb3Jdtf9/ayZJRXfMrMeYfyivJ9vujVML9O3KlFzQgOXXaPSeGlDFp9GNK06dQExb0SO8RvcAEWKjo+tz8A8imMhidP0jF9nS+DMAZpRgp3aLh1gkzQvou/jwjJkuEWn89aBDLZQAOlNI+Ex1BdL3ZgZNKpz/pvK2Hx6Oezu1rnIXrFBRHRwUMPqeeAdgbfh/xsZ9SKpoiwAUGFiYMFccXWp0eg8HchJ+fIjs2asyAzEzFeMukcWQ7Bng7k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vLXh48uJw4oiCFXJnyJhniw=
  -----END CERTIFICATE-----
imageContentSources:
- mirrors:
  - bootstrap-0.example.com:5000/ocp4/openshift4
  source: quay.io/openshift-release-dev/ocp-release-nightly
- mirrors:
  - bootstrap-0.example.com:5000/ocp4/openshift4
  source: quay.io/openshift-release-dev/ocp-v4.0-art-dev
[root@bootstrap-0 install]#

please find the requested information, please help me to resolve this issue. time="2019-12-03T03:03:09+05:30" level=debug msg="OpenShift Installer v4.2.4"

@vinothkumar437 you should be able to grab the logs from failed bootstrap-host using the commands..

openshift-install gather bootstrap --bootstrap <bootstrap-host-ip> --master <control-plane-0-ip> [--master <control-plane-$idx-ip> ]

If you can provide the log bundle we should be able to help further.

abhinavdahiya commented 4 years ago

Closing since it's been few weeks and there isn't information for debugging. Please reopen or consider opening a new issue with requested details.

openshift-ci-robot commented 4 years ago

@abhinavdahiya: Closing this issue.

In response to [this](https://github.com/openshift/installer/issues/2732#issuecomment-567715751): >Closing since it's been few weeks and there isn't information for debugging. Please reopen or consider opening a new issue with requested details. > > Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.