Re: No persistent volumes available in OpenShift Origin 3.7.1

Subject: Re: No persistent volumes available in OpenShift Origin 3.7.1

Date: Wed, 7 Feb 2018 10:43:22 -0500

Hi Tien,

Docker for Mac introduced an internal proxy with Docker CE version 17.12.x. This has been causing problems with apps that didn't expect to see a proxy there, and certain settings like the NO_PROXY env var are ignored. Issues have been reported on github and they seem to be working on them. Until they have a fix, I would recommend downgrading to a pre- 17.12.0 version. You can find download links in their release notes page: https://docs.docker.com/docker-for-mac/release-notes/

I'm using OpenShift Origin v3.7.1 Client and Server installed on my local Computer (Mac) via Docker on Mac. I started OpenShift using the command oc cluster up --host-data-dir /Users/username/oc-data and tried to deploy my appliocations using a .yml template. However, the deployment stucks because it gives me the following error:

Events:

FirstSeenLastSeenCountFromSubObjectPathTypeReasonMessage

------------------------------------------------------------

17m1m63persistentvolume-controllerNormalFailedBindingno persistent volumes available for this claim and no storage class is set

After checking my persistent volumes with the command oc get pv, I realized that my containers don't have any pvs available (Message: No resources found. ). Please, could you tell me why the new OpenShift Origin 3.7.1 version doesn't create any pvs by default at the beginning?

When I used the old OpenShift Origin 3.6.1 version, I never had that problem when using the same .yaml template for deployment.