origin: `oc cluster up` - error: cannot create volume share
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
- Install Docker for Windows
- Download the
oc.exebinary 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.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 14
- Comments: 51 (6 by maintainers)
Well, that’s disappointing to say the least…
any update on this? win10 oc 3.11 (latest) error: cannot create volume share
opened https://bugzilla.redhat.com/show_bug.cgi?id=1638907
The problem still persists on oc v3.11.0+0cbc58b The log is the same as Klauern’s
still the same problem on win 10: oc v3.10.0-rc.0+c20e215 kubernetes v1.10.0+b81c8f8
Here’s the most detailed log for
oc cluster up, which is--loglevel=10:3.11 same issue
Same issue on Windows 10 and oc version v3.11.0+0cbc58b
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
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.volumesIt removes all of the Windows-specific
\characters and frankly, most other:'s and such.I am seeing the same issue with oc v3.10.27 (also on Win 10).
Same issue here. 3.9.0 also seems to work. available here https://github.com/openshift/origin/releases/tag/v3.9.0
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
can confirm same issue here with:
oc v3.10.0+dd10d17 kubernetes v1.10.0+b81c8f8 features: Basic-Auth
is there any update on this thread. Just now tried version oc-3.10.14-windows. Still have the same issue.
Same issue on
oc v3.10.0+dd10d17 kubernetes v1.10.0+b81c8f8