Skip to content

Instantly share code, notes, and snippets.

@mwhooker
Last active August 29, 2015 14:10
Show Gist options
  • Save mwhooker/c7484e4d84f588377ce9 to your computer and use it in GitHub Desktop.
Save mwhooker/c7484e4d84f588377ce9 to your computer and use it in GitHub Desktop.
registry session
[ 1080.197946] INFO: task gunicorn:1346 blocked for more than 120 seconds.
[ 1080.198577] Not tainted 3.17.2+ #2
[ 1080.199799] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 1080.201349] gunicorn D ffff88007fc13d80 0 1346 1310 0x00000000
[ 1080.202142] ffff880066a97c48 0000000000000082 ffff88001cbfe400 0000000000013d80
[ 1080.202995] ffff880066a97fd8 0000000000013d80 ffffffff81a1b480 ffff88001cbfe400
[ 1080.204051] ffffffffa02fc9a0 ffff88001cbfe400 ffff88007fc14690 ffff880066a97d00
[ 1080.204993] Call Trace:
[ 1080.205455] [<ffffffffa02fc9a0>] ? nfs_request_add_commit_list+0x850/0xa80 [nfs]
[ 1080.206526] [<ffffffff814eb960>] ? out_of_line_wait_on_atomic_t+0xd0/0xd0
[ 1080.207133] [<ffffffff814eb139>] schedule+0x29/0x70
[ 1080.207978] [<ffffffff814eb20f>] io_schedule+0x8f/0xd0
[ 1080.208410] [<ffffffff814eb98c>] bit_wait_io+0x2c/0x50
[ 1080.208891] [<ffffffff814eb7d5>] __wait_on_bit+0x65/0x90
[ 1080.209359] [<ffffffff8113cab1>] ? find_get_pages_tag+0xd1/0x180
[ 1080.209933] [<ffffffff8113c2c2>] wait_on_page_bit+0xc2/0xd0
[ 1080.211059] [<ffffffff810a2f90>] ? wake_atomic_t_function+0x40/0x40
[ 1080.211667] [<ffffffff8113c3d1>] filemap_fdatawait_range+0x101/0x190
[ 1080.212046] [<ffffffff8114939e>] ? do_writepages+0x1e/0x40
[ 1080.212436] [<ffffffff8113dd19>] ? __filemap_fdatawrite_range+0x59/0x60
[ 1080.213061] [<ffffffff8113c487>] filemap_fdatawait+0x27/0x30
[ 1080.214057] [<ffffffff8113e994>] filemap_write_and_wait+0x34/0x60
[ 1080.214613] [<ffffffffa02f2087>] nfs_getattr+0x117/0x1c0 [nfs]
[ 1080.215047] [<ffffffff811b1d0c>] vfs_getattr_nosec+0x2c/0x40
[ 1080.215599] [<ffffffff811b239a>] vfs_fstat+0x3a/0x70
[ 1080.216123] [<ffffffff8119195c>] ? kmem_cache_free+0xac/0x200
[ 1080.216532] [<ffffffff811b23e5>] SYSC_newfstat+0x15/0x30
[ 1080.217028] [<ffffffff811ac3b1>] ? do_sys_open+0x1b1/0x230
[ 1080.217377] [<ffffffff811b258e>] SyS_newfstat+0xe/0x10
[ 1080.217854] [<ffffffff814ef9a9>] system_call_fastpath+0x16/0x1b
common: &common
mirroring:
source: https://registry-1.docker.io
source_index: https://index.docker.io
tags_cache_ttl: 172800 # 2 days
standalone: true
loglevel: info
dev:
<<: *common
loglevel: debug
storage: local
storage_path: /mnt/registry
core-01 ~ # /usr/bin/docker pull $(etcdctl get /services/docker-registry)/dockerfile/mongodb
Pulling repository 172.17.8.102:5001/dockerfile/mongodb
c37c07d02fe3: Error pulling image (latest) from 172.17.8.102:5001/dockerfile/mongodb, Get http://172.17.8.102:5001/v1/images/c37c07d02fe330c99e62b1f9a11a226297c26545b9ecdb5ede5dc741a8929910/ancestry: read tcp 172.17.8.102:5001: i/o timeout
2014/11/24 19:15:55 Error pulling image (latest) from 172.17.8.102:5001/dockerfile/mongodb, Get http://172.17.8.102:5001/v1/images/c37c07d02fe330c99e62b1f9a11a226297c26545b9ecdb5ede5dc741a8929910/ancestry: read tcp 172.17.8.102:5001: i/o timeout
Nov 24 19:14:54 core-02 docker[1278]: 172.17.8.101 - - [24/Nov/2014:19:14:54 +0000] "GET /v1/_ping HTTP/1.1" 200 2 "-" "Go 1.1 package http"
Nov 24 19:14:54 core-02 docker[1278]: 24/Nov/2014:19:14:54 +0000 DEBUG: args = {'namespace': u'dockerfile', 'repository': u'mongodb'}
Nov 24 19:14:54 core-02 docker[1278]: 24/Nov/2014:19:14:54 +0000 DEBUG: api_error: images not found
Nov 24 19:14:54 core-02 docker[1278]: 24/Nov/2014:19:14:54 +0000 DEBUG: Source provided, registry acts as mirror
Nov 24 19:14:54 core-02 docker[1278]: 24/Nov/2014:19:14:54 +0000 DEBUG: Request: GET https://index.docker.io/v1/repositories/dockerfile/mongodb/images
Nov 24 19:14:54 core-02 docker[1278]: Headers: {'X-Docker-Token': u'true', 'Accept-Encoding': u'gzip', 'User-Agent': u'docker/1.3.0 go/go1.3.2 git-commit/c78088f kernel/3.17.2+ os/linux arch/amd64'}
Nov 24 19:14:54 core-02 docker[1278]: Args: ImmutableMultiDict([])
Nov 24 19:14:54 core-02 docker[1278]: 24/Nov/2014:19:14:54 +0000 INFO: Starting new HTTPS connection (1): index.docker.io
Nov 24 19:14:55 core-02 docker[1278]: 24/Nov/2014:19:14:55 +0000 DEBUG: "GET /v1/repositories/dockerfile/mongodb/images HTTP/1.1" 200 None
Nov 24 19:14:55 core-02 docker[1278]: 24/Nov/2014:19:14:55 +0000 WARNING: {'x-docker-token': 'signature=0f25651641a0b5cfe6b2f76bd2a705e64728b03e,repository="dockerfile/mongodb",access=read', 'transfer-encoding': 'chunked', 'strict-transport-security': 'max-age=31536000', 'vary': 'Cookie', 'x-docker-endpoints': 'registry-1.docker.io', 'server': 'nginx', 'connection': 'close', 'date': 'Mon, 24 Nov 2014 19:14:54 GMT', 'x-frame-options': 'SAMEORIGIN', 'content-type': 'application/json'}
Nov 24 19:14:55 core-02 docker[1278]: 24/Nov/2014:19:14:55 +0000 DEBUG: JSON data found on source, writing response
Nov 24 19:14:55 core-02 docker[1278]: 172.17.8.101 - - [24/Nov/2014:19:14:55 +0000] "GET /v1/repositories/dockerfile/mongodb/images HTTP/1.1" 200 141588 "-" "docker/1.3.0 go/go1.3.2 git-commit/c78088f kernel/3.17.2+ os/linux arch/amd64"
Nov 24 19:14:55 core-02 docker[1278]: 24/Nov/2014:19:14:55 +0000 DEBUG: args = {'namespace': u'dockerfile', 'repository': u'mongodb'}
Nov 24 19:14:55 core-02 docker[1278]: 24/Nov/2014:19:14:55 +0000 DEBUG: [get_tags] namespace=dockerfile; repository=mongodb
Nov 24 19:14:55 core-02 docker[1278]: 24/Nov/2014:19:14:55 +0000 DEBUG: api_error: Repository not found
Nov 24 19:14:55 core-02 docker[1278]: 24/Nov/2014:19:14:55 +0000 WARNING: mirroring: Tags cache is disabled, please set a valid `cache' directive in the config.
Nov 24 19:14:55 core-02 docker[1278]: 24/Nov/2014:19:14:55 +0000 DEBUG: Request: GET https://registry-1.docker.io/v1/repositories/dockerfile/mongodb/tags
Nov 24 19:14:55 core-02 docker[1278]: Headers: {'Accept-Encoding': u'gzip', 'Authorization': u'Token signature=0f25651641a0b5cfe6b2f76bd2a705e64728b03e,repository="dockerfile/mongodb",access=read', 'User-Agent': u'docker/1.3.0 go/go1.3.2 git-commit/c78088f kernel/3.17.2+ os/linux arch/amd64'}
Nov 24 19:14:55 core-02 docker[1278]: Args: ImmutableMultiDict([])
Nov 24 19:14:55 core-02 docker[1278]: 24/Nov/2014:19:14:55 +0000 INFO: Starting new HTTPS connection (1): registry-1.docker.io
Nov 24 19:14:55 core-02 docker[1278]: 24/Nov/2014:19:14:55 +0000 DEBUG: "GET /v1/repositories/dockerfile/mongodb/tags HTTP/1.1" 200 78
Nov 24 19:14:55 core-02 docker[1278]: 24/Nov/2014:19:14:55 +0000 WARNING: {'content-length': '78', 'strict-transport-security': 'max-age=31536000', 'expires': '-1', 'x-docker-registry-version': '0.8.1', 'server': 'gunicorn/18.0', 'connection': 'close', 'pragma': 'no-cache', 'cache-control': 'no-cache', 'date': 'Mon, 24 Nov 2014 19:14:55 GMT', 'x-docker-registry-config': 'prod', 'content-type': 'application/json'}
Nov 24 19:14:55 core-02 docker[1278]: 172.17.8.101 - - [24/Nov/2014:19:14:55 +0000] "GET /v1/repositories/dockerfile/mongodb/tags HTTP/1.1" 200 78 "-" "docker/1.3.0 go/go1.3.2 git-commit/c78088f kernel/3.17.2+ os/linux arch/amd64"
Nov 24 19:14:55 core-02 docker[1278]: 24/Nov/2014:19:14:55 +0000 DEBUG: args = {'image_id': u'c37c07d02fe330c99e62b1f9a11a226297c26545b9ecdb5ede5dc741a8929910'}
Nov 24 19:14:55 core-02 docker[1278]: 24/Nov/2014:19:14:55 +0000 DEBUG: api_error: Image not found
Nov 24 19:14:55 core-02 docker[1278]: 24/Nov/2014:19:14:55 +0000 DEBUG: Source provided, registry acts as mirror
Nov 24 19:14:55 core-02 docker[1278]: 24/Nov/2014:19:14:55 +0000 DEBUG: Request: GET https://registry-1.docker.io/v1/images/c37c07d02fe330c99e62b1f9a11a226297c26545b9ecdb5ede5dc741a8929910/ancestry
Nov 24 19:14:55 core-02 docker[1278]: Headers: {'Accept-Encoding': u'gzip', 'Authorization': u'Token signature=0f25651641a0b5cfe6b2f76bd2a705e64728b03e,repository="dockerfile/mongodb",access=read', 'User-Agent': u'docker/1.3.0 go/go1.3.2 git-commit/c78088f kernel/3.17.2+ os/linux arch/amd64'}
Nov 24 19:14:55 core-02 docker[1278]: Args: ImmutableMultiDict([])
Nov 24 19:14:55 core-02 docker[1278]: 24/Nov/2014:19:14:55 +0000 INFO: Starting new HTTPS connection (1): registry-1.docker.io
Nov 24 19:14:56 core-02 docker[1278]: 24/Nov/2014:19:14:56 +0000 DEBUG: "GET /v1/images/c37c07d02fe330c99e62b1f9a11a226297c26545b9ecdb5ede5dc741a8929910/ancestry HTTP/1.1" 200 1360
Nov 24 19:14:56 core-02 docker[1278]: 24/Nov/2014:19:14:56 +0000 WARNING: {'content-length': '1360', 'strict-transport-security': 'max-age=31536000', 'expires': 'Tue, 24 Nov 2015 19:14:56 GMT', 'x-docker-registry-version': '0.8.1', 'server': 'gunicorn/18.0', 'last-modified': 'Thu, 01 Jan 1970 00:00:00 GMT', 'connection': 'close', 'cache-control': 'public, max-age=31536000', 'date': 'Mon, 24 Nov 2014 19:14:56 GMT', 'x-docker-registry-config': 'prod', 'content-type': 'application/json'}
Nov 24 19:14:56 core-02 docker[1278]: 24/Nov/2014:19:14:56 +0000 DEBUG: JSON data found on source, writing response
Nov 24 19:14:56 core-02 docker[1278]: 24/Nov/2014:19:14:56 +0000 DEBUG: Endpoint: /v1/images/<image_id>/ancestry
Nov 24 19:14:56 core-02 docker[1278]: 24/Nov/2014:19:14:56 +0000 DEBUG: Path method: image_ancestry_path
Nov 24 19:14:56 core-02 docker[1278]: 24/Nov/2014:19:14:56 +0000 DEBUG: Path method args: {'image_id': u'c37c07d02fe330c99e62b1f9a11a226297c26545b9ecdb5ede5dc741a8929910'}
Nov 24 19:14:56 core-02 docker[1278]: 24/Nov/2014:19:14:56 +0000 DEBUG: Storage path: images/c37c07d02fe330c99e62b1f9a11a226297c26545b9ecdb5ede5dc741a8929910/ancestry
/usr/bin/docker run --name docker-registry -v /mnt/registry:/mnt/registry -e DOCKER_REGISTRY_CONFIG=/mnt/registry/docker-registry.yml -p 5001:5000 registry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment