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 not open details for own images on harbor #49

Closed
AlexZeitler opened this issue Mar 25, 2016 · 5 comments
Closed

Can not open details for own images on harbor #49

AlexZeitler opened this issue Mar 25, 2016 · 5 comments
Assignees
Labels

Comments

@AlexZeitler
Copy link
Contributor

When I pull / push images from the Docker hub like ubuntu:14:04 or node:4.2.3 and push them to harbor, everything works fine and I can see the images with their tags etc. inside the repositories.

If I publish my own images the same way, I get an error when clicking the image name inside the repository:

<title>beego application error</title> <style> html, body, body \* {padding: 0; margin: 0;} #header {background:#ffd; border-bottom:solid 2px #A31515; padding: 20px 10px;} #header h2{ } #footer {border-top:solid 1px #aaa; padding: 5px 10px; font-size: 12px; color:green;} #content {padding: 5px;} #content .stack b{ font-size: 13px; color: red;} #content .stack pre{padding-left: 10px;} table {} td.t {text-align: right; padding-right: 5px; color: #888;} </style> <script type="text/javascript"> </script>

registry:runtime error: index out of range

Request Method: GET
Request URL: /api/repositories/tags?repo_name=test/customerservice
RemoteAddr: 172.17.0.1
Stack
/usr/local/go/src/runtime/asm_amd64.s:437 /usr/local/go/src/runtime/panic.go:423 /usr/local/go/src/runtime/panic.go:12 /go/src/github.com/vmware/harbor/service/utils/registryutils.go:74 /go/src/github.com/vmware/harbor/api/repository.go:132 /usr/local/go/src/runtime/asm_amd64.s:437 /usr/local/go/src/reflect/value.go:432 /usr/local/go/src/reflect/value.go:300 /go/src/github.com/vmware/harbor/vendor/github.com/astaxie/beego/router.go:777 /usr/local/go/src/net/http/server.go:1862 /usr/local/go/src/net/http/server.go:1361 /usr/local/go/src/runtime/asm_amd64.s:1696 
@reasonerjt
Copy link
Contributor

This looks like a bug, could you reproduce this issue and zip the latest log and attach to this issue?
The log should be available at /var/log/harbor by default.

@AlexZeitler
Copy link
Contributor Author

@reasonerjt Thanks for your reply. Attached please find the logs.
harbor.logs.tar.gz

@stvolkov
Copy link

It's happing if repository name contains word "service"
testcase https://play.golang.org/p/NVdcyKO5Oz

fixed in #67

@reasonerjt
Copy link
Contributor

Thanks @stvolkov !

@AlexZeitler
Copy link
Contributor Author

Using b0bd7c4 this now works as expected even with service in the image name. 👍

supereagle pushed a commit to supereagle/harbor that referenced this issue Mar 5, 2019
bitsf pushed a commit to bitsf/harbor that referenced this issue Mar 22, 2022
…r-new-way

fix(ci) New way to deploy CertManager CRDs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants