-
Notifications
You must be signed in to change notification settings - Fork 70
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
Can not compile plugin with docker 1.10+ - missing Capabilities Volume API method #41
Comments
Have not seen this error before - but FYI golang 1.6 is not generally supported due to stricter http HOST header checks. Really depends on your docker version and whether docker daemon sending correct HOST header yet. Also looks like you are using a much newer version of the volume helpers, which has some new |
I've the same error with go 1.6 on ubuntu 14.04
|
I've the same error with go 1.6 on ubuntu 16.04 github.com/yp-engineering/rbd-docker-plugin../../../yp-engineering/rbd-docker-plugin/main.go:83: cannot use d (type cephRBDVolumeDriver) as type volume.Driver in argument to volume.NewHandler: |
We don't (yet) support docker 1.10 nor the new volume-driver plugin "Capabilities" method. Workaround until we add something proper is to downgrade the docker client libraries and docker volume helpers to < docker volume api 1.10. |
Looks like the According to the documentation in the pull request for {
"Capabilities": {
"Scope": "global"
}
} |
…docker volume helpers (yp-engineering#41)
Update functions to use the new docker volume helpers MountRequest and UnmountRequest in signature. Still need to implement volume ID tracking. Partial fix for yp-engineering#41
Fixed already |
I would like to test out the plugin but it failed to compile as one can see below. Would appreciate any help. Thanks.
The text was updated successfully, but these errors were encountered: