Harbor: vmware harbor ui error -- severe

Created on 21 Jul 2018  路  3Comments  路  Source: goharbor/harbor

$ docker version
Client:
Version: 18.05.0-ce
API version: 1.37
Go version: go1.9.5
Git commit: f150324
Built: Wed May 9 22:14:54 2018
OS/Arch: linux/amd64
Experimental: false
Orchestrator: swarm

Server:
Engine:
Version: 18.05.0-ce
API version: 1.37 (minimum version 1.12)
Go version: go1.9.5
Git commit: f150324
Built: Wed May 9 22:18:36 2018
OS/Arch: linux/amd64
Experimental: false

$ /usr/local/bin/docker-compose version
docker-compose version 1.21.2, build a133471
docker-py version: 3.3.0
CPython version: 3.6.5
OpenSSL version: OpenSSL 1.0.1t 3 May 2016

In this setup, running on CentOS 7.x, am able to push and pull docker images without any issues.

From the UI, while trying to access the images i.e. clicking on the tag assigned to the image, UI display this in red color,

Unknown errors have occurred. Please try again later.

This is the URL being accessed. In fact, I have couple of test images and accessing their tag throws up the above error.
http://private-ip-address/harbor/projects/1/repositories/library%2Falpine/tags/latest

a) Have checked /var/log/harbor/ui.log, could not locate severe errors.

b) FWIW, in the /var/log/harbor/registry.log, there are lot of these error messages. Are they related ?

level=error msg="response completed with error" auth.user.name=admin err.code="blob unknown" err.detail=sha256:705703b2f7e54a835690dacb2cb1f681d03a3b5e15e093aed54cbf7065556cb0 err.message="blob unknown to registry"

areui duplicate kinbug

All 3 comments

https://github.com/vmware/harbor/issues/5055

Apparently this happens when the tag detail view is accesses without Clair installed. (https://github.com/vmware/harbor/issues/5055#issuecomment-393331527)

Did a fresh install of Harbor with Clair and Notary enabled, now the UI errors are not seen.

Let's track it via #5055 closing this one as dup.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

xiaosadexiaohai picture xiaosadexiaohai  路  3Comments

reasonerjt picture reasonerjt  路  3Comments

slietz picture slietz  路  4Comments

Poil picture Poil  路  3Comments

levchik picture levchik  路  4Comments