Skip to content
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

api server issue ..timing out #3548

Open
subodhraj opened this issue Jan 13, 2022 · 0 comments
Open

api server issue ..timing out #3548

subodhraj opened this issue Jan 13, 2022 · 0 comments

Comments

@subodhraj
Copy link

C:\Users\USER\Downloads\minishift-1.34.3-windows-amd64>minishift start --vm-driver=virtualbox
-- Starting profile 'minishift'
-- Check if deprecated options are used ... OK
-- Checking if https://github.com is reachable ... OK
-- Checking if requested OpenShift version 'v3.11.0' is valid ... OK
-- Checking if requested OpenShift version 'v3.11.0' is supported ... OK
-- Checking if requested hypervisor 'virtualbox' is supported on this platform ... OK
-- Checking if VirtualBox is installed ... OK
-- Checking the ISO URL ... OK
-- Downloading OpenShift binary 'oc' version 'v3.11.0'
53.59 MiB / 53.59 MiB [===================================================================================] 100.00% 0s-- Downloading OpenShift v3.11.0 checksums ... OK
-- Checking if provided oc flags are supported ... OK
-- Starting the OpenShift cluster using 'virtualbox' hypervisor ...
-- Minishift VM will be configured with ...
Memory: 4 GB
vCPUs : 2
Disk size: 20 GB

Downloading ISO 'https://github.com/minishift/minishift-centos-iso/releases/download/v1.17.0/minishift-centos7.iso'
375.00 MiB / 375.00 MiB [=================================================================================] 100.00% 0s
-- Starting Minishift VM ................................. OK
-- Checking for IP address ... OK
-- Checking for nameservers ... OK
-- Checking if external host is reachable from the Minishift VM ...
Pinging 8.8.8.8 ... OK
-- Checking HTTP connectivity from the VM ...
Retrieving http://minishift.io/index.html ... OK
-- Checking if persistent storage volume is mounted ... OK
-- Checking available disk space ... 1% used OK
-- Writing current configuration for static assignment of IP address ... OK
Importing 'openshift/origin-control-plane:v3.11.0' . CACHE MISS
Importing 'openshift/origin-docker-registry:v3.11.0' . CACHE MISS
Importing 'openshift/origin-haproxy-router:v3.11.0' . CACHE MISS
-- OpenShift cluster will be configured with ...
Version: v3.11.0
-- Pulling the OpenShift Container Image ........................ OK
-- Copying oc binary from the OpenShift container image to VM ... OK
-- Starting OpenShift cluster .....................................................................Error during 'cluster up' execution: Error starting the cluster. ssh command error:
command : /var/lib/minishift/bin/oc cluster up --base-dir /var/lib/minishift/base --image 'openshift/origin-${component}:v3.11.0' --public-hostname 192.168.99.103 --routing-suffix 192.168.99.103.nip.io
err : Process exited with status 1
output : Getting a Docker client ...
Checking if image openshift/origin-control-plane:v3.11.0 is available ...
Pulling image openshift/origin-cli:v3.11.0
E0113 05:57:50.874950 2834 helper.go:173] Reading docker config from /home/docker/.docker/config.json failed: open /home/docker/.docker/config.json: no such file or directory, will attempt to pull image docker.io/openshift/origin-cli:v3.11.0 anonymously
Image pull complete
E0113 05:57:51.838545 2834 helper.go:173] Reading docker config from /home/docker/.docker/config.json failed: open /home/docker/.docker/config.json: no such file or directory, will attempt to pull image docker.io/openshift/origin-node:v3.11.0 anonymously
Pulling image openshift/origin-node:v3.11.0
Pulled 5/6 layers, 89% complete
Pulled 6/6 layers, 100% complete
Extracting
Image pull complete
Checking type of volume mount ...
Determining server IP ...
Using public hostname IP 192.168.99.103 as the host IP
Checking if OpenShift is already running ...
Checking for supported Docker version (=>1.22) ...
Checking if insecured registry is configured properly in Docker ...
Checking if required ports are available ...
Checking if OpenShift client is configured properly ...
Checking if image openshift/origin-control-plane:v3.11.0 is available ...
Starting OpenShift using openshift/origin-control-plane:v3.11.0 ...
I0113 05:58:17.227651 2834 config.go:40] Running "create-master-config"
I0113 05:58:25.875890 2834 config.go:46] Running "create-node-config"
I0113 05:58:29.648345 2834 flags.go:30] Running "create-kubelet-flags"
I0113 05:58:30.430079 2834 run_kubelet.go:49] Running "start-kubelet"
I0113 05:58:30.795828 2834 run_self_hosted.go:181] Waiting for the kube-apiserver to be ready ...
E0113 06:03:30.804785 2834 run_self_hosted.go:571] API server error: Get https://192.168.99.103:8443/healthz?timeout=32s: dial tcp 192.168.99.103:8443: connect: connection refused ()
Error: timed out waiting for the condition

C:\Users\USER\Downloads\minishift-1.34.3-windows-amd64>minishift delete
You are deleting the Minishift VM: 'minishift'. Do you want to continue [y/N]?: y
Unable to delete entries from kube config: open C:\Users\USER.kube\config: The system cannot find the path specified.
Deleting the Minishift VM...
Minishift VM deleted.

C:\Users\USER\Downloads\minishift-1.34.3-windows-amd64>minishift config set memory 6G
No Minishift instance exists. New 'memory' setting will be applied on next 'minishift start'

C:\Users\USER\Downloads\minishift-1.34.3-windows-amd64>minishift config set vm-driver virtualbox
No Minishift instance exists. New 'vm-driver' setting will be applied on next 'minishift start'

