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

Uploading image successfully, but not found on UI. #3348

Closed
lueliu opened this issue Sep 30, 2017 · 16 comments
Closed

Uploading image successfully, but not found on UI. #3348

lueliu opened this issue Sep 30, 2017 · 16 comments

Comments

@lueliu
Copy link

lueliu commented Sep 30, 2017

Docker Version: 1.12.3

Uploading image successfully, but not found on UI.
After I upload the image, I can pull image to the local successfully.
You can also see the directory name and tag number of the new uploaded image in the data directory.

harbor.cfg

## Configuration file of Harbor

#The IP address or hostname to access admin UI and registry service.
#DO NOT use localhost or 127.0.0.1, because Harbor needs to be accessed by external clients.
hostname = reg.example.com

#The protocol for accessing the UI and token/notification service, by default it is http.
#It can be set to https if ssl is enabled on nginx.
ui_url_protocol = https

#Email account settings for sending out password resetting emails.
email_server = mail.example.com.cn
email_server_port = 25
email_username = liuyi@example.com.cn
email_password = liuyipasswd
email_from = admin <admin-registry@example.com.cn>
email_ssl = false

##The initial password of Harbor admin, only works for the first time when Harbor starts. 
#It has no effect after the first launch of Harbor.
#Change the admin password from UI after launching Harbor.
harbor_admin_password = Harbor12345

##By default the auth mode is db_auth, i.e. the credentials are stored in a local database.
#Set it to ldap_auth if you want to verify a user's credentials against an LDAP server.
#auth_mode = db_auth
auth_mode = ldap_auth

#The url for an ldap endpoint.
ldap_url = ldap://ldap.example.com

#A user's DN who has the permission to search the LDAP/AD server. 
#If your LDAP/AD server does not support anonymous search, you should configure this DN and ldap_search_pwd.
ldap_searchdn = cn=Manager,dc=example,dc=com

#the password of the ldap_searchdn
ldap_search_pwd = examplepasswd

#The base DN from which to look up a user in LDAP/AD
ldap_basedn = ou=People,dc=example,dc=com

#Search filter for LDAP/AD, make sure the syntax of the filter is correct.
#ldap_filter = (objectClass=person)

# The attribute used in a search to match a user, it could be uid, cn, email, sAMAccountName or other attributes depending on your LDAP/AD  
ldap_uid = uid 

#the scope to search for users, 1-LDAP_SCOPE_BASE, 2-LDAP_SCOPE_ONELEVEL, 3-LDAP_SCOPE_SUBTREE
ldap_scope = 3 

#The password for the root user of mysql db, change this before any production use.
db_password = rootroot

#Turn on or off the self-registration feature
self_registration = on

#Determine whether the UI should use compressed js files. 
#For production, set it to on. For development, set it to off.
use_compressed_js = on

#Maximum number of job workers in job service  
max_job_workers = 3 

#Secret key for encryption/decryption of password of remote registry, its length has to be 16 chars
#**NOTE** if this changes, previously encrypted password will not be decrypted!
#Change this key before any production use.
secret_key = secretkey1234567

#The expiration time (in minute) of token created by token service, default is 30 minutes
token_expiration = 30

#Determine whether the job service should verify the ssl cert when it connects to a remote registry.
#Set this flag to off when the remote registry uses a self-signed or untrusted certificate.
verify_remote_cert = on

#Determine whether or not to generate certificate for the registry's token.
#If the value is on, the prepare script creates new root cert and private key 
#for generating token to access the registry. If the value is off, a key/certificate must 
#be supplied for token generation.
customize_crt = on

#Information of your organization for certificate
crt_country = CN
crt_state = GD
crt_location = GZ
crt_organization = example, Inc.
crt_organizationalunit = IT
crt_commonname = reg.example.com
crt_email = example@example.com
#####

proxy.log

Sep 29 11:27:16 10.42.0.1 proxy[28427]: 10.42.0.1 - - [29/Sep/2017:03:27:16 +0000] "GET /v2/ HTTP/1.1" 401 87 "-" "docker/1.12.3 go/go1.6.3 git-commit/6b644ec kernel/3.19.0-25-generic os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.3 \x5C(linux\x5C))"#015
Sep 29 11:27:16 10.42.0.1 proxy[28427]: 10.42.0.1 - liuyi [29/Sep/2017:03:27:16 +0000] "GET /service/token?account=liuyi&scope=repository%3Aywbtest%2Frhel%3Apush%2Cpull&service=token-service HTTP/1.1" 200 1194 "-" "docker/1.12.3 go/go1.6.3 git-commit/6b644ec kernel/3.19.0-25-generic os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.3 \x5C(linux\x5C))"#015
Sep 29 11:27:16 10.42.0.1 proxy[28427]: 10.42.0.1 - - [29/Sep/2017:03:27:16 +0000] "HEAD /v2/ywbtest/rhel/blobs/sha256:b25889d273102779a1d372b4e6590da9916fe594300bf1573cb9a6521a57c25e HTTP/1.1" 200 0 "-" "docker/1.12.3 go/go1.6.3 git-commit/6b644ec kernel/3.19.0-25-generic os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.3 \x5C(linux\x5C))"#015
Sep 29 11:27:16 10.42.0.1 proxy[28427]: 10.42.0.1 - - [29/Sep/2017:03:27:16 +0000] "HEAD /v2/ywbtest/rhel/blobs/sha256:9161239f9b2210ead4fc1d528eb2167593dfe38c137c331e3dd19af0fc8cff39 HTTP/1.1" 200 0 "-" "docker/1.12.3 go/go1.6.3 git-commit/6b644ec kernel/3.19.0-25-generic os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.3 \x5C(linux\x5C))"#015
Sep 29 11:27:16 10.42.0.1 proxy[28427]: 10.42.0.1 - - [29/Sep/2017:03:27:16 +0000] "HEAD /v2/ywbtest/rhel/blobs/sha256:93bb76ddeb7a0a882f74f9ebc2c4d25b035823b2d3a4a98243e6f11f55b3f1d7 HTTP/1.1" 200 0 "-" "docker/1.12.3 go/go1.6.3 git-commit/6b644ec kernel/3.19.0-25-generic os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.3 \x5C(linux\x5C))"#015
Sep 29 11:27:16 10.42.0.1 proxy[28427]: 10.42.0.1 - - [29/Sep/2017:03:27:16 +0000] "PUT /v2/ywbtest/rhel/manifests/t1 HTTP/1.1" 201 0 "-" "docker/1.12.3 go/go1.6.3 git-commit/6b644ec kernel/3.19.0-25-generic os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.3 \x5C(linux\x5C))"#015

ui.log

Sep 29 11:27:16 10.42.0.1 ui[28427]: 2017-09-29T03:27:16Z [DEBUG] [authutils.go:67]: scopes: [repository:ywbtest/rhel:push,pull]#015
Sep 29 11:27:16 10.42.0.1 ui[28427]: 2017-09-29T03:27:16Z [INFO] request url: /service/token?account=liuyi&scope=repository%3Aywbtest%2Frhel%3Apush%2Cpull&service=token-service#015
Sep 29 11:27:16 10.42.0.1 ui[28427]: 2017-09-29T03:27:16Z [WARNING] Failed to get secret cookie, error: http: named cookie not present#015
Sep 29 11:27:16 10.42.0.1 ui[28427]: 2017-09-29T03:27:16Z [DEBUG] [token.go:53]: uid for logging: liuyi#015
Sep 29 11:27:16 10.42.0.1 ui[28427]: 2017-09-29T03:27:16Z [DEBUG] [authenticator.go:52]: Current AUTH_MODE is ldap_auth#015
Sep 29 11:27:16 10.42.0.1 ui[28427]: 2017-09-29T03:27:16Z [DEBUG] [ldap.go:53]: ldapURL:ldap://ldap.example.com#015
Sep 29 11:27:16 10.42.0.1 ui[28427]: 2017-09-29T03:27:16Z [DEBUG] [ldap.go:64]: baseDn:ou=People,dc=example,dc=com#015
Sep 29 11:27:16 10.42.0.1 ui[28427]: 2017-09-29T03:27:16Z [DEBUG] [ldap.go:68]: Search DN: cn=Manager,dc=example,dc=com#015
Sep 29 11:27:16 10.42.0.1 ui[28427]: 2017-09-29T03:27:16Z [DEBUG] [ldap.go:84]: one or more filter(uid=liuyi)#015
Sep 29 11:27:16 10.42.0.1 ui[28427]: 2017-09-29T03:27:16Z [DEBUG] [ldap.go:109]: found entry:{<nil> <nil> 0 <nil> uid=liuyi,ou=People,dc=example,dc=com [{cn [liuyi]} {uid [liuyi]} {mail [liuyi@example.com.cn]}]}#015
Sep 29 11:27:16 10.42.0.1 ui[28427]: 2017-09-29T03:27:16Z [DEBUG] [ldap.go:132]: username:liuyi,email:liuyi@example.com.cn#015
Sep 29 11:27:16 10.42.0.1 ui[28427]: 2017-09-29T03:27:16Z [DEBUG] [token.go:63]: username for filtering access: liuyi.#015
Sep 29 11:27:16 10.42.0.1 ui[28427]: 2017-09-29T03:27:16Z [INFO] current access, type: repository, name:ywbtest/rhel, actions:[push * pull] #015
Sep 29 11:27:16 10.42.0.1 ui[28427]: 2017/09/29 03:27:16 #033[1;34m[router.go:829][D] | GET        | /service/token                           | 48.982405ms      | match      | /service/token                           | #033[0m#015
Sep 29 11:27:16 10.42.0.1 ui[28427]: 2017-09-29T03:27:16Z [DEBUG] [notification.go:106]: receive an event: ID-35b78b7e-d059-48fc-90fa-10fafe803cb5, target-ywbtest/rhel:, digest-sha256:b25889d273102779a1d372b4e6590da9916fe594300bf1573cb9a6521a57c25e, action-pull#015
Sep 29 11:27:16 10.42.0.1 ui[28427]: 2017/09/29 03:27:16 #033[1;34m[router.go:829][D] | POST       | /service/notifications                   | 3.698201ms       | match      | /service/notifications                   | #033[0m#015
Sep 29 11:27:16 10.42.0.1 ui[28427]: 2017-09-29T03:27:16Z [DEBUG] [notification.go:106]: receive an event: ID-16d1f3ff-f3aa-474b-a47b-d9f7cf645ab1, target-ywbtest/rhel:, digest-sha256:9161239f9b2210ead4fc1d528eb2167593dfe38c137c331e3dd19af0fc8cff39, action-pull#015
Sep 29 11:27:16 10.42.0.1 ui[28427]: 2017/09/29 03:27:16 #033[1;34m[router.go:829][D] | POST       | /service/notifications                   | 299.671µs        | match      | /service/notifications                   | #033[0m#015
Sep 29 11:27:16 10.42.0.1 ui[28427]: 2017-09-29T03:27:16Z [DEBUG] [notification.go:106]: receive an event: ID-be0cb55c-ae33-4460-a104-2c6577c4971e, target-ywbtest/rhel:, digest-sha256:93bb76ddeb7a0a882f74f9ebc2c4d25b035823b2d3a4a98243e6f11f55b3f1d7, action-pull#015
Sep 29 11:27:16 10.42.0.1 ui[28427]: 2017/09/29 03:27:16 #033[1;34m[router.go:829][D] | POST       | /service/notifications                   | 565.807µs        | match      | /service/notifications                   | #033[0m#015
Sep 29 11:27:16 10.42.0.1 ui[28427]: 2017-09-29T03:27:16Z [DEBUG] [notification.go:106]: receive an event: ID-1b46eb3c-ebe7-46fa-aaa9-f26a4bb9a4b1, target-ywbtest/rhel:t1, digest-sha256:50e10c089959be7803c0b6dfe3de5b717c3fb4f8584bd38a90b5504f55a98821, action-push#015
Sep 29 11:27:16 10.42.0.1 ui[28427]: 2017-09-29T03:27:16Z [DEBUG] [notification.go:121]: add event to collect: 1b46eb3c-ebe7-46fa-aaa9-f26a4bb9a4b1#015
Sep 29 11:27:16 10.42.0.1 ui[28427]: 2017/09/29 03:27:16 #033[1;34m[router.go:829][D] | POST       | /service/notifications                   | 621.495µs        | match      | /service/notifications                   | #033[0m#015
Sep 29 11:27:16 10.42.0.1 ui[28427]: 2017-09-29T03:27:16Z [ERROR] [accesslog.go:152]: error in AccessLog: Error 1836: InnoDB: Running in read-only mode #015
Sep 29 11:27:16 10.42.0.1 ui[28427]: 2017-09-29T03:27:16Z [ERROR] [notification.go:70]: failed to add access log: Error 1836: InnoDB: Running in read-only mode#015
Sep 29 11:27:16 10.42.0.1 ui[28427]: 2017-09-29T03:27:16Z [DEBUG] [notification.go:79]: Add repository ywbtest/rhel into DB.#015
Sep 29 11:27:16 10.42.0.1 ui[28427]: 2017-09-29T03:27:16Z [ERROR] [notification.go:82]: Error happens when adding repository: Error 1836: InnoDB: Running in read-only mode#015
Sep 29 11:27:16 10.42.0.1 ui[28427]: 2017-09-29T03:27:16Z [DEBUG] [cache.go:46]: refreshing catalog cache...#015

registry.log

Sep 29 11:27:16 10.42.0.1 registry[28427]: #033[37mDEBU#033[0m[65174] authorizing request                           #033[37mgo.version#033[0m=go1.6.3 #033[37mhttp.request.host#033[0m=reg.example.com #033[37mhttp.request.id#033[0m=a9d2030c-043d-4937-b632-4532fd0d66b0 #033[37mhttp.request.method#033[0m=GET #033[37mhttp.request.remoteaddr#033[0m=10.42.0.1 #033[37mhttp.request.uri#033[0m=/v2/ #033[37mhttp.request.useragent#033[0m=docker/1.12.3 go/go1.6.3 git-commit/6b644ec kernel/3.19.0-25-generic os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.3 \(linux\)) #033[37minstance.id#033[0m=faa3008b-40ee-4777-b98d-ad7827aa39d9 #033[37mservice#033[0m=registry #033[37mversion#033[0m=v2.5.0#015
Sep 29 11:27:16 10.42.0.1 registry[28427]: #033[33mWARN#033[0m[65174] error authorizing context: authorization token required  #033[33mgo.version#033[0m=go1.6.3 #033[33mhttp.request.host#033[0m=reg.example.com #033[33mhttp.request.id#033[0m=a9d2030c-043d-4937-b632-4532fd0d66b0 #033[33mhttp.request.method#033[0m=GET #033[33mhttp.request.remoteaddr#033[0m=10.42.0.1 #033[33mhttp.request.uri#033[0m=/v2/ #033[33mhttp.request.useragent#033[0m=docker/1.12.3 go/go1.6.3 git-commit/6b644ec kernel/3.19.0-25-generic os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.3 \(linux\)) #033[33minstance.id#033[0m=faa3008b-40ee-4777-b98d-ad7827aa39d9 #033[33mservice#033[0m=registry #033[33mversion#033[0m=v2.5.0#015
Sep 29 11:27:16 10.42.0.1 registry[28427]: 10.42.30.239 - - [29/Sep/2017:03:27:16 +0000] "GET /v2/ HTTP/1.1" 401 87 "" "docker/1.12.3 go/go1.6.3 git-commit/6b644ec kernel/3.19.0-25-generic os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.3 \\(linux\\))"#015
Sep 29 11:27:16 10.42.0.1 registry[28427]: #033[37mDEBU#033[0m[65175] authorizing request                           #033[37mgo.version#033[0m=go1.6.3 #033[37mhttp.request.host#033[0m=reg.example.com #033[37mhttp.request.id#033[0m=d7437739-05c6-41ad-acfa-8eae59fc9802 #033[37mhttp.request.method#033[0m=HEAD #033[37mhttp.request.remoteaddr#033[0m=10.42.0.1 #033[37mhttp.request.uri#033[0m=/v2/ywbtest/rhel/blobs/sha256:b25889d273102779a1d372b4e6590da9916fe594300bf1573cb9a6521a57c25e #033[37mhttp.request.useragent#033[0m=docker/1.12.3 go/go1.6.3 git-commit/6b644ec kernel/3.19.0-25-generic os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.3 \(linux\)) #033[37minstance.id#033[0m=faa3008b-40ee-4777-b98d-ad7827aa39d9 #033[37mservice#033[0m=registry #033[37mvars.digest#033[0m=sha256:b25889d273102779a1d372b4e6590da9916fe594300bf1573cb9a6521a57c25e #033[37mvars.name#033[0m=ywbtest/rhel #033[37mversion#033[0m=v2.5.0#015
Sep 29 11:27:16 10.42.0.1 registry[28427]: #033[37mDEBU#033[0m[65175] GetBlob                                       #033[37mauth.user.name#033[0m=liuyi #033[37mgo.version#033[0m=go1.6.3 #033[37mhttp.request.host#033[0m=reg.example.com #033[37mhttp.request.id#033[0m=d7437739-05c6-41ad-acfa-8eae59fc9802 #033[37mhttp.request.method#033[0m=HEAD #033[37mhttp.request.remoteaddr#033[0m=10.42.0.1 #033[37mhttp.request.uri#033[0m=/v2/ywbtest/rhel/blobs/sha256:b25889d273102779a1d372b4e6590da9916fe594300bf1573cb9a6521a57c25e #033[37mhttp.request.useragent#033[0m=docker/1.12.3 go/go1.6.3 git-commit/6b644ec kernel/3.19.0-25-generic os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.3 \(linux\)) #033[37minstance.id#033[0m=faa3008b-40ee-4777-b98d-ad7827aa39d9 #033[37mservice#033[0m=registry #033[37mvars.digest#033[0m=sha256:b25889d273102779a1d372b4e6590da9916fe594300bf1573cb9a6521a57c25e #033[37mvars.name#033[0m=ywbtest/rhel #033[37mversion#033[0m=v2.5.0#015
Sep 29 11:27:16 10.42.0.1 registry[28427]: #033[37mDEBU#033[0m[65175] filesystem.URLFor("/docker/registry/v2/blobs/sha256/b2/b25889d273102779a1d372b4e6590da9916fe594300bf1573cb9a6521a57c25e/data")  #033[37mauth.user.name#033[0m=liuyi #033[37mgo.version#033[0m=go1.6.3 #033[37mhttp.request.host#033[0m=reg.example.com #033[37mhttp.request.id#033[0m=d7437739-05c6-41ad-acfa-8eae59fc9802 #033[37mhttp.request.method#033[0m=HEAD #033[37mhttp.request.remoteaddr#033[0m=10.42.0.1 #033[37mhttp.request.uri#033[0m=/v2/ywbtest/rhel/blobs/sha256:b25889d273102779a1d372b4e6590da9916fe594300bf1573cb9a6521a57c25e #033[37mhttp.request.useragent#033[0m=docker/1.12.3 go/go1.6.3 git-commit/6b644ec kernel/3.19.0-25-generic os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.3 \(linux\)) #033[37minstance.id#033[0m=faa3008b-40ee-4777-b98d-ad7827aa39d9 #033[37mservice#033[0m=registry #033[37mtrace.duration#033[0m=48.936µs #033[37mtrace.file#033[0m=/go/src/github.com/docker/distribution/registry/storage/driver/base/base.go #033[37mtrace.func#033[0m=github.com/docker/distribution/registry/storage/driver/base.(*Base).URLFor #033[37mtrace.id#033[0m=c56b8dae-5978-4d21-ac61-7bb8557547e6 #033[37mtrace.line#033[0m=189 #033[37mvars.digest#033[0m=sha256:b25889d273102779a1d372b4e6590da9916fe594300bf1573cb9a6521a57c25e #033[37mvars.name#033[0m=ywbtest/rhel #033[37mversion#033[0m=v2.5.0#015
Sep 29 11:27:16 10.42.0.1 registry[28427]: #033[34mINFO#033[0m[65175] response completed                            #033[34mgo.version#033[0m=go1.6.3 #033[34mhttp.request.host#033[0m=reg.example.com #033[34mhttp.request.id#033[0m=d7437739-05c6-41ad-acfa-8eae59fc9802 #033[34mhttp.request.method#033[0m=HEAD #033[34mhttp.request.remoteaddr#033[0m=10.42.0.1 #033[34mhttp.request.uri#033[0m=/v2/ywbtest/rhel/blobs/sha256:b25889d273102779a1d372b4e6590da9916fe594300bf1573cb9a6521a57c25e #033[34mhttp.request.useragent#033[0m=docker/1.12.3 go/go1.6.3 git-commit/6b644ec kernel/3.19.0-25-generic os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.3 \(linux\)) #033[34mhttp.response.contenttype#033[0m=application/octet-stream #033[34mhttp.response.duration#033[0m=9.057043ms #033[34mhttp.response.status#033[0m=200 #033[34mhttp.response.written#033[0m=0 #033[34minstance.id#033[0m=faa3008b-40ee-4777-b98d-ad7827aa39d9 #033[34mservice#033[0m=registry #033[34mversion#033[0m=v2.5.0#015
Sep 29 11:27:16 10.42.0.1 registry[28427]: 10.42.30.239 - - [29/Sep/2017:03:27:16 +0000] "HEAD /v2/ywbtest/rhel/blobs/sha256:b25889d273102779a1d372b4e6590da9916fe594300bf1573cb9a6521a57c25e HTTP/1.1" 200 0 "" "docker/1.12.3 go/go1.6.3 git-commit/6b644ec kernel/3.19.0-25-generic os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.3 \\(linux\\))"#015
Sep 29 11:27:16 10.42.0.1 registry[28427]: #033[37mDEBU#033[0m[65175] authorizing request                           #033[37mgo.version#033[0m=go1.6.3 #033[37mhttp.request.host#033[0m=reg.example.com #033[37mhttp.request.id#033[0m=838a5064-6383-41e9-b2d7-9167f8bf22bd #033[37mhttp.request.method#033[0m=HEAD #033[37mhttp.request.remoteaddr#033[0m=10.42.0.1 #033[37mhttp.request.uri#033[0m=/v2/ywbtest/rhel/blobs/sha256:9161239f9b2210ead4fc1d528eb2167593dfe38c137c331e3dd19af0fc8cff39 #033[37mhttp.request.useragent#033[0m=docker/1.12.3 go/go1.6.3 git-commit/6b644ec kernel/3.19.0-25-generic os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.3 \(linux\)) #033[37minstance.id#033[0m=faa3008b-40ee-4777-b98d-ad7827aa39d9 #033[37mservice#033[0m=registry #033[37mvars.digest#033[0m=sha256:9161239f9b2210ead4fc1d528eb2167593dfe38c137c331e3dd19af0fc8cff39 #033[37mvars.name#033[0m=ywbtest/rhel #033[37mversion#033[0m=v2.5.0#015
Sep 29 11:27:16 10.42.0.1 registry[28427]: #033[37mDEBU#033[0m[65175] GetBlob                                       #033[37mauth.user.name#033[0m=liuyi #033[37mgo.version#033[0m=go1.6.3 #033[37mhttp.request.host#033[0m=reg.example.com #033[37mhttp.request.id#033[0m=838a5064-6383-41e9-b2d7-9167f8bf22bd #033[37mhttp.request.method#033[0m=HEAD #033[37mhttp.request.remoteaddr#033[0m=10.42.0.1 #033[37mhttp.request.uri#033[0m=/v2/ywbtest/rhel/blobs/sha256:9161239f9b2210ead4fc1d528eb2167593dfe38c137c331e3dd19af0fc8cff39 #033[37mhttp.request.useragent#033[0m=docker/1.12.3 go/go1.6.3 git-commit/6b644ec kernel/3.19.0-25-generic os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.3 \(linux\)) #033[37minstance.id#033[0m=faa3008b-40ee-4777-b98d-ad7827aa39d9 #033[37mservice#033[0m=registry #033[37mvars.digest#033[0m=sha256:9161239f9b2210ead4fc1d528eb2167593dfe38c137c331e3dd19af0fc8cff39 #033[37mvars.name#033[0m=ywbtest/rhel #033[37mversion#033[0m=v2.5.0#015
Sep 29 11:27:16 10.42.0.1 registry[28427]: #033[37mDEBU#033[0m[65175] filesystem.URLFor("/docker/registry/v2/blobs/sha256/91/9161239f9b2210ead4fc1d528eb2167593dfe38c137c331e3dd19af0fc8cff39/data")  #033[37mauth.user.name#033[0m=liuyi #033[37mgo.version#033[0m=go1.6.3 #033[37mhttp.request.host#033[0m=reg.example.com #033[37mhttp.request.id#033[0m=838a5064-6383-41e9-b2d7-9167f8bf22bd #033[37mhttp.request.method#033[0m=HEAD #033[37mhttp.request.remoteaddr#033[0m=10.42.0.1 #033[37mhttp.request.uri#033[0m=/v2/ywbtest/rhel/blobs/sha256:9161239f9b2210ead4fc1d528eb2167593dfe38c137c331e3dd19af0fc8cff39 #033[37mhttp.request.useragent#033[0m=docker/1.12.3 go/go1.6.3 git-commit/6b644ec kernel/3.19.0-25-generic os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.3 \(linux\)) #033[37minstance.id#033[0m=faa3008b-40ee-4777-b98d-ad7827aa39d9 #033[37mservice#033[0m=registry #033[37mtrace.duration#033[0m=28.6µs #033[37mtrace.file#033[0m=/go/src/github.com/docker/distribution/registry/storage/driver/base/base.go #033[37mtrace.func#033[0m=github.com/docker/distribution/registry/storage/driver/base.(*Base).URLFor #033[37mtrace.id#033[0m=293cf983-ddde-42b1-9cc9-07aa28eebce4 #033[37mtrace.line#033[0m=189 #033[37mvars.digest#033[0m=sha256:9161239f9b2210ead4fc1d528eb2167593dfe38c137c331e3dd19af0fc8cff39 #033[37mvars.name#033[0m=ywbtest/rhel #033[37mversion#033[0m=v2.5.0#015
Sep 29 11:27:16 10.42.0.1 registry[28427]: #033[34mINFO#033[0m[65175] response completed                            #033[34mgo.version#033[0m=go1.6.3 #033[34mhttp.request.host#033[0m=reg.example.com #033[34mhttp.request.id#033[0m=838a5064-6383-41e9-b2d7-9167f8bf22bd #033[34mhttp.request.method#033[0m=HEAD #033[34mhttp.request.remoteaddr#033[0m=10.42.0.1 #033[34mhttp.request.uri#033[0m=/v2/ywbtest/rhel/blobs/sha256:9161239f9b2210ead4fc1d528eb2167593dfe38c137c331e3dd19af0fc8cff39 #033[34mhttp.request.useragent#033[0m=docker/1.12.3 go/go1.6.3 git-commit/6b644ec kernel/3.19.0-25-generic os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.3 \(linux\)) #033[34mhttp.response.contenttype#033[0m=application/octet-stream #033[34mhttp.response.duration#033[0m=9.704829ms #033[34mhttp.response.status#033[0m=200 #033[34mhttp.response.written#033[0m=0 #033[34minstance.id#033[0m=faa3008b-40ee-4777-b98d-ad7827aa39d9 #033[34mservice#033[0m=registry #033[34mversion#033[0m=v2.5.0#015
Sep 29 11:27:16 10.42.0.1 registry[28427]: 10.42.30.239 - - [29/Sep/2017:03:27:16 +0000] "HEAD /v2/ywbtest/rhel/blobs/sha256:9161239f9b2210ead4fc1d528eb2167593dfe38c137c331e3dd19af0fc8cff39 HTTP/1.1" 200 0 "" "docker/1.12.3 go/go1.6.3 git-commit/6b644ec kernel/3.19.0-25-generic os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.3 \\(linux\\))"#015
Sep 29 11:27:16 10.42.0.1 registry[28427]: #033[37mDEBU#033[0m[65175] authorizing request                           #033[37mgo.version#033[0m=go1.6.3 #033[37mhttp.request.host#033[0m=reg.example.com #033[37mhttp.request.id#033[0m=61001cfc-0d24-4f23-a791-263db667e4f6 #033[37mhttp.request.method#033[0m=HEAD #033[37mhttp.request.remoteaddr#033[0m=10.42.0.1 #033[37mhttp.request.uri#033[0m=/v2/ywbtest/rhel/blobs/sha256:93bb76ddeb7a0a882f74f9ebc2c4d25b035823b2d3a4a98243e6f11f55b3f1d7 #033[37mhttp.request.useragent#033[0m=docker/1.12.3 go/go1.6.3 git-commit/6b644ec kernel/3.19.0-25-generic os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.3 \(linux\)) #033[37minstance.id#033[0m=faa3008b-40ee-4777-b98d-ad7827aa39d9 #033[37mservice#033[0m=registry #033[37mvars.digest#033[0m=sha256:93bb76ddeb7a0a882f74f9ebc2c4d25b035823b2d3a4a98243e6f11f55b3f1d7 #033[37mvars.name#033[0m=ywbtest/rhel #033[37mversion#033[0m=v2.5.0#015
Sep 29 11:27:16 10.42.0.1 registry[28427]: #033[37mDEBU#033[0m[65175] GetBlob                                       #033[37mauth.user.name#033[0m=liuyi #033[37mgo.version#033[0m=go1.6.3 #033[37mhttp.request.host#033[0m=reg.example.com #033[37mhttp.request.id#033[0m=61001cfc-0d24-4f23-a791-263db667e4f6 #033[37mhttp.request.method#033[0m=HEAD #033[37mhttp.request.remoteaddr#033[0m=10.42.0.1 #033[37mhttp.request.uri#033[0m=/v2/ywbtest/rhel/blobs/sha256:93bb76ddeb7a0a882f74f9ebc2c4d25b035823b2d3a4a98243e6f11f55b3f1d7 #033[37mhttp.request.useragent#033[0m=docker/1.12.3 go/go1.6.3 git-commit/6b644ec kernel/3.19.0-25-generic os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.3 \(linux\)) #033[37minstance.id#033[0m=faa3008b-40ee-4777-b98d-ad7827aa39d9 #033[37mservice#033[0m=registry #033[37mvars.digest#033[0m=sha256:93bb76ddeb7a0a882f74f9ebc2c4d25b035823b2d3a4a98243e6f11f55b3f1d7 #033[37mvars.name#033[0m=ywbtest/rhel #033[37mversion#033[0m=v2.5.0#015
Sep 29 11:27:16 10.42.0.1 registry[28427]: #033[37mDEBU#033[0m[65175] filesystem.URLFor("/docker/registry/v2/blobs/sha256/93/93bb76ddeb7a0a882f74f9ebc2c4d25b035823b2d3a4a98243e6f11f55b3f1d7/data")  #033[37mauth.user.name#033[0m=liuyi #033[37mgo.version#033[0m=go1.6.3 #033[37mhttp.request.host#033[0m=reg.example.com #033[37mhttp.request.id#033[0m=61001cfc-0d24-4f23-a791-263db667e4f6 #033[37mhttp.request.method#033[0m=HEAD #033[37mhttp.request.remoteaddr#033[0m=10.42.0.1 #033[37mhttp.request.uri#033[0m=/v2/ywbtest/rhel/blobs/sha256:93bb76ddeb7a0a882f74f9ebc2c4d25b035823b2d3a4a98243e6f11f55b3f1d7 #033[37mhttp.request.useragent#033[0m=docker/1.12.3 go/go1.6.3 git-commit/6b644ec kernel/3.19.0-25-generic os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.3 \(linux\)) #033[37minstance.id#033[0m=faa3008b-40ee-4777-b98d-ad7827aa39d9 #033[37mservice#033[0m=registry #033[37mtrace.duration#033[0m=20.287µs #033[37mtrace.file#033[0m=/go/src/github.com/docker/distribution/registry/storage/driver/base/base.go #033[37mtrace.func#033[0m=github.com/docker/distribution/registry/storage/driver/base.(*Base).URLFor #033[37mtrace.id#033[0m=c300823e-d11d-4ade-90a7-d827a30be466 #033[37mtrace.line#033[0m=189 #033[37mvars.digest#033[0m=sha256:93bb76ddeb7a0a882f74f9ebc2c4d25b035823b2d3a4a98243e6f11f55b3f1d7 #033[37mvars.name#033[0m=ywbtest/rhel #033[37mversion#033[0m=v2.5.0#015
Sep 29 11:27:16 10.42.0.1 registry[28427]: #033[34mINFO#033[0m[65175] response completed                            #033[34mgo.version#033[0m=go1.6.3 #033[34mhttp.request.host#033[0m=reg.example.com #033[34mhttp.request.id#033[0m=61001cfc-0d24-4f23-a791-263db667e4f6 #033[34mhttp.request.method#033[0m=HEAD #033[34mhttp.request.remoteaddr#033[0m=10.42.0.1 #033[34mhttp.request.uri#033[0m=/v2/ywbtest/rhel/blobs/sha256:93bb76ddeb7a0a882f74f9ebc2c4d25b035823b2d3a4a98243e6f11f55b3f1d7 #033[34mhttp.request.useragent#033[0m=docker/1.12.3 go/go1.6.3 git-commit/6b644ec kernel/3.19.0-25-generic os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.3 \(linux\)) #033[34mhttp.response.contenttype#033[0m=application/octet-stream #033[34mhttp.response.duration#033[0m=2.529321ms #033[34mhttp.response.status#033[0m=200 #033[34mhttp.response.written#033[0m=0 #033[34minstance.id#033[0m=faa3008b-40ee-4777-b98d-ad7827aa39d9 #033[34mservice#033[0m=registry #033[34mversion#033[0m=v2.5.0#015
Sep 29 11:27:16 10.42.0.1 registry[28427]: 10.42.30.239 - - [29/Sep/2017:03:27:16 +0000] "HEAD /v2/ywbtest/rhel/blobs/sha256:93bb76ddeb7a0a882f74f9ebc2c4d25b035823b2d3a4a98243e6f11f55b3f1d7 HTTP/1.1" 200 0 "" "docker/1.12.3 go/go1.6.3 git-commit/6b644ec kernel/3.19.0-25-generic os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.3 \\(linux\\))"#015
Sep 29 11:27:16 10.42.0.1 registry[28427]: #033[37mDEBU#033[0m[65175] authorizing request                           #033[37mgo.version#033[0m=go1.6.3 #033[37mhttp.request.contenttype#033[0m=application/vnd.docker.distribution.manifest.v2+json #033[37mhttp.request.host#033[0m=reg.example.com #033[37mhttp.request.id#033[0m=ebed2745-7bf9-4416-824e-7b6896c0f23e #033[37mhttp.request.method#033[0m=PUT #033[37mhttp.request.remoteaddr#033[0m=10.42.0.1 #033[37mhttp.request.uri#033[0m=/v2/ywbtest/rhel/manifests/t1 #033[37mhttp.request.useragent#033[0m=docker/1.12.3 go/go1.6.3 git-commit/6b644ec kernel/3.19.0-25-generic os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.3 \(linux\)) #033[37minstance.id#033[0m=faa3008b-40ee-4777-b98d-ad7827aa39d9 #033[37mservice#033[0m=registry #033[37mvars.name#033[0m=ywbtest/rhel #033[37mvars.reference#033[0m=t1 #033[37mversion#033[0m=v2.5.0#015
Sep 29 11:27:16 10.42.0.1 registry[28427]: #033[37mDEBU#033[0m[65175] PutImageManifest                              #033[37mauth.user.name#033[0m=liuyi #033[37mgo.version#033[0m=go1.6.3 #033[37mhttp.request.contenttype#033[0m=application/vnd.docker.distribution.manifest.v2+json #033[37mhttp.request.host#033[0m=reg.example.com #033[37mhttp.request.id#033[0m=ebed2745-7bf9-4416-824e-7b6896c0f23e #033[37mhttp.request.method#033[0m=PUT #033[37mhttp.request.remoteaddr#033[0m=10.42.0.1 #033[37mhttp.request.uri#033[0m=/v2/ywbtest/rhel/manifests/t1 #033[37mhttp.request.useragent#033[0m=docker/1.12.3 go/go1.6.3 git-commit/6b644ec kernel/3.19.0-25-generic os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.3 \(linux\)) #033[37minstance.id#033[0m=faa3008b-40ee-4777-b98d-ad7827aa39d9 #033[37mservice#033[0m=registry #033[37mvars.name#033[0m=ywbtest/rhel #033[37mvars.reference#033[0m=t1 #033[37mversion#033[0m=v2.5.0#015
Sep 29 11:27:16 10.42.0.1 registry[28427]: #033[37mDEBU#033[0m[65175] (*manifestStore).Put                          #033[37mauth.user.name#033[0m=liuyi #033[37mgo.version#033[0m=go1.6.3 #033[37mhttp.request.contenttype#033[0m=application/vnd.docker.distribution.manifest.v2+json #033[37mhttp.request.host#033[0m=reg.example.com #033[37mhttp.request.id#033[0m=ebed2745-7bf9-4416-824e-7b6896c0f23e #033[37mhttp.request.method#033[0m=PUT #033[37mhttp.request.remoteaddr#033[0m=10.42.0.1 #033[37mhttp.request.uri#033[0m=/v2/ywbtest/rhel/manifests/t1 #033[37mhttp.request.useragent#033[0m=docker/1.12.3 go/go1.6.3 git-commit/6b644ec kernel/3.19.0-25-generic os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.3 \(linux\)) #033[37minstance.id#033[0m=faa3008b-40ee-4777-b98d-ad7827aa39d9 #033[37mservice#033[0m=registry #033[37mvars.name#033[0m=ywbtest/rhel #033[37mvars.reference#033[0m=t1 #033[37mversion#033[0m=v2.5.0#015
Sep 29 11:27:16 10.42.0.1 registry[28427]: #033[37mDEBU#033[0m[65175] (*schema2ManifestHandler).Put                 #033[37mauth.user.name#033[0m=liuyi #033[37mgo.version#033[0m=go1.6.3 #033[37mhttp.request.contenttype#033[0m=application/vnd.docker.distribution.manifest.v2+json #033[37mhttp.request.host#033[0m=reg.example.com #033[37mhttp.request.id#033[0m=ebed2745-7bf9-4416-824e-7b6896c0f23e #033[37mhttp.request.method#033[0m=PUT #033[37mhttp.request.remoteaddr#033[0m=10.42.0.1 #033[37mhttp.request.uri#033[0m=/v2/ywbtest/rhel/manifests/t1 #033[37mhttp.request.useragent#033[0m=docker/1.12.3 go/go1.6.3 git-commit/6b644ec kernel/3.19.0-25-generic os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.3 \(linux\)) #033[37minstance.id#033[0m=faa3008b-40ee-4777-b98d-ad7827aa39d9 #033[37mservice#033[0m=registry #033[37mvars.name#033[0m=ywbtest/rhel #033[37mvars.reference#033[0m=t1 #033[37mversion#033[0m=v2.5.0#015
Sep 29 11:27:16 10.42.0.1 registry[28427]: #033[37mDEBU#033[0m[65175] filesystem.PutContent("/docker/registry/v2/repositories/ywbtest/rhel/_manifests/revisions/sha256/50e10c089959be7803c0b6dfe3de5b717c3fb4f8584bd38a90b5504f55a98821/link")  #033[37mauth.user.name#033[0m=liuyi #033[37mgo.version#033[0m=go1.6.3 #033[37mhttp.request.contenttype#033[0m=application/vnd.docker.distribution.manifest.v2+json #033[37mhttp.request.host#033[0m=reg.example.com #033[37mhttp.request.id#033[0m=ebed2745-7bf9-4416-824e-7b6896c0f23e #033[37mhttp.request.method#033[0m=PUT #033[37mhttp.request.remoteaddr#033[0m=10.42.0.1 #033[37mhttp.request.uri#033[0m=/v2/ywbtest/rhel/manifests/t1 #033[37mhttp.request.useragent#033[0m=docker/1.12.3 go/go1.6.3 git-commit/6b644ec kernel/3.19.0-25-generic os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.3 \(linux\)) #033[37minstance.id#033[0m=faa3008b-40ee-4777-b98d-ad7827aa39d9 #033[37mservice#033[0m=registry #033[37mtrace.duration#033[0m=13.478373ms #033[37mtrace.file#033[0m=/go/src/github.com/docker/distribution/registry/storage/driver/base/base.go #033[37mtrace.func#033[0m=github.com/docker/distribution/registry/storage/driver/base.(*Base).PutContent #033[37mtrace.id#033[0m=05fed81c-4eaa-4cf3-a27a-559fc1f0791c #033[37mtrace.line#033[0m=95 #033[37mvars.name#033[0m=ywbtest/rhel #033[37mvars.reference#033[0m=t1 #033[37mversion#033[0m=v2.5.0#015
Sep 29 11:27:16 10.42.0.1 registry[28427]: #033[37mDEBU#033[0m[65175] filesystem.PutContent("/docker/registry/v2/repositories/ywbtest/rhel/_manifests/revisions/sha256/50e10c089959be7803c0b6dfe3de5b717c3fb4f8584bd38a90b5504f55a98821/link")  #033[37mauth.user.name#033[0m=liuyi #033[37mgo.version#033[0m=go1.6.3 #033[37mhttp.request.contenttype#033[0m=application/vnd.docker.distribution.manifest.v2+json #033[37mhttp.request.host#033[0m=reg.example.com #033[37mhttp.request.id#033[0m=ebed2745-7bf9-4416-824e-7b6896c0f23e #033[37mhttp.request.method#033[0m=PUT #033[37mhttp.request.remoteaddr#033[0m=10.42.0.1 #033[37mhttp.request.uri#033[0m=/v2/ywbtest/rhel/manifests/t1 #033[37mhttp.request.useragent#033[0m=docker/1.12.3 go/go1.6.3 git-commit/6b644ec kernel/3.19.0-25-generic os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.3 \(linux\)) #033[37minstance.id#033[0m=faa3008b-40ee-4777-b98d-ad7827aa39d9 #033[37mservice#033[0m=registry #033[37mtrace.duration#033[0m=9.288339ms #033[37mtrace.file#033[0m=/go/src/github.com/docker/distribution/registry/storage/driver/base/base.go #033[37mtrace.func#033[0m=github.com/docker/distribution/registry/storage/driver/base.(*Base).PutContent #033[37mtrace.id#033[0m=5b85b097-e0c2-43d0-91d8-f5751dee423a #033[37mtrace.line#033[0m=95 #033[37mvars.name#033[0m=ywbtest/rhel #033[37mvars.reference#033[0m=t1 #033[37mversion#033[0m=v2.5.0#015
Sep 29 11:27:16 10.42.0.1 registry[28427]: #033[37mDEBU#033[0m[65175] filesystem.PutContent("/docker/registry/v2/repositories/ywbtest/rhel/_manifests/tags/t1/index/sha256/50e10c089959be7803c0b6dfe3de5b717c3fb4f8584bd38a90b5504f55a98821/link")  #033[37mauth.user.name#033[0m=liuyi #033[37mgo.version#033[0m=go1.6.3 #033[37mhttp.request.contenttype#033[0m=application/vnd.docker.distribution.manifest.v2+json #033[37mhttp.request.host#033[0m=reg.example.com #033[37mhttp.request.id#033[0m=ebed2745-7bf9-4416-824e-7b6896c0f23e #033[37mhttp.request.method#033[0m=PUT #033[37mhttp.request.remoteaddr#033[0m=10.42.0.1 #033[37mhttp.request.uri#033[0m=/v2/ywbtest/rhel/manifests/t1 #033[37mhttp.request.useragent#033[0m=docker/1.12.3 go/go1.6.3 git-commit/6b644ec kernel/3.19.0-25-generic os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.3 \(linux\)) #033[37minstance.id#033[0m=faa3008b-40ee-4777-b98d-ad7827aa39d9 #033[37mservice#033[0m=registry #033[37mtrace.duration#033[0m=9.297692ms #033[37mtrace.file#033[0m=/go/src/github.com/docker/distribution/registry/storage/driver/base/base.go #033[37mtrace.func#033[0m=github.com/docker/distribution/registry/storage/driver/base.(*Base).PutContent #033[37mtrace.id#033[0m=cf866dc5-177b-4166-a09d-b06a08c0187b #033[37mtrace.line#033[0m=95 #033[37mvars.name#033[0m=ywbtest/rhel #033[37mvars.reference#033[0m=t1 #033[37mversion#033[0m=v2.5.0#015
Sep 29 11:27:16 10.42.0.1 registry[28427]: #033[37mDEBU#033[0m[65175] filesystem.PutContent("/docker/registry/v2/repositories/ywbtest/rhel/_manifests/tags/t1/current/link")  #033[37mauth.user.name#033[0m=liuyi #033[37mgo.version#033[0m=go1.6.3 #033[37mhttp.request.contenttype#033[0m=application/vnd.docker.distribution.manifest.v2+json #033[37mhttp.request.host#033[0m=reg.example.com #033[37mhttp.request.id#033[0m=ebed2745-7bf9-4416-824e-7b6896c0f23e #033[37mhttp.request.method#033[0m=PUT #033[37mhttp.request.remoteaddr#033[0m=10.42.0.1 #033[37mhttp.request.uri#033[0m=/v2/ywbtest/rhel/manifests/t1 #033[37mhttp.request.useragent#033[0m=docker/1.12.3 go/go1.6.3 git-commit/6b644ec kernel/3.19.0-25-generic os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.3 \(linux\)) #033[37minstance.id#033[0m=faa3008b-40ee-4777-b98d-ad7827aa39d9 #033[37mservice#033[0m=registry #033[37mtrace.duration#033[0m=8.188144ms #033[37mtrace.file#033[0m=/go/src/github.com/docker/distribution/registry/storage/driver/base/base.go #033[37mtrace.func#033[0m=github.com/docker/distribution/registry/storage/driver/base.(*Base).PutContent #033[37mtrace.id#033[0m=7f6676ff-f7a4-45d0-86bd-30814ed6ca0a #033[37mtrace.line#033[0m=95 #033[37mvars.name#033[0m=ywbtest/rhel #033[37mvars.reference#033[0m=t1 #033[37mversion#033[0m=v2.5.0#015
Sep 29 11:27:16 10.42.0.1 registry[28427]: #033[34mINFO#033[0m[65175] response completed                            #033[34mgo.version#033[0m=go1.6.3 #033[34mhttp.request.contenttype#033[0m=application/vnd.docker.distribution.manifest.v2+json #033[34mhttp.request.host#033[0m=reg.example.com #033[34mhttp.request.id#033[0m=ebed2745-7bf9-4416-824e-7b6896c0f23e #033[34mhttp.request.method#033[0m=PUT #033[34mhttp.request.remoteaddr#033[0m=10.42.0.1 #033[34mhttp.request.uri#033[0m=/v2/ywbtest/rhel/manifests/t1 #033[34mhttp.request.useragent#033[0m=docker/1.12.3 go/go1.6.3 git-commit/6b644ec kernel/3.19.0-25-generic os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.3 \(linux\)) #033[34mhttp.response.duration#033[0m=43.813448ms #033[34mhttp.response.status#033[0m=201 #033[34mhttp.response.written#033[0m=0 #033[34minstance.id#033[0m=faa3008b-40ee-4777-b98d-ad7827aa39d9 #033[34mservice#033[0m=registry #033[34mversion#033[0m=v2.5.0#015
Sep 29 11:27:16 10.42.0.1 registry[28427]: 10.42.30.239 - - [29/Sep/2017:03:27:16 +0000] "PUT /v2/ywbtest/rhel/manifests/t1 HTTP/1.1" 201 0 "" "docker/1.12.3 go/go1.6.3 git-commit/6b644ec kernel/3.19.0-25-generic os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.3 \\(linux\\))"#015
@wy65701436
Copy link
Contributor

which version of Harbor are you using? 1.2.0?

@lueliu
Copy link
Author

lueliu commented Oct 12, 2017

Harbor version: 0.4.1

@lueliu
Copy link
Author

lueliu commented Oct 16, 2017

Can I upgrade from 0.4.1 to 1.2.0 version directly? Just need to replace some configuration files?

@wy65701436
Copy link
Contributor

you can refer the migration guide to upgrade Harbor, the path should be 0.4.1 -> 0.5, and 0.5 -> 1.2.0.

@colachg
Copy link

colachg commented Oct 19, 2017

@wy65701436 Hi, I met the same problem. I can pull the image I have uploaded but can't find it the harbor UI. I found this in v1.2.0-rc2(maybe rc1, I forget which rc version). Firstly, I think it is a bug. I check the releases on github. so I upgrade to v1.2.0 using harbor-online-installer-v1.2.0.tgz. I copy the old harbor.cfg to the extracted dir. Then run ./install.sh. Everything seems OK, but I still can't find what I have uploaded.

@elinxer
Copy link

elinxer commented Oct 21, 2017

I also met this problem,version 1.2.2,and i see database is empty!

@wy65701436
Copy link
Contributor

@colachg@elinxer please help to upload the full logs.

@wy65701436
Copy link
Contributor

