New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ceph rbd dynamic provision report: Could not map image: Timeout after 10s #36470
Comments
i have install ceph and ceph common in the hyperkube,and add kubelete mount |
this is the kubelet log: |
cc @kubernetes/sig-storage |
this looks a slow rbd map, @AncientRemember can you run rbd map manually and see how long it takes? |
i have fixed this isssu,by reinstall ceph,and make sure i can manually map the rbd image,thanks
At 2016-12-01 07:34:12, "Huamin Chen" <notifications@github.com> wrote:
this looks a slow rbd map, @AncientRemember can you run rbd map manually and see how long it takes?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@AncientRemember great! close this issue now and please let us know if you have any other issue. |
kubernetes v1.4.3:
Environment:
-hyperkube1.4.3
i follow the example :https://github.com/kubernetes/kubernetes/tree/master/examples/experimental/persistent-volume-provisioning/rbd
to deploy a rbd pvc,but encounter a error:
Operation for ""kubernetes.io/rbd/27398ce7-a579-11e6-8b62-7427ea3303cf-pvc-1424170c-a577-11e6-8b62-7427ea3303cf" ("27398ce7-a579-11e6-8b62-7427ea3303cf")" failed. No retries permitted until 2016-11-08 06:10:17.31506197 +0000 UTC (durationBeforeRetry 2m0s). Error: MountVolume.SetUp failed for volume "kubernetes.io/rbd/27398ce7-a579-11e6-8b62-7427ea3303cf-pvc-1424170c-a577-11e6-8b62-7427ea3303cf" (spec.Name: "pvc-1424170c-a577-11e6-8b62-7427ea3303cf") pod "27398ce7-a579-11e6-8b62-7427ea3303cf" (UID: "27398ce7-a579-11e6-8b62-7427ea3303cf") with: Could not map image: Timeout after 10s
How to reproduce it :
apiVersion: storage.k8s.io/v1beta1
kind: StorageClass
metadata:
name: slow
provisioner: kubernetes.io/rbd
parameters:
monitors: xxx.xxx.xxx.xxxx:6789
adminId: admin
adminSecretName: ceph-secret-admin
pool: kube
userId: admin
userSecretName: ceph-secret-admin
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: myclaim
annotations:
volume.beta.kubernetes.io/storage-class: "slow"
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 8Gi
apiVersion: v1
kind: Secret
metadata:
name: ceph-secret-admin
data:
key: QVFBVVF4QllVQmNuSVJBQUdwc3NZNkYzWmlnaUp3WUJDS3lSSlE9PQ==
kind: Pod
apiVersion: v1
metadata:
name: mypod
spec:
containers:
- name: myfrontend
image: dockerfile/nginx
volumeMounts:
- mountPath: "/var/www/html"
name: mypd
volumes:
- name: mypd
persistentVolumeClaim:
claimName: myclaim
The text was updated successfully, but these errors were encountered: