I’m testing Prometheus, with a cTor Storage Class with OpenEBS, in a Rancher 2.1 Cluster (1 node) with RancherOS running in Hyper-v. The cStor volume is not mounting, and the pod is launching a event:
Unable to mount volumes for pod "prometheus-server-595746cc5-7xrmt_prometheus(46f03eb4-630f-11e9-b3e5-00155daf3d1f)": timeout expired waiting for volumes to attach or mount for pod "prometheus"/"prometheus-server-595746cc5-7xrmt". list of unmounted volumes=[storage-volume]. list of unattached volumes=[config-volume storage-volume prometheus-server-token-2w8ng] a minute ago
I’m thinking that this is related with the output from command:
sudo ros s up open-iscsi
[rancher@kub-master ~]$ sudo ros s up open-iscsi ERRO non-200 http response: 404 ERRO Failed to load rancher.docker.engine=(docker-18.09.5-ce): non-200 http response: 404 INFO Project [os]: Starting project INFO [0/21] [open-iscsi]: Starting INFO [1/21] [open-iscsi]: Started INFO Project [os]: Project started
So, the question is…the ERRO is important? where is documented how can i fix that?
I can’t find how to fix that, and I tried:
- Reinstalling the open-iscsi service.
- As i’m unsure if the container cannot mount the volume because this error, i tried recreating the Pool, the Storage class, etc, and the error appears again.