Skip to content

Instantly share code, notes, and snippets.

@oatmealraisin
Created August 18, 2017 17:44
Show Gist options
  • Save oatmealraisin/6479bab7dac1f049333fda17a1c48fc9 to your computer and use it in GitHub Desktop.
Save oatmealraisin/6479bab7dac1f049333fda17a1c48fc9 to your computer and use it in GitHub Desktop.
oc cluster up --use-existing-config
Starting OpenShift using openshift/origin:v3.6.0 ...
-- Checking OpenShift client ... OK
-- Checking Docker client ... OK
-- Checking Docker version ... OK
-- Checking for existing OpenShift container ... OK
-- Checking for openshift/origin:v3.6.0 image ... OK
-- 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 127.0.0.1 as the server IP
-- Starting OpenShift container ...
Starting OpenShift using container 'origin'
Waiting for API server to start listening
OpenShift server started
-- Adding default OAuthClient redirect URIs ... OK
-- Installing registry ... OK
-- Installing router ... FAIL
Error: error creating router
Caused By:
Error: Docker exec error
Details:
Container: origin
Command: [oc adm router --host-ports=true --host-network=true --images=openshift/origin-${component}:v3.6.0 --default-cert=/var/lib/origin/openshift.local.config/master/router.pem]
Result Code: 1
Error Output:
error: router could not be created; service account "router" is not allowed to access the host network on nodes, grant access with oadm policy add-scc-to-user hostnetwork -z router
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment