Origin: `oc cluster up` - error: cannot create volume share

Created on 10 Jul 2018  路  44Comments  路  Source: openshift/origin

oc cluster up doesn't provision an OpenShift single-node cluster on Windows. I am following the instructions for "Windows with Docker for Windows" and am unable to start the cluster at all. It seems to download the images just fine, but won't create the shared mount directory.

Version
oc v3.10.0-rc.0+c20e215
kubernetes v1.10.0+b81c8f8
features: Basic-Auth
Steps To Reproduce
  1. Install Docker for Windows
  2. Download the oc.exe binary
  3. oc cluster up
Current Result
C:\Users\klauer
位  oc cluster up
Getting a Docker client ...
Checking if image openshift/origin-control-plane:v3.10 is available ...
Creating shared mount directory on the remote host ...
error: cannot create volume share
Expected Result

I don't know, I've never had it run successfully.

componencluster-up prioritP3 simaster

Most helpful comment

Well, that's disappointing to say the least...

All 44 comments

Here's the most detailed log for oc cluster up, which is --loglevel=10:

I0709 20:51:07.318124   19904 up.go:238] Using "Always" as default image pull policy
Getting a Docker client ...
I0709 20:51:07.320094   19904 client.go:309] No Docker environment variables found. Will attempt default socket.
I0709 20:51:07.321092   19904 client.go:314] No Docker host (DOCKER_HOST) configured. Will attempt default socket.
Checking if image openshift/origin-control-plane:v3.10 is available ...
I0709 20:51:07.325117   19904 helper.go:137] Inspecting Docker image "openshift/origin-control-plane:v3.10"
I0709 20:51:07.330091   19904 helper.go:140] Image "openshift/origin-control-plane:v3.10" found: &types.ImageInspect{ID:"sha256:253bfdf20cc59eea59fb1b3c2553671df085b1daab8a50691831854d3aded57a", RepoTags:[]string{"openshift/origin-control-plane:v3.10"}, RepoDigests:[]string{"openshift/origin-control-plane@sha256:a92681221210977ce0cb3e3caf84770c3793cbf711bdf8743d3a4381aebd6121"}, Parent:"", Comment:"", Created:"2018-07-05T17:27:05.496849789Z", Container:"e88f366832fbe52241b1707249a5ad5e9fd0cdd2cb1b7d035d6a335071795373", ContainerConfig:(*container.Config)(0xc0426d8000), DockerVersion:"1.13.1", Author:"", Config:(*container.Config)(0xc0426d8140), Architecture:"amd64", Os:"linux", OsVersion:"", Size:673412645, VirtualSize:673412645, GraphDriver:types.GraphDriverData{Data:map[string]string{"MergedDir":"/var/lib/docker/overlay2/ed05f32172530b5b08d7fbe23cbbd6e922c6255c7f361e80f2c4d728962dc1e7/merged", "UpperDir":"/var/lib/docker/overlay2/ed05f32172530b5b08d7fbe23cbbd6e922c6255c7f361e80f2c4d728962dc1e7/diff", "WorkDir":"/var/lib/docker/overlay2/ed05f32172530b5b08d7fbe23cbbd6e922c6255c7f361e80f2c4d728962dc1e7/work", "LowerDir":"/var/lib/docker/overlay2/a9e036cd087cb102bf46de6bf437562c6d893250cc5ebc35fe1c1940f977288e/diff:/var/lib/docker/overlay2/998fa384c7d4bc00724a26d00bfffeb850edc9b381124a5152d7e1b9c0be5ada/diff:/var/lib/docker/overlay2/81467d49218eaecd1ca7374fa6f3da5825c9c4e03a6f6fd8f79dd3827253980f/diff:/var/lib/docker/overlay2/05b20494007b3a5b959b0febc4badeb62d29d375fe0f6a518e41404f705d1b1a/diff"}, Name:"overlay2"}, RootFS:types.RootFS{Type:"layers", Layers:[]string{"sha256:bcc97fbfc9e1a709f0eb78c1da59caeb65f43dc32cd5deeb12b8c1784e5b8237", "sha256:89d9cc3f6574f06965d5eab79fe29fc13543301a6a64c608860ca70106c6a67c", "sha256:f263c6deb88abab423028ea0b5c583e8ba0813a737b7032a8abac874b637ace9", "sha256:256cf708fc385bcb0a0c6d58ecc322b899b070b3a26ab4b2c4e3ba51931846df", "sha256:33d97daef7bbcb13e3b8f023769bf2609810bca828172853786973b2bd3ff8d2"}, BaseLayer:""}, Metadata:types.ImageMetadata{LastTagTime:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}}
I0709 20:51:07.336091   19904 helper.go:137] Inspecting Docker image "openshift/origin-cli:v3.10"
I0709 20:51:07.340089   19904 helper.go:140] Image "openshift/origin-cli:v3.10" found: &types.ImageInspect{ID:"sha256:e89a66bd2957b68dc44b6ae43bd435063e59d1d3fe282b0754c683d396104603", RepoTags:[]string{"openshift/origin-cli:v3.10"}, RepoDigests:[]string{"openshift/origin-cli@sha256:c41da132f594d43c4a3156e0b2543fe76e4c868fa5103603e86cd1d2f4c6cfc4"}, Parent:"", Comment:"", Created:"2018-05-03T19:15:20.531900348Z", Container:"bb24682ca0722764ff081b368f138457547eb4a94f4aa14ddd5182663e06a634", ContainerConfig:(*container.Config)(0xc0426d8280), DockerVersion:"1.13.1", Author:"", Config:(*container.Config)(0xc0426d83c0), Architecture:"amd64", Os:"linux", OsVersion:"", Size:359707772, VirtualSize:359707772, GraphDriver:types.GraphDriverData{Data:map[string]string{"UpperDir":"/var/lib/docker/overlay2/f0391cebfea23b9c2b26efb946d12528614c603ff0a253f190ad907698496b03/diff", "WorkDir":"/var/lib/docker/overlay2/f0391cebfea23b9c2b26efb946d12528614c603ff0a253f190ad907698496b03/work", "LowerDir":"/var/lib/docker/overlay2/d1a6fa45e34a2df30bd245c31812b3b4859cd5ddd0fbac66921ed4ad4c5f9331/diff:/var/lib/docker/overlay2/6ffa966200b4c15783b5f6a540c92d61e3c619c13bd7d240eb20f5ab06310e35/diff:/var/lib/docker/overlay2/08436c8980592f8a9510b005059fbf9dd697f86da499521dd552044086da5456/diff", "MergedDir":"/var/lib/docker/overlay2/f0391cebfea23b9c2b26efb946d12528614c603ff0a253f190ad907698496b03/merged"}, Name:"overlay2"}, RootFS:types.RootFS{Type:"layers", Layers:[]string{"sha256:43e653f84b79ba52711b0f726ff5a7fd1162ae9df4be76ca1de8370b8bbf9bb0", "sha256:2063d53013e2cab0fbc7b70b86033ca0e8069915de1cb38c30ed7affb16a5d6a", "sha256:fb7625b1a083560a532859a57e6993a5a566dee6c27ff362188215747dd33037", "sha256:3a6d6451fa48da19a59608e82f420e48a349d4342dd632d4d19f9cb143302613"}, BaseLayer:""}, Metadata:types.ImageMetadata{LastTagTime:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}}
I0709 20:51:07.344091   19904 helper.go:137] Inspecting Docker image "openshift/origin-node:v3.10"
I0709 20:51:07.348090   19904 helper.go:140] Image "openshift/origin-node:v3.10" found: &types.ImageInspect{ID:"sha256:81cc3d12668527aa33fef56dfebc23015185e225a97aba238f4299c5947ac81b", RepoTags:[]string{"openshift/origin-node:v3.10"}, RepoDigests:[]string{"openshift/origin-node@sha256:ef5db5fb0bdd53cb95a068a23db1a9809af6011869e07e8ac0a4cc21178aa394"}, Parent:"", Comment:"", Created:"2018-07-05T17:30:55.576753428Z", Container:"8b58da27d6025a1cd79299d1f6c8467258e32b70544c453544c4ee1414878343", ContainerConfig:(*container.Config)(0xc0426d8500), DockerVersion:"1.13.1", Author:"", Config:(*container.Config)(0xc0426d8640), Architecture:"amd64", Os:"linux", OsVersion:"", Size:1281032662, VirtualSize:1281032662, GraphDriver:types.GraphDriverData{Data:map[string]string{"LowerDir":"/var/lib/docker/overlay2/ed05f32172530b5b08d7fbe23cbbd6e922c6255c7f361e80f2c4d728962dc1e7/diff:/var/lib/docker/overlay2/a9e036cd087cb102bf46de6bf437562c6d893250cc5ebc35fe1c1940f977288e/diff:/var/lib/docker/overlay2/998fa384c7d4bc00724a26d00bfffeb850edc9b381124a5152d7e1b9c0be5ada/diff:/var/lib/docker/overlay2/81467d49218eaecd1ca7374fa6f3da5825c9c4e03a6f6fd8f79dd3827253980f/diff:/var/lib/docker/overlay2/05b20494007b3a5b959b0febc4badeb62d29d375fe0f6a518e41404f705d1b1a/diff", "MergedDir":"/var/lib/docker/overlay2/fda94e53b79b3456eba00540f280454d6400cd8ad80f5a9bd30eb1454b11b3ee/merged", "UpperDir":"/var/lib/docker/overlay2/fda94e53b79b3456eba00540f280454d6400cd8ad80f5a9bd30eb1454b11b3ee/diff", "WorkDir":"/var/lib/docker/overlay2/fda94e53b79b3456eba00540f280454d6400cd8ad80f5a9bd30eb1454b11b3ee/work"}, Name:"overlay2"}, RootFS:types.RootFS{Type:"layers", Layers:[]string{"sha256:bcc97fbfc9e1a709f0eb78c1da59caeb65f43dc32cd5deeb12b8c1784e5b8237", "sha256:89d9cc3f6574f06965d5eab79fe29fc13543301a6a64c608860ca70106c6a67c", "sha256:f263c6deb88abab423028ea0b5c583e8ba0813a737b7032a8abac874b637ace9", "sha256:256cf708fc385bcb0a0c6d58ecc322b899b070b3a26ab4b2c4e3ba51931846df", "sha256:33d97daef7bbcb13e3b8f023769bf2609810bca828172853786973b2bd3ff8d2", "sha256:17385cf718c29577f7a6d556600ff681557e21de8bdfe0edf16c84ae2e5e228f"}, BaseLayer:""}, Metadata:types.ImageMetadata{LastTagTime:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}}
I0709 20:51:07.353088   19904 helper.go:99] Retrieving Docker version
I0709 20:51:07.357094   19904 helper.go:105] Docker version results: &types.Version{Version:"18.05.0-ce", APIVersion:"1.37", MinAPIVersion:"1.12", GitCommit:"f150324", GoVersion:"go1.10.1", Os:"linux", Arch:"amd64", KernelVersion:"4.9.93-linuxkit-aufs", Experimental:true, BuildTime:"2018-05-09T22:20:16.000000000+00:00"}
Creating shared mount directory on the remote host ...
I0709 20:51:07.360090   19904 helper.go:46] Retrieving Docker daemon info
I0709 20:51:07.370106   19904 helper.go:52] Docker daemon info: &types.Info{ID:"PXG7:NCKQ:FXNG:OJDI:BLZR:AEH6:DGW5:2LSJ:RKFI:DABC:BYIP:KO5Y", Containers:1, ContainersRunning:1, ContainersPaused:0, ContainersStopped:0, Images:5, Driver:"overlay2", DriverStatus:[][2]string{[2]string{"Backing Filesystem", "extfs"}, [2]string{"Supports d_type", "true"}, [2]string{"Native Overlay Diff", "true"}}, SystemStatus:[][2]string(nil), Plugins:types.PluginsInfo{Volume:[]string{"local"}, Network:[]string{"bridge", "host", "ipvlan", "macvlan", "null", "overlay"}, Authorization:[]string(nil), Log:[]string{"awslogs", "fluentd", "gcplogs", "gelf", "journald", "json-file", "logentries", "splunk", "syslog"}}, MemoryLimit:true, SwapLimit:true, KernelMemory:true, CPUCfsPeriod:true, CPUCfsQuota:true, CPUShares:true, CPUSet:true, IPv4Forwarding:true, BridgeNfIptables:true, BridgeNfIP6tables:true, Debug:true, NFd:28, OomKillDisable:true, NGoroutines:46, SystemTime:"2018-07-10T01:51:07.3647776Z", LoggingDriver:"json-file", CgroupDriver:"cgroupfs", NEventsListener:1, KernelVersion:"4.9.93-linuxkit-aufs", OperatingSystem:"Docker for Windows", OSType:"linux", Architecture:"x86_64", IndexServerAddress:"https://index.docker.io/v1/", RegistryConfig:(*registry.ServiceConfig)(0xc0423d0230), NCPU:2, MemTotal:2076454912, GenericResources:[]swarm.GenericResource(nil), DockerRootDir:"/var/lib/docker", HTTPProxy:"", HTTPSProxy:"", NoProxy:"", Name:"linuxkit-00155d74d968", Labels:[]string{}, ExperimentalBuild:true, ServerVersion:"18.05.0-ce", ClusterStore:"", ClusterAdvertise:"", Runtimes:map[string]types.Runtime{"runc":types.Runtime{Path:"docker-runc", Args:[]string(nil)}}, DefaultRuntime:"runc", Swarm:swarm.Info{NodeID:"", NodeAddr:"", LocalNodeState:"inactive", ControlAvailable:false, Error:"", RemoteManagers:[]swarm.Peer(nil), Nodes:0, Managers:0, Cluster:(*swarm.ClusterInfo)(nil)}, LiveRestoreEnabled:false, Isolation:"", InitBinary:"docker-init", ContainerdCommit:types.Commit{ID:"773c489c9c1b21a6d78b5c538cd395416ec50f88", Expected:"773c489c9c1b21a6d78b5c538cd395416ec50f88"}, RuncCommit:types.Commit{ID:"4fc53a81fb7c994640722ac585fa9ca548971871", Expected:"4fc53a81fb7c994640722ac585fa9ca548971871"}, InitCommit:types.Commit{ID:"949e6fa", Expected:"949e6fa"}, SecurityOptions:[]string{"name=seccomp,profile=default"}}
I0709 20:51:07.375376   19904 run.go:195] Creating container named ""
config:
  image: openshift/origin-control-plane:v3.10
  entry point:
    /bin/bash
  command:
    -c
    #/bin/bash
set -x
nsenter --mount=/rootfs/proc/1/ns/mnt mkdir -p \var\lib\origin\cluster-up\C:\Users\klauer\dev\lnt-docker\openshift.local.clusterup\openshift.local.volumes
grep -F \var\lib\origin\cluster-up\C:\Users\klauer\dev\lnt-docker\openshift.local.clusterup\openshift.local.volumes /rootfs/proc/1/mountinfo || nsenter --mount=/rootfs/proc/1/ns/mnt mount -o bind \var\lib\origin\cluster-up\C:\Users\klauer\dev\lnt-docker\openshift.local.clusterup\openshift.local.volumes \var\lib\origin\cluster-up\C:\Users\klauer\dev\lnt-docker\openshift.local.clusterup\openshift.local.volumes
grep -F \var\lib\origin\cluster-up\C:\Users\klauer\dev\lnt-docker\openshift.local.clusterup\openshift.local.volumes /rootfs/proc/1/mountinfo | grep shared || nsenter --mount=/rootfs/proc/1/ns/mnt mount --make-shared \var\lib\origin\cluster-up\C:\Users\klauer\dev\lnt-docker\openshift.local.clusterup\openshift.local.volumes


host config:
  pid mode: host
  user mode:
  network mode:
  volume binds:
    /proc:/rootfs/proc:ro