@lueliu, have you modified the DB password of harbor.cfg after the fresh install? If so, you need to update the DB password manually, otherwise it will not take effect.

@lueliu
Copy link
Author

lueliu commented Oct 25, 2017

Yes, I'll try to upgrade. Thanks for reminding me. @wy65701436

@wy65701436
Copy link
Contributor

@lueliu @colachg @elinxer

Any updates? Please see the comments above to resolve.

@wy65701436
Copy link
Contributor

Close it as no activity.

@discsthnew
Copy link

i also have this problem while deploy harbor in kubernetes using harbor-online-installer-v1.2.0.tgz. finally, i found out the reason why there is no record in harbor ui, even though i have push the image successfully.
the default deployment file https://github.com/vmware/harbor/blob/master/make/kubernetes/registry/registry.deploy.yaml:

apiVersion: extensions/v1beta1
kind: Deployment
...
    spec:
      containers:
      - name: registry-app
        image: vmware/registry:2.6.2-photon
        imagePullPolicy: IfNotPresent
        ports:
        - containerPort: 5000
        - containerPort: 5001
        volumeMounts:
        - name: config
          mountPath: /etc/registry
 ...

notice, the path of configuration is /etc/registry.
but the truly configuration path is /etc/docker/registry.
just change it to the correct path, and then it works !

@zjzhangkui
Copy link

@lueliu @colachg @elinxer
I also met this problem,is this issue gone after upgrade to version 1.2 with right DB password?

@lengxugz
Copy link

I also met this problem too ,Harbor 1.7.4 and the latest kaniko-project-executor:debug,the same problem above.
我也碰见了相同的问题,Harbor 1.7.4版本和最新的Kaniko debug版本 executor,跟上述一样的问题。

@MIBc
Copy link

MIBc commented Apr 25, 2019

I have met the same problem. Harbor version is 1.2.0. Some projects are OK , but some are failed .The DB password has never been changed. Do you have any ideas? @wy65701436 @lueliu

@icearith
Copy link

I also met this problem too ,Harbor 1.7.4 and the latest kaniko-project-executor:debug,the same problem above.
我也碰见了相同的问题,Harbor 1.7.4版本和最新的Kaniko debug版本 executor,跟上述一样的问题。

@lengxugz any further information, hopefully, you have already fixed it? any suggestions?

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

9 participants