C:\Users\USER\Downloads\minishift-1.34.3-windows-amd64>minishift addons install --default
Error: unknown flag: --default
Usage:
minishift addons install [SOURCE] [flags]

Flags:
--defaults If true, installs all default add-ons. (anyuid, admin-user, xpaas, registry-route, che, htpasswd-identity-provider, admissions-webhook, redhat-registry-login)
--enable If true, installs and enables the specified add-on with the default priority.
-f, --force Forces the installation of the add-on even if the add-on was previously installed.
-h, --help help for install

Global Flags:
--alsologtostderr log to standard error as well as files
--log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0)
--log_dir string If non-empty, write log files in this directory (default "")
--logtostderr log to standard error instead of files
--profile string Profile name (default "minishift")
--show-libmachine-logs Show logs from libmachine.
--stderrthreshold severity logs at or above this threshold go to stderr (default 2)
-v, --v Level log level for V logs. Level varies from 1 to 5 (default 1).
--vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging

unknown flag: --default

C:\Users\USER\Downloads\minishift-1.34.3-windows-amd64>minishift addons install --defaults
Default add-ons 'anyuid, admin-user, xpaas, registry-route, che, htpasswd-identity-provider, admissions-webhook, redhat-registry-login' installed

C:\Users\USER\Downloads\minishift-1.34.3-windows-amd64>minishift addons enable admin-user
Add-on 'admin-user' enabled

C:\Users\USER\Downloads\minishift-1.34.3-windows-amd64>touch ram
'touch' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\USER\Downloads\minishift-1.34.3-windows-amd64>minishift start
-- Starting profile 'minishift'
-- Check if deprecated options are used ... OK
-- Checking if https://github.com is reachable ... OK
-- Checking if requested OpenShift version 'v3.11.0' is valid ... OK
-- Checking if requested OpenShift version 'v3.11.0' is supported ... OK
-- Checking if requested hypervisor 'virtualbox' is supported on this platform ... OK
-- Checking if VirtualBox is installed ... OK
-- Checking the ISO URL ... OK
-- Checking if provided oc flags are supported ... OK
-- Starting the OpenShift cluster using 'virtualbox' hypervisor ...
-- Minishift VM will be configured with ...
Memory: 6 GB
vCPUs : 2
Disk size: 20 GB
-- Starting Minishift VM ........................................ OK
-- Checking for IP address ... OK
-- Checking for nameservers ... OK
-- Checking if external host is reachable from the Minishift VM ...
Pinging 8.8.8.8 ... OK
-- Checking HTTP connectivity from the VM ...
Retrieving http://minishift.io/index.html ... OK
-- Checking if persistent storage volume is mounted ... OK
-- Checking available disk space ... 1% used OK
-- Writing current configuration for static assignment of IP address ... OK
Importing 'openshift/origin-control-plane:v3.11.0' . CACHE MISS
Importing 'openshift/origin-docker-registry:v3.11.0' . CACHE MISS
Importing 'openshift/origin-haproxy-router:v3.11.0' . CACHE MISS
-- OpenShift cluster will be configured with ...
Version: v3.11.0
-- Pulling the OpenShift Container Image ...................... OK
-- Copying oc binary from the OpenShift container image to VM ... OK
-- Starting OpenShift cluster ..............................................................Error during 'cluster up' execution: Error starting the cluster. ssh command error:
command : /var/lib/minishift/bin/oc cluster up --base-dir /var/lib/minishift/base --image 'openshift/origin-${component}:v3.11.0' --public-hostname 192.168.99.104 --routing-suffix 192.168.99.104.nip.io
err : Process exited with status 1
output : Getting a Docker client ...
Checking if image openshift/origin-control-plane:v3.11.0 is available ...
E0113 06:12:30.479776 2826 helper.go:173] Reading docker config from /home/docker/.docker/config.json failed: open /home/docker/.docker/config.json: no such file or directory, will attempt to pull image docker.io/openshift/origin-cli:v3.11.0 anonymously
Pulling image openshift/origin-cli:v3.11.0
Image pull complete
E0113 06:12:31.408538 2826 helper.go:173] Reading docker config from /home/docker/.docker/config.json failed: open /home/docker/.docker/config.json: no such file or directory, will attempt to pull image docker.io/openshift/origin-node:v3.11.0 anonymously
Pulling image openshift/origin-node:v3.11.0
Pulled 5/6 layers, 89% complete
Pulled 6/6 layers, 100% complete
Extracting
Image pull complete
Checking type of volume mount ...
Determining server IP ...
Using public hostname IP 192.168.99.104 as the host IP
Checking if OpenShift is already running ...
Checking for supported Docker version (=>1.22) ...
Checking if insecured registry is configured properly in Docker ...
Checking if required ports are available ...
Checking if OpenShift client is configured properly ...
Checking if image openshift/origin-control-plane:v3.11.0 is available ...
Starting OpenShift using openshift/origin-control-plane:v3.11.0 ...
I0113 06:12:57.342497 2826 config.go:40] Running "create-master-config"
I0113 06:13:07.102908 2826 config.go:46] Running "create-node-config"
I0113 06:13:10.308403 2826 flags.go:30] Running "create-kubelet-flags"
I0113 06:13:11.185233 2826 run_kubelet.go:49] Running "start-kubelet"
I0113 06:13:11.613206 2826 run_self_hosted.go:181] Waiting for the kube-apiserver to be ready ...
E0113 06:18:12.204507 2826 run_self_hosted.go:571] API server error: Get https://192.168.99.104:8443/healthz?timeout=32s: dial tcp 192.168.99.104:8443: connect: connection refused ()
Error: timed out waiting for the condition

C:\Users\USER\Downloads\minishift-1.34.3-windows-amd64>

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