Skip to content
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't build master #132

Open
nlamirault opened this issue May 10, 2016 · 5 comments
Open

Can't build master #132

nlamirault opened this issue May 10, 2016 · 5 comments

Comments

@nlamirault
Copy link

nlamirault commented May 10, 2016

I've got an error building master using Go 1.6:

$ git clone https://github.com/containerops/dockyard                                                                                                                                             
Cloning into 'dockyard'...
remote: Counting objects: 3763, done.
remote: Compressing objects: 100% (51/51), done.
remote: Total 3763 (delta 1), reused 0 (delta 0), pack-reused 3710
Receiving objects: 100% (3763/3763), 3.29 MiB | 1.36 MiB/s, done.
Resolving deltas: 100% (1342/1342), done.
Checking connectivity... done.
$ cd dockyard     
$ make
go build -tags "" -o dockyard .
# github.com/containerops/dockyard/handler
../golang/src/github.com/containerops/dockyard/handler/blob.go:52: too many arguments in call to utils.MD5
Makefile:5: recipe for target 'all' failed
make: *** [all] Error 2
@genedna
Copy link

genedna commented May 10, 2016

@nlamirault Please use the develop branch for now, @MabinGo are working on merge from develop.

@nlamirault
Copy link
Author

nlamirault commented May 10, 2016

OK. I try that.

$ make
go build -tags "" -o dockyard .
../golang/src/github.com/containerops/dockyard/backend/rados/rados.go:11:2: cannot find package "github.com/ceph/go-ceph/rados" in any of:
        /home/nlamirault/Apps/golang/src/github.com/containerops/dockyard/vendor/github.com/ceph/go-ceph/rados (vendor tree)
        /home/nlamirault/Apps/go/src/github.com/ceph/go-ceph/rados (from $GOROOT)
        /home/nlamirault/Apps/dockyard/Godeps/_workspace/src/github.com/ceph/go-ceph/rados (from $GOPATH)
        /home/nlamirault/Apps/golang/src/github.com/ceph/go-ceph/rados
Makefile:5: recipe for target 'all' failed
make: *** [all] Error 1

@MabinGo
Copy link
Contributor

MabinGo commented May 10, 2016

@nlamirault Hi,I have merged develop to master,please try to use master again.

@nlamirault
Copy link
Author

I've got an error with the backend :

$ ./dockyard web --address "0.0.0.0" --port "9898"
Register backend driver error: rados: ret=-22

With this configuration file :

runmode = dev

listenmode = https
httpscertfile = cert/containerops/containerops.crt
httpskeyfile = cert/containerops/containerops.key

[log]
filepath = log/containerops-log

[db]
driver = redis
uri = localhost:6379

[dockyard]
path = data
domains = containerops.me
registry = 0.9
distribution = registry/2.0
standalone = true
backend = rados

[rados]
chunksize = 4196304
poolname = test
username = test

@MabinGo
Copy link
Contributor

MabinGo commented May 11, 2016

@nlamirault Hi nlamirault,can you check that if your ceph server is ready?
BTW,rados driver of Dockyard bases on origin interface of ceph,not support to use rados via s3 interface now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants