I'm following guide from contrib/kubernetes to create torus cluster and pg but failed with below log:
Events:
FirstSeen LastSeen Count From SubobjectPath Type Reason Message
--------- -------- ----- ---- ------------- -------- ------ -------
43m 43m 1 {default-scheduler } Normal Scheduled Successfully assigned postgres-torus-1998473231-x2owr to 192.168.100.102
41m 7m 16 {kubelet 192.168.100.102} Warning FailedMount Unable to mount volumes for pod "postgres-torus-1998473231-x2owr_default(01f36a9a-9a9d-11e6-aafe-14dda98006c2)": timeout expired waiting for volumes to attach/mount for pod "postgres-torus-1998473231-x2owr"/"default". list of unattached/unmounted volumes=[data]
41m 7m 16 {kubelet 192.168.100.102} Warning FailedSync Error syncing pod, skipping: timeout expired waiting for volumes to attach/mount for pod "postgres-torus-1998473231-x2owr"/"default". list of unattached/unmounted volumes=[data]
43m 7m 26 {kubelet 192.168.100.102} Warning FailedMount MountVolume.SetUp failed for volume "coreos.com/torus/01f36a9a-9a9d-11e6-aafe-14dda98006c2-data" (spec.Name: "data") pod "01f36a9a-9a9d-11e6-aafe-14dda98006c2" (UID: "01f36a9a-9a9d-11e6-aafe-14dda98006c2") with: attach command failed, status: Failure, reason: No such method 'Subscribe'
/var/log/upstart/kubelet.log
I1025 18:49:10.874846 31411 reconciler.go:299] MountVolume operation started for volume "coreos.com/torus/01f36a9a-9a9d-11e6-aafe-14dda98006c2-data" (spec.Name: "data") to pod "01f36a9a-9a9d-11e6-aafe-14dda98006c2" (UID: "01f36a9a-9a9d-11e6-aafe-14dda98006c2").
E1025 18:49:10.913688 31411 flexvolume_util.go:128] Failed to attach volume data, output: {"status":"Failure","message":"No such method 'Subscribe'"}
, error: exit status 1
E1025 18:49:10.913838 31411 flexvolume_util.go:86] attach command failed, status: Failure, reason: No such method 'Subscribe'
E1025 18:49:10.913878 31411 flexvolume.go:309] failed to attach volume: data
torusblk version(located at /usr/libexec/kubernetes/kubelet-plugins/volume/exec/coreos.com~torus/torus)
torusblk
Version: v0.1.2
kubelet version
Kubernetes v1.4.4
system info
Ubuntu 14.04 bare metal
so torusblk 0.1.2 is not compatible with kubernetes 1.4.4?
This was likely related to #295 -- "Subscribe" isn't part of a FlexVolume. That said, FlexVolumes are changing rapidly in the coming months, so stay tuned.
I'm following guide from contrib/kubernetes to create torus cluster and pg but failed with below log:
/var/log/upstart/kubelet.log
torusblk version(located at /usr/libexec/kubernetes/kubelet-plugins/volume/exec/coreos.com~torus/torus)
kubelet version
system info
so torusblk 0.1.2 is not compatible with kubernetes 1.4.4?