-
Notifications
You must be signed in to change notification settings - Fork 190
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
Kubernetes API is not available after install using latest dev-scripts #771
Comments
Can you get the bootkube log from the bootstrap VM? |
boostrap vm log [chwen@dell-r730-058 dev-scripts]$ ./bootstrap_openshift_log.sh Attempting to follow openshift.service on 192.168.111.56 ... Warning: Permanently added '192.168.111.56' (ECDSA) to the list of known hosts. -- Logs begin at Tue 2019-08-27 08:14:05 UTC. -- Aug 28 00:54:12 localhost openshift.sh[1675]: error: unable to recognize "./90_metal3_baremetalhost_crd.yaml": Get https://localhost:6443/api?timeout=32s: dial tcp [::1]:6443: connect: connection refused Aug 28 00:54:12 localhost openshift.sh[1675]: kubectl create --filename ./90_metal3_baremetalhost_crd.yaml failed. Retrying in 5 seconds... Aug 28 00:54:17 localhost openshift.sh[1675]: error: unable to recognize "./90_metal3_baremetalhost_crd.yaml": Get https://localhost:6443/api?timeout=32s: dial tcp [::1]:6443: connect: connection refused Aug 28 00:54:17 localhost openshift.sh[1675]: kubectl create --filename ./90_metal3_baremetalhost_crd.yaml failed. Retrying in 5 seconds... Aug 28 00:54:22 localhost openshift.sh[1675]: error: unable to recognize "./90_metal3_baremetalhost_crd.yaml": Get https://localhost:6443/api?timeout=32s: dial tcp [::1]:6443: connect: connection refused Aug 28 00:54:22 localhost openshift.sh[1675]: kubectl create --filename ./90_metal3_baremetalhost_crd.yaml failed. Retrying in 5 seconds... Aug 28 00:54:27 localhost openshift.sh[1675]: error: unable to recognize "./90_metal3_baremetalhost_crd.yaml": Get https://localhost:6443/api?timeout=32s: dial tcp [::1]:6443: connect: connection refused Aug 28 00:54:27 localhost openshift.sh[1675]: kubectl create --filename ./90_metal3_baremetalhost_crd.yaml failed. Retrying in 5 seconds... Aug 28 00:54:32 localhost openshift.sh[1675]: error: unable to recognize "./90_metal3_baremetalhost_crd.yaml": Get https://localhost:6443/api?timeout=32s: dial tcp [::1]:6443: connect: connection refused Aug 28 00:54:32 localhost openshift.sh[1675]: kubectl create --filename ./90_metal3_baremetalhost_crd.yaml failed. Retrying in 5 seconds... Aug 28 00:54:37 localhost openshift.sh[1675]: error: unable to recognize "./90_metal3_baremetalhost_crd.yaml": Get https://localhost:6443/api?timeout=32s: dial tcp [::1]:6443: connect: connection refused Aug 28 00:54:37 localhost openshift.sh[1675]: kubectl create --filename ./90_metal3_baremetalhost_crd.yaml failed. Retrying in 5 seconds... Aug 28 00:54:43 localhost openshift.sh[1675]: error: unable to recognize "./90_metal3_baremetalhost_crd.yaml": Get https://localhost:6443/api?timeout=32s: dial tcp [::1]:6443: connect: connection refused Aug 28 00:54:43 localhost openshift.sh[1675]: kubectl create --filename ./90_metal3_baremetalhost_crd.yaml failed. Retrying in 5 seconds... Aug 28 00:54:48 localhost openshift.sh[1675]: error: unable to recognize "./90_metal3_baremetalhost_crd.yaml": Get https://localhost:6443/api?timeout=32s: dial tcp [::1]:6443: connect: connection refused Aug 28 00:54:48 localhost openshift.sh[1675]: kubectl create --filename ./90_metal3_baremetalhost_crd.yaml failed. Retrying in 5 seconds... Aug 28 00:54:53 localhost openshift.sh[1675]: error: unable to recognize "./90_metal3_baremetalhost_crd.yaml": Get https://localhost:6443/api?timeout=32s: dial tcp [::1]:6443: connect: connection refused Aug 28 00:54:53 localhost openshift.sh[1675]: kubectl create --filename ./90_metal3_baremetalhost_crd.yaml failed. Retrying in 5 seconds... Aug 28 00:54:58 localhost openshift.sh[1675]: error: unable to recognize "./90_metal3_baremetalhost_crd.yaml": Get https://localhost:6443/api?timeout=32s: dial tcp [::1]:6443: connect: connection refused Aug 28 00:54:58 localhost openshift.sh[1675]: kubectl create --filename ./90_metal3_baremetalhost_crd.yaml failed. Retrying in 5 seconds.. |
You're most likely hitting the issue we found with podman on the current verison of rhcos. podman isn't returning exit codes correctly, so when etcd fails to start the first time, bootkube doesn't retry. We need openshift/installer to update their rhcos release, and then merge #766 |
Closed via #766 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
install console log
master node log for etcd
The text was updated successfully, but these errors were encountered: