minishift: Unable to install minishift on my ArchLinux machine using virtualbox
Hi, I Couldn’t set up minishift on my ArchLinux machine. Is it because the service doesn’t serve on https yet?
I0421 06:12:12.992567 3269 logs.go:41] http: TLS handshake error from 192.168.99.1:43004: read tcp4 192.168.99.100:8443->192.168.99.1:43004: read: connection reset by peer
I can access the same url on an insecure connection

Here are the logs
Downloading OpenShift binary 'oc' version 'v1.5.0-rc.0'
19.96 MB / 19.96 MB [======================================================================================================================================] 100.00% 0s
-- Checking OpenShift client ... OK
-- Checking Docker client ... OK
-- Checking Docker version ... OK
-- Checking for existing OpenShift container ... OK
-- Checking for openshift/origin:v1.5.0-rc.0 image ...
Pulling image openshift/origin:v1.5.0-rc.0
Pulled 0/3 layers, 3% complete
Pulled 0/3 layers, 25% complete
Pulled 0/3 layers, 47% complete
Pulled 0/3 layers, 64% complete
Pulled 1/3 layers, 75% complete
Pulled 1/3 layers, 88% complete
Pulled 2/3 layers, 92% complete
Pulled 3/3 layers, 100% complete
Extracting
Image pull complete
-- Checking Docker daemon configuration ... OK
-- Checking for available ports ... OK
-- Checking type of volume mount ...
Using Docker shared volumes for OpenShift volumes
-- Creating host directories ... OK
-- Finding server IP ...
Using 192.168.99.100 as the server IP
-- Starting OpenShift container ...
Creating initial OpenShift configuration
Starting OpenShift using container 'origin'
Waiting for API server to start listening
FAIL
Error: cannot access master readiness URL https://192.168.99.100:8443/healthz/ready
Details:
Last 10 lines of "origin" container log:
I0421 06:12:12.114015 3269 logs.go:41] warning: ignoring ServerName for user-provided CA for backwards compatibility is deprecated
I0421 06:12:12.116696 3269 logs.go:41] warning: ignoring ServerName for user-provided CA for backwards compatibility is deprecated
I0421 06:12:12.121183 3269 logs.go:41] warning: ignoring ServerName for user-provided CA for backwards compatibility is deprecated
E0421 06:12:12.766162 3269 reflector.go:199] github.com/openshift/origin/vendor/k8s.io/kubernetes/plugin/pkg/admission/serviceaccount/admission.go:119: Failed to list *api.Secret: User "system:openshift-master" cannot list all secrets in the cluster
E0421 06:12:12.865270 3269 reflector.go:199] github.com/openshift/origin/vendor/k8s.io/kubernetes/plugin/pkg/admission/resourcequota/resource_access.go:83: Failed to list *api.ResourceQuota: User "system:openshift-master" cannot list all resourcequotas in the cluster
E0421 06:12:12.867770 3269 reflector.go:199] github.com/openshift/origin/vendor/k8s.io/kubernetes/plugin/pkg/admission/serviceaccount/admission.go:103: Failed to list *api.ServiceAccount: User "system:openshift-master" cannot list all serviceaccounts in the cluster
E0421 06:12:12.897407 3269 reflector.go:188] github.com/openshift/origin/pkg/project/cache/cache.go:107: Failed to list *api.Namespace: User "system:openshift-master" cannot list all namespaces in the cluster
E0421 06:12:12.897990 3269 reflector.go:199] github.com/openshift/origin/vendor/k8s.io/kubernetes/plugin/pkg/admission/storageclass/default/admission.go:75: Failed to list *storage.StorageClass: User "system:openshift-master" cannot list all storage.k8s.io.storageclasses in the cluster
E0421 06:12:12.907630 3269 reflector.go:199] github.com/openshift/origin/pkg/controller/shared/shared_informer.go:101: Failed to list *api.ClusterResourceQuota: User "system:openshift-master" cannot list all clusterresourcequotas in the cluster
I0421 06:12:12.992567 3269 logs.go:41] http: TLS handshake error from 192.168.99.1:43004: read tcp4 192.168.99.100:8443->192.168.99.1:43004: read: connection reset by peer
Error starting the cluster.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 24 (17 by maintainers)
Using the latest version of minishift v1.6.0, it works fine on my Arch Linux setup.
I don’t see any error starting the VM it’s after you start the VM, the OC is causing the error.
@karthikvt26 you might want to try a clean new install of virtualbox. if you are on the Arch Linux default kernel then choose the
virtualbox-host-modules-archprovider for the host modules while installingvirtualboxpackage, then install thelinux-headerspackage[1]. Do a reboot, and it should work fine. Hope that helps.[1] https://wiki.archlinux.org/index.php/VirtualBox#Install_the_core_packages
From now on, @anjannath is our Argh Linux guy 😉