I0709 20:51:07.498969   19904 run.go:200] Container created with id "2fb630b51002c6b514fa7de1783495e08f0eadb85bb484c69896f75437a63dab"
I0709 20:51:07.498969   19904 run.go:304] Starting container "2fb630b51002c6b514fa7de1783495e08f0eadb85bb484c69896f75437a63dab"
I0709 20:51:08.031220   19904 run.go:311] Waiting for container "2fb630b51002c6b514fa7de1783495e08f0eadb85bb484c69896f75437a63dab"
I0709 20:51:08.639823   19904 run.go:317] Done waiting for container "2fb630b51002c6b514fa7de1783495e08f0eadb85bb484c69896f75437a63dab", rc=32
I0709 20:51:08.639823   19904 run.go:322] Reading logs from container "2fb630b51002c6b514fa7de1783495e08f0eadb85bb484c69896f75437a63dab"
I0709 20:51:08.645821   19904 run.go:330] Done reading logs from container "2fb630b51002c6b514fa7de1783495e08f0eadb85bb484c69896f75437a63dab"
I0709 20:51:08.646822   19904 run.go:337] Stdout:
I0709 20:51:08.647835   19904 run.go:338] Stderr:
+ nsenter --mount=/rootfs/proc/1/ns/mnt mkdir -p varliborigincluster-upC:Usersklauerdevlnt-dockeropenshift.local.clusterupopenshift.local.volumes
mkdir: can't create directory 'varliborigincluster-upC:Usersklauerdevlnt-dockeropenshift.local.clusterupopenshift.local.volumes': Read-only file system
+ grep -F varliborigincluster-upC:Usersklauerdevlnt-dockeropenshift.local.clusterupopenshift.local.volumes /rootfs/proc/1/mountinfo
+ nsenter --mount=/rootfs/proc/1/ns/mnt mount -o bind varliborigincluster-upC:Usersklauerdevlnt-dockeropenshift.local.clusterupopenshift.local.volumes varliborigincluster-upC:Usersklauerdevlnt-dockeropenshift.local.clusterupopenshift.local.volumes
mount: varliborigincluster-upC:Usersklauerdevlnt-dockeropenshift.local.clusterupopenshift.local.volumes: mount point does not exist.
+ grep -F varliborigincluster-upC:Usersklauerdevlnt-dockeropenshift.local.clusterupopenshift.local.volumes /rootfs/proc/1/mountinfo
+ grep shared
+ nsenter --mount=/rootfs/proc/1/ns/mnt mount --make-shared varliborigincluster-upC:Usersklauerdevlnt-dockeropenshift.local.clusterupopenshift.local.volumes
mount: varliborigincluster-upC:Usersklauerdevlnt-dockeropenshift.local.clusterupopenshift.local.volumes: mount point does not exist.
I0709 20:51:08.652826   19904 run.go:293] Deleting container "2fb630b51002c6b514fa7de1783495e08f0eadb85bb484c69896f75437a63dab"
F0709 20:51:08.666823   19904 helpers.go:119] error: cannot create volume share

