[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: unable to mount volums for pod



Also, please attempt a manual mount of the NFS volume to the host outside of OpenShift.

If you're missing any NFS dependencies, manually mounting NFS (your normal 'mount' command) should also fail.

Mark

On Fri, Oct 23, 2015 at 10:51 PM, Nakayama Kenjiro <nakayamakenjiro gmail com> wrote:
Please show us:

$ oc get pvc
$ oc get pod database-1-xsmx1 -o json
$ oc get pv

Regards
Kenjiro


On Mon, Oct 19, 2015 at 8:31 PM, Lorenz Vanthillo <lorenz vanthillo outlook com> wrote:
I was following this tutorial: http://keithtenzer.com/2015/08/20/openshift-v3-unlocking-the-power-of-persistent-storage/
From the beginning till the end.
So I've installed NFS, created 20 persistent volumes. Created an application with a database-pod which will use a persistent volume. Every command I've executed was fine. But when I was ready my database pod remained in pending state.
The following event occured: Unable to mount volumes for pod “database-1-xsmx1_demo”
I'm not able to fix this issue. I also tried the 'official' wordpress example of OpenShift. https://github.com/openshift/origin/tree/master/examples/wordpress
There wasn't any problem during the configuration. But the db-pod was also in the pending-state when I was finished.
Also with Unable to mount volumes for pod “
database-1-xsmx1_demo”.

I'm not able to give logs of pods (still pending) or containers (do not exist?) of those databases.
I can give this log:

[root ip-10-0-0-129 wordpress]# oc describe pod database-1-xsmx1
Name:                database-1-xsmx1
Namespace:            demo
Image(s):            openshift/mysql-55-centos7 sha256:2946218cb0312967a6dea7f8001c6e25afb6a1192ad46205ee2f1b05ba379bae
Node:                ip-10-0-0-130.eu-west-1.compute.internal/10.0.0.130
Labels:                deployment=database-1,deploymentconfig=database,name=database
Status:                Pending
Reason:               
Message:           
IP:               
Replication Controllers:    database-1 (1/1 replicas created)
Containers:
  mysql:
    Image:        openshift/mysql-55-centos7 sha256:2946218cb0312967a6dea7f8001c6e25afb6a1192ad46205ee2f1b05ba379bae
    State:        Waiting
      Reason:        Image: openshift/mysql-55-centos7 sha256:2946218cb0312967a6dea7f8001c6e25afb6a1192ad46205ee2f1b05ba379bae is ready, container is creating
    Ready:        False
    Restart Count:    0
    Variables:
      MYSQL_USER:    userWFR
      MYSQL_PASSWORD:    gekwAfthGrV8FjAH
      MYSQL_DATABASE:    sampledb
Conditions:
  Type        Status
  Ready     False
Events:
  FirstSeen    LastSeen    Count    From                            SubobjectPath    Reason        Message
  4m        4m        1    {scheduler }                                scheduled    Successfully assigned database-1-xsmx1 to ip-10-0-0-130.eu-west-1.compute.internal
  7s        7s        1    {kubelet ip-10-0-0-130.eu-west-1.compute.internal}            failedMount    Unable to mount volumes for pod "database-1-xsmx1_demo": exit status 32
  7s        7s        1    {kubelet ip-10-0-0-130.eu-west-1.compute.internal}            failedSync    Error syncing pod, skipping: exit status 32

_______________________________________________
users mailing list
users lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users




--
Kenjiro NAKAYAMA <nakayamakenjiro gmail com>
GPG Key fingerprint = ED8F 049D E67A 727D 9A44  8E25 F44B E208 C946 5EB9

_______________________________________________
users mailing list
users lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]