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

minishift

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)

Most upvoted comments

Using the latest version of minishift v1.6.0, it works fine on my Arch Linux setup.

$ minishift start --vm-driver virtualbox 
-- Starting local OpenShift cluster using 'virtualbox' hypervisor ... 
-- Starting Minishift VM .......................... OK 
-- Checking for IP address ... 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 ... 0% OK 
-- OpenShift cluster will be configured with ... 
   Version: v3.6.0 
-- Checking `oc` support for startup flags ... 
   host-config-dir ... OK 
   host-data-dir ... OK 
   host-pv-dir ... OK 
   host-volumes-dir ... OK 
   routing-suffix ... OK 
Starting OpenShift using openshift/origin:v3.6.0 ... 
Pulling image openshift/origin:v3.6.0 
Pulled 1/4 layers, 26% complete 
Pulled 1/4 layers, 47% complete 
Pulled 1/4 layers, 74% complete 
Pulled 2/4 layers, 83% complete 
Pulled 3/4 layers, 88% complete 
Pulled 4/4 layers, 100% complete 
Extracting 
Image pull complete 
OpenShift server started. 

The server is accessible via web console at: 
    https://192.168.99.100:8443 

You are logged in as: 
    User:     developer 
    Password: <any value> 

To login as administrator: 
    oc login -u system:admin 

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-arch provider for the host modules while installing virtualbox package, then install the linux-headers package[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 😉