I am seeing the same issue with oc v3.10.27 (also on Win 10).

still the same problem on win 10:
oc v3.10.0-rc.0+c20e215
kubernetes v1.10.0+b81c8f8

Just looking at the output, I am wondering if there's just some characters being removed because it's doing some kind of naive string passing. For instance:

+ nsenter --mount=/rootfs/proc/1/ns/mnt mkdir -p varliborigincluster-upC:Usersklauerdevlnt-dockeropenshift.local.clusterupopenshift.local.volumes

It removes all of the Windows-specific \ characters and frankly, most other :'s and such.

I am facing the same issue.

C:\WINDOWS\system32>oc cluster up
Getting a Docker client ...
Checking if image openshift/origin-control-plane:v3.10 is available ...
Creating shared mount directory on the remote host ...
error: cannot create volume share

I am running Docker CE on Windows with Linux Containers

Same issue on

oc v3.10.0+dd10d17
kubernetes v1.10.0+b81c8f8

is there any update on this thread. Just now tried version oc-3.10.14-windows. Still have the same issue.

ditto.....
Windows 10, v1803
oc v3.10.0+dd10d17
kubernetes v1.10.0+b81c8f8

I tried version oc-3.6.173.0.21-windows.zip that worked for me. downloaded from artifactory:

Starting OpenShift using registry.access.redhat.com/openshift3/ose:v3.6.173.0.21 ...
Pulling image registry.access.redhat.com/openshift3/ose:v3.6.173.0.21
Pulled 1/4 layers, 25% complete
Pulled 1/4 layers, 25% complete
Pulled 1/4 layers, 25% complete
Pulled 1/4 layers, 25% complete
Pulled 2/4 layers, 50% complete
Pulled 3/4 layers, 75% complete
Pulled 4/4 layers, 100% complete
Extracting
Image pull complete
OpenShift server started.

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

