{"action":"opened","issue":{"url":"https://api.github.com/repos/rook/rook/issues/2434","repository_url":"https://api.github.com/repos/rook/rook","labels_url":"https://api.github.com/repos/rook/rook/issues/2434/labels{/name}","comments_url":"https://api.github.com/repos/rook/rook/issues/2434/comments","events_url":"https://api.github.com/repos/rook/rook/issues/2434/events","html_url":"https://github.com/rook/rook/issues/2434","id":394573684,"node_id":"MDU6SXNzdWUzOTQ1NzM2ODQ=","number":2434,"title":"[k8s over lxd]pvc from storageclass fail to mount to example mysql pod","user":{"login":"rocket1024","id":39271865,"node_id":"MDQ6VXNlcjM5MjcxODY1","avatar_url":"https://avatars1.githubusercontent.com/u/39271865?v=4","gravatar_id":"","url":"https://api.github.com/users/rocket1024","html_url":"https://github.com/rocket1024","followers_url":"https://api.github.com/users/rocket1024/followers","following_url":"https://api.github.com/users/rocket1024/following{/other_user}","gists_url":"https://api.github.com/users/rocket1024/gists{/gist_id}","starred_url":"https://api.github.com/users/rocket1024/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rocket1024/subscriptions","organizations_url":"https://api.github.com/users/rocket1024/orgs","repos_url":"https://api.github.com/users/rocket1024/repos","events_url":"https://api.github.com/users/rocket1024/events{/privacy}","received_events_url":"https://api.github.com/users/rocket1024/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-28T07:55:36Z","updated_at":"2018-12-28T07:55:36Z","closed_at":null,"author_association":"NONE","body":"rbd device path /dev/rbd1 does not exist, but it exist on lxd host /dev path, any ideas?\r\n\r\n>   Warning  FailedScheduling  16m (x13 over 16m)  default-scheduler       pod has unbound immediate PersistentVolumeClaims (repeated 3 times)\r\n>   Normal   Scheduled         16m                 default-scheduler       Successfully assigned rook-ceph/wordpress-mysql-6887bf844f-lswsx to juju-c65b98-9\r\n>   Warning  FailedMount       15m                 kubelet, juju-c65b98-9  MountVolume.SetUp failed for volume \"pvc-bdae568c-0900-11e9-957f-3e17e3f1330f\" : mount command failed, status: Failure, reason: Rook: Mount volume failed: failed to attach volume replicapool/pvc-bdae568c-0900-11e9-957f-3e17e3f1330f: failed to map image replicapool/pvc-bdae568c-0900-11e9-957f-3e17e3f1330f cluster rook-ceph. failed to map image replicapool/pvc-bdae568c-0900-11e9-957f-3e17e3f1330f: Failed to complete 'rbd': signal: interrupt. . \r\n> output:\r\n>   Warning  FailedMount       56s (x14 over 15m)  kubelet, juju-c65b98-9  MountVolume.SetUp failed for volume \"pvc-bdae568c-0900-11e9-957f-3e17e3f1330f\" : mount command failed, status: Failure, reason: Rook: Mount volume failed: failed to attach volume replicapool/pvc-bdae568c-0900-11e9-957f-3e17e3f1330f: failed to check if volume replicapool/pv\r\n> c-bdae568c-0900-11e9-957f-3e17e3f1330f is already attached: sysfs information for image 'pvc-bdae568c-0900-11e9-957f-3e17e3f1330f' in pool 'replicapool' found but the rbd device path /dev/rbd1 does not exist\r\n>   Warning  FailedMount       38s (x7 over 14m)   kubelet, juju-c65b98-9  Unable to mount volumes for pod \"wordpress-mysql-6887bf844f-lswsx_rook-ceph(bdbc83d0-0900-11e9-957f-3e17e3f1330f)\": timeout expired waiting for volumes to attach or mount for pod \"rook-ceph\"/\"wordpress-mysql-6887bf844f-lswsx\". list of unmounted volumes=[mysql-persistent-storage]. list of unattached volumes=[mysql-persistent-storage default-token-mrs6g]\r\n\r\n\r\nyes, but no similar issue occurs\r\nIs this a bug report or feature request?\r\n\r\nBug Report\r\nDeviation from expected behavior:\r\npvc mount to pod fail\r\nExpected behavior:\r\npvc mount to pod should be ok\r\nHow to reproduce it (minimal and precise):\r\nkubectl create -f operator.yaml\r\nkubectl create -f cluster.yaml\r\nkubectl create -f mysql.yaml\r\n\r\nrook version:v0.8\r\nlatest conjure-up kubernates over lxd\r\nEnvironment:\r\n\r\nOS (e.g. from /etc/os-release):ubuntu16.04\r\nKernel (e.g. uname -a): 4.4.0-131-generic #157-Ubuntu SMP Thu Jul 12 15:51:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux\r\nCloud provider or hardware configuration:xeon2680v2\r\nRook version (use rook version inside of a Rook Pod):v0.8\r\nKubernetes version (use kubectl version):v1.12.1\r\nKubernetes cluster type (e.g. Tectonic, GKE, OpenShift):lxd\r\nStorage backend status (e.g. for Ceph use ceph health in the Rook Ceph toolbox):dir"}}
{"actor":{"display_login":"rocket1024"}}