yp-engineering / rbd-docker-plugin

Ceph RBD docker volume driver plugin.
MIT License
102 stars 70 forks source link

check in by feijian #43

Closed yangguoandresolution closed 6 years ago

yangguoandresolution commented 8 years ago
bug: missing Capabilities Volume API method for CephRBDVolumeDriver
    and  Mount API Unmount API parameter dkvolume.MountRequest
    dkvolume.UnmountRequest  in driver.go
yangguoandresolution commented 8 years ago

missing Capabilities Volume API method for CephRBDVolumeDriver and Mount API Unmount API parameter dkvolume.MountRequest dkvolume.UnmountRequest in driver.go, hope that import rbd-docker-plugin, please check my code.

yangguoandresolution commented 8 years ago

Thank you for your reply, I would like to confirm your advice.

thisismsreddy commented 7 years ago

Hello @yangguoandresolution, I've used your change it fixes this error (cannot use d (type cephRBDVolumeDriver) as type volume.Driver), But I am run into another error

 go get github.com/yangguoandresolution/rbd-docker-plugin
# github.com/yangguoandresolution/rbd-docker-plugin
src/github.com/yangguoandresolution/rbd-docker-plugin/main.go:121: cannot use socket (type string) as type int in argument to h.Handler.ServeUnix

 uname -r && docker --version && go version && ceph --version
4.4.0-45-generic
Docker version 1.12.6, build 78d1802
go version go1.6.2 linux/amd64
ceph version 10.2.3 (ecc23778eb545d8dd55e2e4735b53cc93f92e65b)

Thanks

porcupie commented 6 years ago

Can reopen if you want to rebase but I think this is fixed now from upstream. Thank you.