Thank you @prerana-prakash while that works (I have confirmed that) I really would like to run a newer release.

I had the same issue on windows 10 with
C:\root\docker>oc version
oc v3.10.0+dd10d17
kubernetes v1.10.0+b81c8f8
features: Basic-Auth

However when I downgraded to the following it started fine
C:\root\docker>oc version
oc v3.9.0+191fece
kubernetes v1.9.1+a0ce1bc657
features: Basic-Auth

Thank you @peterdsdoyle - that (3.9) worked as well.

Is there any update on this issue. It appears on the surface to be introduced with 3.10. I would like keep upto date with 3.10 but cannot.

Same here, windows 10, oc 3.10

can confirm same issue here with:

oc v3.10.0+dd10d17
kubernetes v1.10.0+b81c8f8
features: Basic-Auth

Can confirm same issue here
PS C:\WINDOWS\system32> oc version
oc v3.10.0+dd10d17
kubernetes v1.10.0+b81c8f8
features: Basic-Auth
PS C:\WINDOWS\system32> oc cluster up
Getting a Docker client ...
Checking if image openshift/origin-control-plane:v3.10 is available ...
Creating shared mount directory on the remote host ...
error: cannot create volume share

The problem still persists on oc v3.11.0+0cbc58b
The log is the same as Klauern's

So, looking at the original document I looked at, they "moved the goalposts" on me, by no longer supporting on non-Linux hosts:

https://github.com/openshift/origin/commit/a21685f6f6e81f8c7f43eed88a0055594f8fb44c#comments

Well, that's disappointing to say the least...

same issue on linux in lxd centos 7.5 container, with oc client 3.11.0

Same issue here. 3.9.0 also seems to work. available here
https://github.com/openshift/origin/releases/tag/v3.9.0

Same issue on Windows 10 and oc version v3.11.0+0cbc58b

any update on this?
win10 oc 3.11 (latest)
error: cannot create volume share

I have the same issue on Win-10 with oc 3.11.

oc v3.11.82
kubernetes v1.11.0+d4cacc0
features: Basic-Auth SSPI Kerberos SPNEGO

Same issue Win10(1803) with oc 3.11

oc v3.11.0+0cbc58b
kubernetes v1.11.0+d4cacc0
features: Basic-Auth SSPI Kerberos SPNEGO

Same!
oc version
oc v3.11.0+0cbc58b
kubernetes v1.11.0+d4cacc0
features: Basic-Auth SSPI Kerberos SPNEGO

Same

oc version
oc v3.11.0+8de5c34
kubernetes v1.10.0+d4cacc0
features: Basic-Auth GSSAPI Kerberos SPNEGO

I have the same issue on Win-10 with oc 3.11
3.9 works

Same thing

oc v3.11.0+0cbc58b
kubernetes v1.11.0+d4cacc0
features: Basic-Auth SSPI Kerberos SPNEGO

Same thing

oc v3.11.0+0cbc58b
kubernetes v1.11.0+d4cacc0
features: Basic-Auth SSPI Kerberos SPNEGO

Also verified that 3.9 cli does work. Installed via: choco install openshift-cli --version 3.9.0

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

Was this dropped?

/remove-lifecycle stale

can we have an update ?

Facing this same issue. Any updates?

3.11 same issue

Any updates ? Working on Win10....

位 oc cluster up
Getting a Docker client ...
Checking if image openshift/origin-control-plane:v3.11 is available ...
Pulling image openshift/origin-control-plane:v3.11
Pulled 1/5 layers, 22% complete
Pulled 2/5 layers, 53% complete
Pulled 3/5 layers, 73% complete
Pulled 4/5 layers, 88% complete
Pulled 5/5 layers, 100% complete
Extracting
Image pull complete
Pulling image openshift/origin-cli:v3.11
Image pull complete
Pulling image openshift/origin-node:v3.11
Pulled 5/6 layers, 87% complete
Pulled 6/6 layers, 100% complete
Extracting
Image pull complete
Creating shared mount directory on the remote host ...
error: cannot create volume share


位 oc version
oc v3.11.0+0cbc58b
kubernetes v1.11.0+d4cacc0
features: Basic-Auth SSPI Kerberos SPNEGO

Server https://kubernetes.docker.internal:6443
kubernetes v1.15.5

I found this on the redhat bug report:

https://bugzilla.redhat.com/show_bug.cgi?id=1638907

It seems that there is a char escape issue with the following command line:

where "C:UsersbotoApp" should be "C:\Users\boto\App"

I don't know how to fix bugs oc cluster up, so if anyone knows please fix it, thanks, would be nice to use newer versions of oc

Thanks Peter

oc cluster up
Getting a Docker client ...
Checking if image openshift/origin-control-plane:v3.11 is available ...
Checking type of volume mount ...
error: Docker run error rc=1

also error here sudo oc login localhost:8443 --username=admin --password=redhat --insecure-skip-tls-verify=true
error: dial tcp [::1]:8443: connect: connection refused - verify you have provided the correct host and port and that the server is currently running

Same for me:
$ oc version
oc v3.11.0+0cbc58b
kubernetes v1.11.0+d4cacc0
features: Basic-Auth SSPI Kerberos SPNEGO

Same here...

oc v3.11.0+0cbc58b
kubernetes v1.11.0+d4cacc0
features: Basic-Auth SSPI Kerberos SPNEGO

I am experiencing same issue. It looks like a bug in openshift:
oc v3.11.0+0cbc58b
kubernetes v1.11.0+d4cacc0
features: Basic-Auth SSPI Kerberos SPNEGO

mkdir: can't create directory 'varliborigincluster-up### C:Usersjyuopenshift.local.clusterupopenshift.local.volumes': Read-only file system

Was this page helpful?
0 / 5 - 0